[libadwaita/wip/snwh/checks] stylesheet: Remove non-small check/radio assets
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/snwh/checks] stylesheet: Remove non-small check/radio assets
- Date: Sun, 5 Dec 2021 19:46:57 +0000 (UTC)
commit fc8addc26193c2c08fb333d675cafd087eb65e33
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Dec 6 00:47:05 2021 +0500
stylesheet: Remove non-small check/radio assets
Rename the small ones to regular.
src/stylesheet/adwaita-stylesheet.gresources.xml | 11 -----------
src/stylesheet/assets/bullet-small-symbolic.svg | 1 -
.../assets/bullet-small-symbolic.symbolic.png | Bin 165 -> 0 bytes
.../assets/bullet-small 2-symbolic symbolic png | Bin 268 -> 0 bytes
src/stylesheet/assets/bullet-symbolic.svg | 2 +-
src/stylesheet/assets/bullet-symbolic.symbolic.png | Bin 185 -> 165 bytes
src/stylesheet/assets/bullet 2-symbolic symbolic png | Bin 322 -> 268 bytes
src/stylesheet/assets/check-small-symbolic.svg | 1 -
src/stylesheet/assets/check-small-symbolic.symbolic.png | Bin 244 -> 0 bytes
.../assets/check-small 2-symbolic symbolic png | Bin 369 -> 0 bytes
src/stylesheet/assets/check-symbolic.svg | 2 +-
src/stylesheet/assets/check-symbolic.symbolic.png | Bin 265 -> 244 bytes
src/stylesheet/assets/check 2-symbolic symbolic png | Bin 452 -> 369 bytes
src/stylesheet/assets/dash-small-symbolic.svg | 1 -
src/stylesheet/assets/dash-small-symbolic.symbolic.png | Bin 130 -> 0 bytes
.../assets/dash-small 2-symbolic symbolic png | Bin 183 -> 0 bytes
src/stylesheet/assets/dash-symbolic.svg | 2 +-
src/stylesheet/assets/dash-symbolic.symbolic.png | Bin 137 -> 130 bytes
src/stylesheet/assets/dash 2-symbolic symbolic png | Bin 196 -> 183 bytes
src/stylesheet/widgets/_checks.scss | 12 ++++++------
20 files changed, 9 insertions(+), 23 deletions(-)
---
diff --git a/src/stylesheet/adwaita-stylesheet.gresources.xml
b/src/stylesheet/adwaita-stylesheet.gresources.xml
index 4a6d2fa0..98a07acf 100644
--- a/src/stylesheet/adwaita-stylesheet.gresources.xml
+++ b/src/stylesheet/adwaita-stylesheet.gresources.xml
@@ -13,21 +13,10 @@
<file>assets/dash-symbolic.symbolic.png</file>
<file>assets/dash 2-symbolic symbolic png</file>
- <file>assets/bullet-small-symbolic.symbolic.png</file>
- <file>assets/bullet-small 2-symbolic symbolic png</file>
- <file>assets/check-small-symbolic.symbolic.png</file>
- <file>assets/check-small 2-symbolic symbolic png</file>
- <file>assets/dash-small-symbolic.symbolic.png</file>
- <file>assets/dash-small 2-symbolic symbolic png</file>
-
<file>assets/bullet-symbolic.svg</file>
<file>assets/check-symbolic.svg</file>
<file>assets/dash-symbolic.svg</file>
- <file>assets/bullet-small-symbolic.svg</file>
- <file>assets/check-small-symbolic.svg</file>
- <file>assets/dash-small-symbolic.svg</file>
-
<file>assets/devel-symbolic.svg</file>
</gresource>
diff --git a/src/stylesheet/assets/bullet-symbolic.svg b/src/stylesheet/assets/bullet-symbolic.svg
index ea280f07..f359a701 100644
--- a/src/stylesheet/assets/bullet-symbolic.svg
+++ b/src/stylesheet/assets/bullet-symbolic.svg
@@ -1 +1 @@
-<svg height="20" width="20" xmlns="http://www.w3.org/2000/svg"><g style="display:inline"><path d="M391
344c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5z"
style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale
Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.389;marker:none"
transform="translate(-381 -339)"/></g></svg>
\ No newline at end of file
+<svg height="14" width="14" xmlns="http://www.w3.org/2000/svg"><g style="display:inline"><path d="M388
342c-2.207 0-4 1.793-4 4s1.793 4 4 4c2.208 0 4-1.793 4-4s-1.792-4-4-4z"
style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale
Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.389;marker:none"
transform="translate(-381 -339)"/></g></svg>
\ No newline at end of file
diff --git a/src/stylesheet/assets/bullet-symbolic.symbolic.png
b/src/stylesheet/assets/bullet-symbolic.symbolic.png
index 099b6aa6..8e6925a5 100644
Binary files a/src/stylesheet/assets/bullet-symbolic.symbolic.png and
b/src/stylesheet/assets/bullet-symbolic.symbolic.png differ
diff --git a/src/stylesheet/assets/bullet 2-symbolic symbolic png b/src/stylesheet/assets/bullet 2-symbolic
symbolic png
index 7d1af956..e9df4256 100644
Binary files a/src/stylesheet/assets/bullet 2-symbolic symbolic png and b/src/stylesheet/assets/bullet
2-symbolic symbolic png differ
diff --git a/src/stylesheet/assets/check-symbolic.svg b/src/stylesheet/assets/check-symbolic.svg
index 16ffe6c3..27c620d4 100644
--- a/src/stylesheet/assets/check-symbolic.svg
+++ b/src/stylesheet/assets/check-symbolic.svg
@@ -1 +1 @@
-<svg height="20" width="20" xmlns="http://www.w3.org/2000/svg"><g style="display:inline;opacity:1"><path
style="color:#000;fill:#bebebe;stroke-linecap:round;-inkscape-stroke:none" d="M417.413 343.003a1.5 1.5 0 0
0-1.033.5l-6.631 7.45-3.168-3.204a1.5 1.5 0 0 0-2.121-.014 1.5 1.5 0 0 0-.014 2.121l5.416 5.485
8.758-9.844a1.5 1.5 0 0 0-.123-2.12 1.5 1.5 0 0 0-1.084-.374z" transform="translate(-401 -339)"/></g></svg>
\ No newline at end of file
+<svg height="14" width="14" xmlns="http://www.w3.org/2000/svg"><g style="display:inline;opacity:1"><path
style="color:#000;display:inline;fill:#bebebe;fill-opacity:1;stroke-linecap:round;-inkscape-stroke:none"
d="M414.145 341.9a1.25 1.25 0 0 0-1.766.092l-5.68 6.305-2.881-2.909a1.25 1.25 0 0 0-1.766 1.77l4.743 4.768
7.442-8.262a1.25 1.25 0 0 0-.092-1.764z" transform="translate(-401 -339)"/></g></svg>
\ No newline at end of file
diff --git a/src/stylesheet/assets/check-symbolic.symbolic.png
b/src/stylesheet/assets/check-symbolic.symbolic.png
index 348f7ffa..9144bcd1 100644
Binary files a/src/stylesheet/assets/check-symbolic.symbolic.png and
b/src/stylesheet/assets/check-symbolic.symbolic.png differ
diff --git a/src/stylesheet/assets/check 2-symbolic symbolic png b/src/stylesheet/assets/check 2-symbolic
symbolic png
index a8846055..c0baa3c1 100644
Binary files a/src/stylesheet/assets/check 2-symbolic symbolic png and b/src/stylesheet/assets/check
2-symbolic symbolic png differ
diff --git a/src/stylesheet/assets/dash-symbolic.svg b/src/stylesheet/assets/dash-symbolic.svg
index 83e90bfa..de3638dd 100644
--- a/src/stylesheet/assets/dash-symbolic.svg
+++ b/src/stylesheet/assets/dash-symbolic.svg
@@ -1 +1 @@
-<svg height="20" width="20" xmlns="http://www.w3.org/2000/svg"><g style="display:inline"><path
style="color:#000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000;solid-opacity:1;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M407 367h8c1.108 0 2 .892 2 2s-.892 2-2 2h-8c-1.108 0-2-.892-2-2s.892-2 2-2z" transform="translate(-401
-359)"/></g></svg>
\ No newline at end of file
+<svg height="14" width="14" xmlns="http://www.w3.org/2000/svg"><g style="display:inline"><path
style="color:#000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000;solid-opacity:1;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M407 367h8c1.108 0 2 .892 2 2s-.892 2-2 2h-8c-1.108 0-2-.892-2-2s.892-2 2-2z" transform="translate(-404
-362)"/></g></svg>
\ No newline at end of file
diff --git a/src/stylesheet/assets/dash-symbolic.symbolic.png
b/src/stylesheet/assets/dash-symbolic.symbolic.png
index 9c8c76b3..3afcfd6f 100644
Binary files a/src/stylesheet/assets/dash-symbolic.symbolic.png and
b/src/stylesheet/assets/dash-symbolic.symbolic.png differ
diff --git a/src/stylesheet/assets/dash 2-symbolic symbolic png b/src/stylesheet/assets/dash 2-symbolic
symbolic png
index b5562cf4..9cb59945 100644
Binary files a/src/stylesheet/assets/dash 2-symbolic symbolic png and b/src/stylesheet/assets/dash 2-symbolic
symbolic png differ
diff --git a/src/stylesheet/widgets/_checks.scss b/src/stylesheet/widgets/_checks.scss
index 6dcab1fa..1e09c64c 100644
--- a/src/stylesheet/widgets/_checks.scss
+++ b/src/stylesheet/widgets/_checks.scss
@@ -75,20 +75,20 @@ radio {
check {
border-radius: $button_radius;
- &:checked { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/check-small-symbolic.symbolic.png")),
- -gtk-recolor(url("assets/check-small 2-symbolic symbolic
png"))); }
+ &:checked { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/check-symbolic.symbolic.png")),
+ -gtk-recolor(url("assets/check 2-symbolic symbolic png"))); }
}
radio {
border-radius: 100%;
- &:checked { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/bullet-small-symbolic.symbolic.png")),
- -gtk-recolor(url("assets/bullet-small 2-symbolic symbolic
png"))); }
+ &:checked { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/bullet-symbolic.symbolic.png")),
+ -gtk-recolor(url("assets/bullet 2-symbolic symbolic png"))); }
}
check, radio {
- &:indeterminate { -gtk-icon-source:
-gtk-scaled(-gtk-recolor(url("assets/dash-small-symbolic.symbolic.png")),
- -gtk-recolor(url("assets/dash-small 2-symbolic symbolic
png"))); }
+ &:indeterminate { -gtk-icon-source: -gtk-scaled(-gtk-recolor(url("assets/dash-symbolic.symbolic.png")),
+ -gtk-recolor(url("assets/dash 2-symbolic symbolic png")));
}
}
checkbutton.selection-mode {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]