diff --git a/umap/static/umap/base.css b/umap/static/umap/base.css index e92d39fd..2203b1e0 100644 --- a/umap/static/umap/base.css +++ b/umap/static/umap/base.css @@ -278,7 +278,7 @@ input[type="file"] + .error { padding: 10px; } .fieldset.toggle .legend { - text-align: center; + text-align: left; display: block; cursor: pointer; background-color: #232729; @@ -291,6 +291,20 @@ input[type="file"] + .error { font-size: 1.2em; padding: 0 5px; } +.fieldset.toggle .legend:before { + background-repeat: no-repeat; + text-indent: 36px; + height: 24px; + line-height: 24px; + display: inline-block; + background-image: url('./img/24-white.svg'); + vertical-align: bottom; + content: " "; + background-position: -143px -117px; +} +.fieldset.toggle.on .legend:before { + background-position: -72px -117px; +} /* Switch */ input.switch:empty { display: none; diff --git a/umap/static/umap/img/24-white.svg b/umap/static/umap/img/24-white.svg index 98e4bf9a..83f8a402 100644 --- a/umap/static/umap/img/24-white.svg +++ b/umap/static/umap/img/24-white.svg @@ -38,8 +38,8 @@ - - + + @@ -58,5 +58,6 @@ + diff --git a/umap/static/umap/img/source/24-white.svg b/umap/static/umap/img/source/24-white.svg index 5113d7fd..48cadbca 100644 --- a/umap/static/umap/img/source/24-white.svg +++ b/umap/static/umap/img/source/24-white.svg @@ -1,9 +1,9 @@ - - - + + + @@ -59,8 +59,8 @@ - - + + @@ -79,5 +79,6 @@ +