/***********/ /* 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; }