forked from jgthms/html-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfinder.sass
More file actions
141 lines (127 loc) · 2.46 KB
/
Copy pathfinder.sass
File metadata and controls
141 lines (127 loc) · 2.46 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
.finder
position: relative
.menu-search
input
font-size: 1rem
.finder-list
&.is-searching
.finder-item
display: none
&.is-highlighted:not(.is-hidden)
display: block
&.is-selected
display: block
.finder-item
align-items: stretch
cursor: pointer
justify-content: space-between
position: relative
&.is-hidden
display: none
&.is-selected
z-index: 1
.finder-item-link
&,
&:hover
background: $primary
color: $primary-invert
.finder-item-link
display: block
padding: 0.25rem 1rem
transition: none
&:visited
color: $purple
&:hover
background: $background
.highlight
background: $yellow
color: $yellow-invert
.light--experimental
margin-left: 4px
position: relative
top: -1px
.finder-item-meta
align-items: center
bottom: 0
display: flex
justify-content: flex-end
pointer-events: none
position: absolute
right: 0
top: 0
.finder-checkboxes
display: flex
.light
align-items: center
display: flex
justify-content: flex-start
.light
border-radius: 2px
color: rgba(0,0,0,0.48)
font-size: 0.8em
font-weight: normal
line-height: 1.2
opacity: 0.5
padding: 2px 4px
text-transform: lowercase
white-space: nowrap
label.light
cursor: pointer
input
cursor: pointer
margin-right: 4px
.light--experimental
background-color: $yellow
color: $yellow-invert
opacity: 1
.light--meta
.finder-item--meta &,
&.is-active
background-color: rgba($purple, 0.29)
color: $text-strong
opacity: 1
.light--inline
.finder-item--inline &,
&.is-active
background-color: rgba($green, 0.29)
color: $text-strong
opacity: 1
.light--block
.finder-item--block &,
&.is-active
background-color: rgba($blue, 0.29)
color: $text-strong
opacity: 1
.light--selfclosing
.finder-item--selfclosing &,
&.is-active
background-color: rgba($red, 0.29)
color: $text-strong
opacity: 1
+mobile
.finder
padding-bottom: 1rem
.finder-checkboxes
flex-wrap: wrap
padding: 0 1rem
.light
margin-bottom: 0.5em
margin-right: 0.5em
.finder-item-link
.light--experimental
display: none
.finder-item-meta
padding-right: 0.5rem
.light
margin-left: 2px
+desktop
.finder
padding-bottom: 3rem
.finder-checkboxes
padding: 0 1rem 1rem
.light
margin-right: 4px
.finder-item-meta
padding: 0 1em
.light
margin-left: 4px