/** * Styles specific to Special:CentralNoticeBanners * * This file is part of the CentralNotice Extension to MediaWiki * https://www.mediawiki.org/wiki/Extension:CentralNotice * * @section LICENSE * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @file */ @import 'mediawiki.skin.variables.less'; /* === Banner Manager List Form === */ /* --- General Form Elements --- */ /* Restyle the fieldsets to make them less annoying */ #cn-banner-manager fieldset { border: 0; margin: 0; padding: 0; } #cn-banner-manager legend { display: none; } /* --- Banner management header --- */ /* General header */ #cn-banner-manager #cn-formsection-header { padding: 0.5em; background-color: @background-color-neutral-subtle; border: 1px solid #2a4b8d; } /* Style the search sub form */ #cn-formsection-header-banner-search, #mw-htmlform-banner-search .mw-htmlform-field-HTMLButtonField { float: right; } #mw-htmlform-banner-search .mw-htmlform-field-HTMLTextField { float: left; } #mw-input-wpbannerNameLike { width: 17em; } /* Bulk management options */ #cn-formsection-header-banner-bulk-manage { float: left; } #cn-formsection-header-banner-bulk-manage div { display: inline; } /* One off actions */ fieldset #cn-formsection-header-one-off { padding-left: 1em; } /* --- Pager Nav --- */ .cn-banner-list-pager-nav { margin: 0.3em 0.8em 0 0; text-align: right; } /* --- Add banner dialog --- */ #cn-formsection-addBanner, #cn-formsection-removeBanner { display: none; } .ui-dialog-content legend { display: none; } #mw-htmlform-one-off .mw-htmlform-field-HTMLButtonField { display: inline-block; margin-left: 10px; } #mw-input-wpnewBannerTemplate { width: 100%; margin: 0 0 10px; } #mw-input-wpcreateFromTemplateCheckbox { margin: 10px 0; } form[ name='addBannerDialog' ] .mw-htmlform-field-HTMLTextField input { width: 100%; box-sizing: border-box; } .banner-template-dropdown-hidden { display: none; }