From c3d28d9be63725c7495addac3197ea46f0eb760e Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 2 Oct 2015 14:12:33 +0200 Subject: simplify dialog buttons --- common/gtk-3.0/3.18/gtk-contained-dark.css | 4 ---- common/gtk-3.0/3.18/gtk-contained-darker.css | 4 ---- common/gtk-3.0/3.18/gtk-contained-solid-dark.css | 4 ---- common/gtk-3.0/3.18/gtk-contained-solid-darker.css | 4 ---- common/gtk-3.0/3.18/gtk-contained-solid.css | 4 ---- common/gtk-3.0/3.18/gtk-contained.css | 4 ---- common/gtk-3.0/3.18/sass/_common.scss | 25 ---------------------- 7 files changed, 49 deletions(-) (limited to 'common/gtk-3.0/3.18') diff --git a/common/gtk-3.0/3.18/gtk-contained-dark.css b/common/gtk-3.0/3.18/gtk-contained-dark.css index 3fb621f..4b4d7f9 100644 --- a/common/gtk-3.0/3.18/gtk-contained-dark.css +++ b/common/gtk-3.0/3.18/gtk-contained-dark.css @@ -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; } diff --git a/common/gtk-3.0/3.18/gtk-contained-darker.css b/common/gtk-3.0/3.18/gtk-contained-darker.css index 2a1f900..50ff653 100644 --- a/common/gtk-3.0/3.18/gtk-contained-darker.css +++ b/common/gtk-3.0/3.18/gtk-contained-darker.css @@ -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; } diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css index dbd1a08..c72f3b5 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css @@ -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; } diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-darker.css b/common/gtk-3.0/3.18/gtk-contained-solid-darker.css index cca8e15..3da7479 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid-darker.css @@ -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; } diff --git a/common/gtk-3.0/3.18/gtk-contained-solid.css b/common/gtk-3.0/3.18/gtk-contained-solid.css index 2759387..7f48e8f 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid.css @@ -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; } diff --git a/common/gtk-3.0/3.18/gtk-contained.css b/common/gtk-3.0/3.18/gtk-contained.css index a23e773..1616fe1 100644 --- a/common/gtk-3.0/3.18/gtk-contained.css +++ b/common/gtk-3.0/3.18/gtk-contained.css @@ -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; } diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index 8d492ed..1ce7d17 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -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; } } -- cgit v1.2.3