mirror of
https://github.com/horst3180/arc-theme.git
synced 2024-10-27 19:04:02 +00:00
simplify dialog buttons
This commit is contained in:
parent
4f5747023d
commit
c3d28d9be6
@ -2250,10 +2250,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2253,10 +2253,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2250,10 +2250,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2253,10 +2253,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2253,10 +2253,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2253,10 +2253,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2391,31 +2391,6 @@ GtkCalendar {
|
||||
@extend %middle_button;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: $selected_bg_color;
|
||||
|
||||
&:active, &:checked { color: $selected_fg_color; }
|
||||
}
|
||||
|
||||
// @each $b_type, $b_color in (suggested-action, $selected_bg_color),
|
||||
// (destructive-action, $destructive_color) {
|
||||
// &.#{$b_type} {
|
||||
// @include button(normal, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// &:hover {
|
||||
// @include button(hover, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// &:active {
|
||||
// @include button(active, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// &:insensitive {
|
||||
// @include button(insensitive, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
&:first-child{ @extend %first_button; }
|
||||
&:last-child { @extend %last_button; }
|
||||
}
|
||||
|
@ -2307,10 +2307,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2310,10 +2310,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2307,10 +2307,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2310,10 +2310,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2310,10 +2310,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2310,10 +2310,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2500,31 +2500,6 @@ GtkCalendar {
|
||||
@extend %middle_button;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: $selected_bg_color;
|
||||
|
||||
&:active, &:checked { color: $selected_fg_color; }
|
||||
}
|
||||
|
||||
// @each $b_type, $b_color in (suggested-action, $selected_bg_color),
|
||||
// (destructive-action, $destructive_color) {
|
||||
// &.#{$b_type} {
|
||||
// @include button(normal, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// &:hover {
|
||||
// @include button(hover, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// &:active {
|
||||
// @include button(active, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// &:insensitive {
|
||||
// @include button(insensitive, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
&:first-child{ @extend %first_button; }
|
||||
&:last-child { @extend %last_button; }
|
||||
}
|
||||
|
@ -2450,10 +2450,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2453,10 +2453,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2450,10 +2450,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2453,10 +2453,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2457,10 +2457,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2457,10 +2457,6 @@ GtkCalendar {
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
border-radius: 0; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus {
|
||||
color: #5294E2; }
|
||||
.message-dialog.csd .dialog-action-area .button:focus:active, .message-dialog.csd .dialog-action-area .button:focus:checked {
|
||||
color: #ffffff; }
|
||||
.message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:hover, .message-dialog.csd .dialog-action-area .button:active, .message-dialog.csd .dialog-action-area .button:insensitive {
|
||||
border-right-style: none;
|
||||
border-bottom-style: none; }
|
||||
|
@ -2601,31 +2601,6 @@ GtkCalendar {
|
||||
@extend %middle_button;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: $selected_bg_color;
|
||||
|
||||
&:active, &:checked { color: $selected_fg_color; }
|
||||
}
|
||||
|
||||
// @each $b_type, $b_color in (suggested-action, $selected_bg_color),
|
||||
// (destructive-action, $destructive_color) {
|
||||
// &.#{$b_type} {
|
||||
// @include button(normal, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// &:hover {
|
||||
// @include button(hover, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// &:active {
|
||||
// @include button(active, $b_color, white, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// &:insensitive {
|
||||
// @include button(insensitive, $edge:none);
|
||||
// @extend %middle_button;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
&:first-child{ @extend %first_button; }
|
||||
&:last-child { @extend %last_button; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user