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/project-bar.scss

103 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-2016 Andrey Antukh <niwi@niwi.nz>
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
2015-06-18 19:35:50 +02:00
.project-bar {
2020-03-03 13:14:37 +01:00
background-color: $color-gray-50;
2015-06-18 19:35:50 +02:00
border-right: 1px solid $color-gray-lighter;
bottom: 0;
height: 100%;
2015-12-17 12:34:40 +01:00
left: 50px;
2015-06-18 19:35:50 +02:00
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%;
}
2015-12-17 12:34:40 +01:00
.btn-primary,
.btn-delete {
2015-06-18 19:35:50 +02:00
font-size: $fs13;
2015-12-17 12:34:40 +01:00
margin-bottom: .5rem;
2015-06-18 19:35:50 +02:00
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;
}
}
}
}
}