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

73 lines
1.1 KiB
SCSS
Raw Normal View History

2013-09-05 15:37:07 -04:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
.d-header {
2013-12-09 16:27:49 -05:00
padding-left: 10px !important;
2013-09-10 23:56:55 -04:00
padding-right: 10px !important;
2013-09-05 15:37:07 -04:00
a.star {float: left;}
2013-09-05 15:37:07 -04:00
.panel {
2013-09-10 23:56:55 -04:00
margin-right: 20px;
2013-09-05 15:37:07 -04:00
}
.current-username {
display: none;
a {
line-height: 40px;
}
}
2013-09-05 15:37:07 -04:00
.icons {
.badge-notification {
color: $tertiary !important;
/* this !important is a terrible hack but the badge colors are
being overridden in a way I can't figure out on mobile, appears
to be a CSS precedence problem */
2013-09-05 15:37:07 -04:00
}
.active .icon {
&:after { margin-top: -1px; }
2013-09-05 15:37:07 -04:00
}
}
}
2013-09-05 15:37:07 -04:00
#main-outlet {
padding-top: 60px;
}
2013-09-05 15:37:07 -04:00
// 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: 12px;
line-height: 15px;
}
// Search
input[type='text'] {
width: 267px;
font-size: 16px;
}
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
}