diff options
Diffstat (limited to 'p/themes/Flat/global.css')
| -rw-r--r-- | p/themes/Flat/global.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/p/themes/Flat/global.css b/p/themes/Flat/global.css index df9c9f8c9..e3baa26ab 100644 --- a/p/themes/Flat/global.css +++ b/p/themes/Flat/global.css @@ -88,6 +88,13 @@ label { font-weight: bold; color: #444; } +input { + width: 180px; +} +textarea { + width: 360px; + height: 100px; +} input, select, textarea { display: inline-block; max-width: 100%; @@ -117,6 +124,10 @@ input, select, textarea { border-color: red; box-shadow: 0 0 2px 1px red; } + input:focus.extend { + width: 300px; + transition: width 200ms linear; + } .form-group { margin: 5px 0; @@ -497,3 +508,20 @@ input, select, textarea { vertical-align: middle; line-height: 16px; } + +/* Prompt (centré) */ +.prompt > h1, .prompt > p { + text-align:center; +} +.prompt > form { + margin:1em auto 2.5em auto; + width:10em; +} +.prompt .btn { + display:block; + margin:.5em auto; +} +.prompt input { + margin:.4em auto 1.1em auto; + width:99%; +} |
