X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2Fshaarli.css;h=a24d4b7c1e384cfc72a03000e462263063c77fb0;hb=3d8f5cf84b8baa4a212f5089633af7c640609b62;hp=53a407c44868f381a3ab1d9b908bf0010ed3b6c4;hpb=bdd1715b249561ed919e4f03a06aec1f4c327335;p=github%2Fshaarli%2FShaarli.git diff --git a/inc/shaarli.css b/inc/shaarli.css index 53a407c4..a24d4b7c 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css @@ -17,7 +17,7 @@ input, textarea { background: linear-gradient(#dedede, #ffffff); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); padding: 5px; - border-radius: 5px 5px 5px 5px; + border-radius: 3px 3px 3px 3px; border: none; color: #000; } @@ -33,6 +33,14 @@ h1 { margin-bottom: 20px; } +em { + font-style: italic; +} + +strong { + font-weight: bold; +} + /* Buttons */ .bigbutton { background-color: #c0c0c0; @@ -84,21 +92,14 @@ h1 { .linkeditbuttons { position: absolute; - left: -1px; + left: 2px; padding: 4px 2px 2px 2px; - background-color: #f0f0f0; -webkit-border-radius: 0px 6px 6px 0px; -moz-border-radius: 0px 6px 6px 0px; -o-border-radius: 0px 6px 6px 0px; -ms-border-radius: 0px 6px 6px 0px; border-radius: 0px 6px 6px 0px; - - -webkit-box-shadow: 0px 0px 3px 0px #333333; - -moz-box-shadow: 0px 0px 3px 0px #333333; - -o-box-shadow: 0px 0px 3px 0px #333333; - -ms-box-shadow: 0px 0px 3px 0px #333333; - box-shadow: 0px 0px 3px 0px #333333; } #pageheader #logo { @@ -111,12 +112,48 @@ h1 { cursor: pointer; } +#pageheader #menu { + width: 100%; +} + +#pageheader #menu ul { + margin: auto; + padding: 7px 0px 0px 0px; + float: none; +} + +#pageheader #menu ul li { + list-style: none; + display: inline; + position: relative; + box-sizing: border-box; +} + +#pageheader a { + background-color: #333333; + background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000)); + background: -webkit-linear-gradient(#333333, #000000); + background: -moz-linear-gradient(#333333, #000000); + background: -ms-linear-gradient(#333333, #000000); + background: -o-linear-gradient(#333333, #000000); + background: linear-gradient(#333333, #000000); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); + padding: 5px; + border-radius: 3px 3px 3px 3px; + margin: 10px 3px 3px 3px; + color: #A2DD42; + text-decoration: none; + line-height: 2.5; + white-space: nowrap; +} + #pageheader #linkcount { float: right; font-style: italic; color: #bbb; text-align: right; padding-right: 5px; + margin: 3px 3px 0px 0px; } #pageheader { @@ -133,23 +170,6 @@ h1 { margin: auto; } -#pageheader a { - background-color: #333333; - background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#000000)); - background: -webkit-linear-gradient(#333333, #000000); - background: -moz-linear-gradient(#333333, #000000); - background: -ms-linear-gradient(#333333, #000000); - background: -o-linear-gradient(#333333, #000000); - background: linear-gradient(#333333, #000000); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); - padding: 5px; - border-radius: 5px 5px 5px 5px; - margin: 10px 3px 3px 3px; - color: #A2DD42; - float: left; - text-decoration: none; -} - #pageheader .search { width: 100%; white-space: nowrap; @@ -179,7 +199,7 @@ h1 { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); padding: 5px; border: none; - border-radius: 5px 5px 5px 5px; + border-radius: 3px 3px 3px 3px; margin: 10px 3px 3px 3px; color: #cecece; } @@ -209,8 +229,16 @@ h1 { margin-left:24px; } +.tagfilter div.awesomplete { + width: 15%; +} + .tagfilter #tagfilter_value { - width: 10%; + display: inline; +} + +.tagfilter li { + color: black; } .tagfilter input.bigbutton, .searchform input.bigbutton, .addform input.bigbutton { @@ -225,7 +253,7 @@ h1 { padding: 0 5px 0 5px; margin: 5px 0 5px 0; height: 20px; - border-radius: 5px 5px 5px 5px; + border-radius: 3px 3px 3px 3px; cursor: pointer; } @@ -291,6 +319,7 @@ h1 { .paging_linksperpage { float: right; padding-right: 5px; + margin: 0px 10px 2px 0px; } .paging_linksperpage form.linksperpage { @@ -323,6 +352,18 @@ h1 { #headerform input.linkurl { width: 50%; + font-size: inherit; +} + +#headerform label { + cursor: pointer; + margin-right: 10px; +} + +#headerform label[for=longlastingsession] { + display: block; + width: 100%; + margin-top: 5px; } #toolsdiv { @@ -345,6 +386,7 @@ h1 { } #editlinkform label { + cursor: pointer; color: #ffffff; } @@ -371,32 +413,22 @@ h1 { } */ -.linkdate, .linkarchive { +.linkdate { font-size:8pt; color:#888; } -.linkdate a, .linkarchive a { +.linkdate a { color:#E28E3F; } -.linkqrcode { - display: inline; - position: relative; -} - -a.qrcode img { - width: 13px; - height: 13px; -} - #linklist li.private { - background: url('../images/private.png') no-repeat 10px center; - padding-left: 60px; + background: url('../images/private.png') no-repeat 4px center; + padding-left: 30px; } #linklist li { - padding-left: 26px; + padding-left: 30px; } .private .linktitle a { @@ -417,12 +449,12 @@ a.qrcode img { color: #F57900; } -.linkdate, .linkarchive { +.linkdate { font-size: 8pt; color: #888; } -.linkdate a, .linkarchive a { +.linkdate a { background-image: url('../images/calendar.png'); padding: 2px 0 3px 20px; background-repeat: no-repeat; @@ -443,7 +475,6 @@ a.qrcode img { margin-top: 0; margin-bottom: 12px; font-weight: normal; - max-height: 400px; overflow: auto; } @@ -471,9 +502,9 @@ a.qrcode img { background: -o-linear-gradient(#F2F2F2, #ffffff); background: linear-gradient(#F2F2F2, #ffffff); box-shadow: 0 0 2px rgba(0, 0, 0, 0.5); - padding: 3px 3px 3px 20px; + padding: 3px 5px 3px 20px; height: 20px; - border-radius: 3px 3px 3px 3px; + border-radius: 3px; cursor: pointer; background-image: url('../images/tag_blue.png'); background-repeat: no-repeat; @@ -518,9 +549,10 @@ a.qrcode img { #footer { font-size: 8pt; text-align: center; - border-top: 1px solid #ddd; color: #888; clear: both; + max-width: 30em; + margin: 15px auto 15px auto; } #footer a { @@ -627,7 +659,12 @@ a.qrcode img { .thumbnail { float: right; - margin-left: 10px; + margin: 0px 10px 0px 10px; +} + +.thumbnail img { + border-radius: 3px; + box-shadow: 0.5px 0.5px 0.5px 1px #dde4e6; } /* If you want thumbnails on the left: @@ -709,25 +746,6 @@ a.qrcode img { background: #ffffff; } -div#permalinkQrcode { - padding: 20px; - width: 220px; - height: 220px; - background-color: #ffffff; - border: 1px solid black; - position: absolute; - top: -100px; - left: -100px; - text-align: center; - font-size: 8pt; - z-index: 50; - -webkit-box-shadow: 2px 2px 20px 2px #333333; - -moz-box-shadow: 2px 2px 20px 2px #333333; - -o-box-shadow: 2px 2px 20px 2px #333333; - -ms-box-shadow: 2px 2px 20px 2px #333333; - box-shadow: 2px 2px 20px 2px #333333; -} - div.daily { font-family: Georgia, 'DejaVu Serif', Norasi, serif; background-color: #E6D6BE; @@ -937,6 +955,11 @@ div.dailyNoEntry { @media handheld, only screen and (max-width: 480px), only screen and (max-device-width: 854px) { /* A few fixes for mobile devices (far from perfect). */ + + .tagfilter div.awesomplete { + width: 70%; + } + .nomobile { display: none; } @@ -945,17 +968,35 @@ div.dailyNoEntry { display: none; } - #pageheader a { + #pageheader #menu ul { + text-align: center; + } + + #pageheader #menu a { padding: 5px; - border-radius: 5px 5px 5px 5px; + border-radius: 3px 3px 3px 3px; margin: 3px; } + #headerform label { + width: 100%; + display: block; + height: auto; + line-height: 25px; + padding-bottom: 10px; + } + + #headerform label input[type=text], + #headerform label input[type=password]{ + float: right; + width: 70%; + } + .searchform, .tagfilter { display: block !important; - margin: 0px !important; + margin: 0px 3px 7px 0px !important; padding: 0px !important; - width: 100% !important; + width: 97% !important; } .searchform input, .tagfilter input { @@ -999,7 +1040,7 @@ div.dailyNoEntry { padding: 3px 5px 3px 5px; background-color: #666; color: #fff; - border-radius: 5px 5px 5px 5px; + border-radius: 3px 3px 3px 3px; } .thumbnail { @@ -1063,3 +1104,95 @@ div.dailyNoEntry { .center { text-align: center; } + +ul.errors { + color: red; + float: left; +} + +#pluginsadmin { + width: 80%; + padding: 20px 0 0 20px; +} + +#pluginsadmin section { + padding: 20px 0; +} + +#pluginsadmin .plugin_parameters { + margin: 10px 0; +} + +#pluginsadmin h1 { + font-style: normal; +} + +#pluginsadmin h2 { + font-size: 1.4em; + font-weight: bold; +} + +#pluginsadmin table { + width: 100%; +} + +#pluginsadmin table, #pluginsadmin th, #pluginsadmin td { + border-width: 1px 0; + border-style: solid; + border-color: #c0c0c0; +} + +#pluginsadmin table th { + font-weight: bold; + padding: 10px 0; +} + +#pluginsadmin table td { + padding: 5px 0; +} + +#pluginsadmin input[type=submit] { + margin: 10px 0; +} + +#pluginsadmin label { + cursor: pointer; +} + +#pluginsadmin .plugin_parameter { + padding: 10px 0; + border-width: 1px 0; + border-style: solid; + border-color: #c0c0c0; +} + +#pluginsadmin .float_label { + float: left; + width: 40%; +} + +#pluginsadmin a { + color: #486D08; +} + +#pluginsadmin a.arrow { + color: black; +} + +/* 404 page */ +.error-container { + + margin: 50px; + margin-top: 20px; +} + +.error-container h1 { + text-decoration: none; + font-style: normal; + color: #80AD48; +} + +.linklist-plugin-icon { + width: 13px; + height: 13px; +}