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

Unified Diff: static/scss/components/_lists.scss

Issue 29593558: Noissue - Remove underline from last two items on columned underlined lists (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Oct. 31, 2017, 8:21 a.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/components/_lists.scss
===================================================================
--- a/static/scss/components/_lists.scss
+++ b/static/scss/components/_lists.scss
@@ -30,17 +30,29 @@
color: $accent;
}
.underlined-list li:last-child a
{
border-bottom: none;
}
-// For underlined lists split into two columns, add a border-top
+// For underlined lists that split into two columns, remove the
+// border-bottom from the 2nd-to-last item on larger screens
+// (when expanded to two columns)
+
+.underlined-list .one-half:nth-last-child(2) a
+{
+ @media (min-width: $tablet-breakpoint)
+ {
+ border-bottom: none;
+ }
+}
+
+// For underlined lists that split into two columns, add a border-top
// to the first 2 children on larger screens, and only the first
// child on smaller screens (when collapsed to one column)
.underlined-list .one-half:nth-child(1) a
{
border-top: 1px dotted $gray;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld