2021-01-25 22:36:23 +08:00
|
|
|
// scss-lint:disable SelectorDepth SelectorFormat
|
|
|
|
// scss-lint:disable NestingDepth QualifyingElement
|
|
|
|
|
2020-06-01 16:24:03 +08:00
|
|
|
.content-pane {
|
2021-02-12 21:45:09 +08:00
|
|
|
--content-header-size: 9.5em;
|
2020-06-01 16:24:03 +08:00
|
|
|
background-color: $color-white;
|
|
|
|
margin: 20px 0;
|
|
|
|
|
|
|
|
&.flexible {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-header {
|
2021-01-25 22:36:23 +08:00
|
|
|
&.sticky-header {
|
|
|
|
background: $color-white;
|
|
|
|
position: sticky;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
top: var(--navbar-height);
|
2023-05-26 17:12:47 +08:00
|
|
|
z-index: 150;
|
2020-06-01 16:24:03 +08:00
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
|
2021-01-25 22:36:23 +08:00
|
|
|
.title-row {
|
|
|
|
align-items: center;
|
2021-01-29 05:47:08 +08:00
|
|
|
background: $color-white;
|
2021-01-25 22:36:23 +08:00
|
|
|
display: flex;
|
2021-02-11 06:33:16 +08:00
|
|
|
height: 4em;
|
2023-05-19 16:11:19 +08:00
|
|
|
margin-left: -1.5rem;
|
|
|
|
padding: 0 1.5rem;
|
|
|
|
width: calc(100% + 3rem);
|
|
|
|
|
2020-06-03 19:42:09 +08:00
|
|
|
|
2021-01-25 22:36:23 +08:00
|
|
|
h1 {
|
2021-09-17 20:12:53 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2021-01-25 22:36:23 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0;
|
2023-06-21 17:00:16 +08:00
|
|
|
max-width: calc(100% - 2rem);
|
2020-12-17 01:32:07 +08:00
|
|
|
}
|
2021-01-25 22:36:23 +08:00
|
|
|
|
2021-03-09 05:01:26 +08:00
|
|
|
.name-readonly-placeholder {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2023-04-24 04:34:36 +08:00
|
|
|
}
|
2023-04-24 20:14:50 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.header-actions {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2021-03-09 05:01:26 +08:00
|
|
|
|
2023-04-24 20:14:50 +08:00
|
|
|
.view-switch,
|
|
|
|
.filter-container {
|
2023-04-24 04:34:36 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2023-04-24 20:14:50 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.view-switch {
|
|
|
|
margin-left: auto;
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2023-05-11 14:32:52 +08:00
|
|
|
.view-switch-button {
|
2023-05-11 18:40:56 +08:00
|
|
|
outline: 1px solid $color-alto;
|
2023-05-11 14:32:52 +08:00
|
|
|
}
|
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.caret {
|
|
|
|
margin: 8px 0 8px 8px;
|
|
|
|
}
|
2021-01-25 22:36:23 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
&.open {
|
2020-06-03 19:42:09 +08:00
|
|
|
.caret {
|
2023-04-24 04:34:36 +08:00
|
|
|
transform: rotateX(180deg);
|
2020-06-03 19:42:09 +08:00
|
|
|
}
|
2023-04-24 04:34:36 +08:00
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.dropdown-menu {
|
|
|
|
@include font-button;
|
2023-05-30 22:13:59 +08:00
|
|
|
margin-right: .25em;
|
|
|
|
min-width: calc(100% - .25em);
|
2023-05-30 17:15:06 +08:00
|
|
|
padding: 0;
|
2023-04-24 04:34:36 +08:00
|
|
|
|
|
|
|
.divider-label {
|
|
|
|
@include font-small;
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
padding: .25em 1em;
|
2021-01-25 22:36:23 +08:00
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.divider {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
li {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: .5em 1em;
|
|
|
|
white-space: nowrap;
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.button-icon {
|
|
|
|
margin-right: .5em;
|
2023-01-06 17:54:38 +08:00
|
|
|
}
|
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
&:hover:not(.divider-label) {
|
|
|
|
background: $color-concrete;
|
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.btn {
|
|
|
|
height: 36px;
|
|
|
|
}
|
2022-11-08 23:39:52 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
margin: -1em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
width: calc(100% + 2em);
|
2023-01-06 17:54:38 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
&.selected::after {
|
2023-06-22 17:55:23 +08:00
|
|
|
@include font-sn-icon;
|
|
|
|
content: $sn-icon-check;
|
2023-04-24 04:34:36 +08:00
|
|
|
margin-left: auto;
|
|
|
|
position: absolute;
|
2023-06-22 17:55:23 +08:00
|
|
|
right: .5rem;
|
|
|
|
top: 0;
|
2022-11-08 23:39:52 +08:00
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
}
|
|
|
|
}
|
2023-04-24 04:34:36 +08:00
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.cards-switch {
|
|
|
|
&.active::after {
|
|
|
|
@include font-awesome;
|
|
|
|
content: "\f00c";
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
2021-01-29 05:47:08 +08:00
|
|
|
}
|
|
|
|
}
|
2023-04-24 04:34:36 +08:00
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.sort-menu {
|
|
|
|
display: inline-block;
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
.dropdown-menu {
|
|
|
|
@include font-button;
|
2023-06-22 17:55:23 +08:00
|
|
|
min-width: 160px;
|
2023-04-24 04:34:36 +08:00
|
|
|
padding: .5em 0;
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
a {
|
|
|
|
border-radius: unset;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: .5em 1em;
|
|
|
|
text-align: left;
|
2021-01-29 05:47:08 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
&:hover {
|
|
|
|
background: $color-concrete;
|
2021-01-29 05:47:08 +08:00
|
|
|
}
|
2021-08-16 16:51:46 +08:00
|
|
|
|
2023-04-24 04:34:36 +08:00
|
|
|
&.selected::after {
|
2023-06-22 17:55:23 +08:00
|
|
|
@include font-sn-icon;
|
|
|
|
content: $sn-icon-check;
|
2023-04-24 04:34:36 +08:00
|
|
|
margin-left: auto;
|
|
|
|
position: absolute;
|
2023-06-22 17:55:23 +08:00
|
|
|
right: .5rem;
|
|
|
|
top: 0;
|
2021-08-16 16:51:46 +08:00
|
|
|
}
|
2021-01-29 05:47:08 +08:00
|
|
|
}
|
2023-04-24 04:34:36 +08:00
|
|
|
|
|
|
|
.fa-stack {
|
|
|
|
width: 2em;
|
|
|
|
}
|
2020-06-03 19:42:09 +08:00
|
|
|
}
|
|
|
|
}
|
2020-06-01 16:24:03 +08:00
|
|
|
|
2021-01-25 22:36:23 +08:00
|
|
|
.toolbar-row {
|
2021-01-29 05:47:08 +08:00
|
|
|
background: $color-white;
|
2023-05-19 16:11:19 +08:00
|
|
|
margin-left: -1.5rem;
|
|
|
|
padding: 1em 1.5rem;
|
|
|
|
width: calc(100% + 3rem);
|
2021-01-25 22:36:23 +08:00
|
|
|
}
|
2023-06-01 18:20:56 +08:00
|
|
|
|
|
|
|
.narrow {
|
|
|
|
.btn:not(.prevent-shrink) {
|
|
|
|
padding: 7px;
|
|
|
|
width: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden-xs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left,
|
|
|
|
.middle,
|
|
|
|
.right {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: inherit;
|
|
|
|
}
|
|
|
|
}
|
2020-06-01 16:24:03 +08:00
|
|
|
}
|
2021-02-12 21:45:09 +08:00
|
|
|
|
|
|
|
&[data-toolbar-visible="false"] {
|
|
|
|
--content-header-size: 5em;
|
|
|
|
|
|
|
|
.toolbar-row {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-06-01 16:24:03 +08:00
|
|
|
}
|