2023-04-03 20:44:15 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2020-04-18 04:22:52 +00:00
|
|
|
@import '../mmv/mmv.variables.less';
|
2020-04-18 04:13:01 +00:00
|
|
|
@import '../mmv/mmv.mixins.less';
|
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;
|
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;
|
2023-04-03 20:44:15 +00:00
|
|
|
border-left: 1px solid mix( #000, @color-progressive, 20% );
|
2016-05-25 18:32:40 +00:00
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
&:hover {
|
2023-04-03 20:44:15 +00:00
|
|
|
border-bottom: 1px solid mix( #000, @color-progressive, 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;
|
2023-04-03 20:44:15 +00:00
|
|
|
color: @color-subtle;
|
2014-09-16 20:33:05 +00:00
|
|
|
|
2023-04-04 06:18:59 +00:00
|
|
|
&::before {
|
2014-09-16 20:33:05 +00:00
|
|
|
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;
|
2019-05-23 14:27:43 +00:00
|
|
|
padding: @pane-padding;
|
2014-06-12 23:59:06 +00:00
|
|
|
background-color: @attribution-color;
|
2023-04-03 20:44:15 +00:00
|
|
|
color: @color-subtle;
|
2014-07-01 16:56:15 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: @attribution-color-highlighted;
|
2020-04-18 04:22:52 +00:00
|
|
|
color: @color-base;
|
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;
|
2019-05-23 14:27:43 +00:00
|
|
|
margin-top: 0;
|
2014-06-12 23:59:06 +00:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|