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.

popup.css 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. html {
  2. font-size: 16px;
  3. box-sizing: border-box;
  4. }
  5. *, *::before, *::after {
  6. box-sizing: inherit;
  7. }
  8. body {
  9. margin: 0;
  10. padding: 0;
  11. }
  12. button {
  13. -webkit-appearance: none;
  14. -moz-appearance: none;
  15. background-color: #fff;
  16. border: none;
  17. cursor: pointer;
  18. }
  19. button:active {
  20. transform: scale(0.95);
  21. }
  22. button:focus {
  23. outline: none;
  24. }
  25. button::selection {
  26. background-color: transparent;
  27. }
  28. .main-button-container {
  29. display: flex;
  30. flex-flow: column;
  31. border-bottom: 1px solid #ddd;
  32. }
  33. button.main-button {
  34. padding: 10px;
  35. font-size: 6rem;
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. height: 150px;
  40. width: 150px;
  41. color: #ccc;
  42. font-family: Font Awesome;
  43. }
  44. button.main-button.active {
  45. color: #000;
  46. }
  47. button.main-button:hover {
  48. text-shadow:
  49. 0 0 1px #fff,
  50. 0 0 3px #fff,
  51. 0 0 5px #fff;
  52. }
  53. button.main-button:hover {
  54. color: #999;
  55. }
  56. button.main-button::before {
  57. content: "\F08D";
  58. font-weight: 900;
  59. position: relative;
  60. top: 3px;
  61. }
  62. button.main-button::after {
  63. content: "\F05E";
  64. position: absolute;
  65. font-weight: 300;
  66. color: #c00;
  67. opacity: 0.0;
  68. transform: scaleX(-1) scale(1.5);
  69. }
  70. button.main-button.active::after {
  71. opacity: 1.0;
  72. }
  73. .aux-button-container {
  74. display: flex;
  75. flex-flow: column;
  76. border-top: 1px solid #ddd;
  77. }
  78. button.options-button {
  79. font-size: 1.125rem;
  80. padding: 10px;
  81. color: #777;
  82. width: 100%;
  83. height: 3rem;
  84. font-family: Font Awesome, Inconsolata, sans-serif;
  85. }
  86. button.options-button:hover {
  87. color: #000;
  88. }
  89. button.options-button::before {
  90. content: "\F1DE";
  91. font-family: Font Awesome;
  92. font-size: 0.875em;
  93. margin: 0 6px 0 0;
  94. }
  95. button.options-button::after {
  96. content: "Options";
  97. margin: 0 3px 0 0;
  98. }
  99. button.reload-button {
  100. background-color: #ffd;
  101. margin: 4px;
  102. border-radius: 6px;
  103. color: #777;
  104. max-height: 0;
  105. padding: 0;
  106. overflow: hidden;
  107. position: absolute;
  108. width: calc(100% - 8px);
  109. top: -4rem;
  110. }
  111. button.reload-button.active {
  112. max-height: 1000px;
  113. padding: 8px;
  114. border: 1px solid #ddd;
  115. top: 1px;
  116. }
  117. button.reload-button:hover {
  118. color: #000;
  119. }
  120. button.reload-button::before {
  121. content: "\F2F1";
  122. font-family: Font Awesome;
  123. font-size: 2rem;
  124. font-weight: 900;
  125. }
  126. .misc {
  127. height: 4rem;
  128. position: relative;
  129. }