Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 235f873

Browse files
committed
Mint-Y-Gtk4: Improve dialog button styling
1 parent 895036c commit 235f873

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

src/Mint-Y/gtk-4.0/sass/_common.scss

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2873,6 +2873,29 @@ calendar {
28732873
//
28742874
// Dialogs
28752875
//
2876+
.dialog-action-area {
2877+
margin: 6px;
2878+
2879+
button.text-button {
2880+
padding: 6px 16px;
2881+
}
2882+
2883+
button {
2884+
border-radius: 0;
2885+
border-right-style: none;
2886+
2887+
&:first-child {
2888+
border-radius: 3px 0 0 3px;
2889+
border-right-style: none;
2890+
}
2891+
2892+
&:last-child {
2893+
border-radius: 0 3px 3px 0;
2894+
border-style: solid;
2895+
}
2896+
}
2897+
}
2898+
28762899
window.dialog.message { // Message Dialog styling
28772900
.titlebar {
28782901
min-height: 20px;
@@ -2904,12 +2927,14 @@ window.dialog.message { // Message Dialog styling
29042927

29052928
// .dialog-action-area { @include linking_rules(); }
29062929

2930+
// }
2931+
29072932
.dialog-action-area button {
29082933
border-radius: 0;
29092934
border-bottom-style: none;
29102935
border-right-style: none;
29112936

2912-
&:first-child{
2937+
&:first-child {
29132938
border-bottom-left-radius: 2px;
29142939
border-left-style: none;
29152940
}

0 commit comments

Comments
 (0)