2020-12-01 07:50:33 +00:00
|
|
|
|
|
|
|
@white: #ffffff;
|
|
|
|
@black: #000000;
|
|
|
|
@gray: #c4c4c4;
|
|
|
|
@green: #4cd964;
|
2020-12-27 13:31:40 +00:00
|
|
|
@background-normal: @white;
|
2020-12-29 17:18:08 +00:00
|
|
|
@autoColor: @black;
|
2020-12-01 07:50:33 +00:00
|
|
|
|
2020-11-20 14:39:53 +00:00
|
|
|
.popup, .popover, .sheet-modal {
|
|
|
|
.list:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-10-26 07:59:18 +00:00
|
|
|
|
|
|
|
.row {
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.shapes {
|
|
|
|
li {
|
|
|
|
width: 70px;
|
|
|
|
height: 70px;
|
|
|
|
margin: 0 1px;
|
|
|
|
|
|
|
|
.thumb {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: @themeColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-11-06 21:10:26 +00:00
|
|
|
|
|
|
|
.segmented {
|
|
|
|
.decrement, .increment {
|
|
|
|
text-overflow: clip;
|
|
|
|
}
|
|
|
|
}
|
2020-12-17 16:46:09 +00:00
|
|
|
|
|
|
|
.content-block {
|
|
|
|
margin: 32px 0;
|
|
|
|
padding: 0 16px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2020-12-23 18:00:59 +00:00
|
|
|
|
2020-12-29 17:18:08 +00:00
|
|
|
.item-color-auto {
|
2020-12-23 18:00:59 +00:00
|
|
|
.color-auto {
|
|
|
|
width:22px;
|
|
|
|
height: 22px;
|
2020-12-29 17:18:08 +00:00
|
|
|
background-color: @autoColor;
|
2020-12-23 18:00:59 +00:00
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
.color-auto {
|
2020-12-27 13:31:40 +00:00
|
|
|
box-shadow: 0 0 0 1px @background-normal, 0 0 0 4px @themeColor;
|
2020-12-23 18:00:59 +00:00
|
|
|
border-radius: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-palettes {
|
|
|
|
.palette {
|
|
|
|
padding: 8px 0px;
|
|
|
|
a {
|
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
|
|
|
min-width: 10px;
|
|
|
|
min-height: 26px;
|
|
|
|
margin: 1px 1px 0 0;
|
|
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset;
|
|
|
|
&.active:after {
|
|
|
|
content: ' ';
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-12-27 13:31:40 +00:00
|
|
|
box-shadow: 0 0 0 1px @background-normal, 0 0 0 4px @themeColor;
|
2020-12-23 18:00:59 +00:00
|
|
|
z-index: 1;
|
|
|
|
border-radius: 1px;
|
|
|
|
}
|
2021-01-11 14:19:45 +00:00
|
|
|
&.transparent {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
.encoded-svg-background("<svg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 22 22' xml:space='preserve'><line stroke='#ff0000' stroke-linecap='undefined' stroke-linejoin='undefined' id='svg_1' y2='0' x2='22' y1='22' x1='0' stroke-width='2' fill='none'/></svg>");
|
|
|
|
}
|
2020-12-23 18:00:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.row {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.list .item-inner {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.standart-colors, .dynamic-colors {
|
|
|
|
.palette {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
2020-12-27 13:31:40 +00:00
|
|
|
|
|
|
|
.dynamic-colors {
|
|
|
|
.empty-color {
|
|
|
|
background-color: @background-normal;
|
|
|
|
}
|
|
|
|
}
|
2020-12-23 18:00:59 +00:00
|
|
|
}
|
2020-12-28 20:02:43 +00:00
|
|
|
|
|
|
|
#color-picker {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
max-width: 300px;
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-top: 4px;
|
|
|
|
.color-picker-container {
|
|
|
|
width: calc(100% - 94px);
|
|
|
|
position: relative;
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
font-size: 0;
|
|
|
|
.color-picker-module-wheel {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.right-block {
|
|
|
|
margin-left: 20px;
|
|
|
|
.color-hsb-preview {
|
|
|
|
width: 72px;
|
|
|
|
height: 72px;
|
|
|
|
border-radius: 100px;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 1px solid @gray;
|
|
|
|
.new-color-hsb-preview, .current-color-hsb-preview {
|
|
|
|
width: 100%;
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button-round {
|
|
|
|
height: 72px;
|
|
|
|
width: 72px;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 100px;
|
|
|
|
background-color: @white;
|
|
|
|
box-shadow: 0 4px 4px rgba(0,0,0,.25);
|
|
|
|
border-color: transparent;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|