From 44e51627a69cdbcdc03a618b505849954d126df4 Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Fri, 17 Feb 2017 02:23:25 +0400 Subject: [PATCH] Move wpSummary from shared.css to mediawiki.action.edit.styles.css Change-Id: I06ca700ffda9013a59b58b09ad56ada8694944a5 --- .../mediawiki.action.edit.styles.css | 23 +++++++++++++++++-- resources/src/mediawiki.legacy/shared.css | 23 ------------------- 2 files changed, 21 insertions(+), 25 deletions(-) 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; -- 2.20.1