0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00
penpot/frontend/resources/styles/main/partials/project-bar.scss

95 lines
1.6 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) KALEIDOS INC
2016-03-01 20:39:13 +02:00
2015-06-18 19:35:50 +02:00
.project-bar {
2020-03-03 13:14:37 +01:00
background-color: $color-gray-50;
2020-04-14 10:15:39 +02:00
border-right: 1px solid $color-gray-10;
2015-06-18 19:35:50 +02:00
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;
2015-06-18 19:35:50 +02:00
}
.project-bar-inside {
align-items: center;
display: flex;
flex-direction: column;
overflow-y: auto;
padding-top: 60px;
.project-name {
2020-04-14 10:15:39 +02:00
border-bottom: 1px solid $color-gray-10;
2015-06-18 19:35:50 +02:00
font-size: $fs14;
font-weight: $fw700;
2021-10-05 10:16:44 +02:00
padding: 0 $size-2;
2015-06-18 19:35:50 +02:00
width: 100%;
}
2015-12-17 12:34:40 +01:00
.btn-primary,
.btn-warning,
.btn-danger {
2021-10-05 12:59:00 +02:00
font-size: $fs12;
margin-bottom: 0.5rem;
2021-10-05 10:16:44 +02:00
padding: 8px $size-2;
2015-06-18 19:35:50 +02:00
width: 90%;
}
}
}
.tree-view {
width: 100%;
li {
align-items: center;
cursor: pointer;
display: flex;
2021-10-05 10:16:44 +02:00
padding: $size-1 $size-2;
2015-06-18 19:35:50 +02:00
position: relative;
svg {
2020-04-14 10:15:39 +02:00
fill: $color-gray-20;
2015-06-18 19:35:50 +02:00
height: 12px;
2021-10-05 10:16:44 +02:00
margin-right: $size-1;
2015-06-18 19:35:50 +02:00
width: 12px;
}
span {
2021-10-05 12:59:00 +02:00
font-size: $fs12;
2015-06-18 19:35:50 +02:00
}
&:hover,
&.current {
span {
color: $color-primary;
}
}
.options {
align-items: center;
position: absolute;
display: flex;
right: 0;
top: 40%;
svg {
2020-04-14 10:15:39 +02:00
fill: $color-gray-20;
2015-06-18 19:35:50 +02:00
height: 12px;
2021-10-05 10:16:44 +02:00
margin-right: $size-2;
2015-06-18 19:35:50 +02:00
width: 12px;
&:hover {
2020-04-14 10:15:39 +02:00
fill: $color-gray-40;
2015-06-18 19:35:50 +02:00
}
}
}
}
}