[gnome-themes-standard] Widget theme: toned down a lot focused borders color for the dark theme, added a blue glow inside fo
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget theme: toned down a lot focused borders color for the dark theme, added a blue glow inside fo
- Date: Thu, 1 Dec 2011 02:30:16 +0000 (UTC)
commit 5836eb5406a3215983339215f9f6c97141395414
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Nov 22 00:23:50 2011 +0100
Widget theme: toned down a lot focused borders color for the dark theme, added a blue glow inside focused text entry to make the focus more evident.
.../gtk-3.0/borders/button-border-focused-dark.svg | 14 +++++++-------
.../borders/generic-border-focused-dark.svg | 6 +++---
.../primary-toolbar-button-border-focused-dark.svg | 8 ++++----
...primary-toolbar-generic-border-focused-dark.svg | 8 ++++----
.../Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css | 4 ++++
themes/Adwaita/gtk-3.0/gtk-widgets.css | 7 +++++--
6 files changed, 27 insertions(+), 20 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/borders/button-border-focused-dark.svg b/themes/Adwaita/gtk-3.0/borders/button-border-focused-dark.svg
index b93accd..445276a 100644
--- a/themes/Adwaita/gtk-3.0/borders/button-border-focused-dark.svg
+++ b/themes/Adwaita/gtk-3.0/borders/button-border-focused-dark.svg
@@ -46,17 +46,17 @@
borderopacity="1.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
- inkscape:zoom="16"
- inkscape:cx="15.81232"
- inkscape:cy="7.0803639"
+ inkscape:zoom="1"
+ inkscape:cx="18.09297"
+ inkscape:cy="10.008746"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="829"
inkscape:window-height="662"
- inkscape:window-x="625"
- inkscape:window-y="325"
+ inkscape:window-x="494"
+ inkscape:window-y="324"
inkscape:window-maximized="0"
inkscape:snap-nodes="false"
inkscape:snap-bbox="true"
@@ -78,7 +78,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
+ <dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -100,7 +100,7 @@
height="13.999999"
width="15"
id="rect17861"
- style="color:#000000;fill:none;stroke:#3465a4;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ style="color:#000000;fill:none;stroke:#182e4c;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<rect
ry="1.5"
rx="1.5"
diff --git a/themes/Adwaita/gtk-3.0/borders/generic-border-focused-dark.svg b/themes/Adwaita/gtk-3.0/borders/generic-border-focused-dark.svg
index b4ac003..df3de0d 100644
--- a/themes/Adwaita/gtk-3.0/borders/generic-border-focused-dark.svg
+++ b/themes/Adwaita/gtk-3.0/borders/generic-border-focused-dark.svg
@@ -14,7 +14,7 @@
id="svg33222"
version="1.1"
inkscape:version="0.48.1 r9760"
- sodipodi:docname="generic-border-dark-focused.svg">
+ sodipodi:docname="generic-border-focused-dark.svg">
<defs
id="defs33224" />
<sodipodi:namedview
@@ -56,7 +56,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
+ <dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -78,6 +78,6 @@
height="13.999999"
width="15"
id="rect17861"
- style="color:#000000;fill:none;stroke:#3465a4;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+ style="color:#000000;fill:none;stroke:#182f4c;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
</svg>
diff --git a/themes/Adwaita/gtk-3.0/borders/primary-toolbar-button-border-focused-dark.svg b/themes/Adwaita/gtk-3.0/borders/primary-toolbar-button-border-focused-dark.svg
index 643d307..8e72344 100644
--- a/themes/Adwaita/gtk-3.0/borders/primary-toolbar-button-border-focused-dark.svg
+++ b/themes/Adwaita/gtk-3.0/borders/primary-toolbar-button-border-focused-dark.svg
@@ -15,7 +15,7 @@
id="svg33222"
version="1.1"
inkscape:version="0.48.1 r9760"
- sodipodi:docname="primary-toolbar-button-border-dark.svg">
+ sodipodi:docname="primary-toolbar-button-border-focused-dark.svg">
<defs
id="defs33224">
<linearGradient
@@ -69,7 +69,7 @@
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="16"
- inkscape:cx="14.390702"
+ inkscape:cx="14.640702"
inkscape:cy="4.7605794"
inkscape:current-layer="layer1"
showgrid="false"
@@ -100,7 +100,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
+ <dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -125,7 +125,7 @@
height="13"
width="13"
id="rect17861"
- style="color:#000000;fill:none;stroke:#3465a4;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-linejoin:miter;stroke-dashoffset:0" />
+ style="color:#000000;fill:none;stroke:#182f4c;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-linejoin:miter;stroke-dashoffset:0" />
<rect
ry="1.5"
rx="1.5"
diff --git a/themes/Adwaita/gtk-3.0/borders/primary-toolbar-generic-border-focused-dark.svg b/themes/Adwaita/gtk-3.0/borders/primary-toolbar-generic-border-focused-dark.svg
index f1c78b6..c57580f 100644
--- a/themes/Adwaita/gtk-3.0/borders/primary-toolbar-generic-border-focused-dark.svg
+++ b/themes/Adwaita/gtk-3.0/borders/primary-toolbar-generic-border-focused-dark.svg
@@ -48,8 +48,8 @@
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="16"
- inkscape:cx="14.390702"
- inkscape:cy="4.7605794"
+ inkscape:cx="13.108456"
+ inkscape:cy="4.9574388"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:grid-bbox="true"
@@ -79,7 +79,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
+ <dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -104,6 +104,6 @@
height="13"
width="13"
id="rect17861"
- style="color:#000000;fill:none;stroke:#3465a4;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-linejoin:miter;stroke-dashoffset:0" />
+ style="color:#000000;fill:none;stroke:#182f4c;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;stroke-linecap:butt;stroke-linejoin:miter;stroke-dashoffset:0" />
</g>
</svg>
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
index 81f33bb..7d2e63e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
@@ -1,3 +1,7 @@
+.entry:focus {
+ box-shadow: 2 2 inset alpha(lighter(@theme_selected_bg_color), 0.2), -2 -2 inset alpha(lighter(@theme_selected_bg_color), 0.2), 1 1 inset alpha(lighter(@theme_selected_bg_color), 0.7), -1 -1 inset alpha(lighter(@theme_selected_bg_color), 0.7);
+}
+
GtkIconView.view.cell:selected,
GtkIconView.view.cell:selected:focused {
background-color: alpha(@theme_base_color, 0.0);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index b73a835..334fdf4 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -159,6 +159,10 @@ GtkTreeView .separator,
color: @entry_text_color;
}
+.entry:focus {
+ box-shadow: 1 1 inset alpha(@theme_selected_bg_color, 0.2), -1 -1 inset alpha(@theme_selected_bg_color, 0.2);
+}
+
.entry.progressbar {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
@@ -378,8 +382,7 @@ GtkScrolledWindow.frame {
to (alpha (@keyboard_focus_border_b, 0.62)));
-adwaita-focus-border-radius: 1;
-adwaita-focus-border-dashes: 0;
- /*-GtkWidget-focus-line-width: 2; uhm.... */
- -GtkWidget-focus-line-width: 0;
+ -GtkWidget-focus-line-width: 2;
-GtkButton-child-displacement-x: 0;
-GtkButton-child-displacement-y: 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]