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

Side by Side Diff: static/scss/components/_lists.scss

Issue 29516622: Issue 5511 - Create Product Help Home Template for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Addressed final NITs Created Sept. 25, 2017, 7:24 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 | « static/scss/components/_card.scss ('k') | static/scss/content/_typography.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details. 12 // GNU General Public License for more details.
13 // 13 //
14 // You should have received a copy of the GNU General Public License 14 // You should have received a copy of the GNU General Public License
15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. 15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
16 16
17 // Underlined Lists //////////////////////////////////////////////////////////// //////////
18
19 .underlined-list
20 {
21 list-style: none;
22 }
23
24 .underlined-list li a
25 {
26 display: block;
27 padding-top: $sm;
28 padding-bottom: $sm;
29 border-bottom: 1px dotted $gray;
30 color: $accent;
31 }
32
33 .underlined-list li:last-child a
34 {
35 border-bottom: none;
36 }
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
42 .underlined-list .one-half:nth-child(1) a
43 {
44 border-top: 1px dotted $gray;
45 }
46
47 .underlined-list .one-half:nth-child(2) a
48 {
49 @media (min-width: $tablet-breakpoint)
50 {
51 border-top: 1px dotted $gray;
52 }
53 }
54
17 // Horizontal List ///////////////////////////////////////////////////////////// /// 55 // Horizontal List ///////////////////////////////////////////////////////////// ///
18 56
19 .horizontal-list 57 .horizontal-list
20 { 58 {
21 display: inline; 59 display: inline;
22 list-style: none; 60 list-style: none;
23 } 61 }
24 62
25 .horizontal-list li 63 .horizontal-list li
26 { 64 {
27 display: inline; 65 display: inline;
28 list-style: none; 66 list-style: none;
29 } 67 }
30 68
31 [dir="rtl"] .horizontal-list 69 [dir="rtl"] .horizontal-list
32 { 70 {
33 padding: 0; 71 padding: 0;
34 } 72 }
OLDNEW
« no previous file with comments | « static/scss/components/_card.scss ('k') | static/scss/content/_typography.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld