mediawiki-skins-Citizen/skinStyles/extensions/MultimediaViewer/mmv.less

101 lines
2.2 KiB
Plaintext
Raw Normal View History

2019-12-29 18:45:17 +00:00
/*
* Citizen - MultimediaViewer Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
@import '../../../resources/mixins.less';
2021-03-01 17:19:09 +00:00
.mw-mmv-post-image {
2021-03-01 17:58:24 +00:00
background-color: var( --background-color-dp-04 );
2021-03-01 17:19:09 +00:00
color: var( --color-base--emphasized );
}
2019-12-29 18:45:17 +00:00
.mw-mmv-image-metadata {
2021-03-01 17:19:09 +00:00
border-color: var( --border-color-base );
2021-03-01 17:58:24 +00:00
background-color: var( --background-color-framed );
2021-03-01 17:19:09 +00:00
color: var( --color-base );
2019-12-29 18:45:17 +00:00
}
2021-03-01 17:19:09 +00:00
.mw-mmv-credit,
.mw-mmv-image-links li {
color: var( --color-base--subtle );
}
.mw-mmv-stripe-button.mw-mmv-description-page-button {
margin: 11px var( --padding-page );
2019-12-29 18:45:17 +00:00
font-size: @ui-menu-text;
}
2021-03-01 17:19:09 +00:00
.mw-mmv-title-para .mw-mmv-ttf-ellipsis {
2021-03-01 17:58:24 +00:00
background-color: var( --background-color-dp-04 );
2021-03-01 17:19:09 +00:00
box-shadow: none;
}
.mw-mmv-ttf-container .mw-mmv-ttf-ellipsis:before {
background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ) 0%, var( --background-color-dp01 ) 100% ) !important;
}
.mw-mmv-dialog {
background-color: var( --background-color-dp-08 );
.mw-mmv-dialog-down-arrow {
background-color: var( --background-color-dp-08 );
}
}
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs {
border-color: var( --border-color-base );
}
.mw-mmv-options-dialog-header {
color: var( --color-base--emphasized );
}
.mw-mmv-options-text-header {
color: var( --color-base );
}
.mw-mmv-options-text-body {
color: var( --color-base--subtle );
}
.mw-mmv-download-dialog .mw-mmv-dialog-down-arrow {
background-color: var( --background-color-framed );
}
.mw-mmv-download-pane {
.mw-mmv-download-area .mw-mmv-download-preview-link {
color: var( --color-base--subtle );
}
.mw-mmv-download-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 );
}
}
}
@media only screen and ( max-width: @width-breakpoint-tablet ) {
2019-12-29 18:45:17 +00:00
.mw-mmv-image-metadata-links-column {
width: auto; // Fix mobile bouncing
float: none;
}
.mw-mmv-untruncated {
.mw-mmv-image-metadata-desc-column,
.mw-mmv-image-metadata-links-column {
width: auto;
max-width: none;
}
}
}