mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
a3d0a654f7
changes include: * Aligning license and usage boxes with content above. * Limit the maximum size for the licensing box when open. * Adjust font sizes and colours to adjust the alance in the prominence of each part. Change-Id: I0e4465baaf7a9f7830b95a8d731256d6b4974e17
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
@import "mmv.mixins";
|
|
|
|
.mw-mlb-fileusage-container {
|
|
@box-color: #FFFFFF;
|
|
@heading-color: #F8F8F8;
|
|
@inner-border-color: #EEEEEE;
|
|
@outer-border-color: #DDDDDD;
|
|
@box-shadow-color: #C9C9C9;
|
|
@info-color: #565656;
|
|
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
|
|
&.empty {
|
|
display: none;
|
|
}
|
|
|
|
h3 {
|
|
margin-left: 20px;
|
|
color: @info-color;
|
|
font-weight: normal;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
ul {
|
|
margin: 0 20px;
|
|
border: 1px solid @outer-border-color;
|
|
border-bottom: 2px solid @box-shadow-color;
|
|
.box-round(3px);
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
overflow: hidden;
|
|
border-bottom: 1px solid @inner-border-color;
|
|
padding: 3px 5px 3px 15px;
|
|
margin: 0;
|
|
font-size: 0.8em;
|
|
background-color: @box-color;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
&.mw-mlb-fileusage-local-section, &.mw-mlb-fileusage-global-section, &.mw-mlb-fileusage-view-all {
|
|
color: @info-color;
|
|
background-color: @heading-color;
|
|
}
|
|
aside {
|
|
display: inline-block;
|
|
float: right;
|
|
max-width: 25%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 0.9em;
|
|
color: @info-color;
|
|
}
|
|
.mw-mlb-fileusage-view-all {
|
|
float: right;
|
|
}
|
|
}
|
|
}
|