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.

139 lines
3.6 KiB

  1. .ui.nag {
  2. display: none;
  3. position: absolute;
  4. top: 0px;
  5. left: 10%;
  6. z-index: 100;
  7. width: 80%;
  8. min-height: 20px;
  9. -webkit-box-sizing: border-box;
  10. -moz-box-sizing: border-box;
  11. -ms-box-sizing: border-box;
  12. box-sizing: border-box;
  13. padding: 8px 20px;
  14. background-color: #272626;
  15. background: -webkit-linear-gradient(top, rgba(22, 22, 22, 0.85) 0%, rgba(17, 17, 17, 1) 100%);
  16. background: -moz-linear-gradient(top, rgba(22, 22, 22, 0.85) 0%, rgba(17, 17, 17, 1) 100%);
  17. background: -o-linear-gradient(top, rgba(22, 22, 22, 0.85) 0%, rgba(17, 17, 17, 1) 100%);
  18. background: -ms-linear-gradient(top, rgba(22, 22, 22, 0.85) 0%, rgba(17, 17, 17, 1) 100%);
  19. background: linear-gradient(top, rgba(22, 22, 22, 0.85) 0%, rgba(17, 17, 17, 1) 100%);
  20. -webkit-box-shadow:
  21. 0px 2px 3px rgba(0, 0, 0, 0.4),
  22. 0px 1px 0px rgba(255, 255, 255, 0.1) inset
  23. ;
  24. -moz-box-shadow:
  25. 0px 2px 3px rgba(0, 0, 0, 0.4),
  26. 0px 1px 0px rgba(255, 255, 255, 0.1) inset
  27. ;
  28. box-shadow:
  29. 0px 2px 3px rgba(0, 0, 0, 0.4),
  30. 0px 1px 0px rgba(255, 255, 255, 0.1) inset
  31. ;
  32. text-align: center;
  33. font-size: 14px;
  34. font-weight: bold;
  35. color: #009FDA;
  36. text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
  37. -webkit-border-radius: 0px 0px 5px 5px;
  38. -moz-border-radius: 0px 0px 5px 5px;
  39. border-radius: 0px 0px 5px 5px;
  40. -webkit-transition: 0.2s background;
  41. -moz-transition: 0.2s background;
  42. -o-transition: 0.2s background;
  43. -ms-transition: 0.2s background;
  44. transition: 0.2s background;
  45. }
  46. .ui.nag .close {
  47. cursor: pointer;
  48. opacity: 0.4;
  49. position: absolute;
  50. top: 50%;
  51. right: 15px;
  52. margin-top: -6px;
  53. font-size: 12px;
  54. color: #FFFFFF;
  55. -webkit-transition: 0.1s opacity;
  56. -moz-transition: 0.1s opacity;
  57. -o-transition: 0.1s opacity;
  58. -ms-transition: 0.1s opacity;
  59. transition: 0.1s opacity;
  60. }
  61. .ui.nag .close.hover {
  62. opacity: 1;
  63. }
  64. .ui.nag b {
  65. font-weight: bold;
  66. color: #EEEEEE;
  67. }
  68. /* Bottom Style */
  69. .ui.nag.bottom {
  70. -webkit-border-radius: 5px 5px 0px 0px;
  71. -moz-border-radius: 5px 5px 0px 0px;
  72. border-radius: 5px 5px 0px 0px;
  73. }
  74. /* Fixed Style */
  75. .ui.nag.fixed {
  76. position: fixed;
  77. }
  78. .ui.nag.bottom.fixed {
  79. top: auto;
  80. bottom: 0px;
  81. }
  82. /* Link Style */
  83. .ui.nag.hover {
  84. cursor: pointer;
  85. background-color: #272626;
  86. background: -webkit-linear-gradient(top, rgba(22, 22, 22, 1) 0%, rgba(17, 17, 17, 1) 100%);
  87. background: -moz-linear-gradient(top, rgba(22, 22, 22, 1) 0%, rgba(17, 17, 17, 1) 100%);
  88. background: -o-linear-gradient(top, rgba(22, 22, 22, 1) 0%, rgba(17, 17, 17, 1) 100%);
  89. background: -ms-linear-gradient(top, rgba(22, 22, 22, 1) 0%, rgba(17, 17, 17, 1) 100%);
  90. background: linear-gradient(top, rgba(22, 22, 22, 1) 0%, rgba(17, 17, 17, 1) 100%);
  91. }
  92. .ui.nag.hover b {
  93. font-weight: bold;
  94. color: #FFFFFF;
  95. }
  96. /* White Variation */
  97. .ui.nag.white {
  98. background-color: #EEEEEE;
  99. background: -webkit-linear-gradient(top, #FFFFFF 0%, #DDDDDD 100%);
  100. background: -moz-linear-gradient(top, #FFFFFF 0%, #DDDDDD 100%);
  101. background: -o-linear-gradient(top, #FFFFFF 0%, #DDDDDD 100%);
  102. background: -ms-linear-gradient(top, #FFFFFF 0%, #DDDDDD 100%);
  103. background: linear-gradient(top, #FFFFFF 0%, #DDDDDD 100%);
  104. -webkit-box-shadow:
  105. 0px 2px 3px rgba(0, 0, 0, 0.2),
  106. 0px 1px 0px rgba(255, 255, 255, 0.1) inset
  107. ;
  108. -moz-box-shadow:
  109. 0px 2px 3px rgba(0, 0, 0, 0.2),
  110. 0px 1px 0px rgba(255, 255, 255, 0.1) inset
  111. ;
  112. box-shadow:
  113. 0px 2px 3px rgba(0, 0, 0, 0.2),
  114. 0px 1px 0px rgba(255, 255, 255, 0.1) inset
  115. ;
  116. text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
  117. color: #888888;
  118. }
  119. .ui.nag.white .close,
  120. .ui.nag.white b {
  121. color: #000000;
  122. }