diff options
author | Devaev Maxim <[email protected]> | 2018-12-19 00:15:14 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-12-19 00:29:24 +0300 |
commit | 1ee5c8141744adc7079227eb0aba5b1df2033272 (patch) | |
tree | 5929a02e8b16dd39ff702f600bf869cb5c5d2b43 /web/share/css/main.css | |
parent | 3e7b5bf04908dbcf14bbeafc052bce9c51bb6b2c (diff) |
better button style
Diffstat (limited to 'web/share/css/main.css')
-rw-r--r-- | web/share/css/main.css | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/web/share/css/main.css b/web/share/css/main.css index 7102420e..945d6453 100644 --- a/web/share/css/main.css +++ b/web/share/css/main.css @@ -61,10 +61,11 @@ img.svg-gray { button, select { box-shadow: none; - border: none; + border: var(--border-key-thin); border-radius: 4px; color: var(--cs-control-default-fg); background-color: var(--cs-control-default-bg); + box-shadow: var(--shadow-micro); display: block; width: 100%; height: 30px; @@ -76,10 +77,12 @@ button, select { /* If we have a mouse cursor */ button:enabled:hover, select:enabled:hover { color: var(--cs-control-hovered-fg); - background-color: var(--cs-control-hovered-bg) !important; + background-color: var(--cs-control-hovered-bg); } button:active, select:active { color: var(--cs-control-pressed-fg) !important; + background-color: var(--cs-control-pressed-bg) !important; + box-shadow: none; } select:enabled:hover { background-image: url("../svg/select-arrow-intensive.svg") !important; @@ -154,7 +157,7 @@ div.buttons-row { .row50:not(:first-child), .row25:not(:first-child), .row16:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; - border-left: var(--border-control-thin); + border-left: var(--border-control-thin) !important; } .row50:not(:last-child), .row25:not(:last-child), .row16:not(:last-child) { border-top-right-radius: 0; |