2021-01-20 00:21:22 +08:00
|
|
|
// scss-lint:disable SelectorDepth, NestingDepth, ImportantRule
|
|
|
|
|
|
|
|
@import "constants";
|
|
|
|
|
2020-05-08 23:01:55 +08:00
|
|
|
.sci-dropdown {
|
|
|
|
[data-toggle="dropdown"] {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2020-07-28 21:39:29 +08:00
|
|
|
|
|
|
|
.caret {
|
|
|
|
margin: 8px 0 8px 8px;
|
|
|
|
}
|
2020-05-08 23:01:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
[data-toggle="dropdown"] {
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-color: $brand-focus;
|
|
|
|
|
|
|
|
.caret {
|
2020-07-14 17:24:33 +08:00
|
|
|
transform: rotateX(180deg);
|
2020-05-08 23:01:55 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
2020-07-28 21:39:29 +08:00
|
|
|
@include font-button;
|
2020-05-08 23:01:55 +08:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
box-shadow: $flyout-shadow;
|
|
|
|
margin-top: -1px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
li:hover {
|
|
|
|
background: $color-concrete;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-20 00:21:22 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
.form-dropdown-item {
|
2021-02-11 18:50:59 +08:00
|
|
|
padding: 0 !important;
|
|
|
|
|
2021-01-20 00:21:22 +08:00
|
|
|
button {
|
|
|
|
border-radius: 0;
|
|
|
|
color: $color-black !important;
|
|
|
|
padding-left: .9em;
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
2021-02-11 18:50:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.project-archive-restore-form {
|
|
|
|
.button-to {
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-dd-hover !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.change-projects-view-type-form,
|
|
|
|
.change-experiments-view-type-form {
|
|
|
|
.button-to {
|
|
|
|
float: unset !important;
|
|
|
|
height: 48px;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
2020-05-08 23:01:55 +08:00
|
|
|
|
2021-02-11 18:50:59 +08:00
|
|
|
&.selected::after {
|
|
|
|
@include font-awesome;
|
|
|
|
content: $font-fas-check;
|
|
|
|
float: right;
|
|
|
|
}
|
2021-01-20 00:21:22 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-08 23:01:55 +08:00
|
|
|
}
|