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

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

Issue 29335113: Issue 2675 - Implemented responsive header for web.eyeo.com (Closed)
Left Patch Set: Created Jan. 29, 2016, 5:25 p.m.
Right Patch Set: Fixed code style and consistancy issues Created June 23, 2016, 5:23 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 | « static/acceptable-ads-application.html ('k') | static/images/logo.png » ('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 @font-face { 4 @font-face {
5 font-family: "Lato"; 5 font-family: "Lato";
6 font-style: normal; 6 font-style: normal;
7 font-weight: 400; 7 font-weight: 400;
8 src: local("Lato Regular"), local("Lato-Regular"), url(/fonts/Lato-Regular.wof f) format('woff'); 8 src: local("Lato Regular"), local("Lato-Regular"), url(/fonts/Lato-Regular.wof f) format('woff');
9 } 9 }
10 @font-face { 10 @font-face {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 h5 92 h5
93 { 93 {
94 font-size:14px; 94 font-size:14px;
95 } 95 }
96 96
97 h6 97 h6
98 { 98 {
99 font-size:12px; 99 font-size:12px;
100 } 100 }
101 101
102 #header 102 #header
103 { 103 {
104 display: block;
105 position: fixed; 104 position: fixed;
106 background: #fff; 105 background-color: #fff;
107 width: 100%; 106 width: 100%;
108 top: 0; 107 top: 0px;
109 left: 0; 108 left: 0px;
110 box-shadow: 0 0 12px rgba(0,0,0, 0.09); 109 box-shadow: 0px 0px 12px rgba(0,0,0, 0.09);
111 z-index: 10000; 110 z-index: 10000;
112 } 111 text-align: right;
113 112 }
114 #header.top 113
115 { 114 #header .content-block
116 padding: 8px 0; 115 {
116 position: relative;
117 padding: 15px 10px;
118 min-height: 32px;
119 }
120
121 #header.top .content-block
122 {
123 padding: 25px 10px;
117 } 124 }
118 125
119 #logo 126 #logo
120 { 127 {
121 float: left; 128 position: absolute;
122 margin: 5px 0; 129 top: 7px;
130 left: 10px;
131 }
132
133 #header.top #logo
134 {
135 top: 17px;
136 }
137
138 #header .menu-button
139 {
140 margin: 0px 0px 0px 25px;
123 } 141 }
124 142
125 #menu 143 #menu
126 { 144 {
127 float: right; 145 display: inline;
128 vertical-align: middle; 146 vertical-align: middle;
129 } 147 }
130 148
131 .collapsed
132 {
133 display: none;
134 }
135
136 .assistive-text 149 .assistive-text
137 { 150 {
138 position: absolute; 151 position: absolute !important;
152 height: 1px;
153 width: 1px;
154 overflow: hidden;
139 clip: rect(1px, 1px, 1px, 1px); 155 clip: rect(1px, 1px, 1px, 1px);
140 } 156 }
141 157
142 .menu-list 158 .menu-list
143 { 159 {
160 display: inline;
161 margin: 0px;
162 font-size: 15px;
144 list-style: none; 163 list-style: none;
145 margin: 0;
146 padding: 22px 0;
147 font-size: 14px;
148 float: right;
149 } 164 }
150 165
151 .menu-list li 166 .menu-list li
152 { 167 {
153 position: relative; 168 display: inline;
169 font-weight: bold;
154 white-space: nowrap; 170 white-space: nowrap;
155 display: block;
156 font-size: 15px;
157 font-weight: bold;
158 outline-width: 0;
159 float: left;
160 margin-right: 1px;
161 } 171 }
162 172
163 .menu-list li a 173 .menu-list li a
164 { 174 {
165 color: #979797; 175 color: #979797;
166 padding: 0 10px; 176 padding: 0 10px;
167 } 177 }
168 178
169 .menu-list li:hover > a, 179 .menu-list li:hover > a,
170 .menu-list li.current-menu-item > a 180 .menu-list li.current-menu-item > a
171 { 181 {
172 color: #373737; 182 color: #373737;
173 } 183 }
174 184
175 .menu-button 185 #header-hamburger
176 {
177 float: right;
178 margin: 14px 0 14px 25px;
179 }
180
181 #header-hamberger
182 { 186 {
183 display: none; 187 display: none;
184 } 188 }
185 189
186 #header-hamberger:hover, 190 #header-hamburger:hover .icon-bar,
187 #header-hamberger:active, 191 #header-hamburger:focus .icon-bar,
188 #header-hamberger:focus 192 #header-hamburger:active .icon-bar
189 { 193 {
190 background-color: transparent; 194 background-color: #000;
191 border: none; 195 }
192 outline: none; 196
193 } 197
194 198 .icon-bar
195 .icon-bar { 199 {
196 background-color: #888;
197 display: block; 200 display: block;
198 width: 22px; 201 width: 22px;
199 height: 2px; 202 height: 2px;
200 border-radius: 1px; 203 border-radius: 1px;
201 } 204 background-color: #888;
202 205 }
203 .icon-bar+.icon-bar { 206
207 .icon-bar+.icon-bar
208 {
204 margin-top: 4px; 209 margin-top: 4px;
205 } 210 }
206 211
207 #content:before, 212 #content:before,
208 #content:after, 213 #content:after,
209 #header:before,
210 #header:after,
211 .columns-container:before, 214 .columns-container:before,
212 .columns-container:after 215 .columns-container:after
213 { 216 {
214 content: " "; 217 content: " ";
215 display: table; 218 display: table;
216 } 219 }
217 220
218 #content:after, 221 #content:after,
219 #header:after,
220 .columns-container:after 222 .columns-container:after
221 { 223 {
222 clear: both; 224 clear: both;
223 } 225 }
224 226
225 #footer 227 #footer
226 { 228 {
227 color: #666; 229 color: #666;
228 background-color: #252525; 230 background-color: #252525;
229 padding-top: 30px; 231 padding-top: 30px;
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 .why-work-here-button:focus 796 .why-work-here-button:focus
795 { 797 {
796 background-color: #333; 798 background-color: #333;
797 } 799 }
798 800
799 801
800 @media (max-width: 768px) 802 @media (max-width: 768px)
801 { 803 {
802 body 804 body
803 { 805 {
804 padding-top: 64px; 806 padding-top: 50px;
805 } 807 }
806 808
807 #logo > img 809 #header .content-block,
808 { 810 #header.top .content-block
809 height: 34px 811 {
810 } 812 padding: 9px 10px;
811 813 }
814
815 #header.top #logo
816 {
817 top: 7px;
818 }
819
820 #logo > img
821 {
822 height: 34px;
823 }
824
825 #menu
826 {
827 display: none;
828 }
829
830 #menu.open
831 {
832 display: block;
833 }
834
835 #header-hamburger
836 {
837 position: absolute;
838 top: 9px;
839 right: 10px;
840 display: block;
841 padding: 0px;
842 margin: 0px 5px;
843 background: none;
844 }
845
812 .menu-list 846 .menu-list
813 { 847 {
814 padding: 12px 0; 848 margin-top: 45px;
815 } 849 padding: 0px;
816 850 display: block;
817 .menu-item > a 851 }
818 { 852
819 font-size: 13px 853 .menu-list > li
820 } 854 {
821 855 display: block;
856 border-top: 1px solid #eee;
857 }
858
859 .menu-list > li > a
860 {
861 display: block;
862 margin: 0px;
863 padding: 10px;
864 font-size: 14px
865 }
866
822 .menu-button 867 .menu-button
823 { 868 {
824 margin: 5px 0 5px 10px; 869 position: absolute;
825 font-size: 13px 870 top: 9px;
826 } 871 right: 50px;
827 872 height: 32px;
873 padding: 0 10px;
874 line-height: 32px;
875 font-size: 14px;
876 }
877
828 .columns-container .column 878 .columns-container .column
829 { 879 {
830 width: 100%; 880 width: 100%;
831 margin-left: 0; 881 margin-left: 0;
832 clear: both; 882 clear: both;
833 } 883 }
834 884
835 #press-info .sidebar-left 885 #press-info .sidebar-left
836 { 886 {
837 text-align: inherit; 887 text-align: inherit;
838 } 888 }
839 889
840 #releases li > * 890 #releases li > *
841 { 891 {
842 display: block; 892 display: block;
843 } 893 }
844 894
845 .no-mobile 895 .no-mobile
846 { 896 {
847 display: none; 897 display: none;
848 }
849 }
850
851 @media(max-width: 660px)
852 {
853 #menu
854 {
855 display: block;
856 float: none;
857 }
858
859 #menu
860 {
861 display: none;
862 }
863
864 .menu-list
865 {
866 padding: 0;
867 float: none;
868 clear: both;
869 display: block;
870 }
871
872 #menu.open
873 {
874 display: block;
875 }
876
877 .menu-list > li
878 {
879 float: none;
880 display: block;
881 border-top: 1px solid #eee;
882 }
883
884 .menu-list > li > a
885 {
886 padding: 10px ;
887 display: block;
888 margin: 0;
889 }
890
891 .menu-button
892 {
893 padding: 0 14px;
894 margin: 5px 0;
895 }
896
897 #header-hamberger
898 {
899 display: block;
900 float: right;
901 margin: 5px -5px 0 5px;
902 background: none;
903 padding: 0 10px;
904 } 898 }
905 } 899 }
906 900
907 @media (min-width: 751px) 901 @media (min-width: 751px)
908 { 902 {
909 .ui-tabs-nav-vertical 903 .ui-tabs-nav-vertical
910 { 904 {
911 padding: .2em .1em .2em .2em; 905 padding: .2em .1em .2em .2em;
912 float: left; width: 100%; 906 float: left; width: 100%;
913 border-bottom: none; 907 border-bottom: none;
(...skipping 12 matching lines...) Expand all
926 padding-right: .1em; 920 padding-right: .1em;
927 border-right-width: 1px; 921 border-right-width: 1px;
928 border-right-width: 1px; 922 border-right-width: 1px;
929 } 923 }
930 924
931 #panels-openings 925 #panels-openings
932 { 926 {
933 margin-top: -40px; 927 margin-top: -40px;
934 } 928 }
935 } 929 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld