-
Notifications
You must be signed in to change notification settings - Fork 3
/
theme.layout.list.styl
78 lines (69 loc) · 1.73 KB
/
theme.layout.list.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/**
* Stylesheet
*
* @namespace Lungo.Theme
* @class Layout
*
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/
.list
section & li
background: #fff
font-weight: 300
&:not(.anchor)
border-bottom: inset 1px LIST_border
&.color
box-shadow: inset 4px 0 COLOR
&.accept
box-shadow: inset 4px 0 SUCCESS
&.cancel
box-shadow: inset 4px 0 DANGER
&.warning
box-shadow: inset 4px 0 WARNING
&.arrow::after
border-color: LIST_border
&, a
&.contrast
background: LIST_border
&.selectable:active, &.theme, &.active
background: lighten(THEME, 15%)
&.light
background: LIST_border
color: lighten(TEXT, 50%)
&.contrast, &.selectable:active, &.theme
&, small, & .on-right:not(.tag), strong, .arrow::after
color: #fff
&.arrow::after
border-color: #fff
& small, & .on-right:not(.tag)
color: lighten(TEXT, 50%)
& .on-right
font-weight: 400
&:not(.big) img
border-radius BORDER_radius
&:not(.indented) li
&.dark, &.theme, &.light
border-bottom-color: rgba(0,0,0,0.1)
aside & li
background: none
&, & a
color: lighten(ASIDE, 50%)
&:not(.active) .tag:not(.icon)
background-color: ASIDE
&.active .tag:not(.icon)
background-color: lighten(ASIDE, 10%)
& .icon
color: lighten(ASIDE, 70%)
& small
color: lighten(ASIDE, 25%)
&.active, &:active
background-color: darken(ASIDE, 5%)
&:hover
background-color: darken(ASIDE, 10%)
&.active, &:active, &:hover
&, & a
color: WHITE
& .icon
color: THEME
& small
color: lighten(ASIDE, 50%)