選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

popup.css 3.2KB

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