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: Addressed final NITs Created Sept. 25, 2017, 7:24 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 | « static/scss/components/_card.scss ('k') | static/scss/content/_typography.scss » ('j') | 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
@@ -9,16 +9,54 @@
// 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
+{
+ display: block;
+ padding-top: $sm;
+ padding-bottom: $sm;
+ border-bottom: 1px dotted $gray;
+ color: $accent;
+}
+
+.underlined-list li:last-child a
+{
+ border-bottom: none;
+}
+
+// For underlined lists 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;
+}
+
+.underlined-list .one-half:nth-child(2) a
+{
+ @media (min-width: $tablet-breakpoint)
+ {
+ border-top: 1px dotted $gray;
+ }
+}
+
// Horizontal List ////////////////////////////////////////////////////////////////
.horizontal-list
{
display: inline;
list-style: none;
}
« 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