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

Delta Between Two Patch Sets: static/css/styles.css

Issue 29370658: Issue 4462 - Update styles on Eyeo.com to match new logo (Closed)
Left Patch Set: See notes in patchset Created Jan. 11, 2017, 1:49 p.m.
Right Patch Set: See notes on last changeset Created Jan. 12, 2017, 3:06 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | templates/default.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * Fonts 2 * Fonts
3 */ 3 */
4 4
5 @font-face 5 @font-face
6 { 6 {
7 font-family: 'Source Sans Pro'; 7 font-family: 'Source Sans Pro';
8 font-weight: 300; 8 font-weight: 300;
9 font-style: normal; 9 font-style: normal;
10 font-stretch: normal; 10 font-stretch: normal;
11 src: url('../fonts/SourceSansPro-Light.eot') format('embedded-opentype'), 11 src: local('Source Sans Pro Light'),
juliandoucette 2017/01/11 14:22:46 NIT: I should prefer local(...) to url(...)
saroyanm 2017/01/12 14:00:19 I'll suggest to use locale approach to prevent loc
juliandoucette 2017/01/12 15:05:55 We will use the local font now and re-investigate
juliandoucette 2017/01/12 15:05:56 Done.
12 local('SourceSansPro-Light'),
13 url('../fonts/SourceSansPro-Light.eot') format('embedded-opentype'),
12 url('../fonts/SourceSansPro-Light.ttf.woff2') format('woff2'), 14 url('../fonts/SourceSansPro-Light.ttf.woff2') format('woff2'),
13 url('../fonts/SourceSansPro-Light.otf.woff') format('woff'), 15 url('../fonts/SourceSansPro-Light.otf.woff') format('woff'),
14 url('../fonts/SourceSansPro-Light.otf') format('opentype'), 16 url('../fonts/SourceSansPro-Light.otf') format('opentype'),
15 url('../fonts/SourceSansPro-Light.ttf') format('truetype'); 17 url('../fonts/SourceSansPro-Light.ttf') format('truetype');
16 } 18 }
17 19
18 @font-face 20 @font-face
19 { 21 {
20 font-family: 'Source Sans Pro'; 22 font-family: 'Source Sans Pro';
21 font-weight: 300; 23 font-weight: 300;
22 font-style: italic; 24 font-style: italic;
23 font-stretch: normal; 25 font-stretch: normal;
24 src: url('../fonts/SourceSansPro-LightIt.eot') format('embedded-opentype'), 26 src: local('Source Sans Pro Light Italic'),
27 local('SourceSansPro-LightIt'),
28 url('../fonts/SourceSansPro-LightIt.eot') format('embedded-opentype'),
25 url('../fonts/SourceSansPro-LightIt.ttf.woff2') format('woff2'), 29 url('../fonts/SourceSansPro-LightIt.ttf.woff2') format('woff2'),
26 url('../fonts/SourceSansPro-LightIt.otf.woff') format('woff'), 30 url('../fonts/SourceSansPro-LightIt.otf.woff') format('woff'),
27 url('../fonts/SourceSansPro-LightIt.otf') format('opentype'), 31 url('../fonts/SourceSansPro-LightIt.otf') format('opentype'),
28 url('../fonts/SourceSansPro-LightIt.ttf') format('truetype'); 32 url('../fonts/SourceSansPro-LightIt.ttf') format('truetype');
29 } 33 }
30 34
31 @font-face 35 @font-face
32 { 36 {
33 font-family: 'Source Sans Pro'; 37 font-family: 'Source Sans Pro';
34 font-weight: 400; 38 font-weight: 400;
35 font-style: normal; 39 font-style: normal;
36 font-stretch: normal; 40 font-stretch: normal;
37 src: url('../fonts/SourceSansPro-Regular.eot') format('embedded-opentype'), 41 src: local('Source Sans Pro'),
42 local('SourceSansPro-Regular'),
43 url('../fonts/SourceSansPro-Regular.eot') format('embedded-opentype'),
38 url('../fonts/SourceSansPro-Regular.ttf.woff2') format('woff2'), 44 url('../fonts/SourceSansPro-Regular.ttf.woff2') format('woff2'),
39 url('../fonts/SourceSansPro-Regular.otf.woff') format('woff'), 45 url('../fonts/SourceSansPro-Regular.otf.woff') format('woff'),
40 url('../fonts/SourceSansPro-Regular.otf') format('opentype'), 46 url('../fonts/SourceSansPro-Regular.otf') format('opentype'),
41 url('../fonts/SourceSansPro-Regular.ttf') format('truetype'); 47 url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
42 } 48 }
43 49
44 /* 50 /*
45 * General layout 51 * General layout
46 */ 52 */
47 53
48 html 54 html
juliandoucette 2017/01/11 14:22:48 Note: I moved font and color to html because html
juliandoucette 2017/01/12 15:05:55 Acknowledged.
49 { 55 {
50 font-family: 'Source Sans Pro', sans-serif; 56 font-family: 'Source Sans Pro', sans-serif;
51 font-size: 18px; 57 font-size: 18px;
52 font-weight: 300; 58 font-weight: 300;
53 line-height: 1.333333; 59 line-height: 1.333333;
54 color: #161616; 60 color: #161616;
55 } 61 }
56 62
57 body 63 body
58 { 64 {
59 padding: 84px 0 0 0; 65 padding: 84px 0 0 0;
juliandoucette 2017/01/11 14:22:49 Note: The header was larger when scrolled top in t
saroyanm 2017/01/12 14:00:19 Deatail: please declare units.
juliandoucette 2017/01/12 15:05:57 Acknowledged.
60 margin: 0; 66 margin: 0;
61 } 67 }
62 68
63 a 69 a
64 { 70 {
65 font-weight: 400; 71 font-weight: 400;
juliandoucette 2017/01/11 14:22:46 Note: There is no Source Sans Pro 500. 400 achieve
juliandoucette 2017/01/12 15:05:55 Acknowledged.
66 text-decoration: none; 72 text-decoration: none;
67 color: #161616; 73 color: #161616;
68 } 74 }
69 75
70 a:hover 76 a:hover
71 { 77 {
72 text-decoration: underline; 78 text-decoration: underline;
73 } 79 }
74 80
75 img 81 img
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 text-transform: uppercase; 133 text-transform: uppercase;
128 } 134 }
129 135
130 #header .content-block 136 #header .content-block
131 { 137 {
132 position: relative; 138 position: relative;
133 padding: 10px; 139 padding: 10px;
134 min-height: 32px; 140 min-height: 32px;
135 } 141 }
136 142
137 #header.top 143 #header.top
juliandoucette 2017/01/11 14:22:48 Note: This was a personal preference. (I removed t
juliandoucette 2017/01/12 15:05:57 Acknowledged.
138 { 144 {
139 box-shadow: none; 145 box-shadow: none;
140 } 146 }
141 147
142 #header.top .content-block 148 #header.top .content-block
143 { 149 {
144 padding: 22px 10px; 150 padding: 22px 10px;
juliandoucette 2017/01/11 14:22:47 Note: This makes the header slightly larger when s
juliandoucette 2017/01/12 15:05:57 Acknowledged.
145 } 151 }
146 152
147 #logo 153 #logo
148 { 154 {
149 position: absolute; 155 position: absolute;
150 top: 50%; 156 top: 50%;
151 left: 10px; 157 left: 10px;
152 margin-top: -15px; 158 margin-top: -20px;
juliandoucette 2017/01/11 14:22:46 IGNORE: These changes don't make sense. I will rev
saroyanm 2017/01/12 14:00:19 Noted.
juliandoucette 2017/01/12 15:05:57 Done.
153 height: 30px; 159 height: 40px;
154 } 160 }
155 161
156 #logo img 162 #logo img
157 { 163 {
158 height: 100%; 164 height: 100%;
159 } 165 }
160 166
161 #header .menu-button 167 #header .menu-button
162 { 168 {
163 margin: 0px 0px 0px 20px; 169 margin: 0px 5px 0px 20px;
164 } 170 }
165 171
166 #menu 172 #menu
167 { 173 {
168 display: inline; 174 display: inline;
169 vertical-align: middle; 175 vertical-align: middle;
170 } 176 }
171 177
172 .assistive-text 178 .assistive-text
173 { 179 {
174 position: absolute !important; 180 position: absolute !important;
175 height: 1px; 181 height: 1px;
176 width: 1px; 182 width: 1px;
177 overflow: hidden; 183 overflow: hidden;
178 clip: rect(1px, 1px, 1px, 1px); 184 clip: rect(1px, 1px, 1px, 1px);
179 } 185 }
180 186
181 .menu-list 187 .menu-list
182 { 188 {
183 display: inline; 189 display: inline;
184 margin: 0px; 190 margin: 0px;
185 font-size: 16px; 191 font-size: 16px;
juliandoucette 2017/01/11 14:22:49 Note: Matching the screenshots.
juliandoucette 2017/01/12 15:05:55 Acknowledged. There was a bug with overlapping lo
186 list-style: none; 192 list-style: none;
187 } 193 }
188 194
189 .menu-list li 195 .menu-list li
190 { 196 {
191 display: inline; 197 display: inline;
192 font-weight: bold; 198 font-weight: bold;
193 white-space: nowrap; 199 white-space: nowrap;
194 } 200 }
195 201
(...skipping 16 matching lines...) Expand all
212 } 218 }
213 219
214 .icon-bar 220 .icon-bar
215 { 221 {
216 display: block; 222 display: block;
217 width: 22px; 223 width: 22px;
218 height: 2px; 224 height: 2px;
219 background-color: #fff; 225 background-color: #fff;
220 } 226 }
221 227
222 #header-hamburger:hover .icon-bar 228 #header-hamburger:hover .icon-bar,
juliandoucette 2017/01/11 14:22:49 Note: Making the hamburger button the same color a
juliandoucette 2017/01/12 15:05:55 Acknowledged.
229 #header-hamburger:active .icon-bar,
230 #header-hamburger:focus .icon-bar
223 { 231 {
224 background-color: #161616; 232 background-color: #161616;
225 } 233 }
226 234
227 .icon-bar+.icon-bar 235 .icon-bar+.icon-bar
228 { 236 {
229 margin-top: 4px; 237 margin-top: 4px;
230 } 238 }
231 239
232 #content:before, 240 #content:before,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 .content-block, 319 .content-block,
312 .page-title h1 320 .page-title h1
313 { 321 {
314 max-width: 1080px; 322 max-width: 1080px;
315 margin: 0 auto; 323 margin: 0 auto;
316 } 324 }
317 325
318 .heading 326 .heading
319 { 327 {
320 margin-bottom: 20px; 328 margin-bottom: 20px;
321 font-size: 28px; 329 font-size: 28px;
juliandoucette 2017/01/11 14:22:47 Note: The ticket asked for 48px. This size was too
juliandoucette 2017/01/12 15:05:56 Acknowledged. We may check with Christiane after.
322 font-weight: 400; 330 font-weight: 400;
323 } 331 }
324 332
325 .heading span 333 .heading span
326 { 334 {
327 padding: 0; 335 padding: 0;
328 padding-right: 10px; 336 padding-right: 10px;
329 background-color: #fff; 337 background-color: #fff;
330 } 338 }
331 339
332 .centered 340 .centered
333 { 341 {
334 text-align: center; 342 text-align: center;
335 } 343 }
336 344
337 .centered span 345 .centered span
338 { 346 {
339 padding-left: 10px; 347 padding-left: 10px;
340 } 348 }
341 349
342 button, .button, .menu-button 350 button, .button, .menu-button
juliandoucette 2017/01/11 17:51:28 BUG: This change breaks the gray button on jobs pa
juliandoucette 2017/01/12 15:05:55 Done.
343 { 351 {
344 display: inline-block; 352 display: inline-block;
345 padding: 0px 20px; 353 padding: 0px 20px;
346 background-color: #161616; 354 background-color: #161616;
347 border: 2px solid #161616; 355 border: 2px solid #161616;
juliandoucette 2017/01/11 14:22:48 Note: Added a border by default (You can't see it
juliandoucette 2017/01/12 15:05:56 Acknowledged.
348 border-radius: 0px; 356 border-radius: 0px;
349 color: #fff; 357 color: #fff;
350 font-size: 14px; 358 font-size: 14px;
351 font-weight: 400; 359 font-weight: 400;
352 line-height: 36px; 360 line-height: 36px;
353 white-space: nowrap; 361 white-space: nowrap;
354 cursor: pointer; 362 cursor: pointer;
355 } 363 }
356 364
357 button:hover, 365 button:hover,
358 button:focus, 366 button:focus,
359 .button:hover, 367 .button:hover,
360 .button:focus, 368 .button:focus,
361 .menu-button:hover, 369 .menu-button:hover,
362 .menu-button:focus 370 .menu-button:focus
363 { 371 {
364 background-color: #fff; 372 background-color: #fff;
juliandoucette 2017/01/11 14:22:49 Note: Removed text-decoration on hover (I think th
juliandoucette 2017/01/12 15:05:56 Acknowledged.
365 color: #161616; 373 color: #161616;
366 text-decoration: none; 374 text-decoration: none;
367 } 375 }
368 376
369 .page-title 377 .page-title
370 { 378 {
371 background-color: #f2f2f2; 379 background-color: #f2f2f2;
372 padding-top: 25px; 380 padding-top: 25px;
373 padding-bottom: 25px; 381 padding-bottom: 25px;
374 margin-bottom: 40px; 382 margin-bottom: 40px;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 margin-bottom: 25px; 416 margin-bottom: 25px;
409 } 417 }
410 418
411 #our-work 419 #our-work
412 { 420 {
413 padding-top: 50px; 421 padding-top: 50px;
414 padding-bottom: 50px; 422 padding-bottom: 50px;
415 background-color: #f2f2f2; 423 background-color: #f2f2f2;
416 } 424 }
417 425
418 #our-work h3 426 #our-work h3
juliandoucette 2017/01/11 14:22:47 Note: The text in these headers was uppercase in t
juliandoucette 2017/01/12 15:05:56 Acknowledged.
419 { 427 {
420 text-transform: uppercase; 428 text-transform: uppercase;
421 } 429 }
422 430
423 #media 431 #media
424 { 432 {
425 margin-top: 25px; 433 margin-top: 25px;
426 } 434 }
427 435
428 #our-work .heading span 436 #our-work .heading span
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 border-top: 1px solid #E1E1E1; 610 border-top: 1px solid #E1E1E1;
603 } 611 }
604 612
605 .ui-tabs-nav li.ui-tabs-active, 613 .ui-tabs-nav li.ui-tabs-active,
606 .ui-tabs-nav li:hover 614 .ui-tabs-nav li:hover
607 { 615 {
608 background-color: #fff; 616 background-color: #fff;
609 border-top: 2px solid #161616; 617 border-top: 2px solid #161616;
610 border-bottom: none; 618 border-bottom: none;
611 position: relative; 619 position: relative;
612 top: 1px; 620 top: 1px;
juliandoucette 2017/01/11 14:22:48 Note: I think 1px looks better when black.
juliandoucette 2017/01/12 15:05:55 Acknowledged.
613 } 621 }
614 622
juliandoucette 2017/01/11 14:22:48 Note: I took a little creative license here. I mad
juliandoucette 2017/01/12 15:05:55 Acknowledged.
615 .ui-tabs-nav-vertical li.ui-tabs-active, 623 .ui-tabs-nav-vertical li.ui-tabs-active,
616 .ui-tabs-nav-vertical li:hover 624 .ui-tabs-nav-vertical li:hover
617 { 625 {
618 border: 1px solid #161616; 626 border: 1px solid #161616;
619 background-color: #161616; 627 background-color: #161616;
620 top: 0px; 628 top: 0px;
621 } 629 }
622 630
623 .ui-tabs-nav-vertical li.ui-tabs-active a, 631 .ui-tabs-nav-vertical li.ui-tabs-active a,
624 .ui-tabs-nav-vertical li:hover a 632 .ui-tabs-nav-vertical li:hover a
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 } 824 }
817 825
818 #fair-company-logo 826 #fair-company-logo
819 { 827 {
820 float: right; 828 float: right;
821 } 829 }
822 830
823 .why-work-here-button 831 .why-work-here-button
824 { 832 {
825 background-color: #747474; 833 background-color: #747474;
834 border-color: #747474;
826 } 835 }
827 836
828 .why-work-here-button:hover, 837 .why-work-here-button:hover,
838 .why-work-here-button:active,
829 .why-work-here-button:focus 839 .why-work-here-button:focus
830 { 840 {
831 background-color: #333; 841 background-color: #fff;
842 border-color: #747474;
843 color: #747474;
832 } 844 }
833 845
834 846
835 @media (max-width: 768px) 847 @media (max-width: 768px)
836 { 848 {
837 body 849 body
838 { 850 {
839 padding-top: 50px; 851 padding-top: 50px;
840 } 852 }
841 853
(...skipping 13 matching lines...) Expand all
855 #menu 867 #menu
856 { 868 {
857 display: none; 869 display: none;
858 } 870 }
859 871
860 #menu.open 872 #menu.open
861 { 873 {
862 display: block; 874 display: block;
863 } 875 }
864 876
865 #header-hamburger 877 #header-hamburger
juliandoucette 2017/01/11 14:22:48 Note: Fixing broken hamburger (see comments above)
juliandoucette 2017/01/12 15:05:56 Done. Fixed bug between Firefox and Chrome (paddi
866 { 878 {
867 position: absolute; 879 position: absolute;
868 top: 7px; 880 top: 7px;
869 right: 1px; 881 right: 6px;
870 display: block; 882 display: block;
871 padding: 8px 0px; 883 height: 36px;
872 margin: 0px 5px; 884 width: 36px;
885 margin: 0;
886 padding: 0px 5px;
873 } 887 }
874 888
875 .menu-list 889 .menu-list
876 { 890 {
877 margin-top: 45px; 891 margin-top: 45px;
878 padding: 0px; 892 padding: 0px;
879 display: block; 893 display: block;
880 } 894 }
881 895
882 .menu-list > li 896 .menu-list > li
883 { 897 {
884 display: block; 898 display: block;
885 border-top: 1px solid #eee; 899 border-top: 1px solid #eee;
886 } 900 }
887 901
888 .menu-list > li > a 902 .menu-list > li > a
889 { 903 {
890 display: block; 904 display: block;
891 margin: 0px; 905 margin: 0px;
892 padding: 10px; 906 padding: 10px;
893 font-size: 14px 907 font-size: 14px
894 } 908 }
895 909
896 .menu-button 910 .menu-button
juliandoucette 2017/01/11 14:22:47 Note: Making a little more space so that everythin
juliandoucette 2017/01/12 15:05:56 Done.
897 { 911 {
898 position: absolute; 912 position: absolute;
899 top: 7px; 913 top: 7px;
900 right: 43px; 914 right: 43px;
901 height: 32px; 915 height: 32px;
902 padding: 0 6px; 916 padding: 0 6px;
903 line-height: 32px; 917 line-height: 32px;
904 font-size: 14px; 918 font-size: 14px;
905 } 919 }
906 920
(...skipping 28 matching lines...) Expand all
935 float: left; width: 100%; 949 float: left; width: 100%;
936 border-bottom: none; 950 border-bottom: none;
937 } 951 }
938 952
939 .ui-tabs-nav-vertical li 953 .ui-tabs-nav-vertical li
940 { 954 {
941 clear: left; 955 clear: left;
942 width: 100%; 956 width: 100%;
943 margin: 0 -1px .2em 0; 957 margin: 0 -1px .2em 0;
944 } 958 }
959
945 .ui-tabs-nav-vertical li.ui-tabs-active 960 .ui-tabs-nav-vertical li.ui-tabs-active
juliandoucette 2017/01/11 14:22:47 NIT: I should probably space out the rest of these
juliandoucette 2017/01/12 15:05:56 Acknowledged.
946 { 961 {
947 padding-bottom: 0; 962 padding-bottom: 0;
948 padding-right: .1em; 963 padding-right: .1em;
949 border-right-width: 1px; 964 border-right-width: 1px;
950 border-right-width: 1px; 965 border-right-width: 1px;
951 } 966 }
952 967
953 #panels-openings 968 #panels-openings
954 { 969 {
955 margin-top: -40px; 970 margin-top: -40px;
956 } 971 }
957 } 972 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld