45
45
display : flex ;
46
46
flex-direction : row ;
47
47
justify-content : space-between ;
48
- marhin-left : #{19 / $base-font-size } rem;
49
48
@include themify () {
50
49
color : getThemifyVariable (' heading-text-color' );
51
50
}
69
68
}
70
69
}
71
70
72
-
73
71
.preference {
74
72
display : flex ;
75
73
flex-wrap : wrap ;
129
127
width : #{44 / $base-font-size } rem;
130
128
}
131
129
132
- .preference__subheading1 {
130
+ .preference__subheading {
133
131
@include themify () {
134
132
color : getThemifyVariable (' inactive-text-color' );
135
133
& :hover {
139
137
}
140
138
font-size : #{12 / $base-font-size } rem;
141
139
height : #{25 / $base-font-size } rem;
142
- text-align : left ;
143
140
margin-top : #{30 / $base-font-size } rem;
144
141
margin-left : #{5 / $base-font-size } rem;
145
142
margin-bottom : #{0.1 / $base-font-size } rem;
143
+ margin-right : #{60 / $base-font-size } rem;
146
144
font-family : Montserrat;
147
- width : #{100 / $base-font-size } rem;
148
- }
149
-
150
- .preference__subheading2 {
151
- @include themify () {
152
- color : getThemifyVariable (' inactive-text-color' );
153
- & :hover {
154
- color : getThemifyVariable (' primary-text-color' );
155
- border-bottom : #{4 / $base-font-size } rem solid getThemifyVariable (' button-background-hover-color' );
156
- }
157
- }
158
- font-size : #{12 / $base-font-size } rem;
159
- height : #{25 / $base-font-size } rem;
160
- text-align : left ;
161
- margin-top : #{30 / $base-font-size } rem;
162
- margin-left : #{46 / $base-font-size } rem;
163
- margin-bottom : #{0.1 / $base-font-size } rem;
164
- font-family : Montserrat;
165
- }
166
-
167
- .preference__subheading3 {
168
- @include themify () {
169
- color : getThemifyVariable (' inactive-text-color' );
170
- & :hover {
171
- color : getThemifyVariable (' primary-text-color' );
172
- border-bottom : #{4 / $base-font-size } rem solid getThemifyVariable (' button-background-hover-color' );
173
- }
174
- }
175
- font-size : #{12 / $base-font-size } rem;
176
- height : #{25 / $base-font-size } rem;
177
- text-align : left ;
178
- margin-top : #{30 / $base-font-size } rem;
179
- margin-left : #{48 / $base-font-size } rem;
180
- margin-bottom : #{0.1 / $base-font-size } rem;
181
- width : #{78 / $base-font-size } rem;
182
- font-family : Montserrat;
145
+ width : #{98 / $base-font-size } rem;
183
146
}
184
147
185
148
.preference__vertical-list {
189
152
padding-left : #{25 / $base-font-size } rem;
190
153
}
191
154
155
+ .preference__sketch1 {
156
+ width : #{601 / $base-font-size } rem;
157
+ height : #{100 / $base-font-size } rem;
158
+ font-family : Montserrat;
159
+ font-size : #{14 / $base-font-size } rem;
160
+ line-height : 1.43 ;
161
+ text-align : left ;
162
+ margin-left : #{5 / $base-font-size } rem;
163
+ margin-top : #{40 / $base-font-size } rem;
164
+ margin-bottom : #{10 / $base-font-size } rem;
165
+ @include themify () {
166
+ color : getThemifyVariable (' inactive-text-color' );
167
+ border-bottom : 1px dashed getThemifyVariable (' button-border-color' );
168
+ }
169
+ }
170
+
192
171
.preference__radio-button {
193
172
@extend %hidden-element ;
194
173
}
228
207
.preference__option.preference__canvas :not (:last-child ) {
229
208
padding-right : #{14 / $base-font-size } rem;
230
209
}
210
+
211
+ /* .tooltip {
212
+ display: inline-block;
213
+ }
214
+
215
+ /* Tooltip text */
216
+ /* .tooltip .tooltiptext {
217
+ margin-top: #{0 / $base-font-size}rem;
218
+ margin-bottom: #{50 / $base-font-size}rem;
219
+ margin-left: #{130 / $base-font-size}rem;
220
+ visibility: hidden;
221
+ width: 120px;
222
+ height: 120px;
223
+ border-color: $p5js-pink transparent transparent $p5js-pink;
224
+ padding: 5px 0;
225
+ border-radius: 5px;
226
+ webkit-border-radius: 20px;
227
+ moz-border-radius: 20px;
228
+ text-align: center;
229
+ color: $white;
230
+ background-color: $p5js-pink;
231
+ vertical-align: top;
232
+ /* Position the tooltip text - see examples below! */
233
+ /* content: ' ';
234
+ position: absolute;
235
+ left: #{15 / $base-font-size}rem;
236
+ -webkit-margin-before: 0em;
237
+ -webkit-margin-after: 0em;
238
+ }
239
+
240
+ /* Show the tooltip text when you mouse over the tooltip container */
241
+ /* .tooltip:hover .tooltiptext {
242
+ visibility: visible;
243
+ }*//* /*/
0 commit comments