From: ArthurHoaro Date: Fri, 6 Jan 2017 14:38:31 +0000 (+0100) Subject: Simplify admin fields, change home icon X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=d2592219c6a454400a9115a24147d0b48f12b1cb;p=github%2Fshaarli%2FShaarli.git Simplify admin fields, change home icon --- diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index fafe7351..36d848d8 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -86,6 +86,9 @@ pre { background-color: #1b926c; } +.anchor:target { + padding-top: 35px; +} /** * MENU **/ @@ -107,9 +110,9 @@ pre { height: inherit; } -.shaarli-menu.open { - max-height: 500px; - transition: max-height 0.75s; +.head-logo { + float: left; + margin: 0 5px 0 0; } .pure-menu-link, @@ -612,10 +615,7 @@ pre { } .linklist-item-infos .label-tag { - font-size: 0.9em; -} - -.linklist-item-infos .label-tag:hover { + font-size: 1em; } .linklist-item-infos-dateblock { @@ -727,10 +727,9 @@ pre { padding: 5px 5px 3px 15px; height: 35px; width: 90%; - background: #ebebeb; - border: medium none currentColor; + background: #eeeeee; + border: solid 1px #d8d8d8; border-radius: 2px; - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 4px rgba(0, 0, 0, 0.298) inset; color: #252525; } @@ -886,7 +885,7 @@ pre { text-align: left; margin: 10px 0 0 0; } - + .timezone-continent:after { content:"\a\a"; white-space: pre; diff --git a/tpl/default/img/icon.png b/tpl/default/img/icon.png new file mode 100644 index 00000000..474edec3 Binary files /dev/null and b/tpl/default/img/icon.png differ diff --git a/tpl/default/img/logo.png b/tpl/default/img/logo.png deleted file mode 100644 index ef0e09ac..00000000 Binary files a/tpl/default/img/logo.png and /dev/null differ diff --git a/tpl/default/js/shaarli.js b/tpl/default/js/shaarli.js index 287d157c..a382a7eb 100644 --- a/tpl/default/js/shaarli.js +++ b/tpl/default/js/shaarli.js @@ -103,7 +103,7 @@ var foldButtons = document.querySelectorAll('.fold-button'); var deleteLinks = document.querySelectorAll('.delete-link'); [].forEach.call(deleteLinks, function(deleteLink) { deleteLink.addEventListener('click', function(event) { - if(!confirm('Are you sure you want to delete this link ?')) { + if(! confirm('Are you sure you want to delete this link ?')) { event.preventDefault(); } }); @@ -178,4 +178,4 @@ if (openers != null) { function removeClass(element, classname) { element.className = element.className.replace(new RegExp('(?:^|\\s)'+ classname + '(?:\\s|$)'), ' '); -} \ No newline at end of file +} diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 459a7c33..5bd8a12e 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html @@ -100,6 +100,7 @@
{loop="links"} +