From 9c851acaeb8bdb7fcb6e454adf1c5ad97ced56fd Mon Sep 17 00:00:00 2001 From: LFDM <1986gh@gmail.com> Date: Fri, 8 Aug 2014 11:15:15 +0200 Subject: [PATCH] Minor css class refactor --- app/css/arethusa.scss | 95 +++++++++---------- .../arethusa.dep_tree/focus_controls.html | 10 +- app/templates/arethusa.dep_tree/settings.html | 4 +- app/templates/dep_tree.html | 7 +- app/templates/history.html | 4 +- app/templates/relation.html | 2 +- 6 files changed, 59 insertions(+), 63 deletions(-) diff --git a/app/css/arethusa.scss b/app/css/arethusa.scss index bd0fb89c0..07758cad4 100644 --- a/app/css/arethusa.scss +++ b/app/css/arethusa.scss @@ -500,6 +500,10 @@ input.compact { @include transition(background-color 700ms ease-in-out); } +.settings-span-button { + @extend .clickable, .margined-hor-tiny, .flash-on-hover; +} + .clickable { cursor: pointer; } @@ -601,12 +605,6 @@ ul.no-list { 100% { opacity: 0 } } -#keyboard { - margin: 0; - padding: 0; - list-style: none; -} - li.keyboard-key { float: left; margin: 0 3px 3px 0; @@ -628,56 +626,55 @@ li.keyboard-key:hover { } #keyboard { + margin: 0; + padding: 0; + list-style: none; width: 514px; -} -#keyboard .last-key { - margin-right: 0; -} -#keyboard .first-key { - clear: left; -} -#keyboard .tab, #keyboard .delete { - width: 52px; -} -#keyboard .ctrl, #keyboard .alt { - width: 52px; -} -#keyboard .capslock { - width: 60px; -} -#keyboard .return { - width: 56px; -} -#keyboard .l-shift { - width: 70px; -} -#keyboard .shift { - width: 79px; -} + .last-key { + margin-right: 0; + } -#keyboard .space { - width: 262px; -} + .tab, .delete, .ctrl, .alt { + width: 52px; + } -#keyboard .inactive { - color: rgb(228, 228, 228); -} + .capslock { + width: 60px; + } + .return { + width: 56px; + } + .l-shift { + width: 70px; + } + .shift { + width: 79px; + } -#keyboard .shifted-1 { - padding-left: 0.1em; - font-size:0.7em; - vertical-align: super; -} + .space { + width: 262px; + } -#keyboard .shifter { - cursor: pointer; -} + .inactive { + color: rgb(228, 228, 228); + } -#keyboard .key-hit { - background-color: #C3E3FF; - border: 1px solid lightgray; - box-shadow: none; + .shifted-1 { + padding-left: 0.1em; + font-size:0.7em; + vertical-align: super; + } + + .shifter { + cursor: pointer; + } + + .key-hit { + background-color: #C3E3FF; + border: 1px solid lightgray; + box-shadow: none; + } } .comments { diff --git a/app/templates/arethusa.dep_tree/focus_controls.html b/app/templates/arethusa.dep_tree/focus_controls.html index 29e7f00f2..180705054 100644 --- a/app/templates/arethusa.dep_tree/focus_controls.html +++ b/app/templates/arethusa.dep_tree/focus_controls.html @@ -1,30 +1,30 @@ diff --git a/app/templates/arethusa.dep_tree/settings.html b/app/templates/arethusa.dep_tree/settings.html index 2d7ab6358..7b8ef1387 100644 --- a/app/templates/arethusa.dep_tree/settings.html +++ b/app/templates/arethusa.dep_tree/settings.html @@ -2,13 +2,13 @@ diff --git a/app/templates/dep_tree.html b/app/templates/dep_tree.html index a8ad5f842..d52d6636d 100644 --- a/app/templates/dep_tree.html +++ b/app/templates/dep_tree.html @@ -1,13 +1,13 @@
Toggle Diff @@ -19,7 +19,6 @@ dependency-tree tokens="state.tokens" styles="plugin.diffStyles()" - to-bottom - > + to-bottom>
diff --git a/app/templates/history.html b/app/templates/history.html index 11847fc05..1f4409851 100644 --- a/app/templates/history.html +++ b/app/templates/history.html @@ -1,6 +1,6 @@
- - + +
diff --git a/app/templates/relation.html b/app/templates/relation.html index 16b430555..65740d7b6 100644 --- a/app/templates/relation.html +++ b/app/templates/relation.html @@ -12,7 +12,7 @@