Custom CSS for play button
This commit is contained in:
@@ -1,2 +1,7 @@
|
|||||||
@define-color accent_color @purple_1;
|
@define-color accent_color @purple_1;
|
||||||
@define-color accent_bg_color @purple_4;
|
@define-color accent_bg_color @purple_4;
|
||||||
|
|
||||||
|
#overview_launch {
|
||||||
|
color: @dark_5;
|
||||||
|
background-color: @light_1;
|
||||||
|
}
|
||||||
@@ -1,2 +1,8 @@
|
|||||||
@define-color accent_color @purple_5;
|
@define-color accent_color @purple_5;
|
||||||
@define-color accent_bg_color @purple_3;
|
@define-color accent_bg_color @purple_3;
|
||||||
|
|
||||||
|
#overview_launch {
|
||||||
|
color: @light_1;
|
||||||
|
background-color: @dark_5;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
@@ -146,13 +146,13 @@ template CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
valign: center;
|
valign: center;
|
||||||
|
|
||||||
Button overview_launch {
|
Button overview_launch {
|
||||||
|
name: "overview_launch";
|
||||||
action-name: "app.launch_game";
|
action-name: "app.launch_game";
|
||||||
label: _("Play");
|
label: _("Play");
|
||||||
halign: start;
|
halign: start;
|
||||||
margin-top: 24;
|
margin-top: 24;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"suggested-action",
|
|
||||||
"pill",
|
"pill",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user