[gtk+] Adwaita: cosmetic fixes
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: cosmetic fixes
- Date: Sat, 2 Apr 2016 14:03:22 +0000 (UTC)
commit f2f1725b408e873adcec82d273111d79352d4bd0
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Sat Apr 2 16:03:02 2016 +0200
Adwaita: cosmetic fixes
gtk/theme/Adwaita/_common.scss | 14 +++++++-------
gtk/theme/Adwaita/gtk-contained-dark.css | 10 +++++-----
gtk/theme/Adwaita/gtk-contained.css | 10 +++++-----
3 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 6f84e8b..a2b8fb5 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -834,7 +834,7 @@ button {
// More inline toolbar buttons
toolbar.inline-toolbar toolbutton,
toolbar.inline-toolbar toolbutton:backdrop {
- & > button.flat { @extend %linked_middle; }
+ > button.flat { @extend %linked_middle; }
&:first-child > button.flat { @extend %linked:first-child; }
@@ -1574,7 +1574,7 @@ treeview.view {
border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color,
border-top-color: $bg_color; // while this is the grid lines color, better then
nothing
- & rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
+ rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
&:selected {
&:focus, & {
@@ -1923,7 +1923,7 @@ popover.background {
border-radius: 5px;
background-color: $popover_bg_color;
- &, .csd & { border: 1px solid $borders_color; }
+ .csd &, & { border: 1px solid $borders_color; }
box-shadow: 0 1px 2px transparentize(black, 0.7);
@@ -1939,7 +1939,7 @@ popover.background {
background-color: transparent;
}
- &, .csd & {
+ .csd &, & {
&.touch-selection,
&.magnifier {
@extend %osd;
@@ -2740,7 +2740,7 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work
}
// ...on selected list rows
- row:selected & { &, &:disabled { border-color: $selected_borders_color; } }
+ row:selected & { &:disabled, & { border-color: $selected_borders_color; } }
// OSD
.osd & {
@@ -3887,7 +3887,7 @@ infobar { border-style: none; }
}
}
- & label:selected { &:focus, &:hover, & { background-color: darken($selected_bg_color, 10%); }}
+ label:selected { &:focus, &:hover, & { background-color: darken($selected_bg_color, 10%); }}
*:link { @extend %link_selected; }
}
@@ -4092,7 +4092,7 @@ colorchooser .popover.osd { border-radius: 5px; }
border-radius: 5px;
}
- &:backdrop { &:hover, &:disabled, & { extend %undecorated_button; }}
+ &:backdrop { &:hover, &:disabled, & { @extend %undecorated_button; }}
}
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index bd23093..b8a4cd6 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -126,7 +126,7 @@ textview {
textview:backdrop {
background-color: #333636; }
-popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection,
.csd popover.background.magnifier, popover.background.osd, .csd popover.background.osd, .app-notification,
+.csd popover.background.touch-selection, .csd popover.background.magnifier,
popover.background.touch-selection, popover.background.magnifier, .csd popover.background.osd,
popover.background.osd, .app-notification,
.app-notification.frame, .osd .scale-popup, .osd {
color: #eeeeec;
border: none;
@@ -642,7 +642,7 @@ button.osd {
text-shadow: none;
-gtk-icon-shadow: none;
border: none; }
-popover.background.touch-selection button, popover.background.magnifier button, .csd
popover.background.touch-selection button, .csd popover.background.magnifier button, .app-notification button,
+.csd popover.background.touch-selection button, .csd popover.background.magnifier button,
popover.background.touch-selection button, popover.background.magnifier button, .app-notification button,
.app-notification.frame button, .osd
button {
color: #eeeeec;
@@ -2217,7 +2217,7 @@ popover.background {
border-radius: 5px;
background-color: #393f3f;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
- popover.background, .csd popover.background {
+ .csd popover.background, popover.background {
border: 1px solid #1c1f1f; }
popover.background:backdrop {
background-color: #393f3f;
@@ -2228,7 +2228,7 @@ popover.background {
popover.background > toolbar {
border-style: none;
background-color: transparent; }
- popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection,
.csd popover.background.magnifier {
+ .csd popover.background.touch-selection, .csd popover.background.magnifier,
popover.background.touch-selection, popover.background.magnifier {
border: 1px solid rgba(255, 255, 255, 0.1); }
popover.background separator {
margin: 3px; }
@@ -2944,7 +2944,7 @@ scale highlight, progressbar progress {
scale highlight:backdrop:disabled, progressbar progress:backdrop:disabled, progressbar:backdrop
progress:disabled {
background-color: transparent;
border-color: transparent; }
- row:selected scale highlight, scale row:selected highlight, row:selected progressbar progress, progressbar
row:selected progress, row:selected scale highlight:disabled, scale row:selected highlight:disabled,
row:selected progressbar progress:disabled, progressbar row:selected progress:disabled {
+ row:selected scale highlight:disabled, scale row:selected highlight:disabled, row:selected progressbar
progress:disabled, progressbar row:selected progress:disabled, row:selected scale highlight, scale
row:selected highlight, row:selected progressbar progress, progressbar row:selected progress {
border-color: #0f2b48; }
.osd scale highlight, scale .osd highlight, .osd progressbar progress, progressbar .osd progress {
border-color: rgba(0, 0, 0, 0.7); }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 2a4f054..2283880 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -126,7 +126,7 @@ textview {
textview:backdrop {
background-color: #f2f2f2; }
-popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection,
.csd popover.background.magnifier, popover.background.osd, .csd popover.background.osd, .app-notification,
+.csd popover.background.touch-selection, .csd popover.background.magnifier,
popover.background.touch-selection, popover.background.magnifier, .csd popover.background.osd,
popover.background.osd, .app-notification,
.app-notification.frame, .osd .scale-popup, .osd {
color: #eeeeec;
border: none;
@@ -645,7 +645,7 @@ button.osd {
text-shadow: none;
-gtk-icon-shadow: none;
border: none; }
-popover.background.touch-selection button, popover.background.magnifier button, .csd
popover.background.touch-selection button, .csd popover.background.magnifier button, .app-notification button,
+.csd popover.background.touch-selection button, .csd popover.background.magnifier button,
popover.background.touch-selection button, popover.background.magnifier button, .app-notification button,
.app-notification.frame button, .osd
button {
color: #eeeeec;
@@ -2230,7 +2230,7 @@ popover.background {
border-radius: 5px;
background-color: #e8e8e7;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
- popover.background, .csd popover.background {
+ .csd popover.background, popover.background {
border: 1px solid #9d9d99; }
popover.background:backdrop {
background-color: #e8e8e7;
@@ -2241,7 +2241,7 @@ popover.background {
popover.background > toolbar {
border-style: none;
background-color: transparent; }
- popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection,
.csd popover.background.magnifier {
+ .csd popover.background.touch-selection, .csd popover.background.magnifier,
popover.background.touch-selection, popover.background.magnifier {
border: 1px solid rgba(255, 255, 255, 0.1); }
popover.background separator {
margin: 3px; }
@@ -2973,7 +2973,7 @@ scale highlight, progressbar progress {
scale highlight:backdrop:disabled, progressbar progress:backdrop:disabled, progressbar:backdrop
progress:disabled {
background-color: transparent;
border-color: transparent; }
- row:selected scale highlight, scale row:selected highlight, row:selected progressbar progress, progressbar
row:selected progress, row:selected scale highlight:disabled, scale row:selected highlight:disabled,
row:selected progressbar progress:disabled, progressbar row:selected progress:disabled {
+ row:selected scale highlight:disabled, scale row:selected highlight:disabled, row:selected progressbar
progress:disabled, progressbar row:selected progress:disabled, row:selected scale highlight, scale
row:selected highlight, row:selected progressbar progress, progressbar row:selected progress {
border-color: #184472; }
.osd scale highlight, scale .osd highlight, .osd progressbar progress, progressbar .osd progress {
border-color: rgba(0, 0, 0, 0.7); }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]