mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
175 lines
2.9 KiB
SCSS
175 lines
2.9 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>
|
|
|
|
.sitemap {
|
|
max-height: 180px;
|
|
|
|
.tool-window-bar {
|
|
|
|
.add-page {
|
|
align-items: center;
|
|
background-color: $soft-ui-icons;
|
|
border-radius: $br-small;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-left: auto;
|
|
padding: $x-small;
|
|
|
|
svg {
|
|
fill: $intense-ui-icons;
|
|
height: 16px;
|
|
width: 16px;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $main-ui-color;
|
|
|
|
svg {
|
|
fill: $soft-ui-icons;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.element-list {
|
|
|
|
li {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
|
|
.page-icon {
|
|
|
|
svg {
|
|
fill: $medium-ui-icons;
|
|
height: 13px;
|
|
margin-right: $small;
|
|
width: 13px;
|
|
}
|
|
|
|
}
|
|
|
|
span {
|
|
color: $medium-ui-text;
|
|
font-size: $fs13;
|
|
max-width: 75%;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.page-actions {
|
|
align-items: center;
|
|
display: none;
|
|
margin-left: auto;
|
|
|
|
a {
|
|
|
|
svg {
|
|
fill: $soft-ui-icons;
|
|
height: 15px;
|
|
margin-left: $x-small;
|
|
opacity: .6;
|
|
width: 15px;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $main-ui-color;
|
|
|
|
.page-icon {
|
|
|
|
svg {
|
|
fill: $soft-ui-icons;
|
|
}
|
|
|
|
span {
|
|
color: $intense-ui-text;
|
|
}
|
|
|
|
}
|
|
|
|
.page-actions {
|
|
display: flex;
|
|
@include animation(0s,.3s,fadeIn);
|
|
}
|
|
|
|
}
|
|
|
|
&.selected {
|
|
|
|
.page-icon {
|
|
|
|
svg {
|
|
fill: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
span {
|
|
color: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
.page-icon {
|
|
|
|
svg {
|
|
fill: $soft-ui-icons;
|
|
}
|
|
}
|
|
|
|
span {
|
|
color: $intense-ui-text;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
.element-list-body {
|
|
align-items: center;
|
|
display: flex;
|
|
padding: $x-small $small;
|
|
transition: none;
|
|
width: 100%;
|
|
|
|
svg {
|
|
fill: $soft-ui-icons;
|
|
height: 13px;
|
|
margin-right: 8px;
|
|
width: 13px;
|
|
}
|
|
|
|
.element-actions {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
width: 62px;
|
|
}
|
|
|
|
&.dragging {
|
|
// TODO: revisit this
|
|
background-color: $dark-ui-bg;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|