// 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; bottom: 0; height: 100%; position: fixed; right: 0; width: 15rem; z-index: 10; &.settings-bar-left { left: 40px; } .settings-bar-inside { align-items: center; display: grid; grid-template-columns: 100%; &[data-layout*='sitemap-pages'] { grid-template-rows: auto; } &[data-layout*='layers'] { grid-template-rows: auto 1fr; } &[data-layout*='libraries'] { grid-template-rows: auto 1fr; } &[data-layout*='layers'][data-layout*='sitemap-pages'] { grid-template-rows: 11.5rem 1fr; } &[data-layout*='libraries'][data-layout*='sitemap-pages'] { grid-template-rows: 11.5rem 1fr; } &[data-layout*='layers'][data-layout*='libraries'] { grid-template-rows: auto 30% 1fr; } &[data-layout*='layers'][data-layout*='libraries'][data-layout*='sitemap-pages'] { grid-template-rows: 11.5rem 25% 1fr; } flex-direction: column; overflow: hidden; padding-top: 40px; height: 100%; .tool-window { border-bottom: 1px solid $color-gray-60; display: flex; flex-direction: column; flex: 1; width: 100%; height: 100%; overflow: hidden; .tool-window-bar { align-items: center; display: flex; flex-shrink: 0; padding: $small; overflow: hidden; svg { fill: $color-gray-20; height: 12px; width: 12px; } span { color: $color-gray-10; font-size: $fs13; } .tool-window-icon { margin-right: $small; display: none; } .tool-window-close { cursor: pointer; margin-left: auto; transform: rotate(45deg); &:hover { svg { fill: $color-danger; } } } } } } } .tool-window-content { display: flex; flex-wrap: wrap; overflow-y: auto; height: 100%; } .element-list { margin: 0; width: 100%; ul { border-left: 9px solid $color-gray-50; margin: 0; li { border-left: 1px solid $color-gray-40; } } li { cursor: pointer; display: flex; flex-direction: column; width: 100%; border-top: 1px solid transparent; border-bottom: 1px solid transparent; &.open { ul { li { .element-list-body { border-style: dashed; } } } } } }