mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-11-06 05:50:16 -08:00
Fixed #35
This commit is contained in:
38
src/assets/gtk/scalable/close.svg
Normal file
38
src/assets/gtk/scalable/close.svg
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 16 16"
|
||||
version="1.1"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
sodipodi:docname="close.svg"
|
||||
id="svg824"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs5" />
|
||||
<sodipodi:namedview
|
||||
id="namedview6"
|
||||
pagecolor="#424242"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="11.5625"
|
||||
inkscape:cx="7.3513514"
|
||||
inkscape:cy="13.837838"
|
||||
inkscape:window-width="1440"
|
||||
inkscape:window-height="742"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg824" />
|
||||
<path
|
||||
d="m 4.464745,3.96488 c -0.12775,0 -0.2555,0.0486 -0.35339,0.14649 -0.19578,0.19586 -0.19578,0.51116 0,0.70703 L 7.292955,8 l -3.1816,3.1816 c -0.19578,0.19586 -0.19578,0.51116 0,0.70703 0.19578,0.19586 0.51118,0.19586 0.70704,0 l 3.18161,-3.1816 3.1816,3.1816 c 0.19578,0.19586 0.51114,0.19586 0.70704,0 0.19578,-0.19586 0.19578,-0.51116 0,-0.70703 L 8.707045,8 l 3.1816,-3.1816 c 0.19578,-0.19586 0.19578,-0.51116 0,-0.70703 -0.19578,-0.19586 -0.51117,-0.19586 -0.70704,0 l -3.1816,3.1816 -3.18161,-3.1816 C 4.720495,4.01347 4.592755,3.96488 4.465005,3.96488 Z"
|
||||
id="path2928"
|
||||
style="fill:#ffffff" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
38
src/assets/gtk/scalable/maximize.svg
Normal file
38
src/assets/gtk/scalable/maximize.svg
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 16 16"
|
||||
version="1.1"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
sodipodi:docname="maximize.svg"
|
||||
id="svg825"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs5" />
|
||||
<sodipodi:namedview
|
||||
id="namedview6"
|
||||
pagecolor="#424242"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="23.125"
|
||||
inkscape:cx="11.243243"
|
||||
inkscape:cy="11.978378"
|
||||
inkscape:window-width="1440"
|
||||
inkscape:window-height="742"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg825" />
|
||||
<path
|
||||
d="M 6,4 C 4.892,4 4,4.892 4,6 v 4 c 0,1.108 0.89201,2 2,2 h 4 c 1.10801,0 2,-0.892 2,-2 V 6 C 12,4.892 11.10799,4 10,4 Z m 0,1 h 4 c 0.554,0 1,0.44602 1,1 v 4 c 0,0.55398 -0.44602,1 -1,1 H 6 C 5.44603,11 5.00001,10.55398 5.00001,10 V 6 C 5.00001,5.44602 5.44604,5 6,5 Z"
|
||||
id="path2930"
|
||||
style="fill:#ffffff" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
43
src/assets/gtk/scalable/minimize.svg
Normal file
43
src/assets/gtk/scalable/minimize.svg
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 16 16"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
sodipodi:docname="minimize.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs5" />
|
||||
<sodipodi:namedview
|
||||
id="namedview6"
|
||||
pagecolor="#424242"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="23.125"
|
||||
inkscape:cx="5.7513514"
|
||||
inkscape:cy="9.8162162"
|
||||
inkscape:window-width="1440"
|
||||
inkscape:window-height="742"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg4" />
|
||||
<rect
|
||||
x="4"
|
||||
y="8"
|
||||
width="8"
|
||||
height="1"
|
||||
rx="0.5"
|
||||
ry="0.5"
|
||||
id="rect2932"
|
||||
style="fill:#ffffff" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
46
src/assets/gtk/scalable/unmaximize.svg
Normal file
46
src/assets/gtk/scalable/unmaximize.svg
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="16"
|
||||
height="16"
|
||||
viewBox="0 0 16 16"
|
||||
version="1.1"
|
||||
sodipodi:docname="unmaximize.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
id="svg831"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs6" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#424242"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1440"
|
||||
inkscape:window-height="742"
|
||||
id="namedview6"
|
||||
showgrid="true"
|
||||
inkscape:zoom="29.580633"
|
||||
inkscape:cx="2.095966"
|
||||
inkscape:cy="10.006547"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="32"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:current-layer="svg831" />
|
||||
<path
|
||||
d="M 6,6 C 4.892,6 4,6.892 4,8 v 2 c 0,1.108 0.892,2 2,2 h 2 c 1.108,0 2,-0.892 2,-2 V 8 C 10,6.892 9.108,6 8,6 Z m 0,1 h 2 c 0.554,0 1,0.446 1,1 v 2 c 0,0.554 -0.446,1 -1,1 H 6 C 5.446,11 5,10.554 5,10 V 8 C 5,7.446 5.446,7 6,7 Z"
|
||||
id="path2896"
|
||||
style="fill:#ffffff" />
|
||||
<path
|
||||
d="M 8,4 C 6.892,4 6,4.892 6,6 H 7 C 7,5.446 7.446,5 8,5 h 2 c 0.554,0 1,0.446 1,1 v 2 c 0,0.554 -0.446,1 -1,1 v 1 c 1.108,0 2,-0.892 2,-2 V 6 C 12,4.892 11.108,4 10,4 Z"
|
||||
opacity="0.35"
|
||||
id="path2898"
|
||||
style="fill:#ffffff" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -4231,6 +4231,35 @@ button.close.titlebutton:active:not(.suggested-action):not(.destructive-action)
|
||||
background-color: #fe877d;
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:not(.suggested-action):not(.destructive-action) {
|
||||
background-repeat: no-repeat;
|
||||
background-size: 16px 16px;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:not(.suggested-action):not(.destructive-action) {
|
||||
box-shadow: none;
|
||||
color: transparent;
|
||||
animation: none;
|
||||
transition: all 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/minimize.svg");
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/maximize.svg");
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/close.svg");
|
||||
}
|
||||
|
||||
.background.csd.maximized headerbar.titlebar.default-decoration button.titlebutton:not(.suggested-action):not(.destructive-action).maximize:hover, .background.csd.maximized headerbar.titlebar.default-decoration button.titlebutton:not(.suggested-action):not(.destructive-action).maximize:active {
|
||||
background-image: url("assets/scalable/unmaximize.svg");
|
||||
}
|
||||
|
||||
.monospace {
|
||||
font-family: monospace;
|
||||
}
|
||||
@@ -7999,6 +8028,7 @@ read if you used those and something break with a version upgrade you're on your
|
||||
@define-color wm_title #FFFFFF;
|
||||
@define-color wm_unfocused_title rgba(255, 255, 255, 0.7);
|
||||
@define-color wm_highlight rgba(255, 255, 255, 0.1);
|
||||
@define-color wm_border #090909;
|
||||
@define-color wm_bg #242424;
|
||||
@define-color wm_unfocused_bg #2C2C2C;
|
||||
@define-color wm_button_icon white;
|
||||
|
||||
@@ -4222,6 +4222,35 @@ button.close.titlebutton:active:not(.suggested-action):not(.destructive-action)
|
||||
background-color: rgba(201, 76, 64, 0.9675);
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:not(.suggested-action):not(.destructive-action) {
|
||||
background-repeat: no-repeat;
|
||||
background-size: 16px 16px;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:not(.suggested-action):not(.destructive-action) {
|
||||
box-shadow: none;
|
||||
color: transparent;
|
||||
animation: none;
|
||||
transition: all 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/minimize.svg");
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/maximize.svg");
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/close.svg");
|
||||
}
|
||||
|
||||
.background.csd.maximized headerbar.titlebar.default-decoration button.titlebutton:not(.suggested-action):not(.destructive-action).maximize:hover, .background.csd.maximized headerbar.titlebar.default-decoration button.titlebutton:not(.suggested-action):not(.destructive-action).maximize:active {
|
||||
background-image: url("assets/scalable/unmaximize.svg");
|
||||
}
|
||||
|
||||
.monospace {
|
||||
font-family: monospace;
|
||||
}
|
||||
@@ -7990,6 +8019,7 @@ read if you used those and something break with a version upgrade you're on your
|
||||
@define-color wm_title rgba(0, 0, 0, 0.87);
|
||||
@define-color wm_unfocused_title rgba(0, 0, 0, 0.6);
|
||||
@define-color wm_highlight rgba(255, 255, 255, 0.15);
|
||||
@define-color wm_border #a6a6a6;
|
||||
@define-color wm_bg #F2F2F2;
|
||||
@define-color wm_unfocused_bg #FAFAFA;
|
||||
@define-color wm_button_icon white;
|
||||
|
||||
@@ -4231,6 +4231,35 @@ button.close.titlebutton:active:not(.suggested-action):not(.destructive-action)
|
||||
background-color: #fe877d;
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:not(.suggested-action):not(.destructive-action) {
|
||||
background-repeat: no-repeat;
|
||||
background-size: 16px 16px;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:not(.suggested-action):not(.destructive-action) {
|
||||
box-shadow: none;
|
||||
color: transparent;
|
||||
animation: none;
|
||||
transition: all 75ms cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.minimize.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.minimize.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/minimize.svg");
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.maximize.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.maximize.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/maximize.svg");
|
||||
}
|
||||
|
||||
#MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton:hover, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:hover:not(.suggested-action):not(.destructive-action), #MozillaGtkWidget.background headerbar.titlebar.default-decoration button.close.titlebutton:active, .background.csd headerbar.titlebar.default-decoration button.close.titlebutton:active:not(.suggested-action):not(.destructive-action) {
|
||||
background-image: url("assets/scalable/close.svg");
|
||||
}
|
||||
|
||||
.background.csd.maximized headerbar.titlebar.default-decoration button.titlebutton:not(.suggested-action):not(.destructive-action).maximize:hover, .background.csd.maximized headerbar.titlebar.default-decoration button.titlebutton:not(.suggested-action):not(.destructive-action).maximize:active {
|
||||
background-image: url("assets/scalable/unmaximize.svg");
|
||||
}
|
||||
|
||||
.monospace {
|
||||
font-family: monospace;
|
||||
}
|
||||
@@ -7999,6 +8028,7 @@ read if you used those and something break with a version upgrade you're on your
|
||||
@define-color wm_title #FFFFFF;
|
||||
@define-color wm_unfocused_title rgba(255, 255, 255, 0.7);
|
||||
@define-color wm_highlight rgba(255, 255, 255, 0.1);
|
||||
@define-color wm_border #a6a6a6;
|
||||
@define-color wm_bg #242424;
|
||||
@define-color wm_unfocused_bg #2C2C2C;
|
||||
@define-color wm_button_icon white;
|
||||
|
||||
@@ -4704,6 +4704,7 @@ read if you used those and something break with a version upgrade you're on your
|
||||
@define-color wm_title #FFFFFF;
|
||||
@define-color wm_unfocused_title rgba(255, 255, 255, 0.7);
|
||||
@define-color wm_highlight rgba(255, 255, 255, 0.1);
|
||||
@define-color wm_border #090909;
|
||||
@define-color wm_bg #242424;
|
||||
@define-color wm_unfocused_bg #2C2C2C;
|
||||
@define-color wm_button_icon white;
|
||||
|
||||
@@ -4712,6 +4712,7 @@ read if you used those and something break with a version upgrade you're on your
|
||||
@define-color wm_title rgba(0, 0, 0, 0.87);
|
||||
@define-color wm_unfocused_title rgba(0, 0, 0, 0.6);
|
||||
@define-color wm_highlight rgba(255, 255, 255, 0.15);
|
||||
@define-color wm_border #a6a6a6;
|
||||
@define-color wm_bg #F2F2F2;
|
||||
@define-color wm_unfocused_bg #FAFAFA;
|
||||
@define-color wm_button_icon white;
|
||||
|
||||
@@ -4721,6 +4721,7 @@ read if you used those and something break with a version upgrade you're on your
|
||||
@define-color wm_title #FFFFFF;
|
||||
@define-color wm_unfocused_title rgba(255, 255, 255, 0.7);
|
||||
@define-color wm_highlight rgba(255, 255, 255, 0.1);
|
||||
@define-color wm_border #a6a6a6;
|
||||
@define-color wm_bg #242424;
|
||||
@define-color wm_unfocused_bg #2C2C2C;
|
||||
@define-color wm_button_icon white;
|
||||
|
||||
@@ -3844,6 +3844,39 @@ decoration {
|
||||
}
|
||||
}
|
||||
|
||||
%firefox_window_button {
|
||||
&.minimize, &.maximize, &.close {
|
||||
background-repeat: no-repeat;
|
||||
background-size: 16px 16px;
|
||||
background-position: center;
|
||||
|
||||
&, &:hover, &:active {
|
||||
box-shadow: none;
|
||||
color: transparent;
|
||||
animation: none;
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
|
||||
&.minimize { // Window minimize button
|
||||
&:hover, &:active {
|
||||
background-image: url("assets/scalable/minimize.svg");
|
||||
}
|
||||
}
|
||||
|
||||
&.maximize { // Window maximize button
|
||||
&:hover, &:active {
|
||||
background-image: url("assets/scalable/maximize.svg");
|
||||
}
|
||||
}
|
||||
|
||||
&.close { // Window close button
|
||||
&:hover, &:active {
|
||||
background-image: url("assets/scalable/close.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
button.titlebutton:not(.suggested-action):not(.destructive-action) {
|
||||
@extend %circular-button;
|
||||
|
||||
@@ -3852,6 +3885,16 @@ button.titlebutton:not(.suggested-action):not(.destructive-action) {
|
||||
} @else {
|
||||
@extend %normal_window_button;
|
||||
}
|
||||
|
||||
.background.csd headerbar.titlebar.default-decoration & {
|
||||
@extend %firefox_window_button;
|
||||
}
|
||||
|
||||
.background.csd.maximized headerbar.titlebar.default-decoration &.maximize {
|
||||
&:hover, &:active {
|
||||
background-image: url("assets/scalable/unmaximize.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.monospace { font-family: monospace; }
|
||||
|
||||
@@ -121,7 +121,12 @@ tooltip.background.chromium { background-color: rgba($tooltip, 1); }
|
||||
/***********
|
||||
* Firefox *
|
||||
***********/
|
||||
|
||||
#MozillaGtkWidget {
|
||||
&.background headerbar.titlebar.default-decoration button.titlebutton {
|
||||
@extend %firefox_window_button;
|
||||
}
|
||||
|
||||
> widget {
|
||||
// For popover, entry in toolbar, etc.
|
||||
text { background-color: $surface; }
|
||||
|
||||
Reference in New Issue
Block a user