diff --git a/umap/static/umap/base.css b/umap/static/umap/base.css index ec360dc5..79a25de0 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: 24px; + height: 24px; + line-height: 24px; + display: inline-block; + background-image: url('./img/16-white.svg'); + vertical-align: bottom; + content: " "; + background-position: -144px -76px; +} +.fieldset.toggle.on .legend:before { + background-position: -144px -51px; +} /* Switch */ input.switch:empty { display: none; diff --git a/umap/static/umap/img/16-white.svg b/umap/static/umap/img/16-white.svg index 880d1b11..96e30d4f 100644 --- a/umap/static/umap/img/16-white.svg +++ b/umap/static/umap/img/16-white.svg @@ -162,5 +162,7 @@ + + diff --git a/umap/static/umap/img/24-white.svg b/umap/static/umap/img/24-white.svg index 98e4bf9a..3ee202b4 100644 --- a/umap/static/umap/img/24-white.svg +++ b/umap/static/umap/img/24-white.svg @@ -38,8 +38,8 @@ - - + + diff --git a/umap/static/umap/img/source/16-white.svg b/umap/static/umap/img/source/16-white.svg index 24776051..1ee9b790 100644 --- a/umap/static/umap/img/source/16-white.svg +++ b/umap/static/umap/img/source/16-white.svg @@ -13,7 +13,7 @@ - + @@ -183,5 +183,7 @@ + + diff --git a/umap/static/umap/img/source/24-white.svg b/umap/static/umap/img/source/24-white.svg index 5113d7fd..baa2be5c 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 @@ - - + +