0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 04:49:03 -05:00
penpot/frontend/resources/styles/main/partials/left-toolbar.scss

72 lines
1.4 KiB
SCSS
Raw Normal View History

// 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) KALEIDOS INC
.left-toolbar {
background-color: $color-gray-50;
align-items: center;
border-right: 1px solid $color-gray-60;
display: flex;
flex-direction: column;
overflow: visible;
height: 100%;
}
.left-toolbar-options {
align-items: center;
display: flex;
flex-direction: column;
margin: 0;
li {
position: relative;
2022-02-03 11:15:50 +01:00
color: $color-gray-20;
2022-05-11 10:55:16 +02:00
button {
background-color: transparent;
border: none;
cursor: pointer;
height: 48px;
width: 48px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
color: inherit;
2022-05-11 10:55:16 +02:00
svg {
fill: $color-gray-20;
height: 16px;
width: 16px;
}
2022-05-11 10:55:16 +02:00
&:hover {
background-color: $color-primary;
color: $color-gray-50;
2022-05-11 10:55:16 +02:00
svg {
fill: $color-gray-50;
}
}
2022-05-11 10:55:16 +02:00
&.selected {
background-color: $color-gray-60;
color: $color-primary;
2022-05-11 10:55:16 +02:00
svg {
fill: $color-primary;
}
}
2022-05-03 10:34:11 +02:00
2022-05-11 10:55:16 +02:00
&.separator {
border-top: 1px solid $color-gray-60;
}
2022-05-03 10:34:11 +02:00
}
}
&.panels {
margin-top: auto;
}
}