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

74 lines
1.1 KiB
SCSS
Raw Normal View History

2013-09-06 03:37:07 +08:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
.d-header {
left: 0;
z-index: 1000;
padding-top: 3px;
height: 60px;
2013-12-10 05:27:49 +08:00
.fa-home {
2015-01-10 07:18:42 +08:00
padding:8px;
font-size: 2.1em;
2013-09-06 03:37:07 +08:00
}
}
@media all
and (max-width : 570px) {
.extra-info-wrapper {display: none;}
}
2013-09-06 03:37:07 +08:00
#main {
position: relative;
}
#main-outlet {
2014-03-13 11:17:18 +08:00
padding-top: 82px;
2013-09-06 03:37:07 +08:00
}
// Dropdowns
// --------------------------------------------------
.d-dropdown {
width: 320px;
overflow: auto;
2013-09-06 03:37:07 +08:00
// Common
.heading {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
2013-09-06 03:37:07 +08:00
}
// Categories
2014-02-12 09:56:49 +08:00
.btn {
padding: 2px 8px;
margin-bottom: 2px;
.fa {
margin-right: 5px;
}
}
2013-09-06 03:37:07 +08:00
}
.search-link .blurb {
color: scale-color($primary, $lightness: 45%);
display: block;
2014-09-19 10:55:15 +08:00
word-wrap: break-word;
font-size: 11px;
.search-highlight {
color: scale-color($primary, $lightness: 25%);
}
}
.d-dropdown#search-dropdown {
width: 540px;
}
2014-09-01 15:17:50 +08:00
.d-dropdown .searching {
right: 30px;
}
2014-10-18 11:27:33 +08:00
#search-dropdown .results {
max-height: 500px;
2014-10-18 11:27:33 +08:00
}