2014-03-14 19:52:40 +00:00
|
|
|
/*!
|
2015-07-29 13:41:30 +00:00
|
|
|
* VisualEditor MediaWiki Initialization MobileArticleTarget styles.
|
2014-03-14 19:52:40 +00:00
|
|
|
*
|
2016-01-03 22:56:59 +00:00
|
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
2014-03-14 19:52:40 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2015-08-08 10:52:05 +00:00
|
|
|
.oo-ui-panelLayout-scrollable {
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2014-03-14 19:52:40 +00:00
|
|
|
}
|
2015-07-01 11:11:36 +00:00
|
|
|
|
|
|
|
.ve-init-mw-target-surface .ve-ce-documentNode,
|
|
|
|
.ve-init-mw-target-surface .ve-ui-surface-placeholder {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2015-07-30 11:08:56 +00:00
|
|
|
|
2016-05-16 14:38:57 +00:00
|
|
|
@media ( max-width: 767px ) {
|
2015-07-30 11:08:56 +00:00
|
|
|
.ve-init-mw-target-surface .ve-ui-surface-placeholder > * {
|
|
|
|
/* Fix margin overlap */
|
|
|
|
margin-top: 0;
|
|
|
|
/* Placeholder doesn't need a border as well */
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-debugBar {
|
|
|
|
padding: 0.8em 16px;
|
|
|
|
border-top: 1px solid #ccc;
|
2015-10-02 18:23:13 +00:00
|
|
|
box-shadow: 0 10px 10px -10px rgba( 0, 0, 0, 0.15 ) inset;
|
2015-07-30 11:08:56 +00:00
|
|
|
}
|
|
|
|
|
2015-08-06 16:55:13 +00:00
|
|
|
.ve-ui-debugBar-selectionLabel {
|
|
|
|
min-width: auto;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-07-30 11:08:56 +00:00
|
|
|
/* Hide toolbar shortcuts, no use on mobile */
|
|
|
|
.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-accel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-08-06 14:22:15 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-title-container {
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2015-08-15 17:00:37 +00:00
|
|
|
border-right: 1px solid #ddd;
|
2015-08-06 14:22:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-init-mw-mobileArticleTarget-title {
|
|
|
|
padding: 0 0.5em;
|
|
|
|
line-height: 3.164em;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2015-08-15 17:00:37 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-pageTools,
|
|
|
|
.ve-init-mw-mobileArticleTarget-editTools {
|
2015-08-06 14:22:15 +00:00
|
|
|
display: table;
|
2015-08-15 17:00:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Edit tools has no 100% width cells */
|
|
|
|
.ve-init-mw-mobileArticleTarget-editTools {
|
2015-08-06 14:22:15 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-08-15 17:00:37 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-pageTools > .oo-ui-toolGroup,
|
|
|
|
.ve-init-mw-mobileArticleTarget-pageTools > .ve-init-mw-mobileArticleTarget-title-container,
|
|
|
|
.ve-init-mw-mobileArticleTarget-editTools > .oo-ui-toolGroup {
|
2015-08-06 14:22:15 +00:00
|
|
|
display: table-cell;
|
2015-08-15 17:00:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-init-mw-mobileArticleTarget-editTools > .oo-ui-toolGroup {
|
2015-08-08 11:45:18 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-08-15 17:00:37 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-editTools .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon {
|
2015-08-08 11:45:18 +00:00
|
|
|
left: 50%;
|
|
|
|
margin-left: -1.875em;
|
|
|
|
}
|
|
|
|
|
2015-08-15 17:00:37 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-editTools .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator {
|
2015-08-08 11:45:18 +00:00
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
2015-08-15 17:00:37 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-editTools .oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
|
2015-08-08 11:45:18 +00:00
|
|
|
text-align: left;
|
2015-08-06 14:22:15 +00:00
|
|
|
}
|
|
|
|
|
2015-08-15 17:00:37 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-editTools > .oo-ui-toolGroup-empty {
|
2015-08-06 14:22:15 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-08-15 17:00:37 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-editTools > .oo-ui-toolGroup:last-child {
|
2015-07-30 11:08:56 +00:00
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
2016-05-16 14:38:57 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-editTools > .oo-ui-toolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool {
|
2015-08-06 14:22:15 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-08-15 17:00:37 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-editTools-hidden,
|
|
|
|
.ve-init-mw-mobileArticleTarget-pageToolbar-hidden {
|
2015-08-08 10:52:05 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-05-16 14:38:57 +00:00
|
|
|
@media ( max-width: 479px ) {
|
2015-08-06 14:22:15 +00:00
|
|
|
.ve-init-mw-mobileArticleTarget-toolbar
|
|
|
|
.oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement.oo-ui-tool-with-label > .oo-ui-tool-link .oo-ui-tool-title {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-08-06 16:55:13 +00:00
|
|
|
}
|