2015-09-03 17:51:10 +02:00
|
|
|
/**
|
|
|
|
* Includes the main navigation header and the faded toolbar.
|
|
|
|
*/
|
|
|
|
|
|
|
|
header {
|
|
|
|
display: block;
|
|
|
|
z-index: 2;
|
|
|
|
top: 0;
|
|
|
|
background-color: $primary-dark;
|
|
|
|
color: #fff;
|
2018-02-17 14:30:52 +01:00
|
|
|
fill: #fff;
|
2015-09-03 17:51:10 +02:00
|
|
|
.padded {
|
|
|
|
padding: $-m;
|
|
|
|
}
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
.links {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2018-05-27 21:32:06 +02:00
|
|
|
margin-left: $-m;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
.links a {
|
|
|
|
display: inline-block;
|
2018-05-27 21:32:06 +02:00
|
|
|
padding: $-m;
|
2015-09-03 17:51:10 +02:00
|
|
|
color: #FFF;
|
2018-02-17 14:30:52 +01:00
|
|
|
fill: #FFF;
|
2018-05-27 21:32:06 +02:00
|
|
|
}
|
|
|
|
.dropdown-container {
|
|
|
|
padding-left: $-m;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
@include smaller-than($screen-md) {
|
|
|
|
.links a {
|
|
|
|
padding-left: $-s;
|
|
|
|
padding-right: $-s;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
2018-05-27 21:32:06 +02:00
|
|
|
.dropdown-container {
|
|
|
|
padding-left: $-s;
|
2015-10-18 18:29:26 +02:00
|
|
|
}
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
.avatar, .user-name {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
.user-name {
|
|
|
|
vertical-align: top;
|
2017-08-19 16:33:22 +02:00
|
|
|
padding-top: $-m;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
2015-09-03 17:51:10 +02:00
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2015-10-18 18:29:26 +02:00
|
|
|
> * {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2018-02-17 20:49:00 +01:00
|
|
|
> span {
|
2015-10-18 18:29:26 +02:00
|
|
|
padding-left: $-xs;
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: $-xxs;
|
|
|
|
}
|
2018-02-17 20:49:00 +01:00
|
|
|
> svg {
|
2016-03-30 22:28:38 +02:00
|
|
|
padding-top: 4px;
|
|
|
|
font-size: 18px;
|
2015-10-18 18:29:26 +02:00
|
|
|
}
|
|
|
|
@include smaller-than($screen-md) {
|
2015-09-03 17:51:10 +02:00
|
|
|
padding-left: $-xs;
|
2015-10-18 18:29:26 +02:00
|
|
|
.name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-19 16:33:22 +02:00
|
|
|
@include smaller-than($screen-sm) {
|
2015-10-18 18:29:26 +02:00
|
|
|
text-align: center;
|
|
|
|
.float.right {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
.links a {
|
|
|
|
padding: $-s;
|
|
|
|
}
|
|
|
|
.user-name {
|
|
|
|
padding-top: $-s;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-19 16:33:22 +02:00
|
|
|
.header-search {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
header .search-box {
|
2015-09-03 17:51:10 +02:00
|
|
|
display: inline-block;
|
2017-08-27 16:16:51 +02:00
|
|
|
margin-top: 10px;
|
2015-09-03 17:51:10 +02:00
|
|
|
input {
|
2017-08-19 16:33:22 +02:00
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
2015-09-03 17:51:10 +02:00
|
|
|
color: #EEE;
|
2018-05-27 20:51:32 +02:00
|
|
|
z-index: 2;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
button {
|
2018-02-17 14:30:52 +01:00
|
|
|
fill: #EEE;
|
2018-05-27 20:51:32 +02:00
|
|
|
z-index: 1;
|
|
|
|
svg {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2017-08-19 16:33:22 +02: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;
|
|
|
|
}
|
|
|
|
@include smaller-than($screen-lg) {
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
@include smaller-than($l) {
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include smaller-than($s) {
|
|
|
|
.header-search {
|
|
|
|
display: block;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
2015-10-01 22:08:36 +02:00
|
|
|
display: inline-block;
|
|
|
|
&:hover {
|
|
|
|
color: #FFF;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.logo-text {
|
2015-09-03 17:51:10 +02:00
|
|
|
display: inline-block;
|
|
|
|
font-size: 1.8em;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: 400;
|
2017-08-19 16:33:22 +02:00
|
|
|
padding: 14px $-l 14px 0;
|
2015-09-03 17:51:10 +02:00
|
|
|
vertical-align: top;
|
|
|
|
line-height: 1;
|
2015-10-01 22:08:36 +02:00
|
|
|
}
|
|
|
|
.logo-image {
|
2017-08-19 16:33:22 +02:00
|
|
|
margin: $-xs $-s $-xs 0;
|
2015-10-01 22:08:36 +02:00
|
|
|
vertical-align: top;
|
2015-10-08 00:17:48 +02:00
|
|
|
height: 43px;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs span.sep {
|
|
|
|
color: #aaa;
|
|
|
|
padding: 0 $-xs;
|
|
|
|
}
|
|
|
|
.faded {
|
2016-01-20 23:13:13 +01:00
|
|
|
a, button, span, span > div {
|
2015-09-03 17:51:10 +02:00
|
|
|
color: #666;
|
2018-02-17 14:30:52 +01:00
|
|
|
fill: #666;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
.text-button {
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: all ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-12 17:31:02 +01:00
|
|
|
.faded span.faded-text {
|
2016-03-12 16:52:19 +01:00
|
|
|
display: inline-block;
|
|
|
|
padding: $-s;
|
|
|
|
}
|
|
|
|
|
2015-09-03 17:51:10 +02:00
|
|
|
.faded-small {
|
|
|
|
color: #000;
|
2018-02-17 14:30:52 +01:00
|
|
|
fill: #000;
|
2015-09-03 17:51:10 +02:00
|
|
|
font-size: 0.9em;
|
2016-02-11 23:23:19 +01:00
|
|
|
background-color: $primary-faded;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
|
2017-08-20 14:57:25 +02:00
|
|
|
.toolbar-container {
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
|
2015-09-03 17:51:10 +02:00
|
|
|
.breadcrumbs .text-button, .action-buttons .text-button {
|
|
|
|
display: inline-block;
|
|
|
|
padding: $-s;
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2017-07-02 21:33:32 +02:00
|
|
|
&:first-child {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-07-22 16:20:36 +02:00
|
|
|
|
|
|
|
|
2017-07-02 21:33:32 +02:00
|
|
|
.action-buttons .dropdown-container:last-child a {
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: $-s;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
.action-buttons {
|
|
|
|
text-align: right;
|
|
|
|
&.text-left {
|
|
|
|
text-align: left;
|
|
|
|
.text-button {
|
|
|
|
padding-right: $-m;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-03-12 17:31:02 +01:00
|
|
|
&.text-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|
|
|
|
|
2017-07-22 16:20:36 +02:00
|
|
|
@include smaller-than($m) {
|
|
|
|
.breadcrumbs .text-button, .action-buttons .text-button {
|
2018-03-18 13:23:48 +01:00
|
|
|
padding: $-xs $-xs;
|
2017-07-22 16:20:36 +02:00
|
|
|
}
|
|
|
|
.action-buttons .dropdown-container:last-child a {
|
|
|
|
padding-left: $-xs;
|
|
|
|
}
|
|
|
|
.breadcrumbs .text-button {
|
|
|
|
font-size: 0;
|
|
|
|
}
|
2018-03-18 13:23:48 +01:00
|
|
|
.breadcrumbs .text-button svg {
|
|
|
|
font-size: $fs-m;
|
|
|
|
}
|
2017-07-22 16:20:36 +02:00
|
|
|
.breadcrumbs a i {
|
|
|
|
font-size: $fs-m;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.breadcrumbs span.sep {
|
|
|
|
padding: 0 $-xxs;
|
|
|
|
}
|
2018-03-18 13:23:48 +01:00
|
|
|
.toolbar .col-xs-1:first-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2017-07-22 16:20:36 +02:00
|
|
|
}
|
|
|
|
|
2016-04-03 15:59:54 +02:00
|
|
|
.nav-tabs {
|
2015-09-03 17:51:10 +02:00
|
|
|
text-align: center;
|
2016-04-03 15:59:54 +02:00
|
|
|
a, .tab-item {
|
2015-09-03 17:51:10 +02:00
|
|
|
padding: $-m;
|
|
|
|
display: inline-block;
|
|
|
|
color: #666;
|
2018-02-17 14:30:52 +01:00
|
|
|
fill: #666;
|
2016-04-03 15:59:54 +02:00
|
|
|
cursor: pointer;
|
2015-09-03 17:51:10 +02:00
|
|
|
&.selected {
|
|
|
|
border-bottom: 2px solid $primary;
|
|
|
|
}
|
|
|
|
}
|
2017-08-19 16:33:22 +02:00
|
|
|
}
|
|
|
|
.faded-small .nav-tabs a {
|
|
|
|
padding: $-s $-m;
|
2015-09-03 17:51:10 +02:00
|
|
|
}
|