2015-09-03 23:51:10 +08:00
|
|
|
/**
|
|
|
|
* Includes the main navigation header and the faded toolbar.
|
|
|
|
*/
|
|
|
|
|
|
|
|
header {
|
|
|
|
display: block;
|
|
|
|
z-index: 2;
|
|
|
|
top: 0;
|
|
|
|
background-color: $primary-dark;
|
|
|
|
color: #fff;
|
|
|
|
.padded {
|
|
|
|
padding: $-m;
|
|
|
|
}
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
//margin-bottom: $-l;
|
|
|
|
.links {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-right: $-xl;
|
2015-10-19 00:29:26 +08:00
|
|
|
@include smaller-than($screen-md) {
|
|
|
|
margin-right: $-m;
|
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
.links a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: $-l;
|
|
|
|
color: #FFF;
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-10-19 00:29:26 +08:00
|
|
|
@include smaller-than($screen-md) {
|
|
|
|
padding: $-l $-s;
|
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
.avatar, .user-name {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.avatar {
|
2015-10-19 00:29:26 +08:00
|
|
|
//margin-top: (45px/2);
|
2015-09-03 23:51:10 +08:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
.user-name {
|
|
|
|
vertical-align: top;
|
2015-10-19 00:29:26 +08:00
|
|
|
padding-top: $-l;
|
2015-09-03 23:51:10 +08:00
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2015-10-19 00:29:26 +08:00
|
|
|
> * {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
> span, > i {
|
|
|
|
padding-left: $-xs;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
> span {
|
|
|
|
padding-top: $-xxs;
|
|
|
|
}
|
|
|
|
> i {
|
2016-03-31 04:28:38 +08:00
|
|
|
padding-top: 4px;
|
|
|
|
font-size: 18px;
|
2015-10-19 00:29:26 +08:00
|
|
|
}
|
|
|
|
@include smaller-than($screen-md) {
|
2015-09-03 23:51:10 +08:00
|
|
|
padding-left: $-xs;
|
2015-10-19 00:29:26 +08:00
|
|
|
.name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include smaller-than($screen-md) {
|
|
|
|
text-align: center;
|
|
|
|
.float.right {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include smaller-than($screen-sm) {
|
|
|
|
.links a {
|
|
|
|
padding: $-s;
|
|
|
|
}
|
|
|
|
form.search-box {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.user-name {
|
|
|
|
padding-top: $-s;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
}
|
2016-03-06 02:09:21 +08:00
|
|
|
.dropdown-container {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
form.search-box {
|
|
|
|
margin-top: $-l *0.9;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
text-align: left;
|
|
|
|
input {
|
|
|
|
background-color: transparent;
|
2015-10-02 04:08:36 +08:00
|
|
|
border-radius: 24px;
|
|
|
|
border: 2px solid #EEE;
|
2015-09-03 23:51:10 +08:00
|
|
|
color: #EEE;
|
2015-10-02 04:08:36 +08:00
|
|
|
padding-left: $-m;
|
2015-09-03 23:51:10 +08:00
|
|
|
padding-right: $-l;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
vertical-align: top;
|
|
|
|
margin-left: -$-l;
|
|
|
|
color: #FFF;
|
2015-10-02 04:08:36 +08:00
|
|
|
top: 6px;
|
|
|
|
right: 4px;
|
2015-09-03 23:51:10 +08:00
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
&:hover {
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
2015-10-02 04:08:36 +08:00
|
|
|
display: inline-block;
|
|
|
|
&:hover {
|
|
|
|
color: #FFF;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.logo-text {
|
2015-09-03 23:51:10 +08:00
|
|
|
display: inline-block;
|
|
|
|
font-size: 1.8em;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: 400;
|
|
|
|
padding: $-l $-l $-l 0;
|
|
|
|
vertical-align: top;
|
|
|
|
line-height: 1;
|
2015-10-02 04:08:36 +08:00
|
|
|
}
|
|
|
|
.logo-image {
|
2015-10-08 06:17:48 +08:00
|
|
|
margin: $-m $-s $-m 0;
|
2015-10-02 04:08:36 +08:00
|
|
|
vertical-align: top;
|
2015-10-08 06:17:48 +08:00
|
|
|
height: 43px;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs span.sep {
|
|
|
|
color: #aaa;
|
|
|
|
padding: 0 $-xs;
|
|
|
|
}
|
|
|
|
|
|
|
|
.faded {
|
2016-01-21 06:13:13 +08:00
|
|
|
a, button, span, span > div {
|
2015-09-03 23:51:10 +08:00
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
.text-button {
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: all ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2016-07-10 19:12:52 +08:00
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
|
2016-03-13 00:31:02 +08:00
|
|
|
.faded span.faded-text {
|
2016-03-12 23:52:19 +08:00
|
|
|
display: inline-block;
|
|
|
|
padding: $-s;
|
|
|
|
}
|
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
.faded-small {
|
|
|
|
color: #000;
|
|
|
|
font-size: 0.9em;
|
2016-02-12 06:23:19 +08:00
|
|
|
background-color: $primary-faded;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs .text-button, .action-buttons .text-button {
|
|
|
|
display: inline-block;
|
|
|
|
padding: $-s;
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.action-buttons {
|
|
|
|
text-align: right;
|
|
|
|
&.text-left {
|
|
|
|
text-align: left;
|
|
|
|
.text-button {
|
|
|
|
padding-right: $-m;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-03-13 00:31:02 +08:00
|
|
|
&.text-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
|
2016-04-03 21:59:54 +08:00
|
|
|
.nav-tabs {
|
2015-09-03 23:51:10 +08:00
|
|
|
text-align: center;
|
2016-04-03 21:59:54 +08:00
|
|
|
a, .tab-item {
|
2015-09-03 23:51:10 +08:00
|
|
|
padding: $-m;
|
|
|
|
display: inline-block;
|
|
|
|
color: #666;
|
2016-04-03 21:59:54 +08:00
|
|
|
cursor: pointer;
|
2015-09-03 23:51:10 +08:00
|
|
|
&.selected {
|
|
|
|
border-bottom: 2px solid $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|