You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.4 KiB
79 lines
1.4 KiB
@import '../../../../styles/variables';
|
|
:host {
|
|
input,
|
|
textarea {
|
|
padding: 0.5em;
|
|
border: solid #eee;
|
|
|
|
width: 90%;
|
|
}
|
|
.form-field {
|
|
display: block;
|
|
margin-top: 1em;
|
|
}
|
|
.form-row {
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.25em;
|
|
border: solid 1px #ddd;
|
|
border-left: solid 3px $primary_color;
|
|
padding-left: 1em;
|
|
padding-top: 0.5em;
|
|
padding-bottom: 0.5em;
|
|
}
|
|
.fa {
|
|
margin-right: 1ch;
|
|
&.fa-times,
|
|
&.fa-trash {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
.example-list {
|
|
width: 500px;
|
|
max-width: 100%;
|
|
border: solid 1px #ccc;
|
|
min-height: 60px;
|
|
display: block;
|
|
background: white;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.example-box {
|
|
padding: 20px 10px;
|
|
border-bottom: solid 1px #ccc;
|
|
color: rgba(0, 0, 0, 0.87);
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
box-sizing: border-box;
|
|
cursor: move;
|
|
background: white;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.cdk-drag-preview {
|
|
box-sizing: border-box;
|
|
border-radius: 4px;
|
|
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.cdk-drag-placeholder {
|
|
opacity: 0;
|
|
}
|
|
|
|
.cdk-drag-animating {
|
|
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
}
|
|
|
|
.example-box:last-child {
|
|
border: none;
|
|
}
|
|
|
|
.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
|
|
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
}
|
|
}
|