0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 07:29:08 -05:00
penpot/frontend/resources/styles/main/partials/sidebar.scss

93 lines
1.7 KiB
SCSS
Raw Normal View History

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/.
//
// 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;
2015-06-18 19:35:50 +02:00
bottom: 0;
height: 100%;
position: fixed;
right: 0;
2016-02-14 20:37:01 +01:00
width: 230px;
2016-02-12 16:26:11 +01:00
z-index: 10;
&.settings-bar-left {
left: 40px;
2016-02-12 16:26:11 +01:00
}
2015-06-18 19:35:50 +02:00
.settings-bar-inside {
align-items: center;
display: flex;
flex-direction: column;
overflow-y: auto;
2016-02-18 16:54:43 +01:00
overflow-x: hidden;
2019-12-17 15:37:30 +01:00
padding-top: 40px;
2015-06-18 19:35:50 +02:00
height: 100%;
.tool-window {
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%;
.tool-window-bar {
align-items: center;
display: flex;
flex-shrink: 0;
2019-12-16 14:19:25 +01:00
padding: $small;
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;
2019-12-16 14:19:25 +01:00
font-size: $fs14;
2015-06-18 19:35:50 +02:00
}
.tool-window-icon {
margin-right: $small;
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
}
}
}
}
.tool-window-content {
display: flex;
flex-wrap: wrap;
overflow-y: auto;
padding-bottom: $medium;
2020-03-23 11:33:31 +01:00
height: 100%;
2016-01-24 18:52:09 +01:00
}
2016-02-18 16:54:43 +01:00
&#layers {
padding-bottom: 30px;
}
2015-06-18 19:35:50 +02:00
}
}
}