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.

158 lines
2.5 KiB

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