This repository was archived by the owner on Oct 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +1675
-144
lines changed
lib/themes/dosomething/paraneue_dosomething Expand file tree Collapse file tree 5 files changed +1675
-144
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ function paraneue_dosomething_preprocess_page(&$vars) {
3131
3232 $ vars ['navigation ' ] = theme ('navigation ' , $ navigation_vars );
3333
34+ // Show Hunt MCC form confirmation if query string exists
35+ $ node_type = menu_get_object ()->type ;
36+ if ($ node_type == 'campaign_group ' && array_key_exists ('submitted_mcc ' , $ _GET )) {
37+ drupal_set_message ('Thanks for submitting your idea! ' );
38+ }
3439
3540 // Footer Output Setup
3641 $ vars ['footer ' ] = theme ('footer ' );
Original file line number Diff line number Diff line change 3535@import " content/explore-campaigns" ;
3636@import " content/finder" ;
3737@import " content/user" ;
38+
39+ // One-off pages
40+ @import " content/campaign/hunt-mcc" ;
Original file line number Diff line number Diff line change 1+ .mcc--googleform {
2+ background : #fff ;
3+
4+ .ss-form {
5+ @include media ($tablet ) {
6+ @include span-columns (8 of 12 );
7+ @include shift (2 );
8+ }
9+ }
10+
11+ .ss-form-desc {
12+ margin-bottom : 2rem ;
13+ }
14+
15+ .required-message {
16+ @include visually-hidden ;
17+ }
18+
19+ .ss-required-asterisk {
20+ display : none ;
21+ }
22+
23+ .field-label-optional {
24+ color : $light-gray ;
25+ }
26+
27+ .ss-form-question {
28+ margin-bottom : 1rem ;
29+ @include clearfix ;
30+ }
31+
32+ .ss-choices {
33+ list-style-type : none ;
34+ }
35+
36+ .ss-choice-item label {
37+ margin : 0.25em 0 ;
38+ }
39+
40+ .ss-q-other-container {
41+ padding-left : 1.25rem ;
42+
43+ input {
44+ max-width : 400px ;
45+ }
46+ }
47+
48+ .ss-datetime-box select {
49+ @include span-columns (2 of 8 );
50+ @include omega (3 n);
51+ }
52+
53+ // Hide Google Datepicker control
54+ .ss-picker-button-container {
55+ display : none ;
56+ }
57+
58+ .ss-secondary-text {
59+ color : $med-gray ;
60+ font-size : 0.9rem ;
61+ padding-bottom : 1rem ;
62+ }
63+
64+ // These should be hidden since we're not running Google's JS
65+ .error-message {
66+ display : none ;
67+ }
68+
69+ .ss-navigate {
70+ margin-bottom : 2rem ;
71+
72+ table {
73+ margin : 0 auto ;
74+ }
75+ }
76+ }
Original file line number Diff line number Diff line change @@ -11,11 +11,15 @@ module.exports = {
1111 dev : {
1212 options : {
1313 uglify2 : {
14+ output : {
15+ beautify : true
16+ } ,
1417 compress : {
1518 global_defs : {
1619 DEBUG : true
1720 }
18- }
21+ } ,
22+ mangle : false
1923 }
2024 }
2125 } ,
You can’t perform that action at this time.
0 commit comments