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

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

Issue 29551738: Issue 5634 - Replaced logo and refactored navbar width and colors (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created Sept. 22, 2017, 1:13 a.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 | static/css/main-desktop.css » ('j') | templates/default.tmpl » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 * 1 *
2 { 2 {
3 font-family: Arial, sans; 3 font-family: Arial, sans;
4 font-size: 16px; 4 font-size: 16px;
5 } 5 }
6 6
7 body 7 body
8 { 8 {
9 background-color: #f8f6f2; 9 background-color: #f8f6f2;
10 background-image: url(../img/background.png); 10 background-image: url(../img/background.png);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 background-repeat: no-repeat; 48 background-repeat: no-repeat;
49 } 49 }
50 50
51 nav ul 51 nav ul
52 { 52 {
53 list-style: none; 53 list-style: none;
54 margin: 0; 54 margin: 0;
55 padding: 0; 55 padding: 0;
56 } 56 }
57 57
58 nav a:link, nav a:visited 58 nav a:link,
59 nav a:visited
59 { 60 {
60 color: #7d7d7d; 61 color: #7d7d7d;
61 text-decoration: none; 62 text-decoration: none;
62 } 63 }
63 64
64 nav a:hover 65 nav a:hover
65 { 66 {
66 text-decoration: underline; 67 text-decoration: underline;
67 } 68 }
68 69
70 .container
71 {
72 margin: 0 15px;
73 max-width: 1170px;
74 }
75
76 @media (min-width: 1200px)
77 {
78 .container
79 {
80 margin: 0 auto;
81 }
82 }
83
84 .accent
85 {
86 background-color: #c70d2c;
87 color: #fff;
88 }
89
90 .accent a,
91 .accent a:link,
92 .accent a:visited
93 {
94 color: #fff;
95 }
96
97 .secondary
98 {
99 background-color: #292929;
100 color: #fff;
101 }
102
103 .secondary a,
104 .secondary a:link,
105 .secondary a:visited
106 {
107 color: #fff;
108 }
109
110 .navbar
111 {
112 height: 70px;
113 }
114
115 .navbar a:hover,
116 .navbar a:active,
117 .navbar a:focus
118 {
119 text-decoration: none;
120 }
121
122 .navbar-brand img
123 {
124 display: inline;
125 height: 48px;
126 padding: 11px 0px;
127 line-height: 48px;
128 }
129
130 .navbar-brand,
131 .navbar-nav li
132 {
133 float: left;
134 }
135
136 .navbar-nav
137 {
138 float: right;
139 }
140
141 .navbar-nav a
142 {
143 display: inline-block;
144 padding: 26px 15px;
145 font-size: 18px;
146 line-height: 1;
147 }
148
149 .navbar-nav a:hover,
150 .navbar-nav a:active,
151 .navbar-nav a:focus
152 {
153 background-color: #AE0013;
154 }
155
156 .navbar-nav,
157 .navbar-nav li
158 {
159 display: inline-block;
160 list-style-type: none;
161 }
162
163 .dropdown
164 {
165 position: relative;
166 }
167
168 .dropdown-menu
169 {
170 position: absolute;
171 display: none;
172 min-width: 160px;
173 max-height: 384px;
174 max-height: 50vh;
175 top: 100%;
176 right: 0;
177 overflow: auto;
178 z-index: 1000;
179 }
180
181 .dropdown-menu.visible
182 {
183 display: block;
184 }
185
186 .dropdown-menu li,
187 .dropdown-menu a
188 {
189 display: block;
190 float: none;
191 white-space: nowrap;
192 }
193
194 .dropdown-menu a
195 {
196 font-size: 16px;
197 line-height: 50px;
198 padding: 0px 15px;
199 }
200
201 .dropdown-menu a:hover,
202 .dropdown-menu a:active,
203 .dropdown-menu a:focus
204 {
205 background-color: #434343;
206 }
207
208 .dropdown-toggle::after
209 {
210 display: inline-block;
211 width: 0;
212 height: 0;
213 margin-left: .255em;
214 vertical-align: .255em;
215 content: "";
216 border-top: .3em solid;
217 border-right: .3em solid transparent;
218 border-left: .3em solid transparent;
219 }
220
69 header 221 header
70 { 222 {
71 display: block; 223 display: block;
72 position: relative; 224 position: relative;
73 background: white; 225 background: white;
74 border: 1px solid #d9d9d9; 226 border: 1px solid #d9d9d9;
75 border-top: none; 227 border-top: none;
76 box-shadow: 1px 1px 0 0 #d9d9d9; 228 box-shadow: 1px 1px 0 0 #d9d9d9;
77 z-index: 1; 229 z-index: 1;
78 } 230 }
(...skipping 21 matching lines...) Expand all
100 width: 12px; 252 width: 12px;
101 height: 12px; 253 height: 12px;
102 background-position: -167px -13px; 254 background-position: -167px -13px;
103 } 255 }
104 256
105 .language-entry a 257 .language-entry a
106 { 258 {
107 display: block; 259 display: block;
108 } 260 }
109 261
110 .locale-code
juliandoucette 2017/09/22 01:21:14 Note: I figured out that I could use the builtin u
ire 2017/09/22 09:29:58 Acknowledged.
111 {
112 text-transform: uppercase;
113 }
114
115 #flag-ar 262 #flag-ar
116 { 263 {
117 background-position: 0px 0px; 264 background-position: 0px 0px;
118 } 265 }
119 266
120 #flag-bg 267 #flag-bg
121 { 268 {
122 background-position: -17px 0px; 269 background-position: -17px 0px;
123 } 270 }
124 271
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 568
422 [dir="ltr"] .alert 569 [dir="ltr"] .alert
423 { 570 {
424 border-left: 5px solid #d14841; 571 border-left: 5px solid #d14841;
425 } 572 }
426 573
427 [dir="rtl"] .alert 574 [dir="rtl"] .alert
428 { 575 {
429 border-right: 5px solid #d14841; 576 border-right: 5px solid #d14841;
430 } 577 }
OLDNEW
« no previous file with comments | « no previous file | static/css/main-desktop.css » ('j') | templates/default.tmpl » ('J')

Powered by Google App Engine
This is Rietveld