0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-31 03:09:19 -05:00
penpot/resources/public/styles/partials/sidebar.scss

87 lines
1.4 KiB
SCSS
Raw Normal View History

2015-06-18 19:35:50 +02:00
.settings-bar {
2016-02-17 08:56:02 +01:00
background-color: $primary-ui-bg;
2015-06-18 19:35:50 +02:00
bottom: 0;
2016-02-18 16:54:43 +01:00
box-sizing: border-box;
2015-06-18 19:35:50 +02:00
height: 100%;
position: fixed;
right: 0;
2016-02-14 20:37:01 +01:00
width: 230px;
2016-02-12 16:26:11 +01:00
z-index: 10;
&.settings-bar-left {
left: 0
}
2015-06-18 19:35:50 +02:00
.settings-bar-inside {
align-items: center;
2016-02-18 16:54:43 +01:00
box-sizing: border-box;
2015-06-18 19:35:50 +02:00
display: flex;
flex-direction: column;
overflow-y: auto;
2016-02-18 16:54:43 +01:00
overflow-x: hidden;
2015-06-18 19:35:50 +02:00
padding-top: 50px;
height: 100%;
.tool-window {
2016-02-17 08:56:02 +01:00
border-bottom: 1px solid $light-ui-border;
2015-06-18 19:35:50 +02:00
display: flex;
flex-direction: column;
2016-02-18 16:54:43 +01:00
flex: 1;
2015-06-18 19:35:50 +02:00
width: 100%;
.tool-window-bar {
align-items: center;
2016-02-17 08:56:02 +01:00
border-bottom: 1px solid $light-ui-border;
2015-06-18 19:35:50 +02:00
display: flex;
flex-shrink: 0;
padding: 2px $x-small;
svg {
2016-02-17 08:56:02 +01:00
fill: $dark-ui-icons;
2015-06-18 19:35:50 +02:00
height: 12px;
width: 12px;
}
span {
2016-02-17 08:56:02 +01:00
color: $dark-ui-text;
2015-06-18 19:35:50 +02:00
font-weight: bold;
}
.tool-window-icon {
margin-right: $small;
}
.tool-window-close {
cursor: pointer;
margin-left: auto;
transform: rotate(45deg);
&:hover {
svg {
2016-02-17 08:56:02 +01:00
fill: $color-danger;
2015-06-18 19:35:50 +02:00
}
}
}
}
.tool-window-content {
display: flex;
flex-wrap: wrap;
overflow-y: auto;
padding-bottom: $medium;
2016-01-24 18:52:09 +01:00
}
2016-02-18 16:54:43 +01:00
&#layers {
padding-bottom: 30px;
}
2015-06-18 19:35:50 +02:00
}
}
}