Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

popup.css 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. button.options-button {
  97. font-size: 1.125rem;
  98. padding: 10px;
  99. color: #777;
  100. width: 100%;
  101. height: 3rem;
  102. font-family: Font Awesome, Inconsolata, sans-serif;
  103. }
  104. button.options-button:hover {
  105. color: #000;
  106. }
  107. button.options-button::before {
  108. content: "\F1DE";
  109. font-family: Font Awesome;
  110. font-size: 0.875em;
  111. margin: 0 6px 0 0;
  112. }
  113. button.options-button::after {
  114. content: "Options";
  115. margin: 0 3px 0 0;
  116. }
  117. /********/
  118. /* MISC */
  119. /********/
  120. .misc {
  121. height: 4rem;
  122. position: relative;
  123. }
  124. button.reload-button {
  125. background-color: #ffd;
  126. margin: 4px;
  127. border-radius: 6px;
  128. color: #777;
  129. max-height: 0;
  130. padding: 0;
  131. overflow: hidden;
  132. position: absolute;
  133. width: calc(100% - 8px);
  134. top: -4rem;
  135. }
  136. button.reload-button.active {
  137. max-height: 1000px;
  138. padding: 8px;
  139. border: 1px solid #ddd;
  140. top: 1px;
  141. }
  142. button.reload-button:hover {
  143. color: #000;
  144. }
  145. button.reload-button::before {
  146. content: "\F2F1";
  147. font-family: Font Awesome;
  148. font-size: 2rem;
  149. font-weight: 900;
  150. }