funky-framadate-front/src/app/features/administration/form/form.component.scss

79 lines
1.4 KiB
SCSS
Raw Normal View History

2020-11-03 16:13:47 +01:00
@import '../../../../styles/variables';
2020-10-29 18:43:19 +01:00
:host {
input,
textarea {
padding: 0.5em;
border: solid #eee;
2020-11-03 15:44:08 +01:00
width: 90%;
}
.form-field {
display: block;
margin-top: 1em;
}
2020-11-03 16:13:47 +01:00
.form-row {
margin-top: 0.5em;
2020-11-06 12:04:38 +01:00
margin-bottom: 0.25em;
border: solid 1px #ddd;
2020-11-03 16:13:47 +01:00
border-left: solid 3px $primary_color;
padding-left: 1em;
2020-11-06 12:04:38 +01:00
padding-top: 0.5em;
padding-bottom: 0.5em;
2020-11-03 16:13:47 +01:00
}
2020-11-03 15:44:08 +01:00
.fa {
2020-11-06 12:04:38 +01:00
margin-right: 1ch;
&.fa-times,
&.fa-trash {
margin-right: 0;
}
2020-10-29 18:43:19 +01:00
}
2020-11-09 11:42:54 +01:00
.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);
}
2020-10-29 18:43:19 +01:00
}