Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/committee/apply.md

Issue 29438582: Issue 5135 - Reduce font size and padding on smaller screens on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Handle responsive styling Created June 22, 2017, 3:27 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 title=Apply to join | The Acceptable Ads Committee 1 title=Apply to join | The Acceptable Ads Committee
2 description=The Acceptable Ads Committee has full control over the Acceptable Ad s initiative, including what’s deemed acceptable by defining the Acceptable Ads criteria. 2 description=The Acceptable Ads Committee has full control over the Acceptable Ad s initiative, including what’s deemed acceptable by defining the Acceptable Ads criteria.
3 parent=committee/index 3 parent=committee/index
4 4
5 <style type="text/css"> 5 <style type="text/css">
6 #success-msg, #error-msg, .success #clear, .success #submit 6 #success-msg, #error-msg, .success #clear, .success #submit
7 { 7 {
8 display: none; 8 display: none;
9 } 9 }
10 10
11 .success #success-msg, .error-response #error-msg 11 .success #success-msg, .error-response #error-msg
12 { 12 {
13 display: block; 13 display: block;
14 } 14 }
15
16 .join-committee-paragraph
juliandoucette 2017/06/26 10:31:21 Does this apply to more than one element (use ID i
ire 2017/06/27 08:36:30 I went with a container class
17 {
18 margin-bottom: 32px;
19 }
20
21 .application-form-btns
juliandoucette 2017/06/26 10:31:21 See comment in about/style.
ire 2017/06/27 08:36:29 Done.
22 {
23 margin-top: 32px;
24 }
25
26 @media(min-width: 768px)
27 {
28 .join-committee-paragraph
29 {
30 margin-bottom: 64px;
31 }
32
33 .application-form-btns
34 {
35 margin-top: 64px;
36 }
37 }
15 </style> 38 </style>
16 39
17 <script type="text/javascript"> 40 <script type="text/javascript">
18 function addListener(obj, type, listener, useCapture) 41 function addListener(obj, type, listener, useCapture)
19 { 42 {
20 if ("addEventListener" in obj) 43 if ("addEventListener" in obj)
21 { 44 {
22 obj.addEventListener(type, function(ev) 45 obj.addEventListener(type, function(ev)
23 { 46 {
24 if (listener(ev) === false) 47 if (listener(ev) === false)
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 116
94 <div class="row" markdown="1"> 117 <div class="row" markdown="1">
95 <div class="col-6 expand-on-tablet" markdown="1"> 118 <div class="col-6 expand-on-tablet" markdown="1">
96 <form id="application-form" class="section" method="POST" markdown="1"> 119 <form id="application-form" class="section" method="POST" markdown="1">
97 120
98 # {{join-committee-heading[Headline text] Apply to join the committee}} 121 # {{join-committee-heading[Headline text] Apply to join the committee}}
99 122
100 --- 123 ---
101 124
102 {{join-committee-paragraph[Join committee paragraph] Do you want to help create a new standard of advertising and improve the ad experience for millions of ad-b locking users? If so, fill out the form below!}} 125 {{join-committee-paragraph[Join committee paragraph] Do you want to help create a new standard of advertising and improve the ad experience for millions of ad-b locking users? If so, fill out the form below!}}
103 {: .m-b-lg } 126 {: .join-committee-paragraph }
104 127
105 <label for="name"> 128 <label for="name">
106 {{name[Field label text] Name}} 129 {{name[Field label text] Name}}
107 </label> 130 </label>
108 <input id="name" type="text" name="name" required /> 131 <input id="name" type="text" name="name" required />
109 132
110 <label for="title"> 133 <label for="title">
111 {{title[Field label text] Title}} 134 {{title[Field label text] Title}}
112 </label> 135 </label>
113 <input id="title" type="text" name="title" required /> 136 <input id="title" type="text" name="title" required />
(...skipping 29 matching lines...) Expand all
143 <option value="Other">{{other[Item inside Stakeholder group selectbox] Other }}</option> 166 <option value="Other">{{other[Item inside Stakeholder group selectbox] Other }}</option>
144 </select> 167 </select>
145 168
146 <label for="motivation"> 169 <label for="motivation">
147 {{motivation[Field label text] Motivation}} 170 {{motivation[Field label text] Motivation}}
148 </label> 171 </label>
149 <textarea id="motivation" placeholder="{{text-area-placeholder[Placeholder tex t inside textarea] Please provide in 100 words or less a short description of wh y you would be a good fit}}" rows="14" name="motivation" required></textarea> 172 <textarea id="motivation" placeholder="{{text-area-placeholder[Placeholder tex t inside textarea] Please provide in 100 words or less a short description of wh y you would be a good fit}}" rows="14" name="motivation" required></textarea>
150 173
151 <input id="clear" class="btn-outline-primary" type="reset" name="reset" value= "{{submit Clear}}" /> 174 <input id="clear" class="btn-outline-primary" type="reset" name="reset" value= "{{submit Clear}}" />
152 <input id="submit" class="btn-primary" type="submit" name="Submit" value="{{su bmit Submit}}" /> 175 <input id="submit" class="btn-primary" type="submit" name="Submit" value="{{su bmit Submit}}" />
153 {: .eol .m-t-lg } 176 {: .eol .application-form-btns }
154 177
155 {{submition-success[Text to be shown after successfull submition] Your entry h as been successfully submitted. Someone will reach out to you within 10 working days.}} 178 {{submition-success[Text to be shown after successfull submition] Your entry h as been successfully submitted. Someone will reach out to you within 10 working days.}}
156 { #success-msg .bg-accent .p-a-sm .m-y-sm } 179 { #success-msg .bg-accent .p-a-sm .m-y-sm }
157 180
158 error 181 error
159 {: #error-msg .bg-error .p-a-sm .m-y-sm } 182 {: #error-msg .bg-error .p-a-sm .m-y-sm }
160 183
161 </form> 184 </form>
162 </div> 185 </div>
163 </div> 186 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld