diff --git a/css/app.css b/css/app.css index 5757e715..8f3b608a 100644 --- a/css/app.css +++ b/css/app.css @@ -45,24 +45,13 @@ ul { .sidebar__level-2--item.active { background-color: #555; color: #fff; } - .sidebar__level-2--item.active .fa-star, - .sidebar__level-2--item.active .fa-star-o { - display: none; } + .sidebar__level-2--item.active .fa-star { + color: #fff; } .sidebar__level-2--item.active:hover { background-color: #555; } - .sidebar__level-2--item.active:hover .fa-star, - .sidebar__level-2--item.active:hover .fa-star-o { - display: block; - color: #fff; } - .sidebar__level-2--item:hover .fa-star-o { - color: #000; } - .sidebar__level-2--item:hover .fa-star-o:hover { - color: #000; } .sidebar__level-2--item .fa.pull-right { position: relative; top: 2px; } - .sidebar__level-2--item .fa-star-o { - color: #f5f5f5; } .sidebar__level-2--item .fa-star { color: #666; } @@ -117,24 +106,6 @@ ul { max-width: 100%; width: 98%; } -.grip { - position: relative; } - .grip:before { - content: ''; - display: none; - width: 5px; - height: 20px; - background-image: url(../images/grips/vertical_dark.png); - background-repeat: no-repeat; - position: absolute; - top: 50%; - left: 7px; - margin-top: -10px; } - .grip.btn-primary:before { - background-image: url(../images/grips/vertical.png); } - .grip:hover:before { - display: block; } - .key-editor__popup { border: none; width: 0px; @@ -144,11 +115,5 @@ ul { left: 50%; margin-left: -310px; } -svg.uhk.faded #left-case, -svg.uhk.faded #right-case { - fill: #555; } - -svg.uhk.faded rect { - fill: #666; } - svg.uhk.faded rect.active { - fill: #000; } +svg.uhk rect.active { + fill: #337ab7; } diff --git a/style.css b/css/style.css similarity index 53% rename from style.css rename to css/style.css index a46aae4c..9cc9bf9a 100644 --- a/style.css +++ b/css/style.css @@ -1,32 +1,23 @@ -h1 { - margin-bottom: 3rem; -} - .popover { - padding: 0; -} + padding: 0; } + .popover.bottom > .arrow { + border-bottom-color: #000; } + .popover.bottom > .arrow:after { + border-bottom-color: #f7f7f7; } .popover-content { - padding: 10px 24px; -} + padding: 10px 24px; } .popover-title.menu-tabs { padding: .5rem .5rem 0; - display: block; -} + display: block; } .popover-title.menu-button-group { - display: none; -} + display: none; } .popover-title.menu-tabs .nav-tabs { position: relative; - top: 1px; -} - -.popover.bottom > .arrow:after { - border-bottom-color: #f7f7f7; -} + top: 1px; } .popover-actions { padding: 8px 14px; @@ -35,17 +26,14 @@ h1 { background-color: #f7f7f7; border-top: 1px solid #ebebeb; border-radius: 0 0 5px 5px; - text-align: right; -} + text-align: right; } .select2-container { - z-index: 100000; -} + z-index: 100000; } .scancode--explanation { color: lightgray; - float: right; -} + float: right; } .layout-abbreviation { font-weight: bold; @@ -53,21 +41,18 @@ h1 { background: #333; padding: 4px 8px; font-family: monospace; - margin-right: .5em; -} + margin-right: .5em; } .layout-preview img { max-width: 100%; - margin-top: 10px; -} + margin-top: 10px; } .key-editor--none__description p { padding: 2rem 0; margin: 0; text-align: center; font-style: italic; - color: #999; -} + color: #999; } .key-editor--none__description .icon { font-size: 5rem; @@ -77,45 +62,34 @@ h1 { left: 50%; margin-left: -2.5rem; top: 50%; - margin-top: -2.5rem; -} + margin-top: -2.5rem; } .select2-item { position: relative; - font-size: 1.5rem; -} - -.select2-item.keymap-name--wrapper { - padding-left: 50px; -} - -.select2-item .layout-segment-code { - height: 2rem; - position: absolute; - left: 0; - top: 50%; - margin-top: -1rem; -} + font-size: 1.5rem; } + .select2-item.keymap-name--wrapper { + padding-left: 50px; } + .select2-item .layout-segment-code { + height: 2rem; + position: absolute; + left: 0; + top: 50%; + margin-top: -1rem; } .preview-wrapper img { - max-width: 100%; -} + max-width: 100%; } .global-key-setup.disabled { - opacity: 0; -} + opacity: 0; } + .global-key-setup.disabled .setting-label { + color: #999; } -.global-key-setup.disabled .setting-label, .setting-label.disabled { - color: #999; -} + color: #999; } .global-key-setup--wrapper { - position: relative; -} - -.global-key-setup--wrapper .disabled-state--text { - position: absolute; - top: 50%; - margin-top: -4rem; -} + position: relative; } + .global-key-setup--wrapper .disabled-state--text { + position: absolute; + top: 50%; + margin-top: -4rem; } diff --git a/images/base-layer--blank.svg b/images/base-layer--blank.svg index 610f2b84..86c2dd70 100644 --- a/images/base-layer--blank.svg +++ b/images/base-layer--blank.svg @@ -333,12 +333,6 @@ height="41.667309" width="131.10236" id="f1" /> - Space - - Base - Mod - Fn - Mouse + Mod + Fn + Mouse @@ -121,7 +121,7 @@ - Scroll by 150px downdward + Scroll by 150px downward @@ -174,8 +174,6 @@ {{#if menuValue.hasDefaults}} {{#if isDefault}} - {{else}} - {{/if}} {{/if}} @@ -199,4 +197,3 @@