From 2d1331e104bfbf009da61b2aa688e840a001f4ce Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 13 Jun 2015 22:56:45 -0700 Subject: Tweak the styling of the abbreviation editor Removes the big white block of the input fields. --- share/tools/web_config/fishconfig.css | 16 ++++++++++++++-- share/tools/web_config/partials/abbreviations.html | 10 +++++----- 2 files changed, 19 insertions(+), 7 deletions(-) (limited to 'share') diff --git a/share/tools/web_config/fishconfig.css b/share/tools/web_config/fishconfig.css index f24f442e..bba26b41 100644 --- a/share/tools/web_config/fishconfig.css +++ b/share/tools/web_config/fishconfig.css @@ -29,6 +29,8 @@ body { border-right: none; padding-bottom: 15px; padding-top: 15px; + padding-left: 8px; + padding-right: 8px; font-size: 17pt; text-align: center; width: 15%; @@ -232,12 +234,22 @@ body { border-bottom: #444 dotted 1px; } - .abbreviation_actions { - width: 5em; +.abbreviation_actions { + width: 8em; text-align: right; border-bottom: #444 dotted 1px; } +.abbreviation_input { + background-color: #111; + border: solid 1px #777; + height: 1.5em; + color: white; + font: inherit; + padding: 3px; + margin: 0; +} + /* The CSS we apply when a table row is filtered */ .data_table_row_filtered { display: none; diff --git a/share/tools/web_config/partials/abbreviations.html b/share/tools/web_config/partials/abbreviations.html index e56281ef..382ebeee 100644 --- a/share/tools/web_config/partials/abbreviations.html +++ b/share/tools/web_config/partials/abbreviations.html @@ -5,17 +5,17 @@ - -- cgit v1.2.3
+ {{ abbreviation.word }} - + {{ abbreviation.phrase }} - + - Save - Delete + Save + Delete