2022-12-04 13:22:35 -06:00
|
|
|
.layer-manager {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
background-color: var(--c-primary);
|
|
|
|
}
|
|
|
|
|
2022-12-04 05:00:39 -06:00
|
|
|
#layer-list {
|
|
|
|
height: 200px;
|
2022-12-04 13:22:35 -06:00
|
|
|
|
2022-12-05 06:00:31 -06:00
|
|
|
overflow-y: auto;
|
|
|
|
|
2022-12-04 13:22:35 -06:00
|
|
|
background-color: var(--c-primary);
|
|
|
|
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list > *:first-child {
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
2022-12-04 05:00:39 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .ui-layer {
|
2022-12-04 13:22:35 -06:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
height: 25px;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
|
2022-12-04 05:00:39 -06:00
|
|
|
cursor: pointer;
|
2022-12-04 13:22:35 -06:00
|
|
|
|
|
|
|
color: var(--c-text);
|
|
|
|
|
|
|
|
transition-duration: 50ms;
|
2022-12-04 05:00:39 -06:00
|
|
|
}
|
|
|
|
|
2022-12-04 13:22:35 -06:00
|
|
|
#layer-list .ui-layer.active {
|
|
|
|
background-color: var(--c-active);
|
|
|
|
}
|
|
|
|
#layer-list .ui-layer.active:hover,
|
2022-12-04 05:00:39 -06:00
|
|
|
#layer-list .ui-layer:hover {
|
2022-12-04 13:22:35 -06:00
|
|
|
background-color: var(--c-hover);
|
2022-12-04 05:00:39 -06:00
|
|
|
}
|
2022-12-04 13:22:35 -06:00
|
|
|
#layer-list .ui-layer.active:active,
|
2022-12-04 05:00:39 -06:00
|
|
|
#layer-list .ui-layer:active {
|
2022-12-04 13:22:35 -06:00
|
|
|
background-color: var(--c-hover);
|
|
|
|
filter: brightness(120%);
|
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .ui-layer > .title {
|
|
|
|
flex: 1;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
border: 0;
|
|
|
|
color: var(--c-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .ui-layer > .actions {
|
|
|
|
display: flex;
|
|
|
|
align-self: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .actions > button {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
width: 25px;
|
|
|
|
aspect-ratio: 1;
|
|
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .ui-layer > .actions > *:hover > * {
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .actions > button > *:first-child {
|
|
|
|
flex: 1;
|
|
|
|
margin: 3px;
|
|
|
|
|
|
|
|
-webkit-mask-size: contain;
|
|
|
|
mask-size: contain;
|
|
|
|
background-color: var(--c-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .actions > .rename-btn > *:first-child {
|
2022-12-18 17:50:40 -06:00
|
|
|
-webkit-mask-image: url("../../res/icons/edit.svg");
|
|
|
|
mask-image: url("../../res/icons/edit.svg");
|
2022-12-04 13:22:35 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .actions > .delete-btn > *:first-child {
|
2022-12-18 17:50:40 -06:00
|
|
|
-webkit-mask-image: url("../../res/icons/trash.svg");
|
|
|
|
mask-image: url("../../res/icons/trash.svg");
|
2022-12-04 13:22:35 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#layer-list .actions > .hide-btn > *:first-child {
|
2022-12-18 17:50:40 -06:00
|
|
|
-webkit-mask-image: url("../../res/icons/eye.svg");
|
|
|
|
mask-image: url("../../res/icons/eye.svg");
|
2022-12-04 13:22:35 -06:00
|
|
|
}
|
|
|
|
#layer-list .hidden .actions > .hide-btn > *:first-child {
|
2022-12-18 17:50:40 -06:00
|
|
|
-webkit-mask-image: url("../../res/icons/eye-off.svg");
|
|
|
|
mask-image: url("../../res/icons/eye-off.svg");
|
2022-12-04 13:22:35 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.layer-manager > .separator {
|
|
|
|
width: calc(100% - 10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.layer-manager > .layer-list-actions {
|
|
|
|
display: flex;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
justify-content: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layer-manager > .layer-list-actions > * {
|
|
|
|
flex: 1;
|
|
|
|
height: 25px;
|
2022-12-04 05:00:39 -06:00
|
|
|
}
|
2022-12-16 19:57:28 -06:00
|
|
|
|
|
|
|
/* Resizing buttons */
|
|
|
|
.expand-button {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
transition-duration: 300ms;
|
2023-01-18 17:55:04 -06:00
|
|
|
transition-property: background-color;
|
2022-12-16 19:57:28 -06:00
|
|
|
|
|
|
|
border: 2px solid #293d3d30;
|
|
|
|
}
|
|
|
|
|
|
|
|
.expand-button::after {
|
|
|
|
content: "";
|
|
|
|
|
|
|
|
background-color: #293d3d77;
|
|
|
|
|
2023-01-14 15:54:58 -06:00
|
|
|
-webkit-mask-image: url("../../res/icons/chevron-up.svg");
|
2022-12-18 17:50:40 -06:00
|
|
|
mask-image: url("../../res/icons/chevron-up.svg");
|
2023-01-14 15:54:58 -06:00
|
|
|
-webkit-mask-size: contain;
|
2022-12-16 19:57:28 -06:00
|
|
|
mask-size: contain;
|
|
|
|
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.expand-button:hover::after {
|
|
|
|
background-color: #466;
|
|
|
|
}
|
|
|
|
|
|
|
|
.expand-button.right::after {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.expand-button.bottom::after {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.expand-button.left::after {
|
|
|
|
transform: rotate(270deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.expand-button.left {
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
border-bottom-left-radius: 10px;
|
|
|
|
}
|
|
|
|
.expand-button.top {
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
}
|
|
|
|
.expand-button.right {
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
border-bottom-right-radius: 10px;
|
|
|
|
}
|
|
|
|
.expand-button.bottom {
|
|
|
|
border-bottom-right-radius: 10px;
|
|
|
|
border-bottom-left-radius: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.expand-button:hover {
|
2022-12-18 08:26:47 -06:00
|
|
|
background-color: #293d3d77;
|
2022-12-16 19:57:28 -06:00
|
|
|
}
|