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

58 lines
883 B
SCSS
Raw Normal View History

2013-09-06 03:37:07 +08:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
2016-03-18 12:12:55 +08:00
@media only screen and (max-width: 320px) {
#site-text-logo {
font-size: 18px;
}
}
2013-09-06 03:37:07 +08:00
.d-header {
#site-logo {
2015-10-20 14:02:32 +08:00
max-width: 130px;
}
// 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
.d-header-icons {
.badge-notification {
top: -5px;
color: $secondary;
}
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 {
padding-top: 60px;
}
.search-link .badge-category {
display: none;
}
.search-link .topic-statuses .topic-status i {
font-size: 1em;
}