[gnome-themes-standard/lapo-work] Dark theme: darkened insensitive elements background, fixed insensitive switch and normalized insens
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/lapo-work] Dark theme: darkened insensitive elements background, fixed insensitive switch and normalized insens
- Date: Tue, 22 Nov 2011 11:50:43 +0000 (UTC)
commit b21db8410c89cb3c652b98cfadd9cd31acc95cb7
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Nov 22 12:50:23 2011 +0100
Dark theme: darkened insensitive elements background, fixed insensitive switch and normalized insensitive scale sliders
.../scale-slider-horizontal-insensitive-dark.svg | 8 ++++----
...der-marks-above-horizontal-insensitive-dark.svg | 8 ++++----
...lider-marks-above-vertical-insensitive-dark.svg | 8 ++++----
...der-marks-below-horizontal-insensitive-dark.svg | 8 ++++----
...lider-marks-below-vertical-insensitive-dark.svg | 8 ++++----
.../scale-slider-vertical-insensitive-dark.svg | 10 +++++-----
themes/Adwaita/gtk-3.0/gtk-dark.css | 4 ++--
.../Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css | 4 ----
8 files changed, 27 insertions(+), 31 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/assets/scale-slider-horizontal-insensitive-dark.svg b/themes/Adwaita/gtk-3.0/assets/scale-slider-horizontal-insensitive-dark.svg
index 3840805..ea7cb7c 100644
--- a/themes/Adwaita/gtk-3.0/assets/scale-slider-horizontal-insensitive-dark.svg
+++ b/themes/Adwaita/gtk-3.0/assets/scale-slider-horizontal-insensitive-dark.svg
@@ -116,15 +116,15 @@
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="15.069135"
- inkscape:cx="0.51179599"
+ inkscape:cx="0.64451761"
inkscape:cy="10.591469"
inkscape:document-units="px"
inkscape:current-layer="g6305"
showgrid="true"
borderlayer="true"
inkscape:showpageshadow="false"
- inkscape:window-width="1280"
- inkscape:window-height="742"
+ inkscape:window-width="1920"
+ inkscape:window-height="1022"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1"
@@ -165,7 +165,7 @@
transform="matrix(1.153842,0,0,1.1538439,-159.84182,-44.153221)">
<path
sodipodi:type="arc"
- style="color:#000000;fill:#363b3b;stroke:#5f5f5f;stroke-width:0.76453793000000003;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:100;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new;fill-opacity:1"
+ style="color:#000000;fill:#323232;stroke:#5f5f5f;stroke-width:0.76453793000000003;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:100;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new;fill-opacity:1"
id="path16919"
sodipodi:cx="660.96808"
sodipodi:cy="255.0668"
diff --git a/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive-dark.svg b/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive-dark.svg
index e1da37b..8dddeef 100644
--- a/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive-dark.svg
+++ b/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-horizontal-insensitive-dark.svg
@@ -196,14 +196,14 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.197802"
- inkscape:cx="-32.491659"
+ inkscape:cx="-32.313053"
inkscape:cy="16"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
- inkscape:window-width="1280"
- inkscape:window-height="741"
+ inkscape:window-width="1920"
+ inkscape:window-height="1022"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1" />
@@ -226,7 +226,7 @@
transform="translate(0,-12)">
<path
inkscape:connector-curvature="0"
- style="fill:#222222;fill-opacity:1;stroke:#4a4a4a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
+ style="fill:#323232;fill-opacity:1;stroke:#4a4a4a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
d="m 7.3946185,12.500022 1.042601,0.01742 7.0627815,8.932969 0,7.816348 C 15.500001,30.503974 14.54,31.5 13.347534,31.5 l -10.6950674,0 C 1.4600001,31.5 0.5,30.503974 0.5,29.266758 l 0,-7.816348 6.8946185,-8.950411 z"
id="path5960"
sodipodi:nodetypes="cccccccccc" />
diff --git a/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive-dark.svg b/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive-dark.svg
index 2db7c5b..c8f066e 100644
--- a/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive-dark.svg
+++ b/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-above-vertical-insensitive-dark.svg
@@ -196,14 +196,14 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.197802"
- inkscape:cx="-20.681552"
+ inkscape:cx="-20.502946"
inkscape:cy="16"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
- inkscape:window-width="1280"
- inkscape:window-height="741"
+ inkscape:window-width="1920"
+ inkscape:window-height="1022"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1" />
@@ -226,7 +226,7 @@
transform="translate(0,-16)">
<path
inkscape:connector-curvature="0"
- style="fill:#222222;fill-opacity:1;stroke:#4a4a4a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
+ style="fill:#323232;fill-opacity:1;stroke:#4a4a4a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
d="m 0.500023,24.605381 0.01742,-1.042601 8.932969,-7.062781 7.816348,0 c 1.237215,0 2.233241,0.960001 2.233241,2.152467 l 0,10.695067 C 19.500001,30.54 18.503975,31.5 17.266759,31.5 L 9.450411,31.5 0.5,24.605381 z"
id="path5960"
sodipodi:nodetypes="cccccccccc" />
diff --git a/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive-dark.svg b/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive-dark.svg
index 9983155..2e4bf46 100644
--- a/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive-dark.svg
+++ b/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-horizontal-insensitive-dark.svg
@@ -133,14 +133,14 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.197802"
- inkscape:cx="-32.491659"
+ inkscape:cx="-32.313053"
inkscape:cy="16"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
- inkscape:window-width="1280"
- inkscape:window-height="741"
+ inkscape:window-width="1920"
+ inkscape:window-height="1022"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1" />
@@ -163,7 +163,7 @@
transform="translate(0,-12)">
<path
inkscape:connector-curvature="0"
- style="fill:#222222;fill-opacity:1;stroke:#4a4a4a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
+ style="fill:#323232;fill-opacity:1;stroke:#4a4a4a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
d="m 7.3946185,31.499978 1.042601,-0.01742 7.0627815,-8.932969 0,-7.816348 C 15.500001,13.496026 14.54,12.5 13.347534,12.5 l -10.6950674,0 c -1.1924665,0 -2.15246658,0.996026 -2.15246658,2.233242 l 0,7.816348 6.89461848,8.950411 z"
id="path5960"
sodipodi:nodetypes="cccccccccc" />
diff --git a/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive-dark.svg b/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive-dark.svg
index 33d1828..affc597 100644
--- a/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive-dark.svg
+++ b/themes/Adwaita/gtk-3.0/assets/scale-slider-marks-below-vertical-insensitive-dark.svg
@@ -176,14 +176,14 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="33.937498"
- inkscape:cx="10.000001"
+ inkscape:cx="10.058933"
inkscape:cy="8.0000005"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
- inkscape:window-width="1280"
- inkscape:window-height="741"
+ inkscape:window-width="1920"
+ inkscape:window-height="1022"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1" />
@@ -206,7 +206,7 @@
transform="translate(0,-16)">
<path
inkscape:connector-curvature="0"
- style="fill:#222222;fill-opacity:1;stroke:#4a4a4a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
+ style="fill:#323232;fill-opacity:1;stroke:#4a4a4a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline;enable-background:new"
d="m 19.499978,24.605381 -0.01742,-1.042601 -8.932969,-7.062781 -7.816348,0 C 1.496026,16.499999 0.5,17.46 0.5,18.652466 l 0,10.695067 C 0.5,30.54 1.496026,31.5 2.733242,31.5 l 7.816348,0 8.950411,-6.894619 z"
id="path5960"
sodipodi:nodetypes="cccccccccc" />
diff --git a/themes/Adwaita/gtk-3.0/assets/scale-slider-vertical-insensitive-dark.svg b/themes/Adwaita/gtk-3.0/assets/scale-slider-vertical-insensitive-dark.svg
index 29beeee..616999f 100644
--- a/themes/Adwaita/gtk-3.0/assets/scale-slider-vertical-insensitive-dark.svg
+++ b/themes/Adwaita/gtk-3.0/assets/scale-slider-vertical-insensitive-dark.svg
@@ -105,15 +105,15 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="30"
- inkscape:cx="9.618842"
+ inkscape:cx="9.6855087"
inkscape:cy="8.5342841"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
borderlayer="true"
inkscape:showpageshadow="false"
- inkscape:window-width="1280"
- inkscape:window-height="742"
+ inkscape:window-width="1920"
+ inkscape:window-height="1022"
inkscape:window-x="0"
inkscape:window-y="26"
inkscape:window-maximized="1"
@@ -146,13 +146,13 @@
transform="translate(0,-1036.3622)">
<path
sodipodi:type="arc"
- style="color:#000000;fill:#363b3b;fill-opacity:1;stroke:#5f5f5f;stroke-width:0.76453793;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:100;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new"
+ style="color:#000000;fill:#323232;fill-opacity:1;stroke:#5f5f5f;stroke-width:0.76453793000000003;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:100;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new"
id="path16919"
sodipodi:cx="660.96808"
sodipodi:cy="255.0668"
sodipodi:rx="4.5078058"
sodipodi:ry="7.2937827"
- d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+ d="m 665.47588,255.0668 c 0,4.02825 -2.01821,7.29379 -4.5078,7.29379 -2.48959,0 -4.50781,-3.26554 -4.50781,-7.29379 0,-4.02824 2.01822,-7.29378 4.50781,-7.29378 2.48959,0 4.5078,3.26554 4.5078,7.29378 z"
transform="matrix(1.6637751,0,0,1.0282707,-1089.7023,782.0845)" />
</g>
</svg>
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index a4ae962..f2d4a3d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -34,7 +34,7 @@
@define-color button_raised_active_gradient_color_a @button_raised_gradient_color_b;
@define-color button_raised_active_gradient_color_b @button_raised_gradient_color_a;
- define-color insensitive_bg_color @theme_bg_color;
+ define-color insensitive_bg_color shade(@insensitive_fg_color, 0.6);
@define-color insensitive_fg_color #535555;
@define-color insensitive_border_color #535555;
@@ -49,7 +49,7 @@
@define-color switch_slider_color shade(@theme_bg_color, 0.95);
@define-color switch_slider_active_border shade(@switch_trough_active_bg_a, 0.60);
- define-color switch_slider_insensitive_bg @insensitive_border_color;
+ define-color switch_slider_insensitive_bg @theme_bg_color;
@define-color switch_trough_active_color @theme_text_color;
@define-color switch_trough_active_bg_a shade(@theme_selected_bg_color, 0.6);
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 7d2e63e..17f1961 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-dark-overrides.css
@@ -27,7 +27,3 @@ GtkSwitch.slider {
border-color: mix (@button_border, black, 0.4);
box-shadow: 0 -1 inset alpha(white, 0.1), 0 1 inset @theme_base_color, 0 2 inset alpha(@button_border, 0.15);
}
-GtkSwitch.slider:insensitive {
- border-color:
- background-color:
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]