Skip to content

Commit ae6a5e4

Browse files
committed
Fixed radio buttons, checkboxes and pulldowns.
1 parent a0d3d3b commit ae6a5e4

File tree

7 files changed

+38
-11
lines changed

7 files changed

+38
-11
lines changed

ethelo_archive/2/tell-us-about-yourself.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ <h3>What is your race and / or ethnicity?</h3><p>Select all that apply. Enter ad
435435
What is your age?
436436

437437
</label>
438-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
438+
<select class="form-control" style="opacity: 0.7;">
439439
<option value="">Select One</option>
440440

441441
<option>18-24</option>
@@ -459,7 +459,7 @@ <h3>What is your race and / or ethnicity?</h3><p>Select all that apply. Enter ad
459459
What is your gender identity?
460460

461461
</label>
462-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
462+
<select class="form-control" style="opacity: 0.7;">
463463
<option value="">Select One</option>
464464

465465
<option>Male</option>
@@ -481,7 +481,7 @@ <h3>What is your race and / or ethnicity?</h3><p>Select all that apply. Enter ad
481481
What was your household income (before taxes) last year?
482482

483483
</label>
484-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
484+
<select class="form-control" style="opacity: 0.7;">
485485
<option value="">Select One</option>
486486

487487
<option>Less than $35,000</option>

ethelo_archive/24/about-you.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ <h1 id="page-header" class="main">
391391
Your current position type
392392
<span class="text-danger">*</span>
393393
</label>
394-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
394+
<select class="form-control" style="opacity: 0.7;">
395395
<option value="">Select One</option>
396396

397397
<option>Not a supervisor or manager</option>
@@ -419,7 +419,7 @@ <h1 id="page-header" class="main">
419419
How long have you worked for the State of California?
420420
<span class="text-danger">*</span>
421421
</label>
422-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
422+
<select class="form-control" style="opacity: 0.7;">
423423
<option value="">Select One</option>
424424

425425
<option>Less than 6 months</option>

ethelo_archive/24/anything-else.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9050,7 +9050,7 @@ <h1 id="page-header" class="main">
90509050
Which department or agency does your idea apply to?
90519051

90529052
</label>
9053-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
9053+
<select class="form-control" style="opacity: 0.7;">
90549054
<option value="">Select One</option>
90559055

90569056
<option>Affects multiple departments</option>

ethelo_archive/24/share-whats-been-working.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8797,7 +8797,7 @@ <h2>Have you seen examples of more effective and efficient service in action at
87978797
Which department or agency does your idea apply to?
87988798

87998799
</label>
8800-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
8800+
<select class="form-control" style="opacity: 0.7;">
88018801
<option value="">Select One</option>
88028802

88038803
<option>Affects multiple departments</option>

ethelo_archive/24/share-your-idea.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22325,7 +22325,7 @@ <h2>Use the comment box below to submit one idea to make California’s governme
2232522325
Which department or agency does your idea apply to?
2232622326

2232722327
</label>
22328-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
22328+
<select class="form-control" style="opacity: 0.7;">
2232922329
<option value="">Select One</option>
2233022330

2233122331
<option>Affects multiple departments</option>

ethelo_archive/33/about-you.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ <h1 id="page-header" class="main">
528528
What is your age?
529529

530530
</label>
531-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
531+
<select class="form-control" style="opacity: 0.7;">
532532
<option value="">Select One</option>
533533

534534
<option>18-24</option>
@@ -552,7 +552,7 @@ <h1 id="page-header" class="main">
552552
What is your gender identity?
553553

554554
</label>
555-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
555+
<select class="form-control" style="opacity: 0.7;">
556556
<option value="">Select One</option>
557557

558558
<option>Male</option>
@@ -574,7 +574,7 @@ <h1 id="page-header" class="main">
574574
What was your household income (before taxes) last year?
575575

576576
</label>
577-
<select class="form-control" disabled style="pointer-events: none; opacity: 0.7;">
577+
<select class="form-control" style="opacity: 0.7;">
578578
<option value="">Select One</option>
579579

580580
<option>Less than $35,000</option>

ethelo_archive/static/css/override.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,33 @@
186186
text-decoration: underline;
187187
}
188188

189+
/* ── Show native radio/checkbox inputs (Material Design JS not loaded) ── */
190+
#questions-panel input[type="radio"],
191+
#questions-panel input[type="checkbox"],
192+
.survey-question input[type="radio"],
193+
.survey-question input[type="checkbox"],
194+
.checkbox input[type="checkbox"],
195+
.radio input[type="radio"] {
196+
position: relative !important;
197+
opacity: 1 !important;
198+
width: 16px !important;
199+
height: 16px !important;
200+
overflow: visible !important;
201+
margin-right: 6px !important;
202+
margin-left: 0 !important;
203+
vertical-align: middle;
204+
pointer-events: none;
205+
-webkit-appearance: auto !important;
206+
appearance: auto !important;
207+
}
208+
209+
.survey-question select.form-control {
210+
opacity: 1 !important;
211+
-webkit-appearance: menulist !important;
212+
appearance: menulist !important;
213+
height: auto !important;
214+
}
215+
189216
/* ── Survey questions (read-only) ────────────────────────────────────── */
190217
.survey-question {
191218
margin-bottom: 20px;

0 commit comments

Comments
 (0)