Renamed NavbarDropdown to SidebarHeaderDropdown and switched it to react-bootstrap (#4109)

Этот коммит содержится в:
Harrison Healey
2016-09-29 10:58:30 -04:00
коммит произвёл GitHub
родитель ac6ae23c8e
Коммит 53ba8ec9c2
7 изменённых файлов: 194 добавлений и 161 удалений

Просмотреть файл

@@ -244,14 +244,16 @@
@include alpha-property(background, $black, .1);
}
a {
text-decoration: none;
}
.user__name {
color: $white;
}
.sidebar-header-dropdown {
.sidebar-header-dropdown__toggle {
@include opacity(1);
}
}
.navbar-right {
.dropdown-toggle {
@include opacity(1);
@@ -259,16 +261,28 @@
}
}
.navbar-right {
a {
text-decoration: none;
}
.sidebar-header-dropdown,
.admin-navbar-dropdown {
font-size: .85em;
position: absolute;
margin-right: -15px;
right: 22px;
top: 10px;
z-index: 5;
.dropdown-toggle {
.sidebar-header-dropdown__toggle,
.admin-navbar-dropdown__toggle {
@include opacity(.8);
@include single-transition(all, .1s, linear);
background: none;
color: $white;
float: right;
font-size: 1em;
line-height: 1.8;
padding: 10px;
}
@@ -284,9 +298,14 @@
}
}
.dropdown__icon {
.sidebar-header-dropdown__icon,
.admin-navbar-dropdown__icon {
fill: $white;
}
.divider + .divider {
display: none;
}
}
.user__picture {
@@ -330,22 +349,6 @@
font-weight: 400;
line-height: 18px;
}
> .nav {
> li {
> a {
background: none;
float: right;
padding: 2px;
}
.dropdown-toggle {
color: $white;
font-size: 1em;
line-height: 1.8;
}
}
}
}
.search__clear {

Просмотреть файл

@@ -824,7 +824,7 @@
margin: 10px 0;
}
.navbar-right {
.sidebar-header-dropdown {
display: none;
}
}