2016-08-10 16:41:31 -04:00
|
|
|
@mixin fade($gradient-direction, $gradient-color) {
|
2016-06-21 18:27:34 -04:00
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
2016-06-09 13:37:47 -04:00
|
|
|
z-index: 2;
|
2016-05-24 12:30:53 -04:00
|
|
|
position: absolute;
|
2016-05-25 18:12:39 -04:00
|
|
|
bottom: 12px;
|
2016-05-24 12:30:53 -04:00
|
|
|
width: 43px;
|
|
|
|
height: 30px;
|
|
|
|
transition-duration: .3s;
|
|
|
|
-webkit-transform: translateZ(0);
|
2016-08-27 13:50:55 -04:00
|
|
|
background: linear-gradient(to $gradient-direction, $gradient-color 45%, rgba($gradient-color, 0.4));
|
2016-05-24 12:30:53 -04:00
|
|
|
|
2016-06-21 18:27:34 -04:00
|
|
|
&.scrolling {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
2016-05-24 12:30:53 -04:00
|
|
|
transition-duration: .3s;
|
|
|
|
}
|
2016-06-20 13:11:22 -04:00
|
|
|
|
|
|
|
.fa {
|
|
|
|
position: relative;
|
2016-06-27 10:06:36 -04:00
|
|
|
top: 5px;
|
|
|
|
font-size: 18px;
|
2016-06-20 13:11:22 -04:00
|
|
|
}
|
2016-05-24 12:30:53 -04:00
|
|
|
}
|
|
|
|
|
2016-05-25 12:42:43 -04:00
|
|
|
@mixin scrolling-links() {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2016-06-22 22:02:45 -04:00
|
|
|
|
2016-05-25 12:42:43 -04:00
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-13 09:03:32 -05:00
|
|
|
.nav-links {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
2016-01-13 09:58:04 -05:00
|
|
|
height: auto;
|
2016-01-13 09:03:32 -05:00
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
2016-06-06 18:01:16 -04:00
|
|
|
padding: $gl-btn-padding;
|
2016-01-13 09:03:32 -05:00
|
|
|
padding-bottom: 11px;
|
|
|
|
margin-bottom: -1px;
|
2016-12-02 14:43:33 -05:00
|
|
|
font-size: 14px;
|
2016-01-13 09:03:32 -05:00
|
|
|
line-height: 28px;
|
2016-11-18 14:24:08 -05:00
|
|
|
color: $note-toolbar-color;
|
2016-01-13 09:03:32 -05:00
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2016-01-13 09:03:32 -05:00
|
|
|
text-decoration: none;
|
2016-11-18 14:24:08 -05:00
|
|
|
border-bottom: 2px solid $gray-darkest;
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
color: $black;
|
|
|
|
}
|
2016-01-13 09:03:32 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active a {
|
2016-05-03 12:44:55 -04:00
|
|
|
border-bottom: 2px solid $link-underline-blue;
|
|
|
|
color: $black;
|
2016-11-18 14:24:08 -05:00
|
|
|
font-weight: 600;
|
2016-12-06 10:06:14 -05:00
|
|
|
|
|
|
|
.badge {
|
|
|
|
color: $black;
|
|
|
|
}
|
2016-01-13 09:03:32 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
font-weight: normal;
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $nav-badge-bg;
|
2016-08-09 15:44:43 -04:00
|
|
|
color: $btn-transparent-color;
|
2016-08-17 16:28:47 -04:00
|
|
|
vertical-align: baseline;
|
2016-01-13 09:03:32 -05:00
|
|
|
}
|
|
|
|
}
|
2016-06-03 11:53:04 -04:00
|
|
|
|
|
|
|
&.sub-nav {
|
2016-06-11 04:30:53 -04:00
|
|
|
text-align: center;
|
2016-07-09 04:42:48 -04:00
|
|
|
background-color: $dark-background-color;
|
2016-06-03 11:53:04 -04:00
|
|
|
|
|
|
|
.container-fluid {
|
2016-07-09 04:42:48 -04:00
|
|
|
background-color: $dark-background-color;
|
2016-06-13 15:30:40 -04:00
|
|
|
margin-bottom: 0;
|
2016-06-03 11:53:04 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
2016-11-18 14:24:08 -05:00
|
|
|
&.active a {
|
|
|
|
border-bottom: none;
|
2016-11-29 13:00:02 -05:00
|
|
|
color: $link-underline-blue;
|
2016-11-18 14:24:08 -05:00
|
|
|
}
|
|
|
|
|
2016-06-03 11:53:04 -04:00
|
|
|
a {
|
|
|
|
margin: 0;
|
|
|
|
padding: 11px 10px 9px;
|
|
|
|
|
2016-11-18 14:24:08 -05:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2016-06-03 11:53:04 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-01-13 09:03:32 -05:00
|
|
|
}
|
2016-02-02 19:08:30 -05:00
|
|
|
|
|
|
|
.top-area {
|
2016-02-02 19:50:53 -05:00
|
|
|
@include clearfix;
|
2016-09-09 12:43:37 -04:00
|
|
|
border-bottom: 1px solid $btn-gray-hover;
|
2016-02-02 19:08:30 -05:00
|
|
|
|
|
|
|
.nav-text {
|
|
|
|
padding-top: 16px;
|
|
|
|
padding-bottom: 11px;
|
|
|
|
display: inline-block;
|
|
|
|
width: 50%;
|
|
|
|
line-height: 28px;
|
2016-02-02 19:50:53 -05:00
|
|
|
|
|
|
|
/* Small devices (phones, tablets, 768px and lower) */
|
2016-11-29 20:58:03 -05:00
|
|
|
@media (max-width: $screen-xs-max) {
|
2016-02-02 19:50:53 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
2016-02-02 19:08:30 -05:00
|
|
|
}
|
|
|
|
|
2016-04-04 13:23:50 -04:00
|
|
|
.nav-search {
|
|
|
|
display: inline-block;
|
2016-04-07 11:19:26 -04:00
|
|
|
width: 100%;
|
2016-04-04 13:23:50 -04:00
|
|
|
padding: 11px 0;
|
|
|
|
|
|
|
|
/* Small devices (phones, tablets, 768px and lower) */
|
2016-04-07 11:19:26 -04:00
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
width: 50%;
|
2016-04-04 13:23:50 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-02 19:08:30 -05:00
|
|
|
.nav-links {
|
|
|
|
display: inline-block;
|
|
|
|
width: 50%;
|
2016-03-16 19:29:47 -04:00
|
|
|
margin-bottom: 0;
|
2016-02-02 19:08:30 -05:00
|
|
|
border-bottom: none;
|
2016-02-02 19:50:53 -05:00
|
|
|
|
2016-07-07 23:48:02 -04:00
|
|
|
&.wide {
|
|
|
|
width: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-06-06 18:01:16 -04:00
|
|
|
li a {
|
2016-09-05 10:25:49 -04:00
|
|
|
padding: 16px 15px 11px;
|
2016-06-06 18:01:16 -04:00
|
|
|
}
|
|
|
|
|
2016-02-02 19:50:53 -05:00
|
|
|
/* Small devices (phones, tablets, 768px and lower) */
|
2016-06-13 09:35:31 -04:00
|
|
|
@media (max-width: $screen-xs-max) {
|
2016-02-02 19:50:53 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
2016-02-02 19:08:30 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-controls {
|
|
|
|
width: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
padding: 11px 0;
|
2016-03-16 19:29:47 -04:00
|
|
|
margin-bottom: 0;
|
2016-02-02 19:08:30 -05:00
|
|
|
|
|
|
|
> .dropdown {
|
2016-02-07 11:57:28 -05:00
|
|
|
margin-right: $gl-padding-top;
|
2016-02-02 19:08:30 -05:00
|
|
|
display: inline-block;
|
2016-08-11 11:08:06 -04:00
|
|
|
vertical-align: top;
|
2016-03-03 10:25:22 -05:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2016-02-02 19:08:30 -05:00
|
|
|
}
|
|
|
|
|
2016-02-02 19:50:53 -05:00
|
|
|
> .btn {
|
2016-02-07 11:57:28 -05:00
|
|
|
margin-right: $gl-padding-top;
|
2016-02-02 19:08:30 -05:00
|
|
|
display: inline-block;
|
2016-07-07 23:48:02 -04:00
|
|
|
vertical-align: top;
|
2016-02-07 11:57:28 -05:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .btn-grouped {
|
|
|
|
float: none;
|
2016-02-02 19:50:53 -05:00
|
|
|
}
|
2016-02-02 19:08:30 -05:00
|
|
|
|
2016-02-05 05:14:38 -05:00
|
|
|
> form {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2016-03-14 19:30:53 -04:00
|
|
|
.icon-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-02-02 19:50:53 -05:00
|
|
|
input {
|
2016-04-13 08:11:44 -04:00
|
|
|
height: 35px;
|
2016-02-02 19:50:53 -05:00
|
|
|
display: inline-block;
|
2016-02-02 20:01:33 -05:00
|
|
|
position: relative;
|
2016-02-07 11:57:28 -05:00
|
|
|
margin-right: $gl-padding-top;
|
2016-02-02 19:08:30 -05:00
|
|
|
|
|
|
|
/* Medium devices (desktops, 992px and up) */
|
|
|
|
@media (min-width: $screen-md-min) { width: 200px; }
|
|
|
|
|
|
|
|
/* Large devices (large desktops, 1200px and up) */
|
2016-02-02 19:50:53 -05:00
|
|
|
@media (min-width: $screen-lg-min) { width: 250px; }
|
2016-02-02 19:08:30 -05:00
|
|
|
|
2016-02-02 19:50:53 -05:00
|
|
|
&.input-short {
|
|
|
|
/* Medium devices (desktops, 992px and up) */
|
|
|
|
@media (min-width: $screen-md-min) { width: 170px; }
|
|
|
|
|
|
|
|
/* Large devices (large desktops, 1200px and up) */
|
|
|
|
@media (min-width: $screen-lg-min) { width: 210px; }
|
|
|
|
}
|
2016-02-02 19:08:30 -05:00
|
|
|
}
|
|
|
|
|
2016-03-15 15:00:52 -04:00
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
padding-bottom: 0;
|
2016-05-16 18:01:48 -04:00
|
|
|
width: 100%;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
.btn,
|
|
|
|
form,
|
|
|
|
.dropdown,
|
|
|
|
.dropdown-menu-toggle,
|
|
|
|
.form-control {
|
2016-03-22 16:58:29 -04:00
|
|
|
margin: 0 0 10px;
|
2016-03-14 19:30:53 -04:00
|
|
|
display: block;
|
2016-03-15 15:00:52 -04:00
|
|
|
width: 100%;
|
2016-03-14 19:30:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
2016-06-13 09:35:31 -04:00
|
|
|
margin-bottom: 14px;
|
2016-03-15 15:00:52 -04:00
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
2016-03-18 16:02:45 -04:00
|
|
|
margin: 0 0 10px;
|
2016-03-15 15:00:52 -04:00
|
|
|
}
|
2016-03-14 19:30:53 -04:00
|
|
|
}
|
|
|
|
|
2016-03-18 16:02:45 -04:00
|
|
|
.input-short {
|
2016-03-14 19:30:53 -04:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-label {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-03-15 15:00:52 -04:00
|
|
|
|
|
|
|
// Applies on /dashboard/issues
|
|
|
|
.project-item-select-holder {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-02-02 19:50:53 -05:00
|
|
|
}
|
2016-02-02 19:08:30 -05:00
|
|
|
}
|
2016-06-14 12:48:42 -04:00
|
|
|
|
|
|
|
&.adjust {
|
2016-10-24 16:22:06 -04:00
|
|
|
.nav-text,
|
|
|
|
.nav-controls {
|
2016-06-14 12:48:42 -04:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
2016-12-05 13:55:57 -05:00
|
|
|
|
|
|
|
&.multi-line {
|
|
|
|
.nav-text {
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-controls {
|
|
|
|
padding: 17px 0;
|
|
|
|
}
|
|
|
|
}
|
2016-02-02 19:08:30 -05:00
|
|
|
}
|
2016-04-28 08:23:25 -04:00
|
|
|
|
|
|
|
.layout-nav {
|
2016-05-04 12:43:47 -04:00
|
|
|
position: fixed;
|
2016-05-04 15:19:12 -04:00
|
|
|
top: $header-height;
|
2016-05-04 12:43:47 -04:00
|
|
|
width: 100%;
|
2016-05-17 05:14:09 -04:00
|
|
|
z-index: 11;
|
2016-04-28 11:03:03 -04:00
|
|
|
background: $background-color;
|
2016-04-28 08:23:25 -04:00
|
|
|
border-bottom: 1px solid $border-color;
|
2016-06-15 13:14:20 -04:00
|
|
|
transition: padding $sidebar-transition-duration;
|
2016-06-11 04:30:53 -04:00
|
|
|
text-align: center;
|
2016-04-28 08:23:25 -04:00
|
|
|
|
2016-05-09 20:34:41 -04:00
|
|
|
.container-fluid {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2016-04-28 08:23:25 -04:00
|
|
|
.controls {
|
|
|
|
float: right;
|
2016-05-09 20:34:41 -04:00
|
|
|
padding: 7px 0 0;
|
2016-05-04 14:11:38 -04:00
|
|
|
|
2016-06-21 18:27:34 -04:00
|
|
|
@media (max-width: $screen-sm-max) {
|
2016-05-24 12:30:53 -04:00
|
|
|
display: none;
|
2016-05-13 12:12:49 -04:00
|
|
|
}
|
|
|
|
|
2016-05-04 14:11:38 -04:00
|
|
|
i {
|
|
|
|
color: $layout-link-gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-rss,
|
|
|
|
.fa-cog {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-caret-down {
|
|
|
|
margin-left: 5px;
|
|
|
|
color: $gl-icon-color;
|
|
|
|
}
|
2016-04-28 08:23:25 -04:00
|
|
|
|
|
|
|
.dropdown {
|
2016-06-13 05:20:59 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 7px;
|
|
|
|
right: 15px;
|
2016-06-13 10:58:09 -04:00
|
|
|
z-index: 2;
|
2016-05-16 13:21:12 -04:00
|
|
|
|
|
|
|
li.active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2016-04-28 08:23:25 -04:00
|
|
|
}
|
2016-05-03 16:29:11 -04:00
|
|
|
}
|
|
|
|
|
2016-05-04 12:43:47 -04:00
|
|
|
.nav-links {
|
|
|
|
border-bottom: none;
|
2016-05-05 10:00:29 -04:00
|
|
|
height: 51px;
|
2016-05-03 16:29:11 -04:00
|
|
|
|
2016-05-04 12:43:47 -04:00
|
|
|
li {
|
2016-05-04 14:11:38 -04:00
|
|
|
a {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2016-05-04 12:43:47 -04:00
|
|
|
}
|
2016-05-16 15:58:15 -04:00
|
|
|
}
|
2016-05-04 12:43:47 -04:00
|
|
|
}
|
|
|
|
|
2016-06-03 14:39:04 -04:00
|
|
|
.scrolling-tabs-container {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
@include scrolling-links();
|
2016-06-22 22:02:45 -04:00
|
|
|
}
|
2016-06-03 14:39:04 -04:00
|
|
|
|
2016-06-22 22:02:45 -04:00
|
|
|
.fade-right {
|
2016-08-10 16:41:31 -04:00
|
|
|
@include fade(left, $background-color);
|
2016-06-22 22:02:45 -04:00
|
|
|
right: -5px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
right: -7px;
|
2016-06-03 14:39:04 -04:00
|
|
|
}
|
2016-06-22 22:02:45 -04:00
|
|
|
}
|
2016-06-03 14:39:04 -04:00
|
|
|
|
2016-06-22 22:02:45 -04:00
|
|
|
.fade-left {
|
2016-08-10 16:41:31 -04:00
|
|
|
@include fade(right, $background-color);
|
2016-06-22 22:02:45 -04:00
|
|
|
left: -5px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
left: -7px;
|
2016-06-03 14:39:04 -04:00
|
|
|
}
|
|
|
|
}
|
2016-06-22 22:26:41 -04:00
|
|
|
|
|
|
|
&.sub-nav-scroll {
|
|
|
|
|
|
|
|
.fade-right {
|
2016-08-10 16:41:31 -04:00
|
|
|
@include fade(left, $dark-background-color);
|
2016-06-22 22:26:41 -04:00
|
|
|
right: 0;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
right: -23px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fade-left {
|
2016-08-10 16:41:31 -04:00
|
|
|
@include fade(right, $dark-background-color);
|
2016-06-22 22:26:41 -04:00
|
|
|
left: 0;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-06-03 14:39:04 -04:00
|
|
|
}
|
|
|
|
|
2016-05-25 12:42:43 -04:00
|
|
|
.nav-block {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
@include scrolling-links();
|
|
|
|
|
|
|
|
.fade-right {
|
2016-08-10 16:41:31 -04:00
|
|
|
@include fade(left, $white-light);
|
2016-06-22 22:02:45 -04:00
|
|
|
right: -5px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
right: -7px;
|
|
|
|
}
|
2016-05-25 12:42:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.fade-left {
|
2016-08-10 16:41:31 -04:00
|
|
|
@include fade(right, $white-light);
|
2016-06-22 22:02:45 -04:00
|
|
|
left: -5px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
left: -7px;
|
|
|
|
}
|
2016-05-25 12:42:43 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-04 12:43:47 -04:00
|
|
|
.page-with-layout-nav {
|
2016-05-24 13:16:37 -04:00
|
|
|
margin-top: $header-height + 2;
|
2016-05-13 12:12:49 -04:00
|
|
|
|
2016-05-19 11:11:54 -04:00
|
|
|
.right-sidebar {
|
2016-05-23 13:54:04 -04:00
|
|
|
top: ($header-height * 2) + 2;
|
2016-05-19 11:11:54 -04:00
|
|
|
}
|
2016-04-28 08:23:25 -04:00
|
|
|
}
|
2016-05-26 15:21:34 -04:00
|
|
|
|
|
|
|
.activities {
|
|
|
|
|
|
|
|
.nav-block {
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|