From 65bad68efe19d8c03dc63e20b7102adef68590e5 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 15 Apr 2024 21:41:02 +0200 Subject: [PATCH] wip: change icon for panel expanded/condensed --- umap/static/umap/base.css | 2 +- umap/static/umap/css/icon.css | 5 ++++- umap/static/umap/img/16-white.svg | 6 ++++-- umap/static/umap/img/16.svg | 14 +++++--------- umap/static/umap/img/source/16-white.svg | 8 +++++--- umap/static/umap/img/source/16.svg | 16 ++++++---------- 6 files changed, 25 insertions(+), 26 deletions(-) diff --git a/umap/static/umap/base.css b/umap/static/umap/base.css index 5c3993e5..ec75c4a0 100644 --- a/umap/static/umap/base.css +++ b/umap/static/umap/base.css @@ -677,7 +677,7 @@ input[type=hidden].blur + [type="button"] { .copiable-input button { background-repeat: no-repeat; background-image: url('./img/16.svg'); - background-position: -45px -140px; + background-position: -141px -140px; display: inline; padding: 0 10px; height: 32px; diff --git a/umap/static/umap/css/icon.css b/umap/static/umap/css/icon.css index 07f0dd1e..2bf10a74 100644 --- a/umap/static/umap/css/icon.css +++ b/umap/static/umap/css/icon.css @@ -74,7 +74,10 @@ background-position: 0 -119px; } .icon-resize { - background-position: -74px -145px; + background-position: -74px -144px; +} +.expanded .icon-resize { + background-position: -50px -144px; } .icon-search { background-position: -27px -120px; diff --git a/umap/static/umap/img/16-white.svg b/umap/static/umap/img/16-white.svg index 88eb6924..b47da5c8 100644 --- a/umap/static/umap/img/16-white.svg +++ b/umap/static/umap/img/16-white.svg @@ -150,7 +150,7 @@ - + @@ -187,6 +187,8 @@ - + + + diff --git a/umap/static/umap/img/16.svg b/umap/static/umap/img/16.svg index 54d14015..4cf58b6b 100644 --- a/umap/static/umap/img/16.svg +++ b/umap/static/umap/img/16.svg @@ -35,9 +35,7 @@ - - - +   @@ -177,13 +175,11 @@ - + - - - - - + + + diff --git a/umap/static/umap/img/source/16-white.svg b/umap/static/umap/img/source/16-white.svg index 943a252c..34d7b53f 100644 --- a/umap/static/umap/img/source/16-white.svg +++ b/umap/static/umap/img/source/16-white.svg @@ -16,7 +16,7 @@ - + @@ -172,7 +172,7 @@ - + @@ -209,6 +209,8 @@ - + + + diff --git a/umap/static/umap/img/source/16.svg b/umap/static/umap/img/source/16.svg index 48b69f61..494ee015 100644 --- a/umap/static/umap/img/source/16.svg +++ b/umap/static/umap/img/source/16.svg @@ -10,7 +10,7 @@ - + @@ -54,9 +54,7 @@ - - - +   @@ -196,13 +194,11 @@ - + - - - - - + + +