mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
102 lines
1.7 KiB
SCSS
102 lines
1.7 KiB
SCSS
// 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-2016 Andrey Antukh <niwi@niwi.nz>
|
|
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
|
|
|
.project-bar {
|
|
background-color: $primary-ui-bg;
|
|
border-right: 1px solid $color-gray-lighter;
|
|
bottom: 0;
|
|
height: 100%;
|
|
left: 50px;
|
|
position: fixed;
|
|
width: 200px;
|
|
z-index: 9;
|
|
|
|
&.toggle {
|
|
left:-201px;
|
|
}
|
|
|
|
.project-bar-inside {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
padding-top: 60px;
|
|
|
|
.project-name {
|
|
border-bottom: 1px solid $color-gray-lighter;
|
|
font-size: $fs14;
|
|
font-weight: bold;
|
|
padding: 0 $small;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-primary,
|
|
.btn-delete {
|
|
font-size: $fs13;
|
|
margin-bottom: .5rem;
|
|
padding: 8px $small;
|
|
width: 90%;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tree-view {
|
|
width: 100%;
|
|
|
|
li {
|
|
align-items: center;
|
|
cursor: pointer;
|
|
display: flex;
|
|
padding: $x-small $small;
|
|
position: relative;
|
|
|
|
svg {
|
|
fill: $color-gray-light;
|
|
height: 12px;
|
|
margin-right: $x-small;
|
|
width: 12px;
|
|
}
|
|
|
|
span {
|
|
font-size: $fs13;
|
|
}
|
|
|
|
&:hover,
|
|
&.current {
|
|
|
|
span {
|
|
color: $color-primary;
|
|
}
|
|
|
|
}
|
|
|
|
.options {
|
|
align-items: center;
|
|
position: absolute;
|
|
display: flex;
|
|
right: 0;
|
|
top: 40%;
|
|
|
|
svg {
|
|
fill: $color-gray-light;
|
|
height: 12px;
|
|
margin-right: $small;
|
|
width: 12px;
|
|
|
|
&:hover {
|
|
fill: $color-gray-dark;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|