LEFT | RIGHT |
1 // This file is part of help.eyeo.com. | 1 // This file is part of help.eyeo.com. |
2 // Copyright (C) 2017 Eyeo GmbH | 2 // Copyright (C) 2017 Eyeo GmbH |
3 // | 3 // |
4 // help.eyeo.com is free software: you can redistribute it and/or modify | 4 // help.eyeo.com 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 // help.eyeo.com is distributed in the hope that it will be useful, | 9 // help.eyeo.com 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 17 matching lines...) Expand all Loading... |
28 padding-bottom: $sm; | 28 padding-bottom: $sm; |
29 border-bottom: 1px dotted $gray; | 29 border-bottom: 1px dotted $gray; |
30 color: $accent; | 30 color: $accent; |
31 } | 31 } |
32 | 32 |
33 .underlined-list li:last-child a | 33 .underlined-list li:last-child a |
34 { | 34 { |
35 border-bottom: none; | 35 border-bottom: none; |
36 } | 36 } |
37 | 37 |
| 38 // For underlined lists split into two columns, add a border-top |
| 39 // to the first 2 children on larger screens, and only the first |
| 40 // child on smaller screens (when collapsed to one column) |
| 41 |
38 .underlined-list .one-half:nth-child(1) a | 42 .underlined-list .one-half:nth-child(1) a |
39 { | 43 { |
40 border-top: 1px dotted $gray; | 44 border-top: 1px dotted $gray; |
41 } | 45 } |
42 | 46 |
43 .underlined-list .one-half:nth-child(2) a | 47 .underlined-list .one-half:nth-child(2) a |
44 { | 48 { |
45 @media (min-width: $tablet-breakpoint) | 49 @media (min-width: $tablet-breakpoint) |
46 { | 50 { |
47 border-top: 1px dotted $gray; | 51 border-top: 1px dotted $gray; |
(...skipping 11 matching lines...) Expand all Loading... |
59 .horizontal-list li | 63 .horizontal-list li |
60 { | 64 { |
61 display: inline; | 65 display: inline; |
62 list-style: none; | 66 list-style: none; |
63 } | 67 } |
64 | 68 |
65 [dir="rtl"] .horizontal-list | 69 [dir="rtl"] .horizontal-list |
66 { | 70 { |
67 padding: 0; | 71 padding: 0; |
68 } | 72 } |
LEFT | RIGHT |