2021-01-20 00:21:22 +08:00
|
|
|
// scss-lint:disable SelectorDepth, NestingDepth, ImportantRule
|
|
|
|
|
2023-03-06 23:43:46 +08:00
|
|
|
.dropdown-menu .divider {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
2020-05-08 23:01:55 +08:00
|
|
|
.sci-dropdown {
|
|
|
|
[data-toggle="dropdown"] {
|
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
|
|
|
}
|
2023-06-15 21:12:51 +08:00
|
|
|
|
|
|
|
.sn-icon-down {
|
|
|
|
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 {
|
2023-04-06 19:02:34 +08:00
|
|
|
@include font-button;
|
|
|
|
|
2021-06-18 17:58:03 +08:00
|
|
|
.form-dropdown-break hr {
|
2021-08-30 19:00:52 +08:00
|
|
|
margin: 0;
|
2021-06-18 17:58:03 +08:00
|
|
|
}
|
|
|
|
|
2021-01-20 00:21:22 +08:00
|
|
|
.form-dropdown-item {
|
2021-02-11 18:50:59 +08:00
|
|
|
padding: 0 !important;
|
|
|
|
|
2021-06-18 20:19:35 +08:00
|
|
|
button,
|
|
|
|
.form-dropdown-item-info {
|
2021-01-20 00:21:22 +08:00
|
|
|
border-radius: 0;
|
|
|
|
padding-left: .9em;
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
2021-02-11 18:50:59 +08:00
|
|
|
}
|
|
|
|
|
2021-06-18 17:58:03 +08:00
|
|
|
button {
|
|
|
|
color: $color-black !important;
|
|
|
|
}
|
2023-04-20 19:40:38 +08:00
|
|
|
.text-light {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2021-06-18 17:58:03 +08:00
|
|
|
|
|
|
|
.form-dropdown-item-info {
|
|
|
|
color: $color-silver-chalice !important;
|
2021-09-02 18:58:25 +08:00
|
|
|
border-top: 1px solid $color-concrete;
|
2021-08-30 19:00:52 +08:00
|
|
|
padding-top: .3em;
|
2021-06-18 17:58:03 +08:00
|
|
|
}
|
|
|
|
|
2021-09-02 18:58:25 +08:00
|
|
|
&:only-child .form-dropdown-item-info {
|
|
|
|
border-top: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
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,
|
2023-01-10 18:08:49 +08:00
|
|
|
.change-experiments-view-type-form,
|
|
|
|
.change-my-modules-view-type-form {
|
2021-02-11 18:50:59 +08:00
|
|
|
.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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-04-20 19:40:38 +08:00
|
|
|
|
|
|
|
.form-dropdown-state-item {
|
|
|
|
background: $brand-primary;
|
|
|
|
border: 1px solid $brand-primary;
|
|
|
|
color: $color-white;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $brand-primary-hover !important;
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&.active {
|
|
|
|
background: $brand-primary-press;
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0 0 0 1px $brand-complementary;
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
2023-09-21 14:52:41 +08:00
|
|
|
|
|
|
|
.h-34 {
|
|
|
|
height: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-switch-link {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-05-08 23:01:55 +08:00
|
|
|
}
|