2019-12-29 18:45:17 +00:00
|
|
|
/*
|
|
|
|
* Citizen - MultimediaViewer Styles
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
2021-03-01 20:42:19 +00:00
|
|
|
.skin-citizen {
|
2021-03-08 17:12:27 +00:00
|
|
|
.mw-mmv {
|
2021-03-08 18:32:30 +00:00
|
|
|
&-progress {
|
|
|
|
top: 0;
|
|
|
|
height: 2px;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&-percent {
|
|
|
|
height: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-post-image {
|
2021-03-08 18:32:30 +00:00
|
|
|
overflow: hidden;
|
2021-05-27 14:35:21 +00:00
|
|
|
border-radius: var( --border-radius--large ) var( --border-radius--large ) 0 0;
|
2022-09-28 21:02:56 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2021-03-08 17:12:27 +00:00
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-image-metadata {
|
|
|
|
border-color: var( --border-color-base );
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2021-03-08 17:12:27 +00:00
|
|
|
color: var( --color-base );
|
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-info-box {
|
|
|
|
border-color: var( --border-color-base );
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-3 );
|
2021-03-08 17:12:27 +00:00
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&--label {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-3 );
|
2021-03-01 20:42:19 +00:00
|
|
|
color: var( --color-base );
|
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-credit,
|
|
|
|
&-image-links li {
|
|
|
|
color: var( --color-base--subtle );
|
2021-03-01 20:42:19 +00:00
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-stripe-button.mw-mmv-description-page-button {
|
|
|
|
margin: 11px var( --padding-page );
|
|
|
|
font-size: @ui-menu-text;
|
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-permission-box {
|
|
|
|
h3 {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
.mw-mmv-permission-text {
|
|
|
|
.mw-mmv-permission-text-fader {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-image: linear-gradient( to bottom, rgba( 255, 255, 255, 0 ) 0%, var( --color-surface-1 ) 100% );
|
2021-03-08 17:12:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-title-para .mw-mmv-ttf-ellipsis {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2021-03-08 17:12:27 +00:00
|
|
|
box-shadow: none;
|
2021-03-01 20:42:19 +00:00
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-ttf-container .mw-mmv-ttf-ellipsis:before {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ) 0%, var( --color-surface-1 ) 100% );
|
2021-03-08 17:12:27 +00:00
|
|
|
}
|
2021-03-01 20:42:19 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-dialog {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2022-04-24 19:24:09 +00:00
|
|
|
box-shadow: var( --box-shadow-dialog );
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
.mw-mmv-dialog-down-arrow {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2021-03-08 17:12:27 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-01 20:42:19 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-reuse-dialog .mw-mmv-reuse-tabs {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-options-dialog-header {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
&-options-text-header {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-options-text-body {
|
2021-03-01 20:42:19 +00:00
|
|
|
color: var( --color-base--subtle );
|
2021-03-01 17:19:09 +00:00
|
|
|
}
|
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-download-dialog .mw-mmv-dialog-down-arrow {
|
2021-03-01 20:42:19 +00:00
|
|
|
background-color: var( --background-color-framed );
|
2021-03-08 17:12:27 +00:00
|
|
|
}
|
2021-03-01 20:42:19 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-download-pane {
|
|
|
|
.mw-mmv-download {
|
|
|
|
&-area .mw-mmv-download-preview-link {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
&-attribution {
|
|
|
|
background-color: var( --background-color-framed );
|
|
|
|
color: var( --color-base );
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --background-color-framed--hover );
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
&-attribution-cta-invite {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
|
|
|
}
|
2021-03-01 20:42:19 +00:00
|
|
|
}
|
2021-03-08 17:12:27 +00:00
|
|
|
}
|
2021-03-01 20:42:19 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-download-button,
|
|
|
|
&-reuse-button,
|
|
|
|
&-options-button,
|
|
|
|
&-close,
|
|
|
|
&-fullscreen,
|
|
|
|
&-next-image,
|
|
|
|
&-prev-image {
|
|
|
|
background-position: center;
|
|
|
|
background-size: 20px; // smaller icon
|
|
|
|
}
|
|
|
|
|
|
|
|
/* So that tapping the border won't open the file */
|
|
|
|
&-next-image {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-prev-image {
|
|
|
|
left: 0;
|
2021-03-01 17:19:09 +00:00
|
|
|
}
|
2021-03-08 17:59:18 +00:00
|
|
|
|
|
|
|
/* Increase click area */
|
|
|
|
&-next-image,
|
|
|
|
&-prev-image {
|
|
|
|
z-index: 1002; // avoid covering other buttons
|
|
|
|
top: 20vh !important; // override inline style
|
2021-03-08 18:00:33 +00:00
|
|
|
height: 50vh;
|
2021-03-08 17:59:18 +00:00
|
|
|
}
|
2021-03-01 17:19:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and ( max-width: @width-breakpoint-tablet ) {
|
2021-03-01 20:42:19 +00:00
|
|
|
.skin-citizen {
|
2021-03-08 17:12:27 +00:00
|
|
|
.mw-mmv {
|
2021-03-08 18:32:30 +00:00
|
|
|
&-image {
|
|
|
|
/* So that the image is not clickable on mobile */
|
|
|
|
img {
|
|
|
|
cursor: auto;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-metadata-links-column {
|
|
|
|
width: auto; // Fix mobile bouncing
|
|
|
|
float: none;
|
|
|
|
}
|
2021-03-08 17:12:27 +00:00
|
|
|
}
|
2021-03-01 20:42:19 +00:00
|
|
|
|
2021-03-08 17:12:27 +00:00
|
|
|
&-untruncated {
|
|
|
|
.mw-mmv-image-metadata-desc-column,
|
|
|
|
.mw-mmv-image-metadata-links-column {
|
|
|
|
width: auto;
|
|
|
|
max-width: none;
|
|
|
|
}
|
2021-03-01 20:42:19 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|