From: Amir Sarabadani Date: Thu, 16 Feb 2017 22:23:25 +0000 (+0400) Subject: Move wpSummary from shared.css to mediawiki.action.edit.styles.css X-Git-Tag: 1.31.0-rc.0~3978^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=44e51627a69cdbcdc03a618b505849954d126df4;p=lhc%2Fweb%2Fwiklou.git Move wpSummary from shared.css to mediawiki.action.edit.styles.css Change-Id: I06ca700ffda9013a59b58b09ad56ada8694944a5 --- diff --git a/resources/src/mediawiki.action/mediawiki.action.edit.styles.css b/resources/src/mediawiki.action/mediawiki.action.edit.styles.css index 0ee40582cb..2b467d5888 100644 --- a/resources/src/mediawiki.action/mediawiki.action.edit.styles.css +++ b/resources/src/mediawiki.action/mediawiki.action.edit.styles.css @@ -25,10 +25,29 @@ 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 { diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index 7919dc4002..f761aa0321 100644 --- a/resources/src/mediawiki.legacy/shared.css +++ b/resources/src/mediawiki.legacy/shared.css @@ -184,29 +184,6 @@ td.mw-submit { white-space: nowrap; } -input#wpSummary { - background-color: #fff; - color: #000; - width: 80%; - 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; -} - .mw-input-with-label { white-space: nowrap; display: inline-block;