diff options
author | Devaev Maxim <[email protected]> | 2020-07-18 18:19:57 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-18 18:19:57 +0300 |
commit | faedb829b95df47147442b784e4583ddfc4db252 (patch) | |
tree | ea74256a75434f4b500f6c719a02fd68c0f2f98a /web/share/css/tabs.css | |
parent | b62271c112e26adc8d053a4f602acb84154c00cd (diff) |
refactoring
Diffstat (limited to 'web/share/css/tabs.css')
-rw-r--r-- | web/share/css/tabs.css | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/web/share/css/tabs.css b/web/share/css/tabs.css index fcd6f9b8..9dfd66db 100644 --- a/web/share/css/tabs.css +++ b/web/share/css/tabs.css @@ -20,16 +20,16 @@ *****************************************************************************/ -div.tabs { +div.tabs-box { display: flex; flex-wrap: wrap; } -div.tabs input[type="radio"] { +div.tabs-box input[type="radio"] { display: none; } -div.tabs div.tab { +div.tabs-box div.tab { order: 99; display: none; border: var(--border-default-thin); @@ -37,7 +37,7 @@ div.tabs div.tab { width: 100%; } -div.tabs label { +div.tabs-box label { order: 1; display: block; text-align: center; @@ -51,14 +51,14 @@ div.tabs label { top: 1px; } -div.tabs label:last-of-type { +div.tabs-box label:last-of-type { border-right: var(--border-default-thin); } -div.tabs input[type="radio"]:checked+label { +div.tabs-box input[type="radio"]:checked+label { background-color: var(--cs-control-default-bg); } -div.tabs input[type="radio"]:checked+label+.tab { +div.tabs-box input[type="radio"]:checked+label+.tab { display: block; } |