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:
parent
c3261ed83a
commit
87bc2b5378
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 */
|
||||
|
||||
@import variables
|
||||
@import utils
|
||||
|
||||
@import welcome
|
||||
@import services
|
||||
@import about
|
||||
|
Loading…
x
Reference in New Issue
Block a user