From b2dbef3cb19220c422972a16d7a67ea60b3e79cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Rinc=C3=B3n?= Date: Fri, 7 Apr 2017 05:05:24 +0200 Subject: [PATCH] Customize --- static/explorer.css | 74 +----------------------- static/themes/explorer-contrast.css | 87 +++++++++++++++++++++++++++- static/themes/explorer-dark.css | 89 ++++++++++++++++++++++++++++- static/themes/explorer-default.css | 89 ++++++++++++++++++++++++++++- 4 files changed, 263 insertions(+), 76 deletions(-) diff --git a/static/explorer.css b/static/explorer.css index aa03798ba..8d909476a 100644 --- a/static/explorer.css +++ b/static/explorer.css @@ -18,12 +18,7 @@ min-width: 5em; } -.navbar-inverse { - background-color: #226; -} - .navbar-inverse .navbar-brand { - color: #ddd; font-weight: bold; } @@ -37,14 +32,9 @@ font-size: x-small; font-weight: bold; text-align: center; - background-color: rgba(128, 128, 128, 0.5); border-radius: 5px; } -.float-link:hover { - background-color: rgba(128, 128, 160, 0.5); -} - .template { display: none; } @@ -98,12 +88,6 @@ input.options { overflow: hidden; } -.btn.active { - color: #fff !important; - border-color: #46b8da !important; - background-color: #5bc0de !important; -} - .address { width: 5em; font-size: smaller; @@ -119,32 +103,13 @@ input.options { } .opcode { - color: #066; margin-right: 0.2em; } -.opcode:nth-child(odd) { - color: #060; -} - .highlighted { - background-color: rgba(255, 0, 0, 0.2); - color: #0000b0; font-weight: bold; } -.decrease-font-size span.glyphicon { - font-size: 70%; -} - -.reset-font-size span.glyphicon { - font-size: 90%; -} - -.increase-font-size span.glyphicon { - font-size: 110%; -} - .lm_splitter.lm_vertical .lm_drag_handle { height: 10px; top: -2.5px; @@ -171,31 +136,14 @@ pre.content { font-style: italic; } -.small-v-scrollable { - max-height: 8em; - overflow-y: auto; -} - .linked-code-decoration { - background: lightblue; width: 5px !important; left: 3px; } -.font-option { - background: white; -} - -.font-option:hover { - background: lightblue; -} - -.font-option-active { - background: #226699 !important; -} - -.font-option-active:hover { - background: #4477AA !important; +.small-v-scrollable { + max-height: 8em; + overflow-y: auto; } #notifications { @@ -208,21 +156,5 @@ pre.content { .notification { padding: 5px; border-radius: 5px; - background-color: cornflowerblue; - color: black; -} - -.notification-error { - background-color: indianred; - color: white; -} - -.notification-on { - background-color: green; - color: black; -} - -.notification-off { - background-color: gray; color: black; } diff --git a/static/themes/explorer-contrast.css b/static/themes/explorer-contrast.css index 45963f5ef..4d05db728 100644 --- a/static/themes/explorer-contrast.css +++ b/static/themes/explorer-contrast.css @@ -5,6 +5,91 @@ } .navbar-inverse .navbar-brand { + color: #fff !important; +} + +.float-link { + background-color: rgba(128, 128, 128, 0.5) !important; +} + +.float-link:hover { + background-color: rgba(128, 128, 160, 0.5); +} + +/*.btn { + color: !important; + border-color: !important; + background-color: !important; +} USING DEFAULT BOOTSTRAP*/ + +.btn.active { + color: #fff !important; + border-color: #46b8da !important; + background-color: #5bc0de !important; +} + +.opcode { + color: #aaa !important; +} + +.opcode:nth-child(odd) { color: #fff; - font-weight: bold; +} + +.highlighted { + background-color: #333 !important; + color: #fff !important; +} + +.linked-code-decoration { + background: #fff !important; +} + +.dropdown-menu { + color: #fff; + background-color: #000; +} + +.selectize-dropdown { + color: #fff !important; + background-color: #000 !important; +} + +.font-option { + background: white; +} + +.font-option:hover { + background: #aaa; +} + +.font-option-active { + background: #aaa !important; +} + +.font-option-active:hover { + background: #888 !important; +} + +.notification { + background-color: #fff; +} + +.notification-error { + background-color: red !important; + color: white; +} + +.notification-on { + background-color: green !important; + color: black; +} + +.notification-off { + background-color: gray !important; + color: black; +} + +.divider { + background-color: #fff!important; } diff --git a/static/themes/explorer-dark.css b/static/themes/explorer-dark.css index b6ef29548..f77e652cc 100644 --- a/static/themes/explorer-dark.css +++ b/static/themes/explorer-dark.css @@ -5,6 +5,91 @@ } .navbar-inverse .navbar-brand { - color: #ddd; - font-weight: bold; + color: #aaa!important; +} + +.float-link { + background-color: rgba(128, 128, 128, 0.5)!important; +} + +.float-link:hover { + background-color: rgba(128, 128, 160, 0.5); +} + +.btn { + color: #fff !important; + border-color: #444 !important; + background-color: #222 !important; +} + +.btn.active { + color: #eee !important; + border-color: #555 !important; + background-color: #666 !important; +} + +.opcode { + color: #066 !important; +} + +.opcode:nth-child(odd) { + color: #060; +} + +.highlighted { + background-color: rgba(255, 0, 0, 0.2) !important; + color: #0000b0 !important; +} + +.linked-code-decoration { + background: #555657!important; +} + +.dropdown-menu { + color: #333; + background-color: #666; +} + +.selectize-dropdown { + color: #aaa !important; + background-color: #666 !important; +} + +.font-option { + background: #666; +} + +.font-option:hover { + background: #887788; +} + +.font-option-active { + background: #474747 !important; +} + +.font-option-active:hover { + background: #595959 !important; +} + +.notification { + background-color: gray; +} + +.notification-error { + background-color: #aa3333 !important; + color: #000; +} + +.notification-on { + background-color: #33aa33 !important; + color: black; +} + +.notification-off { + background-color: #222 !important; + color: #fff; +} + +.divider { + background-color: #111!important; } diff --git a/static/themes/explorer-default.css b/static/themes/explorer-default.css index fd6e0b19d..13589d46e 100644 --- a/static/themes/explorer-default.css +++ b/static/themes/explorer-default.css @@ -5,6 +5,91 @@ } .navbar-inverse .navbar-brand { - color: #ddd; - font-weight: bold; + color: #ddd !important; } + +.float-link { + background-color: rgba(128, 128, 128, 0.5) !important; +} + +.float-link:hover { + background-color: rgba(128, 128, 160, 0.5); +} + +/*.btn { + color: !important; + border-color: !important; + background-color: !important; +} USING DEFAULT*/ + +.btn.active { + color: #fff !important; + border-color: #46b8da !important; + background-color: #5bc0de !important; +} + +.opcode { + color: #066 !important; +} + +.opcode:nth-child(odd) { + color: #060; +} + +.highlighted { + background-color: rgba(255, 0, 0, 0.2) !important; + color: #0000b0 !important; +} + +.linked-code-decoration { + background: lightblue !important; +} + +/*.dropdown-menu { + color: ; + background-color: ; +} + +.selectize-dropdown { + color: !important; + background-color: !important; +} USING DEFAULT*/ + +.font-option { + background: white; +} + +.font-option:hover { + background: lightblue; +} + +.font-option-active { + background: #226699 !important; +} + +.font-option-active:hover { + background: #4477AA !important; +} + +.notification { + background-color: cornflowerblue; +} + +.notification-error { + background-color: indianred !important; + color: white; +} + +.notification-on { + background-color: green !important; + color: black; +} + +.notification-off { + background-color: gray !important; + color: black; +} + +/*.divider { + background-color: !important; +} USING DEFAULT*/