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

78 lines
1.0 KiB
SCSS
Raw Normal View History

2013-09-06 03:37:07 +08:00
// --------------------------------------------------
// Discourse header
// --------------------------------------------------
.d-header {
2013-12-10 05:27:49 +08:00
padding-left: 10px !important;
2013-09-11 11:56:55 +08:00
padding-right: 10px !important;
2013-09-06 03:37:07 +08:00
#site-logo {
max-width: 122px;
}
2013-09-06 03:37:07 +08:00
a.star {float: left;}
2013-09-06 03:37:07 +08:00
.panel {
2013-09-11 11:56:55 +08:00
margin-right: 20px;
2013-09-06 03:37:07 +08:00
}
.current-username {
display: none;
a {
line-height: 40px;
}
}
2013-09-06 03:37:07 +08:00
.icons {
.badge-notification {
color: $secondary;
2013-09-06 03:37:07 +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;
}
.unread-private-messages {
background-color: $success;
}
2013-09-06 03:37:07 +08:00
// Dropdowns
// --------------------------------------------------
.d-dropdown {
width: 290px;
margin-top: -1px;
// Common
.heading {
color: $primary;
2013-09-06 03:37:07 +08:00
font-weight: bold;
font-size: 12px;
line-height: 15px;
}
// Search
input[type='text'] {
width: 267px;
font-size: 16px;
}
2014-02-12 09:56:49 +08:00
&#user-dropdown {
width: 155px;
2014-02-12 09:56:49 +08:00
}
.btn {
padding: 2px 8px;
.fa {
margin-right: 5px;
}
}
2013-09-06 03:37:07 +08:00
}