mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
95111d2b73
With apologies to anyone who gets a hundred merge conflicts because of this :) We had several different prefix styles (mlb-, mw-mlb-, mw-mmv-, mw-mmv-mmv-, a few unprefixed), which was getting annoying, and will be confusing to wiki editors who are trying to figure out where a given style comes from. Such changes are better done before going live because it breaks all local CSS tweaks on the wiki, so I am renaming things now (also removing some stuff which wasnt used anywhere). Change-Id: I00447a25f0028e234169c6db941bedc99622eb8d
59 lines
942 B
Plaintext
59 lines
942 B
Plaintext
@import "mmv.mixins";
|
|
|
|
.mw-mmv-fileusage-container {
|
|
@border-color: #DDDDDD;
|
|
@info-color: #565656;
|
|
@dark-text: #333333;
|
|
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
|
|
&.empty {
|
|
display: none;
|
|
}
|
|
|
|
h3 {
|
|
margin-left: 20px;
|
|
margin-top: 20px;
|
|
color: @info-color;
|
|
font-weight: normal;
|
|
font-size: 1em;
|
|
}
|
|
|
|
ul {
|
|
margin: 0 20px;
|
|
.box-round(3px);
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
overflow: hidden;
|
|
padding: 3px 5px 3px 0;
|
|
margin: 0;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
&.mw-mmv-fileusage-local-section, &.mw-mmv-fileusage-global-section, &.mw-mmv-fileusage-view-all {
|
|
color: @dark-text;
|
|
border-bottom: 1px solid @border-color;
|
|
margin: 3px 0;
|
|
}
|
|
aside {
|
|
display: inline-block;
|
|
float: right;
|
|
max-width: 25%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 0.9em;
|
|
color: @info-color;
|
|
}
|
|
.mw-mmv-fileusage-view-all {
|
|
float: right;
|
|
}
|
|
}
|
|
}
|