952 days continuous production uptime, 40k+ tp/s single node. Original corpo Bitbucket history not included — clean archive commit.
59 lines
1.3 KiB
SCSS
Executable File
59 lines
1.3 KiB
SCSS
Executable File
// Dropdown pro
|
|
// Dropdowns menu's colors
|
|
.dropdown,
|
|
.dropup,
|
|
.dropleft,
|
|
.dropright {
|
|
.dropdown-menu {
|
|
padding: $dropdown-menu-padding;
|
|
@each $name, $color in $dropdown-colors {
|
|
&.dropdown-#{$name} {
|
|
.dropdown-item {
|
|
&:hover,
|
|
&:active {
|
|
background-color: $color !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.dropdown-item {
|
|
padding: $dropdown-menu-padding;
|
|
margin-left: 0;
|
|
font-size: $dropdown-item-font-size;
|
|
&.disabled {
|
|
color: $dropdown-item-disabled-color;
|
|
&:hover,
|
|
&:active,
|
|
&:focus {
|
|
box-shadow: none;
|
|
color: $dropdown-item-disabled-color !important;
|
|
background-color: transparent !important;
|
|
}
|
|
}
|
|
&:hover,
|
|
&:active {
|
|
box-shadow: $z-depth-1-half;
|
|
@extend .white-text;
|
|
background-color: $primary-color;
|
|
border-radius: $border-radius-base;
|
|
transition: $dropdown-item-transition;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.navbar-nav {
|
|
.dropdown-menu-right {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
}
|
|
|
|
.dropdown-menu {
|
|
&.animated {
|
|
/* Speed up animations */
|
|
animation-duration: $dropdown-menu-animated-animation-duration;
|
|
animation-timing-function: $dropdown-menu-animated-animation-timing-function;
|
|
}
|
|
}
|