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

Side by Side Diff: static/css/styles.css

Issue 29370658: Issue 4462 - Update styles on Eyeo.com to match new logo (Closed)
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:
View unified diff | Download patch
« no previous file with comments | « no previous file | templates/default.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Fonts 2 * Fonts
3 */ 3 */
4 @font-face { 4
5 font-family: "Lato"; 5 @font-face
6 {
7 font-family: 'Source Sans Pro';
8 font-weight: 300;
6 font-style: normal; 9 font-style: normal;
10 font-stretch: normal;
11 src: local('Source Sans Pro Light'),
12 local('SourceSansPro-Light'),
13 url('../fonts/SourceSansPro-Light.eot') format('embedded-opentype'),
14 url('../fonts/SourceSansPro-Light.ttf.woff2') format('woff2'),
15 url('../fonts/SourceSansPro-Light.otf.woff') format('woff'),
16 url('../fonts/SourceSansPro-Light.otf') format('opentype'),
17 url('../fonts/SourceSansPro-Light.ttf') format('truetype');
18 }
19
20 @font-face
21 {
22 font-family: 'Source Sans Pro';
23 font-weight: 300;
24 font-style: italic;
25 font-stretch: normal;
26 src: local('Source Sans Pro Light Italic'),
27 local('SourceSansPro-LightIt'),
28 url('../fonts/SourceSansPro-LightIt.eot') format('embedded-opentype'),
29 url('../fonts/SourceSansPro-LightIt.ttf.woff2') format('woff2'),
30 url('../fonts/SourceSansPro-LightIt.otf.woff') format('woff'),
31 url('../fonts/SourceSansPro-LightIt.otf') format('opentype'),
32 url('../fonts/SourceSansPro-LightIt.ttf') format('truetype');
33 }
34
35 @font-face
36 {
37 font-family: 'Source Sans Pro';
7 font-weight: 400; 38 font-weight: 400;
8 src: local("Lato Regular"), local("Lato-Regular"), url(/fonts/Lato-Regular.wof f) format('woff');
9 }
10 @font-face {
11 font-family: "Lato";
12 font-style: normal; 39 font-style: normal;
13 font-weight: 700; 40 font-stretch: normal;
14 src: local("Lato Bold"), local("Lato-Bold"), url(/fonts/Lato-Bold.woff) format ('woff'); 41 src: local('Source Sans Pro'),
15 } 42 local('SourceSansPro-Regular'),
16 @font-face { 43 url('../fonts/SourceSansPro-Regular.eot') format('embedded-opentype'),
17 font-family: "Lato"; 44 url('../fonts/SourceSansPro-Regular.ttf.woff2') format('woff2'),
18 font-style: italic; 45 url('../fonts/SourceSansPro-Regular.otf.woff') format('woff'),
19 font-weight: 400; 46 url('../fonts/SourceSansPro-Regular.otf') format('opentype'),
20 src: local("Lato Italic"), local("Lato-Italic"), url(/fonts/Lato-Italic.woff) format('woff'); 47 url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
21 }
22 @font-face {
23 font-family: "Lato";
24 font-style: italic;
25 font-weight: 700;
26 src: local("Lato Bold Italic"), local("Lato-BoldItalic"), url(/fonts/Lato-Bold Italic.woff) format('woff');
27 } 48 }
28 49
29 /* 50 /*
30 * General layout 51 * General layout
31 */ 52 */
32 53
54 html
55 {
56 font-family: 'Source Sans Pro', sans-serif;
57 font-size: 18px;
58 font-weight: 300;
59 line-height: 1.333333;
60 color: #161616;
61 }
62
33 body 63 body
34 { 64 {
35 font-family: Lato, sans-serif; 65 padding: 84px 0 0 0;
36 font-size: 14px;
37 line-height: 1.4;
38 color: #747474;
39 padding: 0;
40 margin: 0; 66 margin: 0;
41 padding-top: 78px;
42 } 67 }
43 68
44 a 69 a
45 { 70 {
46 color: #7ac142; 71 font-weight: 400;
47 text-decoration: none; 72 text-decoration: none;
73 color: #161616;
48 } 74 }
49 75
50 a:hover 76 a:hover
51 { 77 {
52 color: #91e64f; 78 text-decoration: underline;
53 } 79 }
54 80
55 img 81 img
56 { 82 {
57 border-width: 0px; 83 border-width: 0px;
58 } 84 }
59 85
60 header, 86 header,
61 footer, 87 footer,
62 nav 88 nav
63 { 89 {
64 display: block; 90 display: block;
65 } 91 }
66 92
67 h1, h2, h3, h4, h5, h6
68 {
69 color: #333;
70 }
71
72 h1 93 h1
73 { 94 {
74 font-size:28px; 95 font-size:28px;
75 } 96 }
76 97
77 h2 98 h2
78 { 99 {
79 font-size:24px; 100 font-size:24px;
80 } 101 }
81 102
(...skipping 20 matching lines...) Expand all
102 #header 123 #header
103 { 124 {
104 position: fixed; 125 position: fixed;
105 background-color: #fff; 126 background-color: #fff;
106 width: 100%; 127 width: 100%;
107 top: 0px; 128 top: 0px;
108 left: 0px; 129 left: 0px;
109 box-shadow: 0px 0px 12px rgba(0,0,0, 0.09); 130 box-shadow: 0px 0px 12px rgba(0,0,0, 0.09);
110 z-index: 10000; 131 z-index: 10000;
111 text-align: right; 132 text-align: right;
133 text-transform: uppercase;
112 } 134 }
113 135
114 #header .content-block 136 #header .content-block
115 { 137 {
116 position: relative; 138 position: relative;
117 padding: 15px 10px; 139 padding: 10px;
118 min-height: 32px; 140 min-height: 32px;
119 } 141 }
120 142
143 #header.top
144 {
145 box-shadow: none;
146 }
147
121 #header.top .content-block 148 #header.top .content-block
122 { 149 {
123 padding: 20px 10px; 150 padding: 22px 10px;
124 } 151 }
125 152
126 #logo 153 #logo
127 { 154 {
128 position: absolute; 155 position: absolute;
129 top: 50%; 156 top: 50%;
130 left: 10px; 157 left: 10px;
131 margin-top: -20px; 158 margin-top: -20px;
132 height: 40px; 159 height: 40px;
133 } 160 }
134 161
135 #logo img 162 #logo img
136 { 163 {
137 height: 100%; 164 height: 100%;
138 } 165 }
139 166
140 #header .menu-button 167 #header .menu-button
141 { 168 {
142 margin: 0px 0px 0px 20px; 169 margin: 0px 5px 0px 20px;
143 } 170 }
144 171
145 #menu 172 #menu
146 { 173 {
147 display: inline; 174 display: inline;
148 vertical-align: middle; 175 vertical-align: middle;
149 } 176 }
150 177
151 .assistive-text 178 .assistive-text
152 { 179 {
153 position: absolute !important; 180 position: absolute !important;
154 height: 1px; 181 height: 1px;
155 width: 1px; 182 width: 1px;
156 overflow: hidden; 183 overflow: hidden;
157 clip: rect(1px, 1px, 1px, 1px); 184 clip: rect(1px, 1px, 1px, 1px);
158 } 185 }
159 186
160 .menu-list 187 .menu-list
161 { 188 {
162 display: inline; 189 display: inline;
163 margin: 0px; 190 margin: 0px;
164 font-size: 15px; 191 font-size: 16px;
165 list-style: none; 192 list-style: none;
166 } 193 }
167 194
168 .menu-list li 195 .menu-list li
169 { 196 {
170 display: inline; 197 display: inline;
171 font-weight: bold; 198 font-weight: bold;
172 white-space: nowrap; 199 white-space: nowrap;
173 } 200 }
174 201
175 .menu-list li a 202 .menu-list li a
176 { 203 {
177 color: #979797; 204 color: #979797;
178 padding: 0 8px; 205 padding: 0 8px;
179 } 206 }
180 207
181 .menu-list li:hover > a, 208 .menu-list li:hover > a,
182 .menu-list li.current-menu-item > a 209 .menu-list li.current-menu-item > a
183 { 210 {
184 color: #373737; 211 text-decoration: none;
212 color: #161616;
185 } 213 }
186 214
187 #header-hamburger 215 #header-hamburger
188 { 216 {
189 display: none; 217 display: none;
190 } 218 }
191 219
192 #header-hamburger:hover .icon-bar,
193 #header-hamburger:focus .icon-bar,
194 #header-hamburger:active .icon-bar
195 {
196 background-color: #000;
197 }
198
199
200 .icon-bar 220 .icon-bar
201 { 221 {
202 display: block; 222 display: block;
203 width: 22px; 223 width: 22px;
204 height: 2px; 224 height: 2px;
205 border-radius: 1px; 225 background-color: #fff;
206 background-color: #888; 226 }
227
228 #header-hamburger:hover .icon-bar,
229 #header-hamburger:active .icon-bar,
230 #header-hamburger:focus .icon-bar
231 {
232 background-color: #161616;
207 } 233 }
208 234
209 .icon-bar+.icon-bar 235 .icon-bar+.icon-bar
210 { 236 {
211 margin-top: 4px; 237 margin-top: 4px;
212 } 238 }
213 239
214 #content:before, 240 #content:before,
215 #content:after, 241 #content:after,
216 .columns-container:before, 242 .columns-container:before,
217 .columns-container:after 243 .columns-container:after
218 { 244 {
219 content: " "; 245 content: " ";
220 display: table; 246 display: table;
221 } 247 }
222 248
223 #content:after, 249 #content:after,
224 .columns-container:after 250 .columns-container:after
225 { 251 {
226 clear: both; 252 clear: both;
227 } 253 }
228 254
229 #footer 255 #footer
230 { 256 {
231 color: #666; 257 color: #fff;
232 background-color: #252525; 258 background-color: #2d2d2d;
233 padding-top: 30px; 259 padding-top: 30px;
234 padding-bottom: 50px; 260 padding-bottom: 50px;
235 } 261 }
236 262
237 #footer a 263 #footer a
238 { 264 {
239 color: #c2c2c2; 265 color: #c2c2c2;
240 } 266 }
241 267
242 #footer a:hover 268 #footer a:hover
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 318
293 .content-block, 319 .content-block,
294 .page-title h1 320 .page-title h1
295 { 321 {
296 max-width: 1080px; 322 max-width: 1080px;
297 margin: 0 auto; 323 margin: 0 auto;
298 } 324 }
299 325
300 .heading 326 .heading
301 { 327 {
302 margin: 0;
303 margin-bottom: 20px; 328 margin-bottom: 20px;
304 border-bottom: 1px solid #E2E2E2; 329 font-size: 28px;
305 font-weight: normal; 330 font-weight: 400;
306 height: 0.7em;
307 } 331 }
308 332
309 .heading span 333 .heading span
310 { 334 {
311 padding: 0; 335 padding: 0;
312 padding-right: 10px; 336 padding-right: 10px;
313 background-color: #fff; 337 background-color: #fff;
314 } 338 }
315 339
316 .centered 340 .centered
317 { 341 {
318 text-align: center; 342 text-align: center;
319 } 343 }
320 344
321 .centered span 345 .centered span
322 { 346 {
323 padding-left: 10px; 347 padding-left: 10px;
324 } 348 }
325 349
326 button, .button, .menu-button 350 button, .button, .menu-button
327 { 351 {
328 display: inline-block; 352 display: inline-block;
329 cursor: pointer; 353 padding: 0px 20px;
330 background-color: #7ac142; 354 background-color: #161616;
331 color: #ffffff; 355 border: 2px solid #161616;
332 border: none; 356 border-radius: 0px;
333 border-radius: 3px; 357 color: #fff;
334 font-size: 14px; 358 font-size: 14px;
335 font-weight: bold; 359 font-weight: 400;
336 line-height: 36px; 360 line-height: 36px;
337 white-space: nowrap; 361 white-space: nowrap;
338 height: 36px; 362 cursor: pointer;
339 padding: 0 20px;
340 } 363 }
341 364
342 button:hover, 365 button:hover,
343 button:focus, 366 button:focus,
344 .button:hover, 367 .button:hover,
345 .button:focus, 368 .button:focus,
346 .menu-button:hover, 369 .menu-button:hover,
347 .menu-button:focus 370 .menu-button:focus
348 { 371 {
349 background-color: #7FCF42; 372 background-color: #fff;
350 color: #ffffff; 373 color: #161616;
374 text-decoration: none;
351 } 375 }
352 376
353 .page-title 377 .page-title
354 { 378 {
355 background-image: url(/images/subtlenet2.png); 379 background-color: #f2f2f2;
356 background-color: #e9e9e5;
357 padding-top: 25px; 380 padding-top: 25px;
358 padding-bottom: 25px; 381 padding-bottom: 25px;
359 margin-bottom: 40px; 382 margin-bottom: 40px;
360 } 383 }
361 384
362 .sidebar-left .contact-person 385 .sidebar-left .contact-person
363 { 386 {
364 text-align: right; 387 text-align: right;
365 margin-top: 20px; 388 margin-top: 20px;
366 float: right; 389 float: right;
(...skipping 23 matching lines...) Expand all
390 #who-we-are 413 #who-we-are
391 { 414 {
392 margin-top: 25px; 415 margin-top: 25px;
393 margin-bottom: 25px; 416 margin-bottom: 25px;
394 } 417 }
395 418
396 #our-work 419 #our-work
397 { 420 {
398 padding-top: 50px; 421 padding-top: 50px;
399 padding-bottom: 50px; 422 padding-bottom: 50px;
400 background-color: #f0f0f0; 423 background-color: #f2f2f2;
424 }
425
426 #our-work h3
427 {
428 text-transform: uppercase;
401 } 429 }
402 430
403 #media 431 #media
404 { 432 {
405 margin-top: 25px; 433 margin-top: 25px;
406 } 434 }
407 435
408 #our-work .heading span 436 #our-work .heading span
409 { 437 {
410 background-color: #f0f0f0; 438 background-color: #f0f0f0;
411 } 439 }
412 440
413 #our-work .column
414 {
415 text-align: center;
416 }
417
418 .profile 441 .profile
419 { 442 {
420 text-align: center; 443 text-align: center;
421 margin-top: 0px; 444 margin-top: 0px;
422 margin-bottom: 30px; 445 margin-bottom: 30px;
423 } 446 }
424 447
425 .profile-image, 448 .profile-image,
426 .country-image 449 .country-image
427 { 450 {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 } 587 }
565 588
566 .ui-tabs-nav li 589 .ui-tabs-nav li
567 { 590 {
568 background-color: #FBFBFB; 591 background-color: #FBFBFB;
569 padding: 0; 592 padding: 0;
570 background-image: none; 593 background-image: none;
571 list-style: none; 594 list-style: none;
572 float: left; 595 float: left;
573 margin: 0; 596 margin: 0;
574
575 border: 1px solid #E1E1E1; 597 border: 1px solid #E1E1E1;
576 border-left: none; 598 border-left: none;
577 border-bottom-color: #CFCFCF; 599 border-bottom-color: #CFCFCF;
578 border-top-left-radius: 3px;
579 border-top-right-radius: 3px;
580 -webkit-border-top-left-radius: 3px;
581 -webkit-border-top-right-radius: 3px;
582
583 transition: all 0.2s linear; 600 transition: all 0.2s linear;
584 -moz-transition: all 0.2s linear; 601 -moz-transition: all 0.2s linear;
585 -webkit-transition: all 0.2s linear; 602 -webkit-transition: all 0.2s linear;
586 -o-transition: all 0.2s linear; 603 -o-transition: all 0.2s linear;
587 } 604 }
588 605
606 .ui-tabs-nav-vertical li,
589 .ui-tabs-nav li:first-child 607 .ui-tabs-nav li:first-child
590 { 608 {
591 border-left: 1px solid #E1E1E1; 609 border-left: 1px solid #E1E1E1;
592 border-top: 1px solid #E1E1E1; 610 border-top: 1px solid #E1E1E1;
593 } 611 }
594 612
595 .ui-tabs-nav li.ui-tabs-active, 613 .ui-tabs-nav li.ui-tabs-active,
596 .ui-tabs-nav li:hover 614 .ui-tabs-nav li:hover
597 { 615 {
598 background-color: #fff; 616 background-color: #fff;
599 border-top: 2px solid #7ac142; 617 border-top: 2px solid #161616;
600 border-bottom: none; 618 border-bottom: none;
601 position: relative; 619 position: relative;
602 top: 2px; 620 top: 1px;
621 }
622
623 .ui-tabs-nav-vertical li.ui-tabs-active,
624 .ui-tabs-nav-vertical li:hover
625 {
626 border: 1px solid #161616;
627 background-color: #161616;
628 top: 0px;
629 }
630
631 .ui-tabs-nav-vertical li.ui-tabs-active a,
632 .ui-tabs-nav-vertical li:hover a
633 {
634 color: #fff;
635 text-decoration: none;
603 } 636 }
604 637
605 .ui-tabs-active .ui-tabs-anchor 638 .ui-tabs-active .ui-tabs-anchor
606 { 639 {
607 cursor: default; 640 cursor: default;
608 } 641 }
609 642
610 .ui-tabs-anchor 643 .ui-tabs-anchor
611 { 644 {
612 border-bottom: none; 645 border-bottom: none;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 } 824 }
792 825
793 #fair-company-logo 826 #fair-company-logo
794 { 827 {
795 float: right; 828 float: right;
796 } 829 }
797 830
798 .why-work-here-button 831 .why-work-here-button
799 { 832 {
800 background-color: #747474; 833 background-color: #747474;
834 border-color: #747474;
801 } 835 }
802 836
803 .why-work-here-button:hover, 837 .why-work-here-button:hover,
838 .why-work-here-button:active,
804 .why-work-here-button:focus 839 .why-work-here-button:focus
805 { 840 {
806 background-color: #333; 841 background-color: #fff;
842 border-color: #747474;
843 color: #747474;
807 } 844 }
808 845
809 846
810 @media (max-width: 768px) 847 @media (max-width: 768px)
811 { 848 {
812 body 849 body
813 { 850 {
814 padding-top: 50px; 851 padding-top: 50px;
815 } 852 }
816 853
(...skipping 16 matching lines...) Expand all
833 } 870 }
834 871
835 #menu.open 872 #menu.open
836 { 873 {
837 display: block; 874 display: block;
838 } 875 }
839 876
840 #header-hamburger 877 #header-hamburger
841 { 878 {
842 position: absolute; 879 position: absolute;
843 top: 9px; 880 top: 7px;
844 right: 10px; 881 right: 6px;
845 display: block; 882 display: block;
846 padding: 0px; 883 height: 36px;
847 margin: 0px 5px; 884 width: 36px;
848 background: none; 885 margin: 0;
886 padding: 0px 5px;
849 } 887 }
850 888
851 .menu-list 889 .menu-list
852 { 890 {
853 margin-top: 45px; 891 margin-top: 45px;
854 padding: 0px; 892 padding: 0px;
855 display: block; 893 display: block;
856 } 894 }
857 895
858 .menu-list > li 896 .menu-list > li
859 { 897 {
860 display: block; 898 display: block;
861 border-top: 1px solid #eee; 899 border-top: 1px solid #eee;
862 } 900 }
863 901
864 .menu-list > li > a 902 .menu-list > li > a
865 { 903 {
866 display: block; 904 display: block;
867 margin: 0px; 905 margin: 0px;
868 padding: 10px; 906 padding: 10px;
869 font-size: 14px 907 font-size: 14px
870 } 908 }
871 909
872 .menu-button 910 .menu-button
873 { 911 {
874 position: absolute; 912 position: absolute;
875 top: 9px; 913 top: 7px;
876 right: 50px; 914 right: 43px;
877 height: 32px; 915 height: 32px;
878 padding: 0 10px; 916 padding: 0 6px;
879 line-height: 32px; 917 line-height: 32px;
880 font-size: 14px; 918 font-size: 14px;
881 } 919 }
882 920
883 .columns-container .column 921 .columns-container .column
884 { 922 {
885 width: 100%; 923 width: 100%;
886 margin-left: 0; 924 margin-left: 0;
887 clear: both; 925 clear: both;
888 } 926 }
(...skipping 15 matching lines...) Expand all
904 } 942 }
905 943
906 @media (min-width: 751px) 944 @media (min-width: 751px)
907 { 945 {
908 .ui-tabs-nav-vertical 946 .ui-tabs-nav-vertical
909 { 947 {
910 padding: .2em .1em .2em .2em; 948 padding: .2em .1em .2em .2em;
911 float: left; width: 100%; 949 float: left; width: 100%;
912 border-bottom: none; 950 border-bottom: none;
913 } 951 }
952
914 .ui-tabs-nav-vertical li 953 .ui-tabs-nav-vertical li
915 { 954 {
916 clear: left; 955 clear: left;
917 width: 100%; 956 width: 100%;
918 border-bottom-width: 1px !important;
919 border-left: 1px solid #E1E1E1 !important;
920 margin: 0 -1px .2em 0; 957 margin: 0 -1px .2em 0;
921 } 958 }
959
922 .ui-tabs-nav-vertical li.ui-tabs-active 960 .ui-tabs-nav-vertical li.ui-tabs-active
923 { 961 {
924 padding-bottom: 0; 962 padding-bottom: 0;
925 padding-right: .1em; 963 padding-right: .1em;
926 border-right-width: 1px; 964 border-right-width: 1px;
927 border-right-width: 1px; 965 border-right-width: 1px;
928 } 966 }
929 967
930 #panels-openings 968 #panels-openings
931 { 969 {
932 margin-top: -40px; 970 margin-top: -40px;
933 } 971 }
934 } 972 }
OLDNEW
« no previous file with comments | « no previous file | templates/default.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld