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

60 lines
931 B
SCSS
Raw Normal View History

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