[gnome-themes-standard/wip/sass] minor sass change - %first/last-child placeholders renamed to $top/bottom-button
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/wip/sass] minor sass change - %first/last-child placeholders renamed to $top/bottom-button
- Date: Thu, 29 May 2014 14:17:21 +0000 (UTC)
commit f50cfc12714854e6614ffc66672c9efd19beb7ce
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu May 29 16:15:33 2014 +0200
minor sass change
- %first/last-child placeholders renamed to $top/bottom-button
themes/Adwaita/gtk-3.0/_common.scss | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 9de9c5c..3cb2ce0 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -328,34 +328,34 @@ GtkColorButton.button { padding: 4px; } // Uniform padding on the GtkColorButton
&.vertical {
.button {
&:first-child {
- @extend %first-child;
+ @extend %top-button;
@include button(normal, $noedge: true);
&:active {
- @extend %first-child;
+ @extend %top-button;
@include button(active, $noedge: true);
}
&:hover {
- @extend %first-child;
+ @extend %top-button;
@include button(hover, $noedge: true);
}
&:insensitive {
- @extend %first-child;
+ @extend %top-button;
@include button(insensitive, $noedge: true);
}
}
&:last-child {
- @extend %last-child;
+ @extend %bottom-button;
@include button(normal);
&:active {
- @extend %last-child;
+ @extend %bottom-button;
@include button(active);
}
&:hover {
- @extend %last-child;
+ @extend %bottom-button;
@include button(hover);
}
&:insensitive {
- @extend %last-child;
+ @extend %bottom-button;
@include button(insensitive);
}
}
@@ -369,11 +369,11 @@ GtkColorButton.button { padding: 4px; } // Uniform padding on the GtkColorButton
&.entry {
border-radius: 0;
}
- %first-child {
+ %top-button {
border-radius: 3px 3px 0 0;
border-bottom-width: 0;
}
- %last-child {
+ %bottom-button {
border-radius: 0 0 3px 3px;
border-top-width: 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]