OLD | NEW |
1 // This file is part of acceptableads.org. | 1 // This file is part of acceptableads.org. |
2 // Copyright (C) 2016 Eyeo GmbH | 2 // Copyright (C) 2016 Eyeo GmbH |
3 // | 3 // |
4 // acceptableads.org is free software: you can redistribute it and/or modify | 4 // acceptableads.org is free software: you can redistribute it and/or modify |
5 // it under the terms of the GNU General Public License as published by | 5 // it under the terms of the GNU General Public License as published by |
6 // the Free Software Foundation, either version 3 of the License, or | 6 // the Free Software Foundation, either version 3 of the License, or |
7 // (at your option) any later version. | 7 // (at your option) any later version. |
8 // | 8 // |
9 // acceptableads.org is distributed in the hope that it will be useful, | 9 // acceptableads.org is distributed in the hope that it will be useful, |
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 { | 253 { |
254 color: $accent; | 254 color: $accent; |
255 font-size: $font-size-sm; | 255 font-size: $font-size-sm; |
256 } | 256 } |
257 | 257 |
258 .active > a | 258 .active > a |
259 { | 259 { |
260 font-weight: 700; | 260 font-weight: 700; |
261 } | 261 } |
262 | 262 |
| 263 .external-icon |
| 264 { |
| 265 width: auto; |
| 266 height: 0.8em; |
| 267 margin-left: $xs; |
| 268 } |
| 269 |
263 a%active | 270 a%active |
264 { | 271 { |
265 color: $accent; | 272 color: $accent; |
266 } | 273 } |
267 | 274 |
268 ul ul a%active | 275 ul ul a%active |
269 { | 276 { |
270 color: #6f9432; | 277 color: #6f9432; |
271 } | 278 } |
272 | 279 |
273 } | 280 } |
274 | 281 |
275 .js #primary-navigation ul ul | 282 .js #primary-navigation ul ul |
276 { | 283 { |
277 display: none; | 284 display: none; |
278 } | 285 } |
279 | 286 |
280 .js #primary-navigation ul .active ul | 287 .js #primary-navigation ul .active ul |
281 { | 288 { |
282 display: block; | 289 display: block; |
283 } | 290 } |
284 | 291 |
| 292 [dir="rtl"] #primary-navigation .external-icon |
| 293 { |
| 294 margin-right: $xs; |
| 295 margin-left: 0px; |
| 296 } |
| 297 |
285 @media(min-width: $sidebar-breakpoint-x) | 298 @media(min-width: $sidebar-breakpoint-x) |
286 { | 299 { |
287 // Apply arrow background | 300 // Apply arrow background |
288 #primary-navigation | 301 #primary-navigation |
289 { | 302 { |
290 margin-top: $lg; | 303 margin-top: $lg; |
291 | 304 |
292 em | 305 em |
293 { | 306 { |
294 font-style: normal; | 307 font-style: normal; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 } | 462 } |
450 .js #secondary-navigation | 463 .js #secondary-navigation |
451 { | 464 { |
452 display: none; | 465 display: none; |
453 } | 466 } |
454 .js #sidebar.open #secondary-navigation | 467 .js #sidebar.open #secondary-navigation |
455 { | 468 { |
456 display: block; | 469 display: block; |
457 } | 470 } |
458 } | 471 } |
OLD | NEW |