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.

172 lines
2.9 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. -webkit-box-sizing: border-box;
  24. -moz-box-sizing: border-box;
  25. -ms-box-sizing: border-box;
  26. box-sizing: border-box;
  27. margin: 0em;
  28. line-height: 3em;
  29. padding: 0em 1em;
  30. background-color: #555555;
  31. -webkit-box-shadow:
  32. 0px 1px 2px 0px rgba(0, 0, 0, 0.2)
  33. ;
  34. -moz-box-shadow:
  35. 0px 1px 2px 0px rgba(0, 0, 0, 0.2)
  36. ;
  37. box-shadow:
  38. 0px 1px 2px 0px rgba(0, 0, 0, 0.2)
  39. ;
  40. font-size: 1em;
  41. text-align: center;
  42. color: rgba(255, 255, 255, 0.8);
  43. -webkit-border-radius: 0px 0px 5px 5px;
  44. -moz-border-radius: 0px 0px 5px 5px;
  45. border-radius: 0px 0px 5px 5px;
  46. -webkit-transition: 0.2s background;
  47. -moz-transition: 0.2s background;
  48. -o-transition: 0.2s background;
  49. -ms-transition: 0.2s background;
  50. transition: 0.2s background;
  51. }
  52. a.ui.nag {
  53. cursor: pointer;
  54. }
  55. .ui.nag > .title {
  56. display: inline-block;
  57. margin: 0em 0.5em;
  58. color: #FFFFFF;
  59. }
  60. .ui.nag > .close.icon {
  61. cursor: pointer;
  62. opacity: 0.4;
  63. position: absolute;
  64. top: 50%;
  65. left: 1em;
  66. margin-top: -0.5em;
  67. color: #FFFFFF;
  68. -webkit-transition: 0.1s opacity;
  69. -moz-transition: 0.1s opacity;
  70. -o-transition: 0.1s opacity;
  71. -ms-transition: 0.1s opacity;
  72. transition: 0.1s opacity;
  73. }
  74. /*******************************
  75. States
  76. *******************************/
  77. /* Hover */
  78. .ui.nag:hover {
  79. opacity: 1;
  80. }
  81. .ui.nag .close:hover {
  82. opacity: 1;
  83. }
  84. /*******************************
  85. Variations
  86. *******************************/
  87. /*--------------
  88. Static
  89. ---------------*/
  90. .ui.overlay.nag {
  91. position: absolute;
  92. display: block;
  93. }
  94. /*--------------
  95. Fixed
  96. ---------------*/
  97. .ui.fixed.nag {
  98. position: fixed;
  99. }
  100. /*--------------
  101. Bottom
  102. ---------------*/
  103. .ui.botton.nag {
  104. -webkit-border-radius: 5px 5px 0px 0px;
  105. -moz-border-radius: 5px 5px 0px 0px;
  106. border-radius: 5px 5px 0px 0px;
  107. }
  108. .ui.fixed.bottom.nags,
  109. .ui.fixed.bottom.nag {
  110. top: auto;
  111. bottom: 0px;
  112. }
  113. /*--------------
  114. White
  115. ---------------*/
  116. .ui.white.nags .nag,
  117. .ui.white.nag {
  118. background-color: #F1F1F1;
  119. text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
  120. color: #ACACAC;
  121. }
  122. .ui.white.nags .nag .close,
  123. .ui.white.nags .nag .title,
  124. .ui.white.nag .close,
  125. .ui.white.nag .title {
  126. color: #333333;
  127. }
  128. /*******************************
  129. Groups
  130. *******************************/
  131. .ui.nags .nag {
  132. -webkit-border-radius: 0px;
  133. -moz-border-radius: 0px;
  134. border-radius: 0px;
  135. }