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.

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