1
0
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:
Horst3180 2015-10-02 14:12:33 +02:00
parent 4f5747023d
commit c3d28d9be6
21 changed files with 0 additions and 147 deletions

View File

@ -2250,10 +2250,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2253,10 +2253,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2250,10 +2250,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2253,10 +2253,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2253,10 +2253,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2253,10 +2253,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2391,31 +2391,6 @@ GtkCalendar {
@extend %middle_button; @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; } &:first-child{ @extend %first_button; }
&:last-child { @extend %last_button; } &:last-child { @extend %last_button; }
} }

View File

@ -2307,10 +2307,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2310,10 +2310,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2307,10 +2307,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2310,10 +2310,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2310,10 +2310,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2310,10 +2310,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2500,31 +2500,6 @@ GtkCalendar {
@extend %middle_button; @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; } &:first-child{ @extend %first_button; }
&:last-child { @extend %last_button; } &:last-child { @extend %last_button; }
} }

View File

@ -2450,10 +2450,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2453,10 +2453,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2450,10 +2450,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2453,10 +2453,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2457,10 +2457,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2457,10 +2457,6 @@ GtkCalendar {
.message-dialog.csd .dialog-action-area .button { .message-dialog.csd .dialog-action-area .button {
padding: 8px; padding: 8px;
border-radius: 0; } 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 { .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-right-style: none;
border-bottom-style: none; } border-bottom-style: none; }

View File

@ -2601,31 +2601,6 @@ GtkCalendar {
@extend %middle_button; @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; } &:first-child{ @extend %first_button; }
&:last-child { @extend %last_button; } &:last-child { @extend %last_button; }
} }