Archive: Namaste PHP AMQP framework v1.0 (2017-2020)
952 days continuous production uptime, 40k+ tp/s single node. Original corpo Bitbucket history not included — clean archive commit.
This commit is contained in:
58
html/scss/pro/_dropdowns.scss
Executable file
58
html/scss/pro/_dropdowns.scss
Executable file
@@ -0,0 +1,58 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user