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.

145 lines
2.4 KiB

9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
9 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.5.0 - 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. transition: 0.2s background ease;
  31. }
  32. a.ui.nag {
  33. cursor: pointer;
  34. }
  35. .ui.nag > .title {
  36. display: inline-block;
  37. margin: 0em 0.5em;
  38. color: #FFFFFF;
  39. }
  40. .ui.nag > .close.icon {
  41. cursor: pointer;
  42. opacity: 0.4;
  43. position: absolute;
  44. top: 50%;
  45. right: 1em;
  46. font-size: 1em;
  47. margin: -0.5em 0em 0em;
  48. color: #FFFFFF;
  49. transition: opacity 0.2s ease;
  50. }
  51. /*******************************
  52. States
  53. *******************************/
  54. /* Hover */
  55. .ui.nag:hover {
  56. background: #555555;
  57. opacity: 1;
  58. }
  59. .ui.nag .close:hover {
  60. opacity: 1;
  61. }
  62. /*******************************
  63. Variations
  64. *******************************/
  65. /*--------------
  66. Static
  67. ---------------*/
  68. .ui.overlay.nag {
  69. position: absolute;
  70. display: block;
  71. }
  72. /*--------------
  73. Fixed
  74. ---------------*/
  75. .ui.fixed.nag {
  76. position: fixed;
  77. }
  78. /*--------------
  79. Bottom
  80. ---------------*/
  81. .ui.bottom.nags,
  82. .ui.bottom.nag {
  83. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  84. top: auto;
  85. bottom: 0em;
  86. }
  87. /*--------------
  88. White
  89. ---------------*/
  90. .ui.inverted.nags .nag,
  91. .ui.inverted.nag {
  92. background-color: #F3F4F5;
  93. color: rgba(0, 0, 0, 0.85);
  94. }
  95. .ui.inverted.nags .nag .close,
  96. .ui.inverted.nags .nag .title,
  97. .ui.inverted.nag .close,
  98. .ui.inverted.nag .title {
  99. color: rgba(0, 0, 0, 0.4);
  100. }
  101. /*******************************
  102. Groups
  103. *******************************/
  104. .ui.nags .nag {
  105. border-radius: 0em !important;
  106. }
  107. .ui.nags .nag:last-child {
  108. border-radius: 0em 0em 0.28571429rem 0.28571429rem;
  109. }
  110. .ui.bottom.nags .nag:last-child {
  111. border-radius: 0.28571429rem 0.28571429rem 0em 0em;
  112. }
  113. /*******************************
  114. Theme Overrides
  115. *******************************/
  116. /*******************************
  117. User Overrides
  118. *******************************/