2016-05-25 18:32:40 +00:00
|
|
|
@import "mediawiki.ui/variables";
|
2014-07-01 00:42:10 +00:00
|
|
|
@import "../mmv.mixins";
|
|
|
|
|
2014-06-12 23:59:06 +00:00
|
|
|
@pane-padding: 10px;
|
|
|
|
@attribution-color: #f2f2f2;
|
2014-07-01 16:56:15 +00:00
|
|
|
@attribution-color-highlighted: #f5f5f5;
|
|
|
|
@attribution-logo-size: 40px;
|
2014-07-01 00:40:51 +00:00
|
|
|
@input-text-color: #333333;
|
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-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();
|
2016-05-25 18:32:40 +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-05-25 18:32:40 +00:00
|
|
|
border-left: 1px solid mix(#000, @colorProgressive, 20%);
|
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
&:hover {
|
2016-05-25 18:32:40 +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;
|
|
|
|
color: #555555;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
content: ' ';
|
|
|
|
width: 44px;
|
|
|
|
height: 30px;
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/open.svg);
|
|
|
|
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 {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 0 @pane-padding @pane-padding;
|
|
|
|
background-color: @attribution-color;
|
2014-07-01 16:56:15 +00:00
|
|
|
color: #555;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @attribution-color-highlighted;
|
|
|
|
color: #333;
|
|
|
|
}
|
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;
|
|
|
|
right: 0px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/x_gray.svg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-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;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
2014-06-12 23:59:06 +00:00
|
|
|
&-cta {
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
2014-07-01 16:56:15 +00:00
|
|
|
padding-left: @attribution-logo-size + 10px;
|
2014-06-12 23:59:06 +00:00
|
|
|
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/user-ltr.svg);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: @attribution-logo-size;
|
|
|
|
background-position: left center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.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 {
|
|
|
|
// override OOJS-UI fixed width
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
input[readonly] {
|
|
|
|
color: @input-text-color;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
}
|