forked from holubv/s-forms-smart-components
-
Notifications
You must be signed in to change notification settings - Fork 1
/
components.css
133 lines (108 loc) · 2.13 KB
/
components.css
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.answerable-section.accordion > .card {
overflow: visible;
}
.card-header {
display: flex;
align-items: center;
}
.card-header.bg-primary
.custom-control-input:checked
~ .custom-control-label::before {
color: #fff;
border-color: #c6c6c6;
background-color: #fff;
}
.card-header.bg-primary
.custom-switch
.custom-control-input:checked
~ .custom-control-label::after {
background-color: #007bff;
}
.show-advanced-switch {
display: flex;
justify-content: flex-end;
float: right;
flex-grow: 1;
text-align: right;
}
.section-collapsed .show-advanced-switch {
display: none;
}
.answerable-question .show-advanced-switch {
padding-right: 20px;
}
.answerable-section .show-advanced-switch {
padding-right: 0;
}
.question-with-unit {
display: flex;
max-width: 500px;
flex-grow: 1;
}
.question-with-unit > .base-question {
flex-grow: 1;
display: flex;
align-items: center;
}
.question-with-unit > .unit-question {
width: 240px;
margin-left: 20px;
}
.answerable-section > .card > .card-header .answer {
justify-content: space-between;
width: 100%;
}
.answerable-section > .card > .card-header .answer .show-advanced-switch {
flex-grow: 0;
}
.answerable-section > .card > .card-header .answer > .answer-content {
position: relative;
min-height: 24px;
}
.Select-control:hover {
box-shadow: none;
}
.type-answer-group {
display: flex;
position: absolute;
min-width: 370px;
}
.type-answer-group label {
min-width: 2rem;
}
.type-answer-group .Select {
margin-top: -6px;
flex-grow: 1;
margin-left: 15px;
min-width: 15rem;
}
.type-answer-group .Select-control {
height: 37px;
}
.type-answer-group .Select--multi .Select-value {
margin-top: 4px;
}
.type-answer .Select-control {
height: 37px;
}
.type-answer .Select--multi .Select-value {
margin-top: 4px;
}
.section-identifier {
display: inline-block;
text-align: center;
pointer-events: none;
margin-left: 6px;
color: #535353;
}
.text-white .section-identifier {
color: white;
}
.card-header .answer-content .form-group {
display: inline-block;
}
.wizard-step-header.floating {
position: fixed;
top: 0;
z-index: 3;
}