Utility for marking the first item on a list as 'new'.
The span element of the first child will include a 'new' label on it. Usage: add the class 'list-first-new' to a list.
This commit is contained in:
4
src/styles/_utils.sass
Normal file
4
src/styles/_utils.sass
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
.list-first-new
|
||||||
|
li:first-child
|
||||||
|
span
|
||||||
|
@extend .new
|
@@ -99,6 +99,8 @@ $pillar-font-path: "../../../../static/pillar/assets/font"
|
|||||||
/* CSS for pillar-font comes from fontello.com using static/assets/font/config.json */
|
/* CSS for pillar-font comes from fontello.com using static/assets/font/config.json */
|
||||||
|
|
||||||
@import variables
|
@import variables
|
||||||
|
@import utils
|
||||||
|
|
||||||
@import welcome
|
@import welcome
|
||||||
@import services
|
@import services
|
||||||
@import about
|
@import about
|
||||||
|
Reference in New Issue
Block a user