Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

popup.css 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /***********/
  2. /* GENERAL */
  3. /***********/
  4. html {
  5. font-size: 16px;
  6. box-sizing: border-box;
  7. }
  8. *, *::before, *::after {
  9. box-sizing: inherit;
  10. }
  11. body {
  12. margin: 0;
  13. padding: 0;
  14. display: flex;
  15. flex-flow: column;
  16. }
  17. /***********/
  18. /* BUTTONS */
  19. /***********/
  20. button {
  21. -webkit-appearance: none;
  22. -moz-appearance: none;
  23. background-color: #fff;
  24. border: none;
  25. cursor: pointer;
  26. }
  27. button:active {
  28. transform: scale(0.95);
  29. }
  30. button:focus {
  31. outline: none;
  32. }
  33. button::selection {
  34. background-color: transparent;
  35. }
  36. /***************/
  37. /* MAIN BUTTON */
  38. /***************/
  39. .main-button-container {
  40. display: flex;
  41. flex-flow: column;
  42. border-bottom: 1px solid #ddd;
  43. }
  44. button.main-button {
  45. padding: 10px;
  46. font-size: 6rem;
  47. display: flex;
  48. align-items: center;
  49. justify-content: center;
  50. height: 150px;
  51. width: 150px;
  52. color: #ccc;
  53. font-family: Font Awesome;
  54. }
  55. button.main-button.active {
  56. color: #000;
  57. }
  58. button.main-button:hover {
  59. text-shadow:
  60. 0 0 1px #fff,
  61. 0 0 3px #fff,
  62. 0 0 5px #fff;
  63. }
  64. button.main-button:hover {
  65. color: #999;
  66. }
  67. button.main-button::before {
  68. content: "\F08D";
  69. font-weight: 900;
  70. position: relative;
  71. top: 3px;
  72. }
  73. button.main-button::after {
  74. content: "\F05E";
  75. position: absolute;
  76. font-weight: 300;
  77. color: #c00;
  78. opacity: 0.0;
  79. transform: scaleX(-1) scale(1.5);
  80. }
  81. button.main-button.active::after {
  82. opacity: 1.0;
  83. }
  84. button.main-button.whitelist::after {
  85. opacity: 0.15;
  86. }
  87. button.main-button.whitelist.active::after {
  88. opacity: 0.0;
  89. }
  90. /*********************/
  91. /* AUXILIARY BUTTONS */
  92. /*********************/
  93. .aux-button-container {
  94. display: flex;
  95. flex-flow: column;
  96. border-top: 1px solid #ddd;
  97. flex: 1 1 auto;
  98. }
  99. /*==================*/
  100. /*= OPTIONS BUTTON =*/
  101. /*==================*/
  102. button.options-button {
  103. font-size: 1.125rem;
  104. padding: 10px;
  105. color: #777;
  106. width: 100%;
  107. flex: 1 1 auto;
  108. font-family: Font Awesome, Inconsolata, sans-serif;
  109. }
  110. button.options-button:hover {
  111. color: #000;
  112. }
  113. button.options-button::before {
  114. content: "\F1DE";
  115. font-family: Font Awesome;
  116. font-size: 0.875em;
  117. margin: 0 6px 0 0;
  118. }
  119. button.options-button::after {
  120. content: "Options";
  121. margin: 0 3px 0 0;
  122. }
  123. /********/
  124. /* MISC */
  125. /********/
  126. .misc {
  127. height: 4rem;
  128. position: relative;
  129. display: flex;
  130. }
  131. .misc > * {
  132. flex: 1 1 auto;
  133. }
  134. /*================*/
  135. /*= MODE DISPLAY =*/
  136. /*================*/
  137. .mode-display {
  138. font-family: Inconsolata, sans-serif;
  139. padding: 10px;
  140. display: block;
  141. text-align: center;
  142. font-weight: bold;
  143. font-size: 1rem;
  144. line-height: 1.35;
  145. cursor: default;
  146. }
  147. .mode-display::before {
  148. content: "Mode:";
  149. display: block;
  150. font-weight: normal;
  151. }
  152. .mode-display.whitelist {
  153. background-color: #000;
  154. color: #fff;
  155. }
  156. .mode-display::after {
  157. content: "Blacklist";
  158. }
  159. .mode-display.whitelist::after {
  160. content: "Whitelist";
  161. }
  162. /*=================*/
  163. /*= RELOAD BUTTON =*/
  164. /*=================*/
  165. button.reload-button {
  166. background-color: #ffd;
  167. border-radius: 6px;
  168. color: #777;
  169. max-height: 0;
  170. padding: 0;
  171. overflow: hidden;
  172. position: absolute;
  173. width: calc(100% - 10px);
  174. top: -4rem;
  175. left: 5px;
  176. }
  177. button.reload-button.active {
  178. max-height: 1000px;
  179. padding: 8px;
  180. border: 1px solid #ddd;
  181. top: 6px;
  182. }
  183. button.reload-button:hover {
  184. color: #000;
  185. }
  186. button.reload-button::before {
  187. content: "\F2F1";
  188. font-family: Font Awesome;
  189. font-size: 2rem;
  190. font-weight: 900;
  191. }
  192. /***************/
  193. /* INFO HEADER */
  194. /***************/
  195. .info-header {
  196. text-align: center;
  197. font-family: Inconsolata, sans-serif;
  198. font-size: 0.75rem;
  199. padding: 2px;
  200. background-color: #444;
  201. color: #ccc;
  202. cursor: default;
  203. }