You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
2.2 KiB

  1. /*
  2. * # Semantic - Nag
  3. * http://github.com/jlukic/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Nag
  13. *******************************/
  14. .ui.nag {
  15. display: none;
  16. opacity: 0.95;
  17. position: relative;
  18. top: 0px;
  19. right: 0%;
  20. z-index: 101;
  21. min-height: 0;
  22. width: 100%;
  23. -moz-box-sizing: border-box;
  24. -ms-box-sizing: border-box;
  25. box-sizing: border-box;
  26. margin: 0em;
  27. line-height: 3em;
  28. padding: 0em 1em;
  29. background-color: #555555;
  30. box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  31. font-size: 1em;
  32. text-align: center;
  33. color: rgba(255, 255, 255, 0.8);
  34. border-radius: 0px 0px 5px 5px;
  35. -webkit-transition: 0.2s background;
  36. transition: 0.2s background;
  37. }
  38. a.ui.nag {
  39. cursor: pointer;
  40. }
  41. .ui.nag > .title {
  42. display: inline-block;
  43. margin: 0em 0.5em;
  44. color: #FFFFFF;
  45. }
  46. .ui.nag > .close.icon {
  47. cursor: pointer;
  48. opacity: 0.4;
  49. position: absolute;
  50. top: 50%;
  51. left: 1em;
  52. margin-top: -0.5em;
  53. color: #FFFFFF;
  54. -webkit-transition: 0.1s opacity;
  55. transition: 0.1s opacity;
  56. }
  57. /*******************************
  58. States
  59. *******************************/
  60. /* Hover */
  61. .ui.nag:hover {
  62. opacity: 1;
  63. }
  64. .ui.nag .close:hover {
  65. opacity: 1;
  66. }
  67. /*******************************
  68. Variations
  69. *******************************/
  70. /*--------------
  71. Static
  72. ---------------*/
  73. .ui.overlay.nag {
  74. position: absolute;
  75. display: block;
  76. }
  77. /*--------------
  78. Fixed
  79. ---------------*/
  80. .ui.fixed.nag {
  81. position: fixed;
  82. }
  83. /*--------------
  84. Bottom
  85. ---------------*/
  86. .ui.botton.nag {
  87. border-radius: 5px 5px 0px 0px;
  88. }
  89. .ui.fixed.bottom.nags,
  90. .ui.fixed.bottom.nag {
  91. top: auto;
  92. bottom: 0px;
  93. }
  94. /*--------------
  95. White
  96. ---------------*/
  97. .ui.white.nags .nag,
  98. .ui.white.nag {
  99. background-color: #F1F1F1;
  100. text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
  101. color: #ACACAC;
  102. }
  103. .ui.white.nags .nag .close,
  104. .ui.white.nags .nag .title,
  105. .ui.white.nag .close,
  106. .ui.white.nag .title {
  107. color: #333333;
  108. }
  109. /*******************************
  110. Groups
  111. *******************************/
  112. .ui.nags .nag {
  113. border-radius: 0px;
  114. }