diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-20 22:50:01 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-20 22:50:58 +0100 |
commit | bd3b279a4e914f215200278fc9ddaf5a2e23f9be (patch) | |
tree | 9b13002fd21b79b43f1f049589859b75c687e636 | |
parent | 9919b34a09f9b28439d86fd604b8ea7db0ced31a (diff) | |
download | Chimère-bd3b279a4e914f215200278fc9ddaf5a2e23f9be.tar.bz2 Chimère-bd3b279a4e914f215200278fc9ddaf5a2e23f9be.zip |
CSS: better presentation of the icon on detail panel
-rw-r--r-- | chimere/static/chimere/css/styles.css | 23 | ||||
-rw-r--r-- | chimere/static/chimere/img/icon-bg.png | bin | 0 -> 721 bytes | |||
-rw-r--r-- | chimere/static/chimere/img/icon-bg.svg (renamed from chimere/static/saclay/images/icon-bg.svg) | 8 | ||||
-rw-r--r-- | chimere/static/saclay/images/icon-bg.png | bin | 860 -> 0 bytes |
4 files changed, 17 insertions, 14 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css index ac1af56..2b40ce2 100644 --- a/chimere/static/chimere/css/styles.css +++ b/chimere/static/chimere/css/styles.css @@ -641,17 +641,18 @@ div#sidebar-container{ } .detail-icon{ - background-image: url("../../saclay/images/icon-bg.svg"); + background-image: url("../../chimere/img/icon-bg.svg"); background-position: center center; background-repeat: no-repeat; - background-size: 28px; + background-size: 40px; text-align: center; - line-height: 60px; - margin-top: 15px; + line-height: 52px; + margin-top: 27px; } .detail-icon img{ - vertical-align: baseline; + vertical-align: bottom; + padding-bottom: 18px; } #detail div.detail-icon-default{ @@ -1525,8 +1526,7 @@ ul#multimedia_list_content li.multimedia{ border-radius: 10px; } -#content .olControlLayerSwitcher .layersDiv .baseLayersDiv, -{ +#content .olControlLayerSwitcher .layersDiv .baseLayersDiv{ padding-left: 15px; } @@ -1721,7 +1721,7 @@ div.pp_default .pp_expand{ } #directory .detail-icon{ - margin-top: 10px; + margin-top: 20px; } #directory .share-icon{ @@ -1746,11 +1746,14 @@ div.pp_default .pp_expand{ } #directory #detail_footer, -#directory #detail-content, #directory #detail-header{ width: auto; } +#directory #detail-content{ + width: 100%; +} + ul#category-directory{ list-style: none; padding: 1em; @@ -4025,7 +4028,7 @@ li.main_category li.subcategory > span > label{ margin-left: 100px; } .main-category-tick{ - left:auto + left: auto; right: 50px; } #edit-button { diff --git a/chimere/static/chimere/img/icon-bg.png b/chimere/static/chimere/img/icon-bg.png Binary files differnew file mode 100644 index 0000000..fab43d5 --- /dev/null +++ b/chimere/static/chimere/img/icon-bg.png diff --git a/chimere/static/saclay/images/icon-bg.svg b/chimere/static/chimere/img/icon-bg.svg index 65c3ada..2a2ed62 100644 --- a/chimere/static/saclay/images/icon-bg.svg +++ b/chimere/static/chimere/img/icon-bg.svg @@ -25,9 +25,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="1.4" - inkscape:cx="-85.745953" - inkscape:cy="-96.862659" + inkscape:zoom="15.839192" + inkscape:cx="15.198735" + inkscape:cy="14.896078" inkscape:document-units="mm" inkscape:current-layer="layer1" showgrid="false" @@ -63,7 +63,7 @@ inkscape:export-xdpi="70.699188" inkscape:export-filename="/home/etienne/icon-bg.png" d="m 59.748922,93.031052 c 0,2.593247 -4.54158,7.298198 -4.54158,7.298198 0,0 -4.58721,-4.704951 -4.58721,-7.298198 0,-2.592917 2.12163,-4.695032 4.58721,-4.695032 2.46559,0 4.54158,2.102115 4.54158,4.695032 z" - style="fill:#ffffff;fill-opacity:0.84523806;stroke:#ffffff;stroke-width:0.66145831;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" + style="fill:#ffffff;fill-opacity:0.9831081;stroke:#ffffff;stroke-width:0.66145831;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" id="path8552" inkscape:connector-curvature="0" /> </g> diff --git a/chimere/static/saclay/images/icon-bg.png b/chimere/static/saclay/images/icon-bg.png Binary files differdeleted file mode 100644 index 25b8a08..0000000 --- a/chimere/static/saclay/images/icon-bg.png +++ /dev/null |