From ae39fef6bdfa97cf64d6481ca7c4bc81a58d433a Mon Sep 17 00:00:00 2001 From: Borys Levytskyi Date: Sat, 11 Apr 2015 20:08:32 +0300 Subject: [PATCH] Implemented support of modes in views --- src/css/styles.css | 4 ++++ src/index.html | 10 +++++----- src/js/app/modelViews.js | 11 ++++++----- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/css/styles.css b/src/css/styles.css index 0b1a231..9225028 100644 --- a/src/css/styles.css +++ b/src/css/styles.css @@ -15,6 +15,8 @@ code { font-size: 1.2em; font-weight: bold; } .expression .byte { margin: 0 3px; } .expression .result td { border-top: dotted 1px gray; } .expression { font-size: 1.5em; font-family: monospace } +.expression .prefix { font-weight: normal; display: none; font-size: 0.9em } +.hex .prefix { display: inline; } .help { padding: 10px; } .help ul { list-style-type: none; margin: 0; padding: 0; } @@ -31,6 +33,7 @@ code { font-size: 1.2em; font-weight: bold; } .light .zero { color: #888; } .light .indicator { color: #ddd; } .light .on { color: #121212; } +.light .prefix { color: #888} /* Dark */ .dark { background: #121212; color: white;} @@ -39,5 +42,6 @@ code { font-size: 1.2em; font-weight: bold; } .dark .indicator { color: #555; } .dark .on { color: white; } .dark .zero { color: #999;} +.dark .prefix { color: #999} diff --git a/src/index.html b/src/index.html index 62eb7be..4fdb30a 100644 --- a/src/index.html +++ b/src/index.html @@ -118,11 +118,11 @@