2016-11-20 17:13:39 +00:00
|
|
|
@import 'mediawiki.mixins';
|
2015-02-08 16:24:29 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* CSS for WikiEditor Toolbar jQuery plugin
|
|
|
|
*/
|
|
|
|
|
|
|
|
.wikiEditor-ui-toolbar {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Expandable Sections */
|
|
|
|
.sections {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
.section {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
2017-10-31 16:11:08 +00:00
|
|
|
border-top: 1px solid #c8ccd1;
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
2018-12-04 22:33:05 +00:00
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
.section-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Top Level Containers */
|
|
|
|
/* Tabs */
|
|
|
|
.tabs {
|
|
|
|
float: left;
|
|
|
|
height: 100%;
|
|
|
|
list-style: none;
|
2020-03-03 05:39:45 +00:00
|
|
|
margin: 0 3px;
|
|
|
|
min-height: 32px;
|
2015-02-08 16:24:29 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
span.tab {
|
2020-02-29 15:32:29 +00:00
|
|
|
position: relative;
|
2015-02-08 16:24:29 +00:00
|
|
|
float: left;
|
2021-06-15 14:14:04 +00:00
|
|
|
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
|
2020-03-03 05:39:45 +00:00
|
|
|
line-height: 32px;
|
2015-02-08 16:24:29 +00:00
|
|
|
|
2020-02-29 15:32:29 +00:00
|
|
|
a {
|
2015-02-08 16:24:29 +00:00
|
|
|
color: #0645ad;
|
|
|
|
cursor: pointer;
|
2020-02-29 15:32:29 +00:00
|
|
|
display: block;
|
2020-03-03 05:39:45 +00:00
|
|
|
height: 32px;
|
2015-02-08 16:24:29 +00:00
|
|
|
padding-left: 18px;
|
|
|
|
padding-right: 12px;
|
2020-02-29 15:32:29 +00:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
2020-03-01 13:17:08 +00:00
|
|
|
background: url( images/toolbar/arrow-down.svg ) center no-repeat;
|
2020-02-29 15:32:29 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 16px;
|
|
|
|
height: 32px;
|
|
|
|
.transition( ~'transform 100ms' );
|
|
|
|
|
|
|
|
body.ltr & {
|
|
|
|
.transform( rotate( -90deg ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
body.rtl & {
|
|
|
|
.transform( rotate( 90deg ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: #0645ad;
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
2016-11-20 17:13:39 +00:00
|
|
|
a.current,
|
|
|
|
a.current:visited {
|
2017-10-31 16:11:08 +00:00
|
|
|
color: #222;
|
2015-02-08 16:24:29 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2020-02-29 15:32:29 +00:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
body.ltr &,
|
|
|
|
body.rtl & {
|
|
|
|
.transform( rotate( 0 ) );
|
|
|
|
}
|
|
|
|
}
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Top Level Containers */
|
|
|
|
.tabs,
|
2021-12-01 03:07:39 +00:00
|
|
|
.section-main,
|
|
|
|
.section-secondary {
|
2015-02-08 16:24:29 +00:00
|
|
|
position: relative;
|
|
|
|
float: left;
|
2020-03-03 05:39:45 +00:00
|
|
|
min-height: 32px;
|
2015-02-08 16:24:29 +00:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2021-12-01 03:07:39 +00:00
|
|
|
.section-secondary {
|
|
|
|
float: right;
|
2022-04-19 07:08:24 +00:00
|
|
|
|
|
|
|
.group {
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 6px;
|
|
|
|
border-left: 1px solid #c8ccd1;
|
|
|
|
}
|
2021-12-01 03:07:39 +00:00
|
|
|
}
|
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
/* Groups */
|
|
|
|
.group {
|
|
|
|
float: left;
|
2018-11-13 14:40:35 +00:00
|
|
|
min-height: 26px;
|
2015-02-08 16:24:29 +00:00
|
|
|
padding-right: 6px;
|
2017-10-31 16:11:08 +00:00
|
|
|
border-right: 1px solid #c8ccd1;
|
2015-02-08 16:24:29 +00:00
|
|
|
margin: 3px;
|
|
|
|
|
|
|
|
/* Toolbar */
|
|
|
|
.label {
|
|
|
|
float: left;
|
|
|
|
border: 0;
|
|
|
|
height: 22px;
|
2021-06-15 14:14:04 +00:00
|
|
|
/* stylelint-disable-next-line declaration-property-unit-disallowed-list */
|
2015-02-08 16:24:29 +00:00
|
|
|
line-height: 22px;
|
2020-03-01 13:17:08 +00:00
|
|
|
margin: 2px 8px 2px 5px;
|
2019-03-27 16:46:44 +00:00
|
|
|
color: #54595d;
|
2015-02-08 16:24:29 +00:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.tool {
|
|
|
|
float: left;
|
|
|
|
border: 0;
|
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
padding: 2px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tool-select {
|
|
|
|
float: left;
|
2020-03-01 13:17:08 +00:00
|
|
|
margin: 2px 0 2px 2px;
|
2015-02-08 16:24:29 +00:00
|
|
|
height: 22px;
|
|
|
|
cursor: pointer;
|
2017-10-31 16:11:08 +00:00
|
|
|
border: 1px solid #c8ccd1;
|
2015-02-08 16:24:29 +00:00
|
|
|
padding: 0;
|
2015-03-10 05:54:19 +00:00
|
|
|
background-color: #fff;
|
2015-02-08 16:24:29 +00:00
|
|
|
|
|
|
|
.label {
|
2020-02-29 15:32:29 +00:00
|
|
|
position: relative;
|
2020-03-01 13:17:08 +00:00
|
|
|
padding: 0 26px 0 4px;
|
2015-02-08 16:24:29 +00:00
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
2017-10-31 16:11:08 +00:00
|
|
|
color: #222;
|
2020-02-29 15:32:29 +00:00
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: '';
|
2020-03-01 13:17:08 +00:00
|
|
|
background: url( images/toolbar/arrow-down.svg ) center no-repeat;
|
2020-02-29 15:32:29 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2020-03-01 13:17:08 +00:00
|
|
|
right: 4px;
|
2020-02-29 15:32:29 +00:00
|
|
|
width: 16px;
|
2020-05-03 20:17:03 +00:00
|
|
|
height: 22px;
|
2020-02-29 15:32:29 +00:00
|
|
|
}
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
2020-02-29 15:32:29 +00:00
|
|
|
&.options-shown .label:after {
|
|
|
|
.transform( rotate( 180deg ) );
|
2018-11-19 23:45:13 +00:00
|
|
|
}
|
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
.options {
|
2019-03-17 13:16:00 +00:00
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
margin-left: -1px;
|
|
|
|
margin-top: 22px;
|
|
|
|
border: 1px solid #c8ccd1;
|
|
|
|
background-color: #fff;
|
2020-02-29 21:25:27 +00:00
|
|
|
z-index: 1;
|
2019-03-17 13:16:00 +00:00
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
.option {
|
|
|
|
display: block;
|
|
|
|
padding: 0.5em;
|
|
|
|
text-decoration: none;
|
2016-11-20 17:13:39 +00:00
|
|
|
color: #000;
|
2015-02-08 16:24:29 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&:hover {
|
2017-10-31 16:11:08 +00:00
|
|
|
background-color: #eaf3ff;
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
2017-10-31 17:35:21 +00:00
|
|
|
&[ rel='heading-2' ] {
|
2015-02-08 16:24:29 +00:00
|
|
|
font-size: 150%;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2017-10-31 17:35:21 +00:00
|
|
|
&[ rel='heading-3' ] {
|
2015-02-08 16:24:29 +00:00
|
|
|
font-size: 132%;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2017-10-31 17:35:21 +00:00
|
|
|
&[ rel='heading-4' ] {
|
2015-02-08 16:24:29 +00:00
|
|
|
font-size: 116%;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2017-10-31 17:35:21 +00:00
|
|
|
&[ rel='heading-5' ] {
|
2015-02-08 16:24:29 +00:00
|
|
|
font-size: 100%;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-17 13:16:00 +00:00
|
|
|
|
|
|
|
&:hover .options,
|
|
|
|
&.options-shown .options {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-search {
|
|
|
|
float: right;
|
2016-11-20 17:13:39 +00:00
|
|
|
border-right: 0;
|
2017-10-31 16:11:08 +00:00
|
|
|
border-left: 1px solid #c8ccd1;
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Booklet */
|
|
|
|
.booklet {
|
2019-03-27 16:46:44 +00:00
|
|
|
> .index {
|
2015-02-08 16:24:29 +00:00
|
|
|
float: left;
|
|
|
|
width: 20%;
|
|
|
|
height: 125px;
|
|
|
|
overflow: auto;
|
2021-06-15 14:14:04 +00:00
|
|
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
2015-02-08 16:24:29 +00:00
|
|
|
resize: horizontal;
|
|
|
|
|
2019-03-27 16:46:44 +00:00
|
|
|
> div {
|
2020-03-01 13:17:08 +00:00
|
|
|
padding: 4px 4px 4px 6px;
|
2015-02-08 16:24:29 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-05-22 20:06:10 +00:00
|
|
|
|
|
|
|
.wikiEditor-character-highlighted {
|
|
|
|
background-color: rgba( 41, 98, 204, 0.1 );
|
|
|
|
color: #000;
|
|
|
|
}
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pages {
|
|
|
|
height: 125px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Help Pages */
|
|
|
|
.page-table {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
|
|
|
|
table {
|
|
|
|
background: none;
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
2017-10-31 16:11:08 +00:00
|
|
|
color: #54595d;
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2016-11-20 17:13:39 +00:00
|
|
|
color: #000;
|
2017-10-31 16:11:08 +00:00
|
|
|
border-top: 1px solid #eaecf0;
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-help {
|
|
|
|
.page-table {
|
|
|
|
.cell {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.cell-syntax {
|
2016-11-20 17:13:39 +00:00
|
|
|
font-family: monospace, 'Courier';
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.cell-syntax,
|
|
|
|
td.cell-result {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.cell-description {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* T33649 */
|
|
|
|
.table-link {
|
|
|
|
td.cell-syntax {
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Characters Pages */
|
|
|
|
.page-characters {
|
2018-02-27 07:56:59 +00:00
|
|
|
padding-bottom: 5px;
|
2018-12-04 22:33:05 +00:00
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
div {
|
|
|
|
span {
|
2019-03-27 16:46:44 +00:00
|
|
|
border: 1px solid #eaecf0;
|
2020-03-01 13:17:08 +00:00
|
|
|
padding: 5px 8px;
|
2015-02-08 16:24:29 +00:00
|
|
|
margin-left: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
height: 1em;
|
2018-02-27 07:56:59 +00:00
|
|
|
display: inline-block;
|
2020-05-22 20:06:10 +00:00
|
|
|
color: #202122;
|
2015-02-08 16:24:29 +00:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
2016-11-20 17:13:39 +00:00
|
|
|
font-family: monospace, 'Courier';
|
2015-02-08 16:24:29 +00:00
|
|
|
font-size: 1.25em;
|
|
|
|
line-height: 1;
|
|
|
|
|
|
|
|
&:hover {
|
2016-11-20 17:13:39 +00:00
|
|
|
background-color: #fff;
|
2015-02-08 16:24:29 +00:00
|
|
|
text-decoration: none;
|
2019-03-27 16:46:44 +00:00
|
|
|
border-color: #c8ccd1;
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
}
|
2020-05-22 20:06:10 +00:00
|
|
|
|
|
|
|
.wikiEditor-character-highlighted {
|
|
|
|
background-color: #7db1c5;
|
|
|
|
color: #000;
|
|
|
|
}
|
2015-02-08 16:24:29 +00:00
|
|
|
}
|
|
|
|
|
2017-10-31 17:35:21 +00:00
|
|
|
div[ dir='rtl' ] span {
|
2015-02-08 16:24:29 +00:00
|
|
|
/* @noflip */
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-22 13:36:36 +00:00
|
|
|
.tool-button {
|
2019-03-27 16:46:44 +00:00
|
|
|
background-position: 50% 50%;
|
2015-02-08 16:24:29 +00:00
|
|
|
background-repeat: no-repeat;
|
2018-03-21 17:52:16 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2019-03-27 16:46:44 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2015-02-08 16:24:29 +00:00
|
|
|
text-indent: -9999px;
|
|
|
|
cursor: pointer;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2018-03-21 17:52:16 +00:00
|
|
|
/* OOUI buttons */
|
|
|
|
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement {
|
|
|
|
margin: 0;
|
2018-03-22 14:58:51 +00:00
|
|
|
}
|
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
.ui-widget {
|
|
|
|
table {
|
|
|
|
td.wikieditor-toolbar-table-preview-wrapper {
|
2017-10-31 16:11:08 +00:00
|
|
|
background: #eaecf0;
|
2015-02-08 16:24:29 +00:00
|
|
|
padding: 10px;
|
2018-12-04 22:33:05 +00:00
|
|
|
|
2015-02-08 16:24:29 +00:00
|
|
|
span {
|
|
|
|
padding: 4px 6px 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wikieditor-toolbar-table-preview-frame {
|
|
|
|
width: 340px;
|
|
|
|
background: #fff;
|
|
|
|
padding: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wikieditor-toolbar-table-preview-content {
|
|
|
|
width: 375px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wikieditor-toolbar-table-preview {
|
|
|
|
width: 340px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|