add more variables for tab close buttons, PR #31
added: --gnome-icons-hack-close-button-hover-bgimage --gnome-icons-hack-close-button-hover-box-shadow
This commit is contained in:
parent
e7702894de
commit
0eef6cfbce
|
@ -95,6 +95,8 @@
|
|||
--gnome-icons-hack-filter: invert(85%); /* without invert: none */
|
||||
--gnome-icons-hack-close-button-border: 1px solid #e3e0e0; /* without invert: 1px solid #1c1f1f */
|
||||
--gnome-icons-hack-close-button-filter: invert(100%); /* without invert: none */
|
||||
--gnome-icons-hack-close-button-hover-bgimage: none; /* without invert: none */
|
||||
--gnome-icons-hack-close-button-hover-box-shadow: none; /* without invert: none */
|
||||
--gnome-icons-hack-close-button-active-bgimage: linear-gradient(rgb(220, 216, 216), rgb(214, 210, 210) 40%, rgb(210, 205, 205));
|
||||
/* ^ without invert: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)) */
|
||||
--gnome-icons-hack-close-button-active-box-shadow: 0 1px rgba(255, 255, 255, .07) inset, 0 2px 1px -2px rgba(255, 255, 255, .6) inset, 0 1px rgba(17, 17, 19, .1);
|
||||
|
|
|
@ -95,6 +95,8 @@
|
|||
--gnome-icons-hack-filter: invert(30%); /* with invert: invert(85%) */
|
||||
--gnome-icons-hack-close-button-border: 1px solid #a1a1a1; /* with invert: 1px solid #5e5e5e */
|
||||
--gnome-icons-hack-close-button-filter: none; /* with invert: invert(100%) */
|
||||
--gnome-icons-hack-close-button-hover-bgimage: none; /* without invert: none */
|
||||
--gnome-icons-hack-close-button-hover-box-shadow: none; /* without invert: none */
|
||||
--gnome-icons-hack-close-button-active-bgimage: linear-gradient(rgb(214, 214, 214), rgb(220, 220, 220) 40%, rgb(224, 224, 224));
|
||||
/* ^ with invert: linear-gradient(rgb(41, 41, 41), rgb(35, 35, 35) 40%, rgb(31, 31, 31)) */
|
||||
--gnome-icons-hack-close-button-active-box-shadow: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 1px -2px rgba(0, 0, 0, .6) inset;
|
||||
|
|
|
@ -95,6 +95,8 @@
|
|||
--gnome-icons-hack-filter: invert(85%); /* without invert: none */
|
||||
--gnome-icons-hack-close-button-border: 1px solid #e3e0e0; /* without invert: 1px solid #1c1f1f */
|
||||
--gnome-icons-hack-close-button-filter: invert(100%); /* without invert: none */
|
||||
--gnome-icons-hack-close-button-hover-bgimage: none; /* without invert: none */
|
||||
--gnome-icons-hack-close-button-hover-box-shadow: none; /* without invert: none */
|
||||
--gnome-icons-hack-close-button-active-bgimage: linear-gradient(rgb(220, 216, 216), rgb(214, 210, 210) 40%, rgb(210, 205, 205));
|
||||
/* ^ without invert: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)) */
|
||||
--gnome-icons-hack-close-button-active-box-shadow: 0 1px rgba(255, 255, 255, .07) inset, 0 2px 1px -2px rgba(255, 255, 255, .6) inset, 0 1px rgba(17, 17, 19, .1);
|
||||
|
|
|
@ -95,6 +95,8 @@
|
|||
--gnome-icons-hack-filter: invert(85%); /* without invert: none */
|
||||
--gnome-icons-hack-close-button-border: 1px solid #e3e0e0; /* without invert: 1px solid #1c1f1f */
|
||||
--gnome-icons-hack-close-button-filter: invert(100%); /* without invert: none */
|
||||
--gnome-icons-hack-close-button-hover-bgimage: none; /* without invert: none */
|
||||
--gnome-icons-hack-close-button-hover-box-shadow: none; /* without invert: none */
|
||||
--gnome-icons-hack-close-button-active-bgimage: linear-gradient(rgb(220, 216, 216), rgb(214, 210, 210) 40%, rgb(210, 205, 205));
|
||||
/* ^ without invert: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)) */
|
||||
--gnome-icons-hack-close-button-active-box-shadow: 0 1px rgba(255, 255, 255, .07) inset, 0 2px 1px -2px rgba(255, 255, 255, .6) inset, 0 1px rgba(17, 17, 19, .1);
|
||||
|
|
|
@ -577,12 +577,14 @@ tab[selected]:-moz-window-inactive {
|
|||
opacity: .18;
|
||||
}
|
||||
:root:not(:-moz-window-inactive) .tab-close-button:hover {
|
||||
background-image: var(--gnome-icons-hack-close-button-hover-bgimage);
|
||||
border: var(--gnome-icons-hack-close-button-border);
|
||||
border-radius: 3px;
|
||||
box-shadow: var(--gnome-icons-hack-close-button-hover-box-shadow);
|
||||
filter: var(--gnome-icons-hack-close-button-filter);
|
||||
opacity: 1;
|
||||
}
|
||||
.tab-close-button:active {
|
||||
:root:not(:-moz-window-inactive) .tab-close-button:active {
|
||||
background-image: var(--gnome-icons-hack-close-button-active-bgimage);
|
||||
box-shadow: var(--gnome-icons-hack-close-button-active-box-shadow);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue