2014-07-01 00:42:10 +00:00
|
|
|
@import "../mmv.mixins";
|
|
|
|
|
2014-03-31 16:08:02 +00:00
|
|
|
@mw-ui-constructive-button-color: #00af89;
|
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-12 18:05:13 +00:00
|
|
|
height: 260px;
|
2014-03-31 16:08:02 +00:00
|
|
|
|
|
|
|
/* Disable link clicks */
|
|
|
|
a.disabledLink {
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2014-07-01 00:38:44 +00:00
|
|
|
.mw-mmv-download-button {
|
2014-03-31 16:08:02 +00:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Selection size arrow element */
|
2014-07-01 00:38:44 +00:00
|
|
|
.mw-mmv-download-select-menu {
|
2014-07-01 00:42:10 +00:00
|
|
|
.unselectable();
|
2014-03-31 16:08:02 +00:00
|
|
|
background-position: center center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-color: @mw-ui-constructive-button-color;
|
2014-07-01 16:56:15 +00:00
|
|
|
border: 1px solid @mw-ui-constructive-button-color;
|
2014-03-31 16:08:02 +00:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2014-04-03 12:21:32 +00:00
|
|
|
border-left: 1px solid mix(#000, @mw-ui-constructive-button-color, 20%);
|
2014-03-31 16:08:02 +00:00
|
|
|
background-image: /* @embed */ url(../img/down.svg);
|
2014-07-01 16:56:15 +00:00
|
|
|
&:hover {
|
|
|
|
border-bottom: 1px solid mix(#000, @mw-ui-constructive-button-color, 20%);
|
|
|
|
}
|
2014-03-31 16:08:02 +00:00
|
|
|
}
|
|
|
|
|
2014-07-01 00:38:44 +00:00
|
|
|
.mw-mmv-download-image-size-name {
|
2014-03-31 16:08:02 +00:00
|
|
|
display:block;
|
|
|
|
}
|
|
|
|
|
2014-07-01 00:38:44 +00:00
|
|
|
.mw-mmv-download-image-size {
|
2014-03-31 16:08:02 +00:00
|
|
|
display:block;
|
2014-04-09 12:13:17 +00:00
|
|
|
font-size: small;
|
|
|
|
font-weight: normal;
|
2014-03-31 16:08:02 +00:00
|
|
|
}
|
|
|
|
|
2014-07-01 00:38:44 +00:00
|
|
|
.mw-mmv-download-preview-link {
|
2014-03-31 16:08:02 +00:00
|
|
|
display: block;
|
|
|
|
margin-top: 12px;
|
2014-06-11 23:08:17 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
/* Pulldown size menu */
|
2014-07-01 00:38:44 +00:00
|
|
|
.mw-mmv-download-size {
|
2014-03-31 16:08:02 +00:00
|
|
|
display: none;
|
2014-07-01 00:44:33 +00:00
|
|
|
margin-top: 0;
|
2014-03-31 16:08:02 +00:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-widget-disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Changes to pulldown menu */
|
|
|
|
.oo-ui-inlineMenuWidget-handle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|