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

92 lines
1.3 KiB
SCSS
Raw Normal View History

2013-09-05 15:37:07 -04:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
.d-header {
#site-logo {
max-width: 135px;
}
// some protection for text-only site titles
.title {
max-width: 140px;
height: 39px;
overflow: hidden;
padding: 0;
text-overflow: clip;
2013-09-05 15:37:07 -04:00
}
2013-09-05 15:37:07 -04:00
.icons {
.badge-notification {
top: -5px;
2014-07-25 23:06:14 -04:00
color: $secondary;
2013-09-05 15:37:07 -04:00
}
.active .icon {
&:after { margin-top: -1px; }
2014-08-14 06:25:48 -04:00
}
}
button.sign-up-button {
display:none;
2013-09-05 15:37:07 -04:00
}
}
2013-09-05 15:37:07 -04:00
#main-outlet {
padding-top: 60px;
}
// Dropdowns
// --------------------------------------------------
.d-dropdown {
width: 290px;
margin-top: -1px;
// Common
.heading {
color: $primary;
2013-09-05 15:37:07 -04:00
font-weight: bold;
font-size: 0.857em;
2013-09-05 15:37:07 -04:00
line-height: 15px;
}
// Search
2014-11-05 20:13:51 -05:00
.searching {
position: absolute;
top: 0;
right: 25px;
}
2013-09-05 15:37:07 -04:00
input[type='text'] {
width: 265px;
font-size: 1.143em;
2013-09-05 15:37:07 -04:00
}
2014-02-11 20:56:49 -05:00
&#user-dropdown {
width: 155px;
2014-02-11 20:56:49 -05:00
}
.btn {
padding: 2px 8px;
.fa {
margin-right: 5px;
}
}
2013-09-05 15:37:07 -04:00
}
.search-link .badge-category {
display: none;
}
.search-link .topic-statuses .topic-status i {
font-size: 1em;
}
2014-10-17 23:27:33 -04:00
2014-10-31 15:12:25 -04:00
.d-dropdown#search-dropdown .heading {
padding: 0;
2014-11-05 20:13:51 -05:00
}