/
resource-class-form.component.scss
106 lines (85 loc) · 1.41 KB
/
resource-class-form.component.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
@import "../../../../assets/style/config";
@import "../../../../assets/style/mixins";
.form-content {
width: 100%;
margin-top: 0;
.form-panel {
width: 100%;
}
.large-field,
.medium-field,
.small-field {
margin: 0 2px;
&.string-literal-container {
display: inline-block;
position: relative;
top: -3px;
}
}
.form-action {
margin-top: 48px;
}
}
.hidden {
display: none;
}
.submit-progress {
display: inline-block;
margin-right: 6px;
margin-bottom: 2px;
}
.properties-language {
margin-top: -$header-height;
margin-right: 0;
margin-left: auto;
display: table;
}
// properties
.property-line {
display: flex;
margin: 12px 0 0 12px;
border-bottom: 1px solid $primary_50;
position: relative;
&:focus-within {
border-left: 2px solid $primary_400;
@include box-shadow();
}
&.cdk-drag-preview {
background-color: rgba(254, 254, 254, 1);
@include box-shadow();
}
.prefix {
margin-left: -40px;
}
.suffix {
margin-right: 0;
}
}
button {
&.drag-n-drop-line {
cursor: move;
&.disabled {
cursor: auto;
display: none;
}
.mat-icon {
color: grey;
}
}
&.delete-line {
position: absolute;
right: 12px;
}
&.add-new-line {
top: 12px;
}
&.delete-line {
top: 0;
.mat-icon {
color: grey;
&:hover {
color: $warn;
}
}
}
}