| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- /***********/
- /* GENERAL */
- /***********/
-
- html {
- font-size: 16px;
- box-sizing: border-box;
- }
- *, *::before, *::after {
- box-sizing: inherit;
- }
- body {
- margin: 0;
- padding: 0;
- }
-
- /***********/
- /* BUTTONS */
- /***********/
-
- button {
- -webkit-appearance: none;
- -moz-appearance: none;
- background-color: #fff;
- border: none;
- cursor: pointer;
- }
- button:active {
- transform: scale(0.95);
- }
- button:focus {
- outline: none;
- }
- button::selection {
- background-color: transparent;
- }
-
- /***************/
- /* MAIN BUTTON */
- /***************/
-
- .main-button-container {
- display: flex;
- flex-flow: column;
- border-bottom: 1px solid #ddd;
- }
- button.main-button {
- padding: 10px;
- font-size: 6rem;
- display: flex;
- align-items: center;
- justify-content: center;
- height: 150px;
- width: 150px;
- color: #ccc;
- font-family: Font Awesome;
- }
- button.main-button.active {
- color: #000;
- }
- button.main-button:hover {
- text-shadow:
- 0 0 1px #fff,
- 0 0 3px #fff,
- 0 0 5px #fff;
- }
- button.main-button:hover {
- color: #999;
- }
- button.main-button::before {
- content: "\F08D";
- font-weight: 900;
- position: relative;
- top: 3px;
- }
- button.main-button::after {
- content: "\F05E";
- position: absolute;
- font-weight: 300;
- color: #c00;
- opacity: 0.0;
- transform: scaleX(-1) scale(1.5);
- }
- button.main-button.active::after {
- opacity: 1.0;
- }
-
- button.main-button.whitelist::after {
- opacity: 0.15;
- }
- button.main-button.whitelist.active::after {
- opacity: 0.0;
- }
-
- /*********************/
- /* AUXILIARY BUTTONS */
- /*********************/
-
- .aux-button-container {
- display: flex;
- flex-flow: column;
- border-top: 1px solid #ddd;
- }
-
- /*==================*/
- /*= OPTIONS BUTTON =*/
- /*==================*/
-
- button.options-button {
- font-size: 1.125rem;
- padding: 10px;
- color: #777;
- width: 100%;
- height: 3rem;
- font-family: Font Awesome, Inconsolata, sans-serif;
- }
- button.options-button:hover {
- color: #000;
- }
- button.options-button::before {
- content: "\F1DE";
- font-family: Font Awesome;
- font-size: 0.875em;
- margin: 0 6px 0 0;
- }
- button.options-button::after {
- content: "Options";
- margin: 0 3px 0 0;
- }
-
- /********/
- /* MISC */
- /********/
-
- .misc {
- height: 4rem;
- position: relative;
- display: flex;
- }
- .misc > * {
- flex: 1 1 auto;
- }
-
- /*================*/
- /*= MODE DISPLAY =*/
- /*================*/
-
- .mode-display {
- font-family: Inconsolata, sans-serif;
- padding: 10px;
- display: block;
- text-align: center;
- font-weight: bold;
- font-size: 1rem;
- line-height: 1.35;
- cursor: default;
- }
- .mode-display::before {
- content: "Mode:";
- display: block;
- font-weight: normal;
- }
- .mode-display.whitelist {
- background-color: #000;
- color: #fff;
- }
- .mode-display::after {
- content: "Blacklist";
- }
- .mode-display.whitelist::after {
- content: "Whitelist";
- }
-
- /*=================*/
- /*= RELOAD BUTTON =*/
- /*=================*/
-
- button.reload-button {
- background-color: #ffd;
- margin: 4px;
- border-radius: 6px;
- color: #777;
- max-height: 0;
- padding: 0;
- overflow: hidden;
- position: absolute;
- width: calc(100% - 8px);
- top: -4rem;
- }
- button.reload-button.active {
- max-height: 1000px;
- padding: 8px;
- border: 1px solid #ddd;
- top: 1px;
- }
- button.reload-button:hover {
- color: #000;
- }
- button.reload-button::before {
- content: "\F2F1";
- font-family: Font Awesome;
- font-size: 2rem;
- font-weight: 900;
- }
|