discourse/app/assets/stylesheets/mobile/header.scss

60 lines
931 B
SCSS
Raw Normal View History

2013-09-05 15:37:07 -04:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
2018-01-12 18:30:14 -05:00
#site-text-logo {
2018-01-17 16:26:14 -05:00
font-size: $font-up-3;
2018-01-12 18:30:14 -05:00
}
2018-07-12 16:38:51 -04:00
@include breakpoint(mobile-small) {
2016-03-18 00:12:55 -04:00
#site-text-logo {
2018-01-12 17:27:38 -05:00
font-size: $font-up-2;
2016-03-18 00:12:55 -04:00
}
}
2013-09-05 15:37:07 -04:00
.d-header {
#site-logo {
max-width: 8.8em;
}
// some protection for text-only site titles
.title {
2016-03-18 00:12:55 -04:00
max-width: 50%;
height: 39px;
overflow: hidden;
padding: 0;
text-overflow: clip;
display: table;
a {
display: table-cell;
vertical-align: middle;
}
2013-09-05 15:37:07 -04:00
}
2017-09-06 11:29:43 -04:00
button.sign-up-button {
display: none;
2017-09-06 11:29:43 -04:00
}
}
2017-09-06 11:29:43 -04:00
.d-header-icons {
2018-01-12 17:27:38 -05:00
.d-icon {
line-height: $line-height-medium;
}
2017-09-06 11:29:43 -04:00
.active .icon {
&:after {
margin-top: -1px;
}
2013-09-05 15:37:07 -04:00
}
}
2013-09-05 15:37:07 -04:00
#main-outlet {
2018-07-27 16:49:28 -04:00
padding-top: 4.2857em;
2013-09-05 15:37:07 -04:00
}
.search-link .badge-category {
display: none;
}
.search-link .topic-statuses .topic-status i {
2018-01-12 17:27:38 -05:00
font-size: $font-0;
}