From 23d8aa40fe39fafa91930128eaca3a1e2a99f016 Mon Sep 17 00:00:00 2001 From: nana-4 Date: Thu, 7 Nov 2019 22:50:09 +0900 Subject: [PATCH] Adwaita: Remove unused popover check/radio styling --- gtk/theme/Adwaita/_common.scss | 13 ------------- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- 3 files changed, 21 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 1f53ab9752..eb8702ba18 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2867,19 +2867,6 @@ radio { &:only-child { margin: 0; } - popover & { // when in a popover add more space between the label and the check, reset the other side margin. - // See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details. - &.left:dir(rtl) { - margin-left: 0; - margin-right: 12px; - } - - &.right:dir(ltr) { - margin-left: 12px; - margin-right: 0; - } - } - min-height: 14px; min-width: 14px; border: 1px solid; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 93623a6d20..f83310954d 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1092,10 +1092,6 @@ check, radio { margin: 0 4px; min-height: 14px; min-width: 14px; border: 1px sol check:only-child, radio:only-child { margin: 0; } -popover check.left:dir(rtl), popover radio.left:dir(rtl) { margin-left: 0; margin-right: 12px; } - -popover check.right:dir(ltr), popover radio.right:dir(ltr) { margin-left: 12px; margin-right: 0; } - check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, #424242 20%, #353535 90%); border-color: #070707; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #eeeeec; } check:hover, radio:hover { background-image: linear-gradient(to bottom, #4c4c4c 10%, #3f3f3f 90%); } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 93c38f1ef4..dd46ee158a 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1106,10 +1106,6 @@ check, radio { margin: 0 4px; min-height: 14px; min-width: 14px; border: 1px sol check:only-child, radio:only-child { margin: 0; } -popover check.left:dir(rtl), popover radio.left:dir(rtl) { margin-left: 0; margin-right: 12px; } - -popover check.right:dir(ltr), popover radio.right:dir(ltr) { margin-left: 12px; margin-right: 0; } - check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, white 20%, white 90%); border-color: #bfb8b1; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #2e3436; } check:hover, radio:hover { background-image: image(#f2f2f2); }