mirror of
https://github.com/penpot/penpot.git
synced 2025-01-27 08:59:17 -05:00
222 lines
3.1 KiB
SCSS
222 lines
3.1 KiB
SCSS
.element-options {
|
|
display: flex;
|
|
width: 100%;
|
|
|
|
> div {
|
|
width: 100%;
|
|
}
|
|
|
|
.element-icons {
|
|
background-color: $primary-ui-bg;
|
|
border: 1px solid $soft-ui-border;
|
|
border-radius: $br-small;
|
|
display: flex;
|
|
margin: $x-small;
|
|
|
|
li {
|
|
align-items: center;
|
|
border-right: 1px solid $soft-ui-border;
|
|
border-radius: $br-small;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: center;
|
|
padding: $small;
|
|
|
|
svg {
|
|
fill: $intense-ui-icons;
|
|
height: 15px;
|
|
width: 15px;
|
|
}
|
|
|
|
&:hover {
|
|
|
|
svg {
|
|
fill: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
&.selected {
|
|
background-color: $main-ui-color;
|
|
|
|
svg {
|
|
fill: $color-white;
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
border: none;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.element-set {
|
|
color: $medium-ui-text;
|
|
margin: 0 $x-small;
|
|
|
|
.element-set-title {
|
|
border-bottom: 1px dashed $soft-ui-border;
|
|
color: $medium-ui-text;
|
|
font-weight: bold;
|
|
padding: 2px $x-small;
|
|
width: 100%;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.element-set-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: $small $x-small;
|
|
|
|
.input-text {
|
|
background-color: transparent;
|
|
border-color: $soft-ui-border;
|
|
color: $intense-ui-text;
|
|
font-size: $fs13;
|
|
margin: $x-small;
|
|
padding: $x-small;
|
|
width: 100%;
|
|
|
|
&:focus {
|
|
color: darken($intense-ui-text, 8%);
|
|
border-color: $intense-ui-border;
|
|
}
|
|
|
|
}
|
|
|
|
.input-select {
|
|
color: $intense-ui-text;
|
|
|
|
&:focus {
|
|
color: darken($intense-ui-text, 8%);
|
|
}
|
|
|
|
}
|
|
|
|
span {
|
|
color: $medium-ui-text;
|
|
font-size: $fs12;
|
|
}
|
|
|
|
.lock-size {
|
|
cursor: pointer;
|
|
width: 20%;
|
|
|
|
svg {
|
|
fill: $medium-ui-text;
|
|
height: 15px;
|
|
width: 15px;
|
|
|
|
&:hover {
|
|
fill: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
&.selected {
|
|
|
|
svg {
|
|
fill: $color-white;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.color-th {
|
|
background-color: $color-gray-lighter;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
height: 25px;
|
|
margin: 5px 4px 0 4px;
|
|
width: 25px;
|
|
|
|
&.palette-th {
|
|
align-items: center;
|
|
border: 2px solid $medium-ui-icons;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
svg {
|
|
fill: $medium-ui-icons;
|
|
height: 18px;
|
|
width: 18px;
|
|
}
|
|
|
|
&:hover {
|
|
border-color: $main-ui-color;
|
|
svg {
|
|
fill: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.align-icons {
|
|
cursor: pointer;
|
|
|
|
span {
|
|
|
|
svg {
|
|
fill: $medium-ui-icons;
|
|
height: 20px;
|
|
margin: $x-small $small;
|
|
width: 20px;
|
|
}
|
|
|
|
&:hover,
|
|
&.current {
|
|
|
|
svg {
|
|
fill: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.element-color-picker {
|
|
align-items: center;
|
|
display: flex;
|
|
height: 100%;
|
|
justify-content: center;
|
|
margin: 0 4px;
|
|
|
|
.color-picker-body {
|
|
height: 100%;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.color-picker-bar {
|
|
height: 165px;
|
|
position: relative;
|
|
width: 15px;
|
|
|
|
.color-bar-select {
|
|
background-color: $color-white;
|
|
height: 3px;
|
|
left: -4px;
|
|
position: absolute;
|
|
width: 23px;
|
|
transition: none;
|
|
top: 30%;
|
|
}
|
|
|
|
}
|
|
|
|
}
|