diff options
author | Pedro Ferreira | 2019-04-12 11:45:44 +0200 |
---|---|---|
committer | Pedro Ferreira | 2019-05-12 20:15:46 +0200 |
commit | 26dacde9591b4994529d8f536712b797cef5a36f (patch) | |
tree | 0cbee17b898776a5a8ea479ca5da15ecf120e2e7 /public/css | |
parent | 1801febfe6055102e8a55b98ada6130faa9de6b6 (diff) |
Fix toolbar day mode
Also moved the code to SCSS
Signed-off-by: Pedro Ferreira <pedro@dete.st>
Diffstat (limited to '')
-rw-r--r-- | public/css/index.css | 18 | ||||
-rw-r--r-- | public/css/ui/toolbar.css | 33 |
2 files changed, 33 insertions, 18 deletions
diff --git a/public/css/index.css b/public/css/index.css index c304a969..fb8356eb 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -20,24 +20,6 @@ body.night{ background: #333 !important; } -.toolbar { - background-color: #1c1c1e; - border: 1px solid #343434; -} - -.toolbar > .btn-toolbar > .btn-group > .btn { - background-color: #1c1c1e; - padding: 5px; - font-size: 1em; -} - -.toolbar > .btn-toolbar > .btn-group > .btn:hover { - background-color: #383a3e; - - padding: 5px; -} - - .CodeMirror { font-family: "Source Code Pro", Consolas, monaco, monospace; letter-spacing: 0.025em; diff --git a/public/css/ui/toolbar.css b/public/css/ui/toolbar.css new file mode 100644 index 00000000..fa51e1cb --- /dev/null +++ b/public/css/ui/toolbar.css @@ -0,0 +1,33 @@ +.toolbar { + background-color: #fafafa; + border: 1px solid #ededed; +} + +.toolbar > .btn-toolbar > .btn-group > .btn { + background-color: #fafafa; + padding: 5px; + font-size: 1em; + color: #555; +} + +.toolbar > .btn-toolbar > .btn-group > .btn:hover { + background-color: #e1e1e1; + padding: 5px; +} + +body.night .toolbar { + background-color: #1c1c1e; + border: 1px solid #353538; +} + +body.night .toolbar > .btn-toolbar > .btn-group > .btn { + background-color: #1c1c1e; + padding: 5px; + font-size: 1em; + color: #5EB7E0; +} + +body.night .toolbar > .btn-toolbar > .btn-group > .btn:hover { + background-color: #37373b; + padding: 5px; +} |