2015-09-03 23:51:10 +08:00
|
|
|
/**
|
|
|
|
* Includes the main navigation header and the faded toolbar.
|
|
|
|
*/
|
|
|
|
|
2018-10-17 01:49:16 +08:00
|
|
|
header .grid {
|
|
|
|
grid-template-columns: auto min-content auto;
|
|
|
|
}
|
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
header {
|
2018-10-17 01:49:16 +08:00
|
|
|
position: relative;
|
2015-09-03 23:51:10 +08:00
|
|
|
display: block;
|
|
|
|
z-index: 2;
|
|
|
|
top: 0;
|
|
|
|
background-color: $primary-dark;
|
|
|
|
color: #fff;
|
2018-02-17 21:30:52 +08:00
|
|
|
fill: #fff;
|
2015-09-03 23:51:10 +08:00
|
|
|
border-bottom: 1px solid #DDD;
|
2018-10-22 03:05:11 +08:00
|
|
|
box-shadow: $bs-card;
|
|
|
|
padding: $-xxs 0;
|
2015-09-03 23:51:10 +08:00
|
|
|
.links {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
.links a {
|
|
|
|
display: inline-block;
|
2018-05-28 03:32:06 +08:00
|
|
|
padding: $-m;
|
2015-09-03 23:51:10 +08:00
|
|
|
color: #FFF;
|
2018-02-17 21:30:52 +08:00
|
|
|
fill: #FFF;
|
2018-05-28 03:32:06 +08:00
|
|
|
}
|
|
|
|
.dropdown-container {
|
|
|
|
padding-left: $-m;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
.avatar, .user-name {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
.user-name {
|
|
|
|
vertical-align: top;
|
2017-08-19 22:33:22 +08:00
|
|
|
padding-top: $-m;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
2015-09-03 23:51:10 +08:00
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2015-10-19 00:29:26 +08:00
|
|
|
> * {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2018-02-18 03:49:00 +08:00
|
|
|
> span {
|
2015-10-19 00:29:26 +08:00
|
|
|
padding-left: $-xs;
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: $-xxs;
|
|
|
|
}
|
2018-02-18 03:49:00 +08:00
|
|
|
> svg {
|
2016-03-31 04:28:38 +08:00
|
|
|
padding-top: 4px;
|
|
|
|
font-size: 18px;
|
2015-10-19 00:29:26 +08:00
|
|
|
}
|
2018-10-17 01:49:16 +08:00
|
|
|
@include between($l, $xl) {
|
2015-09-03 23:51:10 +08:00
|
|
|
padding-left: $-xs;
|
2015-10-19 00:29:26 +08:00
|
|
|
.name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
|
2018-10-17 01:49:16 +08:00
|
|
|
|
|
|
|
|
2017-08-19 22:33:22 +08:00
|
|
|
.header-search {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
header .search-box {
|
2015-09-03 23:51:10 +08:00
|
|
|
display: inline-block;
|
2017-08-27 22:16:51 +08:00
|
|
|
margin-top: 10px;
|
2015-09-03 23:51:10 +08:00
|
|
|
input {
|
2017-08-19 22:33:22 +08:00
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
2018-10-22 03:05:11 +08:00
|
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
|
border-radius: 40px;
|
2015-09-03 23:51:10 +08:00
|
|
|
color: #EEE;
|
2018-05-28 02:51:32 +08:00
|
|
|
z-index: 2;
|
2018-10-22 03:05:11 +08:00
|
|
|
padding-left: 40px;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
button {
|
2018-02-17 21:30:52 +08:00
|
|
|
fill: #EEE;
|
2018-05-28 02:51:32 +08:00
|
|
|
z-index: 1;
|
2018-10-22 03:05:11 +08:00
|
|
|
left: 16px;
|
2018-05-28 02:51:32 +08:00
|
|
|
svg {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2017-08-19 22:33:22 +08:00
|
|
|
}
|
|
|
|
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
|
|
|
|
color: #DDD;
|
|
|
|
}
|
|
|
|
::-moz-placeholder { /* Firefox 19+ */
|
|
|
|
color: #DDD;
|
|
|
|
}
|
|
|
|
:-ms-input-placeholder { /* IE 10+ */
|
|
|
|
color: #DDD;
|
|
|
|
}
|
|
|
|
:-moz-placeholder { /* Firefox 18- */
|
|
|
|
color: #DDD;
|
|
|
|
}
|
2018-10-17 01:49:16 +08:00
|
|
|
@include between($l, $xl) {
|
2017-08-19 22:33:22 +08:00
|
|
|
max-width: 200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
.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;
|
2017-08-19 22:33:22 +08:00
|
|
|
padding: 14px $-l 14px 0;
|
2015-09-03 23:51:10 +08:00
|
|
|
vertical-align: top;
|
|
|
|
line-height: 1;
|
2015-10-02 04:08:36 +08:00
|
|
|
}
|
|
|
|
.logo-image {
|
2017-08-19 22:33:22 +08:00
|
|
|
margin: $-xs $-s $-xs 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
|
|
|
}
|
|
|
|
|
2018-10-17 01:49:16 +08:00
|
|
|
.mobile-menu-toggle {
|
|
|
|
color: #FFF;
|
|
|
|
fill: #FFF;
|
|
|
|
font-size: 2em;
|
|
|
|
border: 2px solid rgba(255, 255, 255, 0.8);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0 $-xs;
|
|
|
|
position: absolute;
|
|
|
|
right: $-m;
|
|
|
|
top: 8px;
|
|
|
|
line-height: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
svg {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($l) {
|
|
|
|
header .header-links {
|
|
|
|
display: none;
|
|
|
|
background-color: #FFF;
|
|
|
|
z-index: 10;
|
|
|
|
right: $-m;
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
box-shadow: $bs-hover;
|
|
|
|
margin-top: -$-xs;
|
|
|
|
&.show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
header .links a, header .dropdown-container ul li a {
|
|
|
|
text-align: left;
|
|
|
|
display: block;
|
|
|
|
padding: $-s $-m;
|
|
|
|
color: $text-dark;
|
|
|
|
fill: $text-dark;
|
|
|
|
svg {
|
|
|
|
margin-right: $-s;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: #EEE;
|
|
|
|
color: #444;
|
|
|
|
fill: #444;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
header .dropdown-container {
|
|
|
|
display: block;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
header .links {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
header .dropdown-container ul {
|
|
|
|
display: block !important;
|
|
|
|
position: relative;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-22 03:05:11 +08:00
|
|
|
.breadcrumbs {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs .separator {
|
|
|
|
fill: #aaa;
|
|
|
|
font-size: 1.6em;
|
|
|
|
line-height: 0.8;
|
|
|
|
margin: 0 $-xs;
|
|
|
|
margin-top: -2px;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
2018-10-22 03:05:11 +08:00
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
.faded {
|
2016-01-21 06:13:13 +08:00
|
|
|
a, button, span, span > div {
|
2015-09-03 23:51:10 +08:00
|
|
|
color: #666;
|
2018-02-17 21:30:52 +08:00
|
|
|
fill: #666;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
.text-button {
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: all ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2018-02-17 21:30:52 +08:00
|
|
|
fill: #000;
|
2015-09-03 23:51:10 +08:00
|
|
|
font-size: 0.9em;
|
2016-02-12 06:23:19 +08:00
|
|
|
background-color: $primary-faded;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
|
2018-10-22 03:05:11 +08:00
|
|
|
.toolbar {
|
|
|
|
position: relative;
|
|
|
|
> .grid > div {
|
|
|
|
opacity: 0.8;
|
|
|
|
transition: opacity ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.text-button {
|
|
|
|
color: #666;
|
|
|
|
fill: #666;
|
|
|
|
}
|
2017-08-20 20:57:25 +08:00
|
|
|
}
|
|
|
|
|
2018-10-22 03:05:11 +08:00
|
|
|
.action-buttons .text-button {
|
2015-09-03 23:51:10 +08:00
|
|
|
display: inline-block;
|
2018-10-22 03:05:11 +08:00
|
|
|
padding: $-xs $-s;
|
2015-09-03 23:51:10 +08:00
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2017-07-03 03:33:32 +08:00
|
|
|
&:first-child {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-07-22 22:20:36 +08:00
|
|
|
|
|
|
|
|
2017-07-03 03:33:32 +08:00
|
|
|
.action-buttons .dropdown-container:last-child a {
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: $-s;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
2017-07-22 22:20:36 +08:00
|
|
|
@include smaller-than($m) {
|
2018-10-22 03:05:11 +08:00
|
|
|
.action-buttons .text-button {
|
2018-03-18 20:23:48 +08:00
|
|
|
padding: $-xs $-xs;
|
2017-07-22 22:20:36 +08:00
|
|
|
}
|
|
|
|
.action-buttons .dropdown-container:last-child a {
|
|
|
|
padding-left: $-xs;
|
|
|
|
}
|
2018-03-18 20:23:48 +08:00
|
|
|
.toolbar .col-xs-1:first-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2017-07-22 22:20:36 +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;
|
2018-02-17 21:30:52 +08:00
|
|
|
fill: #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;
|
|
|
|
}
|
|
|
|
}
|
2017-08-19 22:33:22 +08:00
|
|
|
}
|
|
|
|
.faded-small .nav-tabs a {
|
|
|
|
padding: $-s $-m;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|