mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:53:23 +08:00
78 lines
1.1 KiB
SCSS
78 lines
1.1 KiB
SCSS
// --------------------------------------------------
|
|
// Discourse header
|
|
// --------------------------------------------------
|
|
|
|
.d-header {
|
|
left: 0;
|
|
z-index: 1000;
|
|
padding-top: 3px;
|
|
height: 60px;
|
|
.fa-home {
|
|
padding-right: 3px;
|
|
padding-top: 3px;
|
|
}
|
|
.current-username {
|
|
a {
|
|
display:block;
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media all
|
|
and (max-width : 570px) {
|
|
.d-header {
|
|
.current-username {
|
|
a {
|
|
display:none;
|
|
}
|
|
}
|
|
}
|
|
.extra-info-wrapper {display: none;}
|
|
}
|
|
|
|
#main {
|
|
position: relative;
|
|
}
|
|
|
|
#main-outlet {
|
|
padding-top: 82px;
|
|
}
|
|
|
|
// Dropdowns
|
|
// --------------------------------------------------
|
|
|
|
.d-dropdown {
|
|
width: 320px;
|
|
overflow: auto;
|
|
// Common
|
|
|
|
.heading {
|
|
border-top: 1px solid scale-color-diff();
|
|
}
|
|
|
|
// Categories
|
|
|
|
.category {
|
|
line-height: 20px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 2px 8px;
|
|
margin-bottom: 2px;
|
|
.fa {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.search-link .blurb {
|
|
color: scale-color($primary, $lightness: 45%);
|
|
display: block;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.d-dropdown#search-dropdown {
|
|
width: 540px;
|
|
}
|