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

Unified 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: Created Aug. 15, 2017, 3:01 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: static/scss/components/_lists.scss
===================================================================
new file mode 100644
--- /dev/null
+++ b/static/scss/components/_lists.scss
@@ -0,0 +1,50 @@
+// This file is part of help.eyeo.com.
+// Copyright (C) 2017 Eyeo GmbH
+//
+// help.eyeo.com is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// help.eyeo.com is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
+
+// Underlined Lists //////////////////////////////////////////////////////////////////////
+
+.underlined-list
+{
+ list-style: none;
+}
+
+.underlined-list li a
juliandoucette 2017/08/24 11:14:00 NIT: I think that the line should be under the <li
ire 2017/08/28 14:54:48 I agree, I initially did it this way actually, but
juliandoucette 2017/09/12 13:21:53 Acknowledged.
+{
+ display: block;
+ width: 100%;
juliandoucette 2017/08/24 11:14:00 NIT: Is this necessary because display:block?
ire 2017/08/28 14:54:48 Done.
+ padding-top: $sm;
+ padding-bottom: $sm;
+ border-bottom: 1px dotted $gray;
+}
+
+
+.underlined-list li:last-child a
+{
+ border-bottom: none;
+}
+
+.underlined-list .one-half:nth-child(1) a
juliandoucette 2017/08/24 11:13:59 Why is this necessary? The same applies below.
ire 2017/08/28 14:54:48 All of the list items typically have a border-bott
juliandoucette 2017/09/12 13:21:53 Acknowledged.
juliandoucette 2017/09/22 13:49:13 Can you add a comment about this?
ire 2017/09/25 07:25:26 Done.
+{
+ border-top: 1px dotted $gray;
+}
+
+.underlined-list .one-half:nth-child(2) a
+{
+ @media (min-width: $tablet-breakpoint)
+ {
+ border-top: 1px dotted $gray;
+ }
+}

Powered by Google App Engine
This is Rietveld