2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
2018-01-25 22:25:30 +00:00
|
|
|
// style that applies only to minerva footer
|
|
|
|
.minerva-footer {
|
2017-07-12 15:12:40 +00:00
|
|
|
border-top: solid 1px @footerBorderColor;
|
|
|
|
overflow: auto;
|
|
|
|
padding-bottom: 6px;
|
2018-01-25 22:25:30 +00:00
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
|
2018-01-25 22:25:30 +00:00
|
|
|
// styles that apply to nested footer components
|
|
|
|
footer {
|
2017-10-09 16:28:04 +00:00
|
|
|
// links should be separated by same color
|
|
|
|
.hlist {
|
|
|
|
li:after {
|
|
|
|
color: @linkColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
.last-modified-bar {
|
|
|
|
border-bottom: solid 1px @footerBorderColor;
|
|
|
|
background-color: @lastModifiedBarBgColor;
|
|
|
|
display: block;
|
|
|
|
color: @lastModifiedBarTextColor;
|
|
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
2019-09-11 12:19:47 +00:00
|
|
|
padding: 0 @contentPadding;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
2019-09-12 23:42:24 +00:00
|
|
|
// for compatibility with cached HTML. Can be returned 2 weeks after
|
|
|
|
// I53fa45058dbc81c91089840073e03113ff1a4b9c lands.
|
2017-07-12 15:12:40 +00:00
|
|
|
.last-modifier-tagline {
|
2019-09-12 23:42:24 +00:00
|
|
|
height: 40px;
|
|
|
|
line-height: 40px;
|
|
|
|
font-size: @font-size-minerva-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.last-modified-bar__text {
|
2019-08-30 17:23:55 +00:00
|
|
|
@end-padding: @iconGutterWidth + @iconGutterWidth + @iconSize;
|
2017-07-12 15:12:40 +00:00
|
|
|
display: block;
|
2019-09-12 23:42:24 +00:00
|
|
|
height: auto;
|
|
|
|
padding-right: 40px;
|
2019-08-30 17:23:55 +00:00
|
|
|
.truncated-text();
|
|
|
|
|
2019-09-12 23:42:24 +00:00
|
|
|
&:before {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2019-08-30 17:23:55 +00:00
|
|
|
> a,
|
|
|
|
> span > span,
|
|
|
|
> span:last-child {
|
|
|
|
font-size: @font-size-minerva-small;
|
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.indicator {
|
|
|
|
position: absolute;
|
2019-09-11 12:19:47 +00:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
.client-nojs & {
|
|
|
|
// Certain browsers e.g. Opera Mini do not support css transforms
|
|
|
|
// We assume that we do not run JS on these browsers so hide the chevron
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .post-content {
|
|
|
|
overflow: auto;
|
|
|
|
margin-top: 42px;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
margin-bottom: 9px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> h2 {
|
|
|
|
border-bottom: solid 1px @footerBorderColor;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
margin-top: 42px;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hlist,
|
|
|
|
.license {
|
|
|
|
font-size: 0.875em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-05 19:17:54 +00:00
|
|
|
@media ( min-width: @width-breakpoint-tablet ) {
|
2017-07-12 15:12:40 +00:00
|
|
|
footer {
|
|
|
|
.last-modified-bar {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|