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

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

Issue 29596555: Noissue - Format CSS comments and implement new wd classes (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Nov. 3, 2017, 8:46 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
Index: static/scss/components/_lists.scss
===================================================================
--- a/static/scss/components/_lists.scss
+++ b/static/scss/components/_lists.scss
@@ -9,17 +9,22 @@
// 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 /////////////////////////////////////////////////////
+/*******************************************************************************
+ * Lists
+ ******************************************************************************/
+
+/* Underlined List
+ ******************************************************************************/
.underlined-list
{
list-style: none;
}
.underlined-list li a
{
@@ -30,46 +35,51 @@
color: $accent;
}
.underlined-list li:last-child a
{
border-bottom: none;
}
-// 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)
+/*
juliandoucette 2017/11/06 13:06:57 NIT: I think you can start writing on the first li
ire 2017/11/06 14:41:16 Done.
+ * 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)
+/*
+ * 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;
}
.underlined-list .one-half:nth-child(2) a
{
@media (min-width: $tablet-breakpoint)
{
border-top: 1px dotted $gray;
}
}
-// Horizontal List //////////////////////////////////////////////////////
+/* Horizontal List
+ ******************************************************************************/
.horizontal-list
{
display: inline;
list-style: none;
}
.horizontal-list li

Powered by Google App Engine
This is Rietveld