mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-25 08:35:29 +00:00
47a8bda392
Also do a bunch of refactoring to: * keep LESS rules in more sane locations so it is not as hard to get an overview (most of the metadata panel rules were in mmv.less) * move mmv.mixins.less up one directory as it is not specific to the UI * move the SVG icons as all of them were related to the UI * remove the marging-right hack which was used to keep the title text from overflowing the button; instead use a float and overflow properties to make sure text that is too long gets hidden Change-Id: Icc8ea2e766be67d86ae98c734721b2185bd6c36e
59 lines
945 B
Plaintext
59 lines
945 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;
|
|
}
|
|
}
|
|
}
|