0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-27 17:09:08 -05:00
penpot/resources/styles/partials/sidebar-sitemap.scss
2016-02-21 16:23:47 +02:00

136 lines
2.1 KiB
SCSS

.sitemap {
.project-title {
align-items: center;
border-bottom: 1px solid $soft-ui-border;
display: flex;
padding: $x-small;
width: 100%;
span {
color: $intense-ui-text;
font-size: $fs14;
font-weight: bold;
max-width: 80%;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.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: $color-white;
border-color: $soft-ui-border;
}
}
}
.element-list {
li {
align-items: center;
border-bottom: 1px solid $soft-ui-border;
display: flex;
flex-direction: row;
padding: $x-small;
width: 100%;
.page-icon {
svg {
fill: $medium-ui-icons;
height: 15px;
margin-right: $x-small;
width: 15px;
}
}
span {
color: $medium-ui-text;
font-size: $fs14;
max-width: 75%;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.page-actions {
align-items: center;
display: flex;
margin-left: auto;
a {
svg {
fill: $soft-ui-icons;
height: 15px;
margin-left: $x-small;
width: 15px;
&:hover {
fill: $intense-ui-icons;
}
}
}
}
&:hover {
.page-icon {
svg {
fill: $main-ui-color;
}
}
span {
color: $main-ui-color;
}
}
&.selected {
.page-icon {
svg {
fill: $main-ui-color;
}
}
span {
color: $main-ui-color;
font-weight: bold;
}
}
}
}
}