2018-03-17 18:26:18 +05:30
|
|
|
.navbar-gitlab {
|
2018-05-09 12:01:36 +05:30
|
|
|
padding: 0 16px;
|
|
|
|
z-index: 1000;
|
|
|
|
margin-bottom: 0;
|
|
|
|
min-height: $header-height;
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
.logo-text {
|
|
|
|
line-height: initial;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 55px;
|
|
|
|
height: 14px;
|
|
|
|
margin: 0;
|
|
|
|
fill: $white-light;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.close-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-expanded {
|
|
|
|
.more-icon {
|
2017-09-10 17:25:29 +05:30
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.close-icon {
|
|
|
|
display: block;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.header-content {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
position: relative;
|
|
|
|
min-height: $header-height;
|
|
|
|
padding-left: 0;
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.title-container {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
-webkit-align-items: stretch;
|
|
|
|
align-items: stretch;
|
|
|
|
-webkit-flex: 1 1 auto;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
padding-top: 0;
|
|
|
|
overflow: visible;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.title {
|
|
|
|
padding-right: 0;
|
|
|
|
color: currentColor;
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 18px;
|
|
|
|
vertical-align: top;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 28px;
|
|
|
|
|
|
|
|
+ .logo-text {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
&.wrap {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
&.initializing {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 2px 8px;
|
|
|
|
margin: 5px 2px 5px -8px;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
|
|
|
|
.tanuki-logo {
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.project-item-select {
|
|
|
|
right: auto;
|
|
|
|
left: 0;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.dropdown.open {
|
|
|
|
> a {
|
|
|
|
border-bottom-color: $white-light;
|
|
|
|
}
|
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
&.menu-expanded {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
.title-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
li.dropdown-bold-header {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
font-size: 12px;
|
|
|
|
padding: 0 16px;
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.navbar-collapse {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
border-top: 0;
|
|
|
|
padding: 0;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.nav {
|
|
|
|
> li:not(.hidden-xs) a {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
margin-left: 0;
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.container-fluid {
|
2018-05-09 12:01:36 +05:30
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.user-counter {
|
|
|
|
svg {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-toggle {
|
|
|
|
right: -10px;
|
|
|
|
border-radius: 0;
|
|
|
|
min-width: 45px;
|
|
|
|
padding: 0;
|
|
|
|
margin-right: -7px;
|
|
|
|
font-size: 14px;
|
|
|
|
text-align: center;
|
|
|
|
color: currentColor;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&.active {
|
|
|
|
color: currentColor;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.more-icon,
|
|
|
|
.close-icon {
|
|
|
|
fill: $white-light;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.navbar-nav {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
.badge {
|
|
|
|
box-shadow: none;
|
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.nav > li {
|
|
|
|
&.header-user {
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
> a {
|
|
|
|
will-change: color;
|
|
|
|
margin: 4px 2px;
|
|
|
|
padding: 6px 8px;
|
|
|
|
height: 32px;
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
&.header-user-dropdown-toggle {
|
|
|
|
margin-left: 2px;
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.header-user-avatar {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
outline: 0;
|
|
|
|
opacity: 1;
|
|
|
|
color: $white-light;
|
|
|
|
|
|
|
|
&.header-user-dropdown-toggle .header-user-avatar {
|
|
|
|
border-color: $white-light;
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
}
|
2016-04-02 18:10:28 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.header-new-dropdown-toggle {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.impersonated-user,
|
|
|
|
.impersonated-user:hover {
|
|
|
|
margin-right: 1px;
|
|
|
|
background-color: $white-light;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
2016-04-02 18:10:28 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.impersonation-btn,
|
|
|
|
.impersonation-btn:hover {
|
|
|
|
background-color: $white-light;
|
|
|
|
margin-left: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
|
|
|
|
i {
|
|
|
|
color: $orange-500;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2016-04-02 18:10:28 +05:30
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.navbar-sub-nav,
|
|
|
|
.navbar-nav {
|
|
|
|
> li {
|
|
|
|
> a:hover,
|
|
|
|
> a:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
outline: 0;
|
|
|
|
color: $white-light;
|
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
> a {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 6px 8px;
|
|
|
|
margin: 4px 2px;
|
|
|
|
font-size: 12px;
|
|
|
|
color: currentColor;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
height: 32px;
|
|
|
|
font-weight: $gl-font-weight-bold;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
&.line-separator {
|
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-sub-nav {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
margin: 0 0 0 6px;
|
|
|
|
|
|
|
|
.projects-dropdown-menu {
|
|
|
|
padding: 0;
|
|
|
|
overflow-y: initial;
|
|
|
|
max-height: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-chevron {
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
font-size: 10px;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.project-item-select-holder {
|
|
|
|
display: inline;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
|
|
|
.impersonation i {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $red-500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.caret-down {
|
|
|
|
height: 11px;
|
|
|
|
width: 11px;
|
|
|
|
margin-left: 4px;
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-user .dropdown-menu-nav,
|
|
|
|
.header-new .dropdown-menu-nav {
|
|
|
|
margin-top: $dropdown-vertical-offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
2018-05-09 12:01:36 +05:30
|
|
|
min-height: $breadcrumb-min-height;
|
2018-03-17 18:26:18 +05:30
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-container {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
padding-top: $gl-padding / 2;
|
|
|
|
padding-bottom: $gl-padding / 2;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-links {
|
|
|
|
-webkit-flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
align-self: center;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
|
|
|
|
.avatar-tile {
|
|
|
|
margin-right: 4px;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: 50%;
|
|
|
|
vertical-align: sub;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-expander {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 2px;
|
|
|
|
|
|
|
|
> i {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-list {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 0;
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
> li {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
padding: 2px 0;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
padding-right: 20px;
|
|
|
|
|
|
|
|
&:not(.dropdown) {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> a {
|
|
|
|
font-size: 12px;
|
|
|
|
color: currentColor;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb-item-text {
|
|
|
|
text-decoration: inherit;
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
@include str-truncated(128px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-list-angle {
|
|
|
|
position: absolute;
|
|
|
|
right: 7px;
|
|
|
|
top: 50%;
|
|
|
|
color: $gl-text-color-tertiary;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-extra {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: flex;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-sub-title {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-sign-in {
|
|
|
|
margin-top: 3px;
|
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $white-light;
|
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.navbar-nav {
|
|
|
|
li {
|
|
|
|
.badge {
|
|
|
|
position: inherit;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
margin-left: -6px;
|
2017-08-17 22:00:37 +05:30
|
|
|
font-size: 11px;
|
|
|
|
color: $white-light;
|
2018-03-17 18:26:18 +05:30
|
|
|
padding: 0 5px;
|
|
|
|
line-height: 12px;
|
2017-08-17 22:00:37 +05:30
|
|
|
border-radius: 7px;
|
2018-05-09 12:01:36 +05:30
|
|
|
box-shadow: 0 1px 0 rgba($gl-header-color, 0.2);
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
&.issues-count {
|
|
|
|
background-color: $green-500;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.merge-requests-count {
|
|
|
|
background-color: $orange-600;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.todos-count {
|
|
|
|
background-color: $blue-500;
|
|
|
|
}
|
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
2018-03-17 18:26:18 +05:30
|
|
|
.navbar-gitlab .container-fluid {
|
2015-09-11 14:41:01 +05:30
|
|
|
font-size: 18px;
|
|
|
|
|
|
|
|
.navbar-nav {
|
2017-08-17 22:00:37 +05:30
|
|
|
table-layout: fixed;
|
|
|
|
width: 100%;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
text-align: right;
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-collapse {
|
2018-03-17 18:26:18 +05:30
|
|
|
margin-left: -8px;
|
|
|
|
margin-right: -10px;
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.nav > li:not(.hidden-xs) {
|
2017-09-10 17:25:29 +05:30
|
|
|
display: table-cell !important;
|
2017-08-17 22:00:37 +05:30
|
|
|
width: 25%;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
.header-user-dropdown-toggle {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-user-avatar {
|
|
|
|
float: none;
|
|
|
|
}
|
2015-09-11 14:41:01 +05:30
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
|
|
|
.header-user {
|
|
|
|
.dropdown-menu-nav {
|
2017-08-17 22:00:37 +05:30
|
|
|
width: auto;
|
2018-03-17 18:26:18 +05:30
|
|
|
min-width: 160px;
|
|
|
|
margin-top: 4px;
|
2017-09-10 17:25:29 +05:30
|
|
|
color: $gl-text-color;
|
|
|
|
left: auto;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
li.current-user {
|
2017-08-17 22:00:37 +05:30
|
|
|
padding: 5px 18px;
|
|
|
|
|
|
|
|
.user-name {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-user-avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 50%;
|
2017-08-17 22:00:37 +05:30
|
|
|
border: 1px solid $avatar-border;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
.with-performance-bar .navbar-gitlab {
|
|
|
|
top: $performance-bar-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-empty {
|
|
|
|
height: $header-height;
|
|
|
|
background: $white-light;
|
|
|
|
border-bottom: 1px solid $white-normal;
|
|
|
|
|
|
|
|
.center-logo {
|
|
|
|
margin: 8px 0;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.tanuki-logo,
|
|
|
|
img {
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|