aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/css
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/css')
-rw-r--r--tpl/default/css/shaarli.css82
1 files changed, 46 insertions, 36 deletions
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css
index 0367534b..fd0a144f 100644
--- a/tpl/default/css/shaarli.css
+++ b/tpl/default/css/shaarli.css
@@ -170,11 +170,10 @@ pre {
170#header { 170#header {
171 width: 100%; 171 width: 100%;
172 height: 150px; 172 height: 150px;
173 background: url(../img/noise.png), #1fa67a url(../img/logo.png) no-repeat fixed 10px 2.5em; 173 background: url(../img/noise.png), #979797 url(../img/logo.png) no-repeat 10px 2.5em;
174} 174}
175 175
176#header h1 { 176#header h1 {
177 position: fixed;
178 float: left; 177 float: left;
179 margin: 45px 0 0 125px; 178 margin: 45px 0 0 125px;
180 width: 55%; 179 width: 55%;
@@ -190,7 +189,7 @@ pre {
190 189
191 overflow: hidden; 190 overflow: hidden;
192 height: 100px; 191 height: 100px;
193 color: #b0ddce; 192 color: #252525;
194 text-decoration: none; 193 text-decoration: none;
195 z-index: 1; 194 z-index: 1;
196 195
@@ -199,7 +198,7 @@ pre {
199} 198}
200 199
201#header h1 a:hover { 200#header h1 a:hover {
202 color: #d1fff0; 201 color: #fff;
203} 202}
204 203
205.header-buttons { 204.header-buttons {
@@ -207,36 +206,16 @@ pre {
207} 206}
208 207
209#linkcount { 208#linkcount {
210 /* position: fixed; */ 209 color: #252525;
211 position: absolute;
212 top: 40px;
213 right: 10px;
214 color: #b0ddce;
215 font-size: 0.8em; 210 font-size: 0.8em;
216} 211}
217 212
218#search { 213#search {
219 /** 214 margin-top: 5px;
220 * Can't make it work with awesomplete list z-index. Any idea?
221 * position: fixed;
222 */
223 position: absolute;
224 top: 60px;
225 right: 10px;
226 width: 30%;
227 text-align: right;
228} 215}
229 216
230#search input[type="text"] { 217#search input[type="text"] {
231 margin: 0 0 5px 0; 218 width: 250px;
232 padding: 5px 5px 3px 15px;
233 height: 20px;
234 width: 140px;
235 transition: width .5s ease;
236 background: #1b926c;
237 border: medium none currentColor;
238 border-radius: 25px;
239 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 4px rgba(0, 0, 0, 0.298) inset;
240 color: #b0ddce; 219 color: #b0ddce;
241} 220}
242 221
@@ -255,6 +234,20 @@ pre {
255 color: #fff; 234 color: #fff;
256} 235}
257 236
237@media screen and (min-width: 64em) {
238 #search .searchform {
239 margin-right: 25px;
240 text-align: right;
241 }
242
243 #search .tagfilter {
244 margin-left: 25px;
245 text-align: left;
246 }
247}
248
249
250
258#header-login-form { 251#header-login-form {
259 height: 0; 252 height: 0;
260 transition: 0.3s; 253 transition: 0.3s;
@@ -285,11 +278,33 @@ pre {
285 text-align: center; 278 text-align: center;
286 background: #1b926c; 279 background: #1b926c;
287 display: block; 280 display: block;
281 //transition: 0.3s;
288} 282}
289 283
290.subheader-form.open { 284@media screen and (min-width: 64em) {
291 height: 30px; 285
292 padding: 5px 0; 286 .subheader-form.closed {
287 height: 0;
288 }
289
290 .subheader-form.open {
291 height: 30px;
292 padding: 5px 0;
293 }
294
295 .subheader-form * {
296 --transition: visibility 1s, opacity 1s;
297 }
298
299 .subheader-form.open * {
300 visibility: visible;
301 opacity: 1;
302 }
303
304 .subheader-form.closed * {
305 visibility: hidden;
306 opacity: 0;
307 }
293} 308}
294 309
295.subheader-form input[type="text"], .subheader-form input[type="password"], .subheader-form .remember-me { 310.subheader-form input[type="text"], .subheader-form input[type="password"], .subheader-form .remember-me {
@@ -348,8 +363,6 @@ pre {
348 */ 363 */
349#content { 364#content {
350 position: relative; 365 position: relative;
351 /* Hack-ish way to only shadow the top part. */
352 box-shadow: 0 -20px 20px -20px #797979;
353 z-index: 2; 366 z-index: 2;
354 background: url(../img/noise.png) #979797; 367 background: url(../img/noise.png) #979797;
355} 368}
@@ -362,8 +375,7 @@ pre {
362 375
363@media screen and (min-width: 64em) { 376@media screen and (min-width: 64em) {
364 #content { 377 #content {
365 /* https://css-tricks.com/fighting-the-space-between-inline-block-elements/ */ 378 margin-top: 34px;
366 margin-top: -4px;
367 } 379 }
368} 380}
369 381
@@ -371,8 +383,6 @@ pre {
371 * CONTENT - LINKLIST PAGING 383 * CONTENT - LINKLIST PAGING
372 * 64em -> lg 384 * 64em -> lg
373 */ 385 */
374
375
376.linklist-filters { 386.linklist-filters {
377 margin: 10px 0; 387 margin: 10px 0;
378 color: #252525; 388 color: #252525;