mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-13 18:36:57 +00:00
54f3e15199
* #wikieditor-toolbar-link-int-text was removed in I17f34a8cbf72b80f3916581867e5828d9b129789 * .wikiEditor-template-dialog-fields was removed in I47119d6cfdde4b40ff5b07be0c7d327b80598142 Change-Id: If669eb3fa8e1401d640c879f808c097682c30f31
149 lines
2.4 KiB
Plaintext
149 lines
2.4 KiB
Plaintext
@import 'mediawiki.mixins';
|
|
|
|
/*
|
|
* CSS for WikiEditor Dialogs
|
|
*/
|
|
|
|
/* stylelint-disable selector-max-id */
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* stylelint-disable declaration-no-important */
|
|
.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 {
|
|
border-top: 1px solid #c8ccd1 !important;
|
|
}
|
|
}
|
|
/* stylelint-enable declaration-no-important */
|
|
|
|
.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,
|
|
#wikieditor-toolbar-file-caption,
|
|
#wikieditor-toolbar-file-alt {
|
|
width: 100%;
|
|
}
|
|
|
|
.wikieditor-toolbar-file-alt-help {
|
|
float: right;
|
|
}
|
|
|
|
.wikieditor-toolbar-file-options {
|
|
.wikieditor-toolbar-field-wrapper {
|
|
float: left;
|
|
margin: 0 20px 0 0;
|
|
}
|
|
}
|
|
|
|
#wikieditor-toolbar-file-dialog + .ui-dialog-buttonpane {
|
|
.ui-dialog-buttonset {
|
|
width: 100%;
|
|
text-align: right;
|
|
|
|
/* Upload button */
|
|
.ui-button:last-child {
|
|
float: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* 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;
|
|
// stylelint-disable-next-line declaration-no-important
|
|
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;
|
|
content: ' ';
|
|
clear: both;
|
|
height: 0;
|
|
}
|
|
|
|
.wikieditor-toolbar-table-dimension-fields,
|
|
.wikieditor-toolbar-dialog-wrapper {
|
|
display: inline-table;
|
|
display: block;
|
|
}
|