aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/css
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-11-05 13:28:43 +0100
committerArthurHoaro <arthur@hoa.ro>2016-11-05 14:29:57 +0100
commitbdf4566ab0650204c4586033a73a3858ddf279fd (patch)
tree766563b5d1c56b64f033c69d6bdf227435795163 /tpl/default/css
parentc8f0a06d801d1e6405f5d86b45ba5967a6569c8c (diff)
downloadShaarli-bdf4566ab0650204c4586033a73a3858ddf279fd.tar.gz
Shaarli-bdf4566ab0650204c4586033a73a3858ddf279fd.tar.zst
Shaarli-bdf4566ab0650204c4586033a73a3858ddf279fd.zip
Use new header plugin placeholders
Diffstat (limited to 'tpl/default/css')
-rw-r--r--tpl/default/css/shaarli.css54
1 files changed, 33 insertions, 21 deletions
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css
index e2d64686..0367534b 100644
--- a/tpl/default/css/shaarli.css
+++ b/tpl/default/css/shaarli.css
@@ -257,8 +257,6 @@ pre {
257 257
258#header-login-form { 258#header-login-form {
259 height: 0; 259 height: 0;
260 text-align: center;
261 background: #1b926c;
262 transition: 0.3s; 260 transition: 0.3s;
263} 261}
264 262
@@ -266,14 +264,39 @@ pre {
266 display: block; 264 display: block;
267 height: 30px; 265 height: 30px;
268 padding: 5px 0; 266 padding: 5px 0;
269 box-shadow: 0 1px 1px 1px #797979;
270} 267}
271 268
272#header-login-form input[type="text"], #header-login-form input[type="password"], #header-login-form .remember-me { 269#header-login-form input[type="text"], #header-login-form input[type="password"] {
270 width: 200px;
271}
272
273#header-login-form input, #header-login-form .remember-me {
274 transition: visibility 1s, opacity 1s;
275 visibility: hidden;
276 opacity: 0;
277}
278
279#header-login-form.open input, #header-login-form.open .remember-me {
280 visibility: visible;
281 opacity: 1;
282}
283
284.subheader-form {
285 text-align: center;
286 background: #1b926c;
287 display: block;
288}
289
290.subheader-form.open {
291 height: 30px;
292 padding: 5px 0;
293}
294
295.subheader-form input[type="text"], .subheader-form input[type="password"], .subheader-form .remember-me {
273 margin: 0 0 5px 0; 296 margin: 0 0 5px 0;
274 padding: 5px 5px 3px 15px; 297 padding: 5px 5px 3px 15px;
275 height: 20px; 298 height: 20px;
276 width: 200px; 299 width: 20%;
277 background: #1fa67a; 300 background: #1fa67a;
278 border: medium none currentColor; 301 border: medium none currentColor;
279 border-radius: 25px; 302 border-radius: 25px;
@@ -282,24 +305,24 @@ pre {
282} 305}
283 306
284/* because chrome */ 307/* because chrome */
285#header-login-form input[type="text"]::-webkit-input-placeholder, 308.subheader-form input[type="text"]::-webkit-input-placeholder,
286#header-login-form input[type="password"]::-webkit-input-placeholder 309.subheader-form input[type="password"]::-webkit-input-placeholder
287{ 310{
288 color: #b0ddce; 311 color: #b0ddce;
289} 312}
290 313
291#header-login-form .remember-me { 314.subheader-form .remember-me {
292 display: inline-block; 315 display: inline-block;
293 width: auto; 316 width: auto;
294 padding: 5px 20px 3px 20px; 317 padding: 5px 20px 3px 20px;
295 cursor: pointer; 318 cursor: pointer;
296} 319}
297 320
298#header-login-form .remember-me label, #header-login-form .remember-me input { 321.subheader-form .remember-me label, .subheader-form .remember-me input {
299 cursor: pointer; 322 cursor: pointer;
300} 323}
301 324
302#header-login-form input[type="submit"] { 325.subheader-form input[type="submit"] {
303 display: inline-block; 326 display: inline-block;
304 margin: 0 0 5px 0; 327 margin: 0 0 5px 0;
305 height: 25px; 328 height: 25px;
@@ -311,17 +334,6 @@ pre {
311 color: #b0ddce; 334 color: #b0ddce;
312} 335}
313 336
314#header-login-form input, #header-login-form .remember-me {
315 transition: visibility 1s, opacity 1s;
316 visibility: hidden;
317 opacity: 0;
318}
319
320#header-login-form.open input, #header-login-form.open .remember-me {
321 visibility: visible;
322 opacity: 1;
323}
324
325.new-version-message { 337.new-version-message {
326 text-align: center; 338 text-align: center;
327} 339}