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.

147 lines
2.5 KiB

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