Use relative units in GTK CSS
This commit is contained in:
parent
12dfb42215
commit
8828398707
|
@ -14,21 +14,21 @@ const
|
||||||
# GTK CSS for overriding the default icon size of buttons
|
# GTK CSS for overriding the default icon size of buttons
|
||||||
gtkCSS = """
|
gtkCSS = """
|
||||||
.style-button {
|
.style-button {
|
||||||
-gtk-icon-size: 100px;
|
-gtk-icon-size: 5.5em;
|
||||||
padding: 3px 7px;
|
padding: 0.1em 0.4em;
|
||||||
border-radius: 15px;
|
border-radius: 0.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.accent-button {
|
.accent-button {
|
||||||
-gtk-icon-size: 30px;
|
-gtk-icon-size: 1.65em;
|
||||||
padding: 8px;
|
padding: 0.4em;
|
||||||
border-radius: 30px;
|
border-radius: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#.accent-button.suggested-action {
|
#.accent-button.suggested-action {
|
||||||
# outline-color: black;
|
# outline-color: black;
|
||||||
# outline-width: 1px;
|
# outline-width: 0.05em;
|
||||||
# outline-offset: -9px;
|
# outline-offset: -0.45em;
|
||||||
}"""
|
}"""
|
||||||
appID = "com.tromjaro.ThemeSwitcher"
|
appID = "com.tromjaro.ThemeSwitcher"
|
||||||
appLogo = "tromjaro-theme-switcher"
|
appLogo = "tromjaro-theme-switcher"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user