forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQVirtualScroll.sass
More file actions
43 lines (35 loc) · 1.38 KB
/
QVirtualScroll.sass
File metadata and controls
43 lines (35 loc) · 1.38 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
.q-virtual-scroll
&:focus
outline: 0
&__content
outline: none
contain: content
*
overflow-anchor: none
&__padding
background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0) 20%, rgba(128, 128, 128, .03) 20%, rgba(128, 128, 128, .08) 50%, rgba(128, 128, 128, .03) 80%, rgba(255,255,255,0) 80%, rgba(255,255,255,0)) #{"/* rtl:ignore */"}
background-size: 100% 50px #{"/* rtl:ignore */"}
background-size: var(--q-virtual-scroll-item-width, 100%) var(--q-virtual-scroll-item-height, 50px) #{"/* rtl:ignore */"}
.q-table &
tr
height: 0 !important
td
padding: 0 !important
&--horizontal
display: flex
flex-direction: row
flex-wrap: nowrap
align-items: stretch
.q-virtual-scroll
&__content
display: flex
flex-direction: row
flex-wrap: nowrap
&__padding,
&__content,
&__content > *
flex: 0 0 auto
&__padding
background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0) 20%, rgba(128, 128, 128, .03) 20%, rgba(128, 128, 128, .08) 50%, rgba(128, 128, 128, .03) 80%, rgba(255,255,255,0) 80%, rgba(255,255,255,0)) #{"/* rtl:ignore */"}
background-size: 50px 100% #{"/* rtl:ignore */"}
background-size: var(--q-virtual-scroll-item-width, 50px) var(--q-virtual-scroll-item-height, 100%) #{"/* rtl:ignore */"}