From f2de7aa7d8794bf1cbfc7882552cc8706a477093 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Thu, 23 Nov 2017 09:49:12 +1100 Subject: Move css specific to the app into own file --- src/css/app.css | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/index.html | 101 +------------------------------------------------------- 2 files changed, 98 insertions(+), 100 deletions(-) create mode 100644 src/css/app.css diff --git a/src/css/app.css b/src/css/app.css new file mode 100644 index 0000000..4cf6295 --- /dev/null +++ b/src/css/app.css @@ -0,0 +1,97 @@ +body { + padding-bottom: 32px; +} +.form-control[readonly] { + cursor: text; +} +.feedback-container { + position: fixed; + top: 0; + width: 100%; + text-align: center; + z-index: 4; +} +.feedback { + display: table; + padding: 0.5em 1em; + background-color: orange; + margin: 0 auto; + font-size: 2em; + color: #444; + border: 2px solid #555; + border-top: 0; + border-bottom-left-radius: 20px 20px; + border-bottom-right-radius: 20px 20px; +} +.no-border { + border: 0; + box-shadow: inset 0 1px 1px rgba(0,0,0,.0); + -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.0); +} +.phrase { + word-break: keep-all; +} +.generate-container .strength { + /* override mobile width from bootstrap */ + width: auto!important; + display: inline-block; +} +.languages a { + padding-left: 10px; +} +.languages a:nth-of-type(1) { + margin-left: -12px; + padding-left: 0; +} +.monospace { + font-family: monospace; +} +.entropy-container .filtered, +.entropy-container .binary { + word-wrap: break-word; +} +.entropy-container li { + padding-bottom: 5px; +} +.card-suit { + font-size: 19px; + line-height: 0; +} +.card-suit.club { + color: #009F00; +} +.card-suit.diamond { + color: #3D5DC4; +} +.card-suit.heart { + color: #F00; +} +.card-suit.spade { + color: #000; +} +.qr-container { + position: fixed; + top: 0; + right: 0; + text-align: center; + background-color: #FFF; + border: 1px solid #CCC; +} +.qr-image { + margin: 5px; +} +.qr-hint, +.qr-warning { + padding: 2px; + max-width: 150px; +} +.more-info { + cursor: help; + border-bottom: 1px dashed #000; + text-decoration: none; +} +.version { + position: absolute; + top: 5px; + right: 5px; +} diff --git a/src/index.html b/src/index.html index 26f7957..d5aff23 100644 --- a/src/index.html +++ b/src/index.html @@ -4,111 +4,12 @@ BIP39 - Mnemonic Code + - -
-- cgit v1.2.3