2016-03-01 20:39:13 +02:00
|
|
|
// 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>
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
.element-options {
|
|
|
|
display: flex;
|
2020-04-27 14:31:57 +02:00
|
|
|
flex-direction: column;
|
2016-02-28 10:41:55 +01:00
|
|
|
width: 100%;
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
.element-icons {
|
2020-03-03 13:14:37 +01:00
|
|
|
background-color: $color-gray-60;
|
|
|
|
border: 1px solid $color-gray-60;
|
2015-06-18 19:35:50 +02:00
|
|
|
border-radius: $br-small;
|
|
|
|
display: flex;
|
2016-02-28 10:41:55 +01:00
|
|
|
margin: $x-small;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
li {
|
|
|
|
align-items: center;
|
2020-03-03 13:14:37 +01:00
|
|
|
border-right: 1px solid $color-gray-60;
|
2015-06-18 19:35:50 +02:00
|
|
|
border-radius: $br-small;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
2016-02-18 21:08:10 +01:00
|
|
|
flex: 1;
|
|
|
|
justify-content: center;
|
2015-06-18 19:35:50 +02:00
|
|
|
padding: $small;
|
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-gray-20;
|
2015-06-18 19:35:50 +02:00
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-primary;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
2020-03-03 13:14:37 +01:00
|
|
|
background-color: $color-primary;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
svg {
|
2016-02-18 21:08:10 +01:00
|
|
|
fill: $color-white;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.element-set {
|
2020-03-03 13:14:37 +01:00
|
|
|
border-bottom: 1px solid $color-gray-60;
|
|
|
|
color: $color-gray-20;
|
2020-10-20 11:31:24 +02:00
|
|
|
padding: $small $x-small;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
.element-set-title {
|
2020-10-20 11:31:24 +02:00
|
|
|
color: $color-gray-20;
|
2020-04-09 09:43:04 +02:00
|
|
|
display: flex;
|
2020-04-25 18:26:17 +02:00
|
|
|
font-size: $fs13;
|
2020-10-20 11:31:24 +02:00
|
|
|
padding: $x-small;
|
2015-06-18 19:35:50 +02:00
|
|
|
width: 100%;
|
2020-09-29 16:17:45 +02:00
|
|
|
align-items: center;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
2020-10-20 11:31:24 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.element-set-title {
|
|
|
|
color: $color-gray-10;
|
|
|
|
}
|
|
|
|
}
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
2016-05-25 17:41:10 +02:00
|
|
|
.element-list {
|
|
|
|
margin-bottom: $small;
|
|
|
|
|
|
|
|
li {
|
|
|
|
align-items: center;
|
2020-03-03 13:14:37 +01:00
|
|
|
border-bottom: 1px solid $color-gray-60;
|
2016-05-25 17:41:10 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: $small;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.list-icon {
|
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-gray-30;
|
2016-05-25 17:41:10 +02:00
|
|
|
height: 15px;
|
|
|
|
margin-right: $x-small;
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
2020-03-03 13:14:37 +01:00
|
|
|
color: $color-gray-20;
|
2020-04-25 18:26:17 +02:00
|
|
|
font-size: $fs12;
|
2016-05-25 17:41:10 +02:00
|
|
|
max-width: 75%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-actions {
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-gray-60;
|
2016-05-25 17:41:10 +02:00
|
|
|
height: 15px;
|
|
|
|
margin-left: $x-small;
|
|
|
|
width: 15px;
|
|
|
|
|
|
|
|
&:hover {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-gray-20;
|
2016-05-25 17:41:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
.list-icon {
|
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-primary;
|
2016-05-25 17:41:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
2020-03-03 13:14:37 +01:00
|
|
|
color: $color-primary;
|
2016-05-25 17:41:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
|
|
|
|
.list-icon {
|
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-primary;
|
2016-05-25 17:41:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
2020-03-03 13:14:37 +01:00
|
|
|
color: $color-primary;
|
2016-05-25 17:41:10 +02:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
.list-actions {
|
|
|
|
display: flex;
|
|
|
|
@include animation(0s,.3s,fadeIn);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.element-set-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-04-25 18:26:17 +02:00
|
|
|
padding: $x-small;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
.input-text {
|
2020-03-03 13:14:37 +01:00
|
|
|
background-color: $color-gray-50;
|
2020-04-09 11:30:44 +02:00
|
|
|
border: 1px solid transparent;
|
|
|
|
border-bottom-color: $color-gray-40;
|
2020-10-20 11:31:24 +02:00
|
|
|
color: $color-white;
|
2020-04-25 18:26:17 +02:00
|
|
|
font-size: $fs12;
|
2015-06-18 19:35:50 +02:00
|
|
|
margin: $x-small;
|
|
|
|
padding: $x-small;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:focus {
|
2020-03-03 13:14:37 +01:00
|
|
|
color: lighten($color-gray-10, 8%);
|
2020-04-28 22:13:18 +02:00
|
|
|
border-color: $color-primary !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: $color-gray-40;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-select {
|
2020-03-03 13:14:37 +01:00
|
|
|
color: $color-gray-10;
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
&:focus {
|
2020-03-03 13:14:37 +01:00
|
|
|
color: lighten($color-gray-10, 8%);
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
2019-02-19 21:05:20 +01:00
|
|
|
option {
|
2020-03-03 13:14:37 +01:00
|
|
|
color: $color-gray-60;
|
2019-12-19 18:06:21 +01:00
|
|
|
background: $color-white;
|
2019-02-19 21:05:20 +01:00
|
|
|
font-size: $fs12;
|
|
|
|
}
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
2020-04-07 19:52:37 +02:00
|
|
|
.element-set-subtitle {
|
2020-10-20 11:31:24 +02:00
|
|
|
color: $color-gray-20;
|
2020-04-25 18:26:17 +02:00
|
|
|
font-size: $fs11;
|
2020-04-07 19:52:37 +02:00
|
|
|
width: 12rem;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.lock-size {
|
|
|
|
cursor: pointer;
|
|
|
|
width: 20%;
|
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-gray-20;
|
2015-06-18 19:35:50 +02:00
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
|
|
|
|
|
|
|
&:hover {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-primary;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-primary;
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
2015-12-15 11:32:06 +02:00
|
|
|
}
|
|
|
|
|
2020-07-01 13:38:41 +02:00
|
|
|
&.disabled {
|
|
|
|
cursor: unset;
|
|
|
|
svg {
|
|
|
|
fill: $color-gray-40;
|
|
|
|
}
|
|
|
|
}
|
2015-12-15 11:32:06 +02:00
|
|
|
}
|
|
|
|
|
2016-05-25 17:41:10 +02:00
|
|
|
.save-btn {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cancel-btn {
|
|
|
|
color: $color-danger;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-03-25 14:30:57 +01:00
|
|
|
.custom-select {
|
|
|
|
border: 1px solid $color-gray-40;
|
2020-10-20 11:48:17 +02:00
|
|
|
border-radius: $br-small;
|
|
|
|
cursor: pointer;
|
2020-03-25 14:30:57 +01:00
|
|
|
padding: $x-small $big $x-small $x-small;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.dropdown-button {
|
|
|
|
position: absolute;
|
|
|
|
right: $x-small;
|
2020-06-19 14:15:58 +02:00
|
|
|
top: 7px;
|
2020-03-25 14:30:57 +01:00
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $color-gray-40;
|
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-07 19:52:37 +02:00
|
|
|
span {
|
2020-06-19 14:15:58 +02:00
|
|
|
font-size: $fs12;
|
2020-04-07 19:52:37 +02:00
|
|
|
}
|
|
|
|
|
2020-07-30 12:40:04 +02:00
|
|
|
&:hover {
|
|
|
|
border: 1px solid $color-gray-20;
|
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
|
2020-05-19 10:52:11 +02:00
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
.custom-select-dropdown {
|
2020-10-20 11:48:17 +02:00
|
|
|
background-color: $color-white;
|
|
|
|
border-radius: $br-small;
|
|
|
|
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
|
2020-05-19 15:22:39 +02:00
|
|
|
left: 0;
|
|
|
|
max-height: 30rem;
|
|
|
|
min-width: 7rem;
|
2020-10-20 11:48:17 +02:00
|
|
|
position: absolute;
|
2020-05-19 15:22:39 +02:00
|
|
|
overflow-y: auto;
|
2020-10-20 11:48:17 +02:00
|
|
|
top: 30px;
|
|
|
|
z-index: 12;
|
2020-03-25 14:30:57 +01:00
|
|
|
|
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
.presets {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2020-05-19 10:52:11 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
hr {
|
|
|
|
margin: 0;
|
|
|
|
border-color: $color-gray-20;
|
|
|
|
}
|
2020-03-25 14:30:57 +01:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
li {
|
|
|
|
color: $color-gray-60;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: $fs14;
|
|
|
|
display: flex;
|
|
|
|
padding: $small;
|
2020-03-25 14:30:57 +01:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
span {
|
|
|
|
color: $color-gray-20;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2020-04-27 14:31:57 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&.dropdown-separator:not(:last-child) {
|
|
|
|
border-bottom: 1px solid $color-gray-10;
|
|
|
|
}
|
2020-03-25 14:30:57 +01:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&.dropdown-label:not(:first-child) {
|
|
|
|
border-top: 1px solid $color-gray-10;
|
|
|
|
}
|
2020-03-25 14:30:57 +01:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&.dropdown-label span {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-primary-lighter;
|
2020-03-25 14:30:57 +01:00
|
|
|
}
|
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& li.checked-element {
|
|
|
|
padding-left: 0;
|
2020-05-19 10:52:11 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& span {
|
|
|
|
margin: 0;
|
|
|
|
color: $color-black;
|
|
|
|
}
|
2020-05-19 10:52:11 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& svg {
|
|
|
|
visibility: hidden;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background: none;
|
|
|
|
margin: 0.25rem;
|
|
|
|
fill: $color-black;
|
|
|
|
}
|
2020-05-19 10:52:11 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&.is-selected {
|
|
|
|
& svg {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 10:52:11 +02:00
|
|
|
.editable-select {
|
2020-07-30 12:40:04 +02:00
|
|
|
border: 1px solid transparent;
|
2020-05-19 15:22:39 +02:00
|
|
|
position: relative;
|
|
|
|
height: 38px;
|
|
|
|
margin-right: $small;
|
2020-07-30 12:40:04 +02:00
|
|
|
max-height: 30px;
|
2020-05-19 15:22:39 +02:00
|
|
|
position: relative;
|
|
|
|
width: 60%;
|
|
|
|
|
|
|
|
svg {
|
2020-09-11 15:53:23 +02:00
|
|
|
fill: $color-gray-10;
|
2020-05-19 15:22:39 +02:00
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-text {
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
2020-05-19 10:52:11 +02:00
|
|
|
width: 60%;
|
2020-05-19 15:22:39 +02:00
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-09-11 15:53:23 +02:00
|
|
|
input.input-text {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
.input-select {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid $color-gray-40;
|
|
|
|
color: transparent;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
option {
|
|
|
|
color: $color-gray-60;
|
|
|
|
background: $color-white;
|
|
|
|
font-size: $fs12;
|
2020-05-19 10:52:11 +02:00
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
}
|
2020-03-25 14:30:57 +01:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
.dropdown-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2020-09-11 15:53:23 +02:00
|
|
|
padding-right: 4px;
|
2020-05-19 15:22:39 +02:00
|
|
|
}
|
2016-12-23 11:50:05 +01:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&.input-option {
|
2020-09-11 15:53:23 +02:00
|
|
|
height: 26px;
|
2020-05-19 15:22:39 +02:00
|
|
|
border-bottom: 1px solid #64666A;
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0.25rem;
|
2016-12-23 11:50:05 +01:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
.input-text {
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
width: calc(100% - 12px);
|
|
|
|
height: 100%;
|
|
|
|
top: auto;
|
|
|
|
color: #b1b2b5;
|
2016-12-23 11:50:05 +01:00
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
}
|
2020-07-30 12:40:04 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid $color-gray-40;
|
|
|
|
}
|
2016-12-23 11:50:05 +01:00
|
|
|
}
|
2015-12-15 11:32:06 +02:00
|
|
|
}
|
|
|
|
|
2020-05-19 12:45:05 +02:00
|
|
|
.element-set-content .grid-option-main {
|
2020-09-11 15:53:23 +02:00
|
|
|
.editable-select {
|
|
|
|
height: 2rem;
|
|
|
|
}
|
|
|
|
.editable-select svg {
|
|
|
|
fill: $color-gray-40;
|
|
|
|
}
|
|
|
|
.dropdown-button {
|
|
|
|
top: 4px;
|
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
.editable-select.input-option .input-text {
|
|
|
|
padding: 0;
|
|
|
|
padding-top: 0.18rem;
|
|
|
|
}
|
2020-05-19 12:45:05 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
.input-element {
|
|
|
|
width: 55px;
|
|
|
|
margin: 0 0.2rem;
|
|
|
|
}
|
2020-05-19 12:45:05 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
.input-text {
|
|
|
|
padding-left: 0;
|
|
|
|
color: #b1b2b5;
|
2020-06-04 15:25:15 +02:00
|
|
|
background-color: transparent;
|
2020-07-30 12:40:04 +02:00
|
|
|
height: 30px;
|
2020-05-19 15:22:39 +02:00
|
|
|
}
|
2020-05-19 10:52:11 +02:00
|
|
|
}
|
|
|
|
|
2020-06-04 13:14:00 +02:00
|
|
|
.grid-option .custom-select {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
.presets {
|
|
|
|
.custom-select-dropdown {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2016-02-18 21:08:10 +01:00
|
|
|
}
|
2015-12-15 11:32:06 +02:00
|
|
|
|
2020-04-09 11:30:44 +02:00
|
|
|
.row-flex.align-icons {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2015-12-15 11:32:06 +02:00
|
|
|
.align-icons {
|
2020-04-09 11:30:44 +02:00
|
|
|
border: 1px solid $color-gray-60;
|
|
|
|
border-radius: $br-small;
|
2015-12-15 11:32:06 +02:00
|
|
|
cursor: pointer;
|
2020-04-09 11:30:44 +02:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-left: $small;
|
|
|
|
padding: $small;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2016-02-18 21:08:10 +01:00
|
|
|
|
2016-02-28 10:41:55 +01:00
|
|
|
span {
|
2020-04-09 11:30:44 +02:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2020-05-11 09:48:07 +02:00
|
|
|
height: 20px;
|
2020-04-09 11:30:44 +02:00
|
|
|
justify-content: center;
|
|
|
|
margin-right: $small;
|
|
|
|
position: relative;
|
2020-05-11 09:48:07 +02:00
|
|
|
width: 20px;
|
2016-02-18 21:08:10 +01:00
|
|
|
|
2015-12-15 11:32:06 +02:00
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-gray-30;
|
2020-04-09 11:30:44 +02:00
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
2016-02-28 10:41:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.current {
|
|
|
|
|
|
|
|
svg {
|
2020-03-03 13:14:37 +01:00
|
|
|
fill: $color-primary;
|
2016-02-28 10:41:55 +01:00
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
2016-02-18 21:08:10 +01:00
|
|
|
|
2020-04-09 11:30:44 +02:00
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
2016-02-18 21:08:10 +01:00
|
|
|
|
2016-05-25 17:41:10 +02:00
|
|
|
|
2015-06-18 19:35:50 +02:00
|
|
|
}
|
2016-01-12 15:04:51 +01:00
|
|
|
|
|
|
|
.element-color-picker {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2016-01-14 12:48:37 +01:00
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
2016-01-12 15:04:51 +01:00
|
|
|
margin: 0 4px;
|
2016-01-20 18:43:31 +02:00
|
|
|
|
2016-01-12 15:04:51 +01:00
|
|
|
.color-picker-body {
|
|
|
|
height: 100%;
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
2016-02-18 21:08:10 +01:00
|
|
|
|
2016-01-12 15:04:51 +01:00
|
|
|
.color-picker-bar {
|
2016-02-03 16:24:32 +01:00
|
|
|
height: 165px;
|
2016-01-14 12:33:05 +01:00
|
|
|
position: relative;
|
2016-01-12 15:04:51 +01:00
|
|
|
width: 15px;
|
2016-01-20 18:43:31 +02:00
|
|
|
|
2016-01-12 15:04:51 +01:00
|
|
|
.color-bar-select {
|
2020-03-03 13:14:37 +01:00
|
|
|
background-color: $color-gray-50;
|
2016-01-12 15:04:51 +01:00
|
|
|
height: 3px;
|
2016-01-29 00:35:45 +02:00
|
|
|
left: -4px;
|
2016-01-12 15:04:51 +01:00
|
|
|
position: absolute;
|
2016-01-29 00:35:45 +02:00
|
|
|
width: 23px;
|
2016-02-24 16:04:19 +01:00
|
|
|
transition: none;
|
2016-01-12 15:04:51 +01:00
|
|
|
top: 30%;
|
|
|
|
}
|
2016-02-18 21:08:10 +01:00
|
|
|
|
2016-01-12 15:04:51 +01:00
|
|
|
}
|
2016-02-18 21:08:10 +01:00
|
|
|
|
2016-01-12 15:04:51 +01:00
|
|
|
}
|
2020-03-26 15:32:15 +01:00
|
|
|
|
|
|
|
.orientation-icon {
|
|
|
|
margin-left: $small;
|
2020-06-11 13:05:23 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-03-26 15:32:15 +01:00
|
|
|
|
|
|
|
svg {
|
2020-04-07 19:52:37 +02:00
|
|
|
cursor: pointer;
|
|
|
|
height: 20px;
|
2020-10-26 16:35:16 +01:00
|
|
|
fill: $color-gray-40;
|
2020-04-07 19:52:37 +02:00
|
|
|
width: 20px;
|
2020-03-26 15:32:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
svg {
|
2020-10-26 16:35:16 +01:00
|
|
|
fill: $color-gray-10;
|
2020-03-26 15:32:15 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-09 11:30:44 +02:00
|
|
|
|
2020-04-27 14:31:57 +02:00
|
|
|
.navigate-icon {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: $small;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 16px;
|
|
|
|
fill: $color-gray-30;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
svg {
|
|
|
|
stroke: $color-gray-10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-09 11:30:44 +02:00
|
|
|
.input-icon {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-right: $small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-before {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
height: 18px;
|
|
|
|
position: relative;
|
|
|
|
width: 18px;
|
2020-05-19 15:22:39 +02:00
|
|
|
|
2020-04-09 11:30:44 +02:00
|
|
|
svg {
|
|
|
|
fill: $color-gray-30;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
|
|
|
.custom-button {
|
2020-05-19 15:22:39 +02:00
|
|
|
cursor: pointer;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& svg {
|
2020-06-19 14:15:58 +02:00
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2020-05-19 15:22:39 +02:00
|
|
|
fill: $color-gray-20;
|
|
|
|
}
|
2020-05-15 15:00:40 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&:hover svg, &.is-active svg {
|
|
|
|
fill: $color-primary;
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.element-set-content .input-row {
|
2020-05-19 15:22:39 +02:00
|
|
|
& .element-set-subtitle {
|
|
|
|
width: 5.5rem;
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.grid-option {
|
2020-05-19 15:22:39 +02:00
|
|
|
margin-bottom: 0.5rem;
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
|
|
|
|
2020-05-18 15:30:40 +02:00
|
|
|
.element-set-content .custom-select.input-option {
|
2020-05-19 15:22:39 +02:00
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
margin-left: 0.25rem;
|
2020-05-18 15:30:40 +02:00
|
|
|
}
|
|
|
|
|
2020-05-14 14:08:17 +02:00
|
|
|
.element-set-content .grid-option-main {
|
2020-07-30 12:40:04 +02:00
|
|
|
align-items: center;
|
2020-05-19 15:22:39 +02:00
|
|
|
display: flex;
|
2020-07-30 12:40:04 +02:00
|
|
|
padding: 0.3rem 0;
|
2020-05-19 15:22:39 +02:00
|
|
|
border: 1px solid $color-black;
|
|
|
|
border-radius: 4px;
|
2020-07-30 12:40:04 +02:00
|
|
|
height: 48px;
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&:hover {
|
2020-07-30 12:40:04 +02:00
|
|
|
background: $color-gray-60;
|
|
|
|
|
2020-09-11 15:53:23 +02:00
|
|
|
|
2020-07-30 12:40:04 +02:00
|
|
|
.custom-select,
|
|
|
|
.editable-select,
|
|
|
|
input {
|
|
|
|
background-color: $color-gray-50;
|
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& .custom-select {
|
|
|
|
min-width: 4.75rem;
|
|
|
|
height: 2rem;
|
2020-07-30 12:40:04 +02:00
|
|
|
border-color: transparent;
|
2020-05-19 15:22:39 +02:00
|
|
|
border-bottom: 1px solid #65666A;
|
2020-07-30 12:40:04 +02:00
|
|
|
max-height: 30px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid $color-gray-40;
|
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& .input-element {
|
|
|
|
width: 50px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& .custom-select-dropdown {
|
|
|
|
width: 96px;
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& .input-option {
|
|
|
|
margin-left: 0.5rem;
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
& .custom-select-dropdown {
|
|
|
|
width: 56px;
|
|
|
|
min-width: 56px;
|
|
|
|
max-height: 10rem;
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
2020-05-19 15:22:39 +02:00
|
|
|
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.grid-option-main-actions {
|
2020-05-19 15:22:39 +02:00
|
|
|
display: flex;
|
|
|
|
visibility: hidden;
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
.grid-option:hover & {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.focus-overlay {
|
2020-05-19 15:22:39 +02:00
|
|
|
background: $color-black;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
opacity: 0.4;
|
2020-09-24 16:55:50 +02:00
|
|
|
z-index: 10;
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
|
|
|
|
2020-10-16 09:37:33 +02:00
|
|
|
.advanced-options-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
padding-right: 1.5rem;
|
|
|
|
padding-left: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element-options .advanced-options-wrapper {
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
|
2020-09-29 16:17:45 +02:00
|
|
|
.advanced-options {
|
2020-05-19 15:22:39 +02:00
|
|
|
background-color: #303236;
|
|
|
|
border-radius: 4px;
|
|
|
|
left: -8px;
|
|
|
|
padding: 0.5rem;
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
width: calc(100% + 16px);
|
2020-09-24 16:55:50 +02:00
|
|
|
z-index: 20;
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-options {
|
2020-05-19 15:22:39 +02:00
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid $color-black;
|
|
|
|
background: $color-gray-60;
|
|
|
|
border-radius: 2px;
|
|
|
|
color: $color-gray-20;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 16px;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 0.25rem 0;
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&:first-child {
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&:not([disabled]):hover {
|
|
|
|
background: $color-primary;
|
|
|
|
color: $color-black;
|
|
|
|
}
|
2020-05-18 15:30:40 +02:00
|
|
|
|
2020-05-19 15:22:39 +02:00
|
|
|
&[disabled] {
|
|
|
|
opacity: 0.4;
|
|
|
|
cursor: auto;
|
|
|
|
}
|
2020-05-14 14:08:17 +02:00
|
|
|
}
|
2020-07-02 14:48:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
.element-set-options-group {
|
|
|
|
display: flex;
|
|
|
|
padding: 3px;
|
|
|
|
border: 1px solid $color-black;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: #1F1F1F;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-24 16:55:50 +02:00
|
|
|
.exports-options,
|
|
|
|
.shadow-options{
|
2020-07-02 14:48:17 +02:00
|
|
|
.element-set-options-group {
|
|
|
|
justify-content: space-between;
|
|
|
|
.delete-icon {
|
|
|
|
display: flex;
|
|
|
|
min-width: 40px;
|
|
|
|
min-height: 40px;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
svg {
|
2020-07-30 12:40:04 +02:00
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2020-07-02 14:48:17 +02:00
|
|
|
fill: $color-gray-20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.download-button {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2020-09-24 16:55:50 +02:00
|
|
|
|
|
|
|
.shadow-options .color-row-wrap {
|
|
|
|
margin-left: 6px;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element-set-actions-button {
|
|
|
|
display: flex;
|
|
|
|
min-width: 30px;
|
|
|
|
min-height: 30px;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
svg {
|
2020-10-20 11:48:17 +02:00
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2020-09-24 16:55:50 +02:00
|
|
|
fill: $color-gray-20;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover svg {
|
|
|
|
fill: $color-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.element-set-actions {
|
|
|
|
display: flex;
|
|
|
|
visibility: hidden;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.element-set-options-group:hover .element-set-actions {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2020-09-29 16:17:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
.typography-entry {
|
|
|
|
margin: 0.5rem 0.3rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.typography-selection-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&.is-selectable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.typography-sample {
|
|
|
|
font-size: 17px;
|
|
|
|
color: $color-white;
|
|
|
|
margin: 0 0.5rem;
|
|
|
|
|
|
|
|
font-family: sourcesanspro;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.typography-name {
|
|
|
|
flex-grow: 1;
|
|
|
|
font-size: 11px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element-set-actions-button svg {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.asset-group {
|
|
|
|
.typography-entry {
|
|
|
|
margin: 0.25rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element-set-content .font-option,
|
|
|
|
.element-set-content .size-option {
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
}
|
|
|
|
.element-set-content .variant-option {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-flex input.adv-typography-name {
|
|
|
|
font-size: 14px;
|
|
|
|
color: $color-gray-10;
|
|
|
|
width: 100%;
|
|
|
|
max-width: none;
|
|
|
|
margin: 0;
|
|
|
|
background: #303236;
|
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.size-option .custom-select-dropdown {
|
|
|
|
position: fixed;
|
2020-10-19 14:22:28 +02:00
|
|
|
max-height: 16rem;
|
2020-09-29 16:17:45 +02:00
|
|
|
min-width: 6rem;
|
|
|
|
margin-top: 25px;
|
|
|
|
left: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.typography-read-only-data {
|
|
|
|
font-size: 12px;
|
|
|
|
color: $color-white;
|
|
|
|
|
|
|
|
.typography-name {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-flex {
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
color: $color-gray-30;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: ':';
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.go-to-lib-button {
|
|
|
|
transition: border 0.3s, color 0.3s;
|
|
|
|
text-align: center;
|
|
|
|
background: $color-gray-60;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border-radius: 2px;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 14px;
|
|
|
|
margin-top: 1rem;
|
|
|
|
border: 1px solid $color-gray-60;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid $color-primary;
|
|
|
|
color: $color-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-01 11:59:36 +02:00
|
|
|
|
|
|
|
.multiple-typography {
|
|
|
|
margin: 0.5rem;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border: 1px dashed $color-gray-30;
|
|
|
|
border-radius: 4px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.multiple-typography-text,
|
|
|
|
.multiple-typography-button {
|
|
|
|
font-size: $fs13;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.multiple-typography-button {
|
|
|
|
cursor: pointer;
|
|
|
|
svg {
|
|
|
|
transition: fill 0.3s;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
fill: $color-gray-10;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover svg {
|
|
|
|
fill: $color-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
}
|
|
|
|
|
|
|
|
.multiple-typography-button:hover svg {
|
|
|
|
}
|
|
|
|
}
|