2016-11-20 17:13:39 +00:00
|
|
|
@import 'mediawiki.mixins';
|
2015-02-08 16:24:29 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* CSS for WikiEditor Dialogs
|
|
|
|
*/
|
|
|
|
|
2017-10-31 17:35:21 +00:00
|
|
|
/* stylelint-disable selector-max-id */
|
2016-11-20 17:13:39 +00:00
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
/* Replace Dialog */
|
|
|
|
#wikieditor-toolbar-replace-search,
|
|
|
|
#wikieditor-toolbar-replace-replace {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Table Dialog */
|
|
|
|
#wikieditor-toolbar-table-dialog {
|
|
|
|
fieldset {
|
|
|
|
width: 218px;
|
|
|
|
padding: 0;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wikieditor-toolbar-table-preview-wrapper {
|
|
|
|
width: 330px;
|
|
|
|
padding: 0;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wikieditor-toolbar-table-preview-content * {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2016-11-20 17:13:39 +00:00
|
|
|
/* stylelint-disable declaration-no-important */
|
2015-02-08 16:24:29 +00:00
|
|
|
.wikiEditor-toolbar-dialog {
|
|
|
|
.wikieditor-toolbar-table-preview-wrapper {
|
|
|
|
table {
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wikieditor-toolbar-table-preview-content {
|
|
|
|
table {
|
|
|
|
td {
|
|
|
|
padding: 10px 4px !important;
|
|
|
|
height: auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
padding: 7px 3px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-dialog-content {
|
|
|
|
padding: 30px 20px 1em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-dialog-buttonpane {
|
2017-10-31 16:11:08 +00:00
|
|
|
border-top: 1px solid #c8ccd1 !important;
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-20 17:13:39 +00:00
|
|
|
/* stylelint-enable declaration-no-important */
|
2015-02-08 16:24:29 +00:00
|
|
|
|
|
|
|
.wikieditor-toolbar-table-dimension-fields {
|
|
|
|
.wikieditor-toolbar-field-wrapper {
|
|
|
|
float: left;
|
|
|
|
margin-right: 20px;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wikieditor-toolbar-dialog-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* File dialog */
|
|
|
|
#wikieditor-toolbar-file-target,
|
2020-10-18 07:23:19 +00:00
|
|
|
#wikieditor-toolbar-file-caption,
|
|
|
|
#wikieditor-toolbar-file-alt {
|
2015-02-08 16:24:29 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-10-18 07:23:19 +00:00
|
|
|
.wikieditor-toolbar-file-alt-help {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
.wikieditor-toolbar-file-options {
|
|
|
|
.wikieditor-toolbar-field-wrapper {
|
|
|
|
float: left;
|
|
|
|
margin: 0 20px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-02 15:43:36 +00:00
|
|
|
#wikieditor-toolbar-file-dialog + .ui-dialog-buttonpane {
|
|
|
|
.ui-dialog-buttonset {
|
|
|
|
width: 100%;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
/* Upload button */
|
|
|
|
.ui-button:last-child {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
/* Reference Dialog */
|
|
|
|
#wikieditor-toolbar-reference-dialog {
|
|
|
|
label {
|
|
|
|
float: left;
|
|
|
|
line-height: 1.7em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#wikieditor-toolbar-reference-text {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* RTL Changes */
|
|
|
|
|
|
|
|
body.rtl {
|
|
|
|
.wikiEditor-toolbar-dialog {
|
|
|
|
.ui-dialog-buttonpane {
|
|
|
|
button {
|
|
|
|
float: left;
|
2016-11-20 17:13:39 +00:00
|
|
|
// stylelint-disable-next-line declaration-no-important
|
2015-02-08 16:24:29 +00:00
|
|
|
margin: 0.5em 0.4em 0.5em 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Self Clearing Floats */
|
|
|
|
.wikieditor-toolbar-table-dimension-fields:after,
|
|
|
|
.wikieditor-toolbar-dialog-wrapper:after {
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
2016-11-20 17:13:39 +00:00
|
|
|
content: ' ';
|
2015-02-08 16:24:29 +00:00
|
|
|
clear: both;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wikieditor-toolbar-table-dimension-fields,
|
|
|
|
.wikieditor-toolbar-dialog-wrapper {
|
|
|
|
display: inline-table;
|
|
|
|
display: block;
|
|
|
|
}
|