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
|
||||
gtkCSS = """
|
||||
.style-button {
|
||||
-gtk-icon-size: 100px;
|
||||
padding: 3px 7px;
|
||||
border-radius: 15px;
|
||||
-gtk-icon-size: 5.5em;
|
||||
padding: 0.1em 0.4em;
|
||||
border-radius: 0.75em;
|
||||
}
|
||||
|
||||
.accent-button {
|
||||
-gtk-icon-size: 30px;
|
||||
padding: 8px;
|
||||
border-radius: 30px;
|
||||
-gtk-icon-size: 1.65em;
|
||||
padding: 0.4em;
|
||||
border-radius: 1.5em;
|
||||
}
|
||||
|
||||
#.accent-button.suggested-action {
|
||||
# outline-color: black;
|
||||
# outline-width: 1px;
|
||||
# outline-offset: -9px;
|
||||
# outline-width: 0.05em;
|
||||
# outline-offset: -0.45em;
|
||||
}"""
|
||||
appID = "com.tromjaro.ThemeSwitcher"
|
||||
appLogo = "tromjaro-theme-switcher"
|
||||
|
|
Loading…
Reference in New Issue
Block a user