summaryrefslogtreecommitdiff
path: root/web/share/css/tabs.css
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-19 16:54:50 +0300
committerDevaev Maxim <[email protected]>2020-07-19 16:54:50 +0300
commit903382fda501e3c5f54d0b82e0067139ab5e11f7 (patch)
treeb132aaedb6c23d362e1a9ea7e9aece8b6dcb1a97 /web/share/css/tabs.css
parentaf89118eda79ede894ff45a0bea7db030a8d6e86 (diff)
many style improvements
Diffstat (limited to 'web/share/css/tabs.css')
-rw-r--r--web/share/css/tabs.css18
1 files changed, 15 insertions, 3 deletions
diff --git a/web/share/css/tabs.css b/web/share/css/tabs.css
index 9dfd66db..b622494d 100644
--- a/web/share/css/tabs.css
+++ b/web/share/css/tabs.css
@@ -39,7 +39,8 @@ div.tabs-box div.tab {
div.tabs-box label {
order: 1;
- display: block;
+ display: flex;
+ align-items: center;
text-align: center;
vertical-align: middle;
user-select: none;
@@ -50,15 +51,26 @@ div.tabs-box label {
position: relative;
top: 1px;
}
+@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
+ div.tabs-box label {
+ height: 30px !important;
+ }
+}
div.tabs-box label:last-of-type {
border-right: var(--border-default-thin);
}
-div.tabs-box input[type="radio"]:checked+label {
+div.tabs-box input[type="radio"]:checked + label {
background-color: var(--cs-control-default-bg);
}
+@media (hover: hover), (min--moz-device-pixel-ratio: 0) {
+ /* If we have a mouse cursor */
+ div.tabs-box input[type="radio"]:not(:checked):hover + label {
+ color: var(--cs-control-hovered-fg);
+ }
+}
-div.tabs-box input[type="radio"]:checked+label+.tab {
+div.tabs-box input[type="radio"]:checked + label + .tab {
display: block;
}