mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-22 19:43:53 +00:00
Add CSS variable --close-button-visibility
This commit is contained in:
parent
3746aab271
commit
d8ca6b74d5
|
@ -23,6 +23,7 @@
|
||||||
--button-cursor: pointer;
|
--button-cursor: pointer;
|
||||||
--badge-background: #383a3e;
|
--badge-background: #383a3e;
|
||||||
--badge-color: #fff;
|
--badge-color: #fff;
|
||||||
|
--close-button-visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* STYLES */
|
/* STYLES */
|
||||||
|
@ -161,6 +162,11 @@ webview.visible {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1px 0 0 0;
|
padding: 1px 0 0 0;
|
||||||
|
visibility: var(--close-button-visibility);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab.active .tab-close button {
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-close button:hover {
|
.tab-close button:hover {
|
||||||
|
|
Loading…
Reference in a new issue