// 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/. // // Copyright (c) 2015-2020 Andrey Antukh // Copyright (c) 2015-2020 Juan de la Cruz .settings-bar { background-color: $color-gray-50; border-left: 1px solid $color-gray-60; position: relative; &.settings-bar-left { border-left: none; border-right: 1px solid $color-gray-60; & .tab-container-tabs { padding-left: 1.5rem; } } .settings-bar-inside { display: grid; grid-template-columns: 100%; grid-template-rows: 100%; height: calc(100% - 2px); .tool-window { position: relative; border-bottom: 1px solid $color-gray-60; display: flex; flex-direction: column; flex: 1; width: 100%; height: 100%; .tool-window-bar { align-items: center; display: flex; flex-shrink: 0; padding: $size-2; overflow: hidden; svg { fill: $color-gray-20; height: 12px; width: 12px; } span { color: $color-gray-10; font-size: $fs14; } span.tool-badge { border: 1px solid $color-primary; border-radius: 2px; font-size: $fs10; color: $color-primary; padding: 2px 4px; margin-left: auto; } span.tool-link { margin-left: auto; svg { fill: $color-gray-30; height: 16px; width: 16px; } &:hover { svg { fill: $color-primary; } } } .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; } .tool-window-icon { margin-right: $size-2; display: none; } .tool-window-close { cursor: pointer; margin-left: auto; transform: rotate(45deg); &:hover { svg { fill: $color-danger; } } } } } .assets-bar .tool-window { flex: none; height: auto; } } & > .resize-area { position: absolute; width: 8px; height: 100%; z-index: 10; cursor: ew-resize; } &.settings-bar-left > .resize-area { right: -8px; } &.settings-bar-right > .resize-area { left: -4px; } } .tool-window-content { display: flex; flex-direction: column; height: 100%; width: 100%; overflow-y: auto; } .element-list { margin: 0; width: 100%; ul { border-left: 9px solid $color-gray-50; margin: 0 0 0 0.4rem; li { border-left: 1px solid $color-gray-40; } } li { cursor: pointer; display: flex; flex-direction: column; width: 100%; padding-top: 1px; padding-bottom: 1px; &.open { ul { li { .element-list-body { border-style: dashed; } } } } } } .element-list.pages-list { max-height: 10rem; .context-menu { position: fixed; } .context-menu-items { border: none; margin: none; } .context-menu-action { width: 100%; } } 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); } } } #layers.tool-window { overflow: auto; } .layers-tab { display: grid; grid-template-rows: auto 1fr; grid-template-columns: 100%; height: 100%; overflow: hidden; }