mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-23 02:16:23 +00:00
41 lines
893 B
SCSS
41 lines
893 B
SCSS
/// subheader.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
|
|
@import 'extends';
|
|
|
|
// Temporary patch until mdsubheaders are faster in Chrome
|
|
.md-subheader {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.md-subheader {
|
|
.md-subheader-inner {
|
|
padding: 0 0 0 $layout-gutter-width;
|
|
}
|
|
}
|
|
|
|
.sg-md-subheader {
|
|
&--fixed {
|
|
position: fixed;
|
|
z-index: auto;
|
|
padding: $baseline-grid $baseline-grid $baseline-grid $layout-gutter-width;
|
|
background-color: transparent;
|
|
}
|
|
&--static {
|
|
position: static;
|
|
z-index: auto;
|
|
padding: $baseline-grid $baseline-grid $baseline-grid $layout-gutter-width;
|
|
background-color: transparent;
|
|
font-size: $sg-font-size-2;
|
|
font-weight: $sg-font-medium;
|
|
}
|
|
}
|
|
|
|
md-list .md-subheader.sg-md-subheader {
|
|
font-weight: $sg-font-medium;
|
|
font-size: $sg-font-size-2;
|
|
}
|
|
|
|
.sg-md-subheader > * {
|
|
font-weight: inherit;
|
|
font-size: inherit;
|
|
}
|