2016-03-01 20:39:13 +02:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
//
|
2020-03-13 22:29:28 +01:00
|
|
|
// Copyright (c) 2015-2020 Andrey Antukh <niwi@niwi.nz>
|
|
|
|
// Copyright (c) 2015-2020 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
2016-03-01 20:39:13 +02:00
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
.settings-bar {
|
2020-03-03 13:14:37 +01:00
|
|
|
background-color: $color-gray-50;
|
2020-05-19 14:37:53 +02:00
|
|
|
border-left: 1px solid $color-gray-60;
|
2022-01-26 15:16:21 +01:00
|
|
|
position: relative;
|
2016-02-12 16:26:11 +01:00
|
|
|
|
|
|
|
&.settings-bar-left {
|
2020-05-19 14:37:53 +02:00
|
|
|
border-left: none;
|
|
|
|
border-right: 1px solid $color-gray-60;
|
2022-01-26 17:26:57 +01:00
|
|
|
|
|
|
|
& .tab-container-tabs {
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
}
|
2016-02-12 16:26:11 +01:00
|
|
|
}
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
.settings-bar-inside {
|
2020-03-23 15:23:29 +01:00
|
|
|
display: grid;
|
2020-03-26 14:19:27 +01:00
|
|
|
grid-template-columns: 100%;
|
2022-02-01 13:02:31 +01:00
|
|
|
grid-template-rows: 100%;
|
|
|
|
height: calc(100% - 2px);
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
.tool-window {
|
2021-05-12 09:48:06 +02:00
|
|
|
position: relative;
|
2020-03-03 13:14:37 +01:00
|
|
|
border-bottom: 1px solid $color-gray-60;
|
2015-06-18 19:35:50 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-02-18 16:54:43 +01:00
|
|
|
flex: 1;
|
2015-06-18 19:35:50 +02:00
|
|
|
width: 100%;
|
2020-03-23 15:23:29 +01:00
|
|
|
height: 100%;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
.tool-window-bar {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0;
|
2021-10-05 10:16:44 +02:00
|
|
|
padding: $size-2;
|
2020-03-23 15:23:29 +01:00
|
|
|
overflow: hidden;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-gray-20;
|
2015-06-18 19:35:50 +02:00
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
2020-03-03 13:14:37 +01:00
|
|
|
color: $color-gray-10;
|
2021-10-05 12:59:00 +02:00
|
|
|
font-size: $fs14;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
2020-08-04 12:05:54 +02:00
|
|
|
span.tool-badge {
|
|
|
|
border: 1px solid $color-primary;
|
|
|
|
border-radius: 2px;
|
|
|
|
font-size: $fs10;
|
|
|
|
color: $color-primary;
|
|
|
|
padding: 2px 4px;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2020-08-05 13:30:26 +02:00
|
|
|
span.tool-link {
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $color-gray-30;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
svg {
|
|
|
|
fill: $color-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-21 09:31:48 +02:00
|
|
|
.tool-window-bar-icon {
|
|
|
|
height: 15px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.big {
|
|
|
|
height: 3rem;
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tool-window-bar-title {
|
|
|
|
font-size: $fs14;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
.tool-window-icon {
|
2021-10-05 10:16:44 +02:00
|
|
|
margin-right: $size-2;
|
2019-12-16 14:19:25 +01:00
|
|
|
display: none;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.tool-window-close {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: auto;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
svg {
|
2016-02-17 08:56:02 +01:00
|
|
|
fill: $color-danger;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-14 12:37:52 +02:00
|
|
|
}
|
2015-06-18 19:35:50 +02:00
|
|
|
|
2020-09-14 12:37:52 +02:00
|
|
|
.assets-bar .tool-window {
|
2022-01-12 11:27:43 +01:00
|
|
|
flex: none;
|
|
|
|
height: auto;
|
2020-03-24 14:38:13 +01:00
|
|
|
}
|
|
|
|
}
|
2022-01-26 15:16:21 +01:00
|
|
|
|
2022-01-26 17:26:57 +01:00
|
|
|
& > .resize-area {
|
2022-01-26 15:16:21 +01:00
|
|
|
position: absolute;
|
|
|
|
width: 8px;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 10;
|
|
|
|
cursor: ew-resize;
|
|
|
|
}
|
|
|
|
|
2022-01-26 17:26:57 +01:00
|
|
|
&.settings-bar-left > .resize-area {
|
2022-01-26 15:16:21 +01:00
|
|
|
right: -8px;
|
|
|
|
}
|
|
|
|
|
2022-01-26 17:26:57 +01:00
|
|
|
&.settings-bar-right > .resize-area {
|
2022-01-31 17:50:33 +01:00
|
|
|
left: -4px;
|
2022-01-26 15:16:21 +01:00
|
|
|
}
|
2020-03-24 14:38:13 +01:00
|
|
|
}
|
2020-04-27 14:31:57 +02:00
|
|
|
|
2020-03-24 14:38:13 +01:00
|
|
|
.tool-window-content {
|
|
|
|
display: flex;
|
2020-04-27 14:31:57 +02:00
|
|
|
flex-direction: column;
|
2020-03-24 14:38:13 +01:00
|
|
|
height: 100%;
|
2020-04-27 14:31:57 +02:00
|
|
|
width: 100%;
|
2022-02-01 13:02:31 +01:00
|
|
|
overflow-y: auto;
|
2020-03-24 14:38:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.element-list {
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
border-left: 9px solid $color-gray-50;
|
2020-10-15 10:59:23 +02:00
|
|
|
margin: 0 0 0 0.4rem;
|
2020-03-24 14:38:13 +01:00
|
|
|
|
|
|
|
li {
|
|
|
|
border-left: 1px solid $color-gray-40;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
2020-12-08 11:46:46 +01:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
2020-03-24 14:38:13 +01:00
|
|
|
|
|
|
|
&.open {
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
.element-list-body {
|
|
|
|
border-style: dashed;
|
|
|
|
}
|
|
|
|
}
|
2016-01-24 18:52:09 +01:00
|
|
|
}
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
}
|
2022-01-26 15:16:21 +01:00
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
2021-01-13 19:13:46 +01:00
|
|
|
|
|
|
|
.element-list.pages-list {
|
|
|
|
max-height: 10rem;
|
2021-01-19 07:55:29 +01:00
|
|
|
|
|
|
|
.context-menu {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.context-menu-items {
|
|
|
|
border: none;
|
|
|
|
margin: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.context-menu-action {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-01-13 19:13:46 +01:00
|
|
|
}
|
2022-01-31 17:50:33 +01:00
|
|
|
|
|
|
|
button.collapse-sidebar {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 2.5rem;
|
|
|
|
padding-top: 0.75rem;
|
|
|
|
position: absolute;
|
|
|
|
width: 1rem;
|
|
|
|
|
|
|
|
& svg {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
fill: $color-gray-20;
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsed {
|
|
|
|
background: $color-black;
|
|
|
|
left: 48px;
|
|
|
|
top: 48px;
|
|
|
|
width: 18px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 0px 4px 4px 0px;
|
|
|
|
|
|
|
|
& svg {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-02-01 13:02:31 +01:00
|
|
|
|
|
|
|
#layers.tool-window {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layers-tab {
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
grid-template-columns: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|