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