[gnome-themes-standard] initial links styling
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] initial links styling
- Date: Mon, 9 Jun 2014 14:46:15 +0000 (UTC)
commit fa34a39c995f482d9bbb10b7b3fd00d9c7ed9c71
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon Jun 9 16:45:58 2014 +0200
initial links styling
themes/Adwaita/gtk-3.0/_common.scss | 22 +++++++++++++++++++++-
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 16 ++++++++++++++++
themes/Adwaita/gtk-3.0/gtk-contained.css | 16 ++++++++++++++++
3 files changed, 53 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 47208e0..73299c4 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -313,7 +313,12 @@
}
}
-
+%undercorated_button {
+ border-color: transparent;
+ background-color: transparent;
+ background-image: none;
+ box-shadow: none;
+}
/* menu buttons */
.menuitem.button {
@@ -353,6 +358,21 @@ GtkColorButton.button { padding: 4px; } // Uniform padding on the GtkColorButton
.inline-toolbar.toolbar GtkToolButton .button { @include button(normal); }
+/*********
+ * Links *
+ *********/
+
+GtkLinkButton.button {
+ color: $selected_bg_color; //FIXME use a proper color
+ @extend %undercorated_button;
+ text-shadow: none;
+ &:hover, &:active {
+ color: mix($fg_color, $selected_bg_color, 40%); //FIXME same here
+ @extend %undercorated_button;
+ text-shadow: none;
+ }
+}
+
/*****************
* GtkSpinButton *
*****************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 30b383c..782a57f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -400,6 +400,12 @@
border-radius: 3px;
border-style: solid; }
+GtkLinkButton.button, GtkLinkButton.button:hover, GtkLinkButton.button:active {
+ border-color: transparent;
+ background-color: transparent;
+ background-image: none;
+ box-shadow: none; }
+
/* menu buttons */
.menuitem.button, .menuitem.button:insensitive, .menuitem.button:active:insensitive {
color: #eeeeec;
@@ -434,6 +440,16 @@ GtkColorButton.button {
icon-shadow: 0 -1px rgba(0, 0, 0, 0.81176);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
+/*********
+ * Links *
+ *********/
+GtkLinkButton.button {
+ color: #215d9c;
+ text-shadow: none; }
+ GtkLinkButton.button:hover, GtkLinkButton.button:active {
+ color: #7397bc;
+ text-shadow: none; }
+
/*****************
* GtkSpinButton *
*****************/
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index c8c0eed..5006df9 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -400,6 +400,12 @@
border-radius: 3px;
border-style: solid; }
+GtkLinkButton.button, GtkLinkButton.button:hover, GtkLinkButton.button:active {
+ border-color: transparent;
+ background-color: transparent;
+ background-image: none;
+ box-shadow: none; }
+
/* menu buttons */
.menuitem.button, .menuitem.button:insensitive, .menuitem.button:active:insensitive {
color: #2e3436;
@@ -434,6 +440,16 @@ GtkColorButton.button {
icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
box-shadow: inset 0 1px white, 0 1px white; }
+/*********
+ * Links *
+ *********/
+GtkLinkButton.button {
+ color: #4a90d9;
+ text-shadow: none; }
+ GtkLinkButton.button:hover, GtkLinkButton.button:active {
+ color: #3e6b97;
+ text-shadow: none; }
+
/*****************
* GtkSpinButton *
*****************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]