2016-07-18 14:24:02 +00:00
|
|
|
@import 'mediawiki.ui/variables';
|
2018-07-01 21:41:47 +00:00
|
|
|
@import '../mmv/mmv.mixins';
|
2014-07-01 00:42:10 +00:00
|
|
|
|
2014-06-12 23:59:06 +00:00
|
|
|
@pane-padding: 10px;
|
2017-03-02 23:45:42 +00:00
|
|
|
@attribution-color: #f8f9fa;
|
|
|
|
@attribution-color-highlighted: #fff;
|
2014-07-01 16:56:15 +00:00
|
|
|
@attribution-logo-size: 40px;
|
2017-03-02 23:45:42 +00:00
|
|
|
@input-text-color: #222;
|
2014-03-31 16:08:02 +00:00
|
|
|
|
2014-07-01 00:38:44 +00:00
|
|
|
.mw-mmv-download-pane {
|
2014-06-12 23:59:06 +00:00
|
|
|
padding: 0 @pane-padding;
|
|
|
|
position: relative;
|
2014-09-16 20:33:05 +00:00
|
|
|
height: 100%;
|
2014-03-31 16:08:02 +00:00
|
|
|
|
|
|
|
/* Disable link clicks */
|
|
|
|
a.disabledLink {
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-area {
|
|
|
|
padding-top: 20px;
|
2014-09-19 18:34:18 +00:00
|
|
|
padding-left: 10px;
|
2014-12-07 08:09:04 +00:00
|
|
|
padding-bottom: 60px;
|
2014-09-16 20:33:05 +00:00
|
|
|
width: 100%;
|
2014-03-31 16:08:02 +00:00
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-go-button {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2014-07-01 16:56:15 +00:00
|
|
|
}
|
2014-03-31 16:08:02 +00:00
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
/* Selection size arrow element */
|
|
|
|
.mw-mmv-download-select-menu {
|
|
|
|
.unselectable();
|
2018-07-01 21:41:47 +00:00
|
|
|
background-image: /* @embed */ url( img/down.svg );
|
2014-09-16 20:33:05 +00:00
|
|
|
background-position: center center;
|
2014-06-11 23:08:17 +00:00
|
|
|
background-repeat: no-repeat;
|
2016-05-25 18:32:40 +00:00
|
|
|
min-width: 10px;
|
2014-09-16 20:33:05 +00:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2016-07-18 14:24:02 +00:00
|
|
|
border-left: 1px solid mix( #000, @colorProgressive, 20% );
|
2016-05-25 18:32:40 +00:00
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
&:hover {
|
2016-07-18 14:24:02 +00:00
|
|
|
border-bottom: 1px solid mix( #000, @colorProgressive, 20% );
|
2014-09-16 20:33:05 +00:00
|
|
|
}
|
2014-06-11 23:08:17 +00:00
|
|
|
}
|
2014-03-31 16:08:02 +00:00
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-image-size-name {
|
2016-05-25 18:32:40 +00:00
|
|
|
display: block;
|
2014-09-16 20:33:05 +00:00
|
|
|
}
|
2014-03-31 16:08:02 +00:00
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-image-size {
|
2016-05-25 18:32:40 +00:00
|
|
|
display: block;
|
2014-09-16 20:33:05 +00:00
|
|
|
font-size: small;
|
|
|
|
font-weight: normal;
|
2014-03-31 16:08:02 +00:00
|
|
|
}
|
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-preview-link {
|
2015-01-29 13:57:23 +00:00
|
|
|
display: inline-block;
|
2014-09-16 20:33:05 +00:00
|
|
|
margin-top: 12px;
|
|
|
|
margin-left: -6px;
|
|
|
|
font-size: 16px;
|
2017-03-02 23:45:42 +00:00
|
|
|
color: #54595d;
|
2014-09-16 20:33:05 +00:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
content: ' ';
|
|
|
|
width: 44px;
|
|
|
|
height: 30px;
|
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/open.svg );
|
2014-09-16 20:33:05 +00:00
|
|
|
background-size: contain;
|
|
|
|
background-position: right center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2014-03-31 16:08:02 +00:00
|
|
|
}
|
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
/* Pulldown size menu */
|
|
|
|
.mw-mmv-download-size {
|
|
|
|
text-align: start;
|
2014-03-31 16:08:02 +00:00
|
|
|
display: none;
|
2014-09-16 20:33:05 +00:00
|
|
|
margin-top: 0;
|
2014-09-19 18:34:18 +00:00
|
|
|
margin-right: 20px;
|
2014-09-16 20:33:05 +00:00
|
|
|
width: auto;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Changes to pulldown menu */
|
2014-10-30 21:54:52 +00:00
|
|
|
.oo-ui-dropdownWidget-handle {
|
2014-09-16 20:33:05 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-11-17 22:18:23 +00:00
|
|
|
.oo-ui-menuOptionWidget {
|
2014-09-19 18:34:18 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-widget-disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-labelElement-label {
|
|
|
|
margin-left: 20px;
|
2014-09-16 20:33:05 +00:00
|
|
|
}
|
2014-03-31 16:08:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-06-12 23:59:06 +00:00
|
|
|
.mw-mmv-download-attribution {
|
2014-12-07 08:09:04 +00:00
|
|
|
margin: 0 -@pane-padding;
|
2014-06-12 23:59:06 +00:00
|
|
|
padding: 0 @pane-padding @pane-padding;
|
|
|
|
background-color: @attribution-color;
|
2017-03-02 23:45:42 +00:00
|
|
|
color: #54595d;
|
2014-07-01 16:56:15 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @attribution-color-highlighted;
|
2017-03-02 23:45:42 +00:00
|
|
|
color: #222;
|
2014-07-01 16:56:15 +00:00
|
|
|
}
|
2014-06-12 23:59:06 +00:00
|
|
|
|
|
|
|
&-how {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
padding: 5px;
|
2014-07-01 16:56:15 +00:00
|
|
|
margin-bottom: 0;
|
2014-06-12 23:59:06 +00:00
|
|
|
|
|
|
|
.mw-mmv-download-attribution-close-button {
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
2016-07-18 14:24:02 +00:00
|
|
|
right: 0;
|
2014-06-12 23:59:06 +00:00
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
/* @embed */
|
2018-07-01 21:41:47 +00:00
|
|
|
background-image: url( ../mmv/ui/img/x_gray.svg );
|
2014-06-12 23:59:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-how-header,
|
|
|
|
&-cta-header {
|
|
|
|
font-size: large;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2014-07-01 16:56:15 +00:00
|
|
|
&-cta-header {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-cta-invite {
|
|
|
|
font-size: small;
|
|
|
|
margin: 0;
|
2016-11-02 08:27:04 +00:00
|
|
|
color: #72777d;
|
2014-07-01 16:56:15 +00:00
|
|
|
}
|
|
|
|
|
2014-06-12 23:59:06 +00:00
|
|
|
&-cta {
|
|
|
|
/* @embed */
|
2018-10-11 06:25:43 +00:00
|
|
|
background-image: url( ../mmv/ui/img/user-avatar.svg );
|
|
|
|
background-position: left center;
|
2014-06-12 23:59:06 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: @attribution-logo-size;
|
2018-10-11 06:25:43 +00:00
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
padding-left: @attribution-logo-size + 10px;
|
2014-06-12 23:59:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-mmv-download-attribution-collapsed {
|
|
|
|
.mw-mmv-download-attribution-cta {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-download-attribution-how {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2014-07-01 00:40:51 +00:00
|
|
|
|
|
|
|
.mw-mmv-download-attr-input {
|
2018-01-17 08:16:54 +00:00
|
|
|
// override OOUI fixed width
|
2014-07-01 00:40:51 +00:00
|
|
|
width: auto;
|
|
|
|
|
2016-12-28 16:32:28 +00:00
|
|
|
// margin between text widget and option switch widget
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
2017-10-31 17:49:29 +00:00
|
|
|
input[ readonly ] {
|
2014-07-01 00:40:51 +00:00
|
|
|
color: @input-text-color;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
2016-12-28 16:32:28 +00:00
|
|
|
|
|
|
|
.mw-mmv-dialog-copy {
|
|
|
|
// style rules based on .mw-mmv-share-page-link
|
|
|
|
float: right;
|
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
|
|
|
|
// position approximately to the middle - probably fragile but couldn't find a better way as
|
2018-01-17 08:16:54 +00:00
|
|
|
// the height of OOUI input widget has both em and px parts and not possible to calculate
|
2016-12-28 16:32:28 +00:00
|
|
|
// exactly
|
|
|
|
margin: 8px 0.5em 8px 0;
|
|
|
|
}
|
2014-06-12 23:59:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-reuse-dialog.mw-mmv-reuse-download-active .mw-mmv-reuse-down-arrow {
|
|
|
|
background-color: @attribution-color;
|
2014-06-11 23:08:17 +00:00
|
|
|
}
|