X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.action%2Fmediawiki.action.edit.styles.css;h=d22823609bfee891880a0d8a00527cd785869b02;hb=47d2b3d82af55538167174bbb6f1f98371953298;hp=0ee40582cb17355862b86414d5dd988de14f84f1;hpb=939199bcea28a3b13c49c0f808d11d415660b924;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.action/mediawiki.action.edit.styles.css b/resources/src/mediawiki.action/mediawiki.action.edit.styles.css index 0ee40582cb..d22823609b 100644 --- a/resources/src/mediawiki.action/mediawiki.action.edit.styles.css +++ b/resources/src/mediawiki.action/mediawiki.action.edit.styles.css @@ -6,6 +6,10 @@ #wpTextbox1 { margin: 0; display: block; + /* Ensure the textarea is not higher than browser's viewport on small screens */ + max-height: 100vh; + /* But don't let it collapse into nothingness on really tiny screens */ + min-height: 5em; } /* Adjustments to edit form elements */ @@ -25,14 +29,33 @@ font-size: 0.9em; } -#wpSummary { +input#wpSummary { display: block; + background-color: #fff; + color: #000; + width: 80%; margin-top: 0; - margin-bottom: 0.5em; + margin-bottom: 1em; + padding: 0.625em 0.546875em 0.546875em; + border: 1px solid #a2a9b1; + border-radius: 2px; + box-shadow: inset 0 0 0 1px #fff; + font-family: inherit; + font-size: inherit; + -webkit-transition: border-color 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ), box-shadow 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ); + -moz-transition: border-color 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ), box-shadow 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ); + transition: border-color 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ), box-shadow 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ); +} + +input#wpSummary:focus, +input#wpSummary:active { + outline: 0; + border-color: #36c; + box-shadow: inset 0 0 0 1px #36c; } .editButtons input:first-child { - margin-left: .1em; + margin-left: 0.1em; } /*