Add CSS variable --close-button-visibility

This commit is contained in:
Thomas Brouard 2022-05-25 17:19:25 +02:00
parent 3746aab271
commit d8ca6b74d5

View file

@ -23,6 +23,7 @@
--button-cursor: pointer;
--badge-background: #383a3e;
--badge-color: #fff;
--close-button-visibility: visible;
}
/* STYLES */
@ -161,6 +162,11 @@ webview.visible {
height: 20px;
text-align: center;
padding: 1px 0 0 0;
visibility: var(--close-button-visibility);
}
.tab.active .tab-close button {
visibility: visible;
}
.tab-close button:hover {