2014-05-26 23:33:47 +08:00
|
|
|
.d-header {
|
2014-09-10 02:42:44 +08:00
|
|
|
width: 100%;
|
2014-05-26 23:33:47 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1001;
|
|
|
|
background-color: $header_background;
|
2014-10-11 06:31:54 +08:00
|
|
|
box-shadow: 0 2px 4px -1px rgba(0,0,0, .25);
|
2014-05-26 23:33:47 +08:00
|
|
|
|
|
|
|
.docked & {
|
|
|
|
position: fixed;
|
2015-01-27 09:47:43 +08:00
|
|
|
backface-visibility: hidden; /** do magic for scrolling performance **/
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.contents {
|
2014-10-07 23:41:04 +08:00
|
|
|
margin: 8px 0;
|
2015-08-05 06:56:05 +08:00
|
|
|
}
|
2014-05-26 23:33:47 +08:00
|
|
|
|
2015-08-05 06:56:05 +08:00
|
|
|
.title {
|
|
|
|
float: left;
|
2015-02-19 15:55:04 +08:00
|
|
|
}
|
|
|
|
|
2014-05-26 23:33:47 +08:00
|
|
|
#site-logo {
|
|
|
|
max-height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-home {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.643em;
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel {
|
2015-09-02 10:20:35 +08:00
|
|
|
float: right;
|
2014-05-26 23:33:47 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2015-07-06 20:42:37 +08:00
|
|
|
.login-button, button.sign-up-button {
|
2014-05-26 23:33:47 +08:00
|
|
|
float: left;
|
|
|
|
margin-top: 7px;
|
|
|
|
padding: 6px 10px;
|
|
|
|
.fa { margin-right: 3px; }
|
|
|
|
}
|
2014-08-13 01:47:01 +08:00
|
|
|
|
2014-08-13 01:51:00 +08:00
|
|
|
button.login-button {
|
2014-08-13 01:47:01 +08:00
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
|
2014-05-26 23:33:47 +08:00
|
|
|
.icons {
|
|
|
|
float: left;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 0 0 5px;
|
|
|
|
list-style: none;
|
2014-10-20 21:54:36 +08:00
|
|
|
|
2014-05-26 23:33:47 +08:00
|
|
|
> li {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.icon {
|
|
|
|
display: block;
|
|
|
|
padding: 3px;
|
2015-08-19 06:11:49 +08:00
|
|
|
color: dark-light-choose(scale-color($header_primary, $lightness: 50%), $header_primary);
|
2014-05-26 23:33:47 +08:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-left: 1px solid transparent;
|
|
|
|
border-right: 1px solid transparent;
|
2014-12-23 19:09:17 +08:00
|
|
|
transition: all linear .15s;
|
2014-05-26 23:33:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
2015-06-15 10:59:49 +08:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-05-26 23:33:47 +08:00
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-left: 1px solid transparent;
|
|
|
|
border-right: 1px solid transparent;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
color: $primary;
|
2015-06-15 10:59:49 +08:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
|
|
|
}
|
2015-09-01 03:30:51 +08:00
|
|
|
.drop-down-visible & {
|
|
|
|
.active .icon {
|
|
|
|
position: relative;
|
|
|
|
color: #7b7b7b;
|
|
|
|
background-color: $secondary;
|
|
|
|
cursor: default;
|
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
border-left: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
border-right: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
&:after {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1101;
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
content: "";
|
|
|
|
border-top: 1px solid $secondary;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
[class^="fa fa-"] {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.714em;
|
2014-05-26 23:33:47 +08:00
|
|
|
line-height: 32px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.notifications {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.badge-notification {
|
|
|
|
position: absolute;
|
|
|
|
top: -9px;
|
|
|
|
z-index: 1;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.unread-notifications {
|
|
|
|
right: -4px;
|
2014-07-26 11:06:14 +08:00
|
|
|
background-color: scale-color($tertiary, $lightness: 50%);
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
|
|
|
.unread-private-messages {
|
2015-08-29 02:32:53 +08:00
|
|
|
left: 82px;
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
2015-09-01 04:49:46 +08:00
|
|
|
.flagged-posts {
|
|
|
|
left: 40px;
|
|
|
|
}
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
|
|
|
.flagged-posts {
|
2014-07-26 11:06:14 +08:00
|
|
|
background: $danger;
|
2014-05-26 23:33:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-09-04 13:01:01 +08:00
|
|
|
|
|
|
|
.highlight-strong {
|
2015-08-22 03:44:26 +08:00
|
|
|
background-color: dark-light-diff($highlight, $secondary, 40%, -45%);
|
2014-09-04 13:01:01 +08:00
|
|
|
}
|
2014-09-04 16:00:01 +08:00
|
|
|
|
|
|
|
.search-highlight {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-10-18 15:00:38 +08:00
|
|
|
|
2014-10-18 15:12:48 +08:00
|
|
|
#search-help table td {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
2014-11-10 18:31:15 +08:00
|
|
|
|
|
|
|
// we don't need this X to clear field
|
|
|
|
#search-term::-ms-clear {
|
|
|
|
display: none;
|
|
|
|
}
|