forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata-table.mat.styl
More file actions
91 lines (81 loc) · 1.75 KB
/
data-table.mat.styl
File metadata and controls
91 lines (81 loc) · 1.75 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
.q-data-table
font-size $datatable-font-size
border $datatable-border
table
width 100%
table-layout fixed
empty-cells hide
td, th
background white
text-overflow ellipsis
white-space nowrap
overflow hidden
tbody tr:nth-child(odd)
td, th
background $grey-3
thead tr
border-bottom 2px solid $grey-3
min-height 56px
th
color rgba(0, 0, 0, .54)
vertical-align middle
&.sortable
cursor pointer
&:not(.responsive) th
border-bottom 2px solid $grey-5 !important
.q-data-table-toolbar
padding .25rem .5rem
font-weight 300
&.upper-toolbar, &.bottom-toolbar
min-height 50px
&.bottom-toolbar
border-top 2px solid $grey-3
.q-data-table-row-label
margin-right 15px
> div + div
margin-left 30px
input, .q-input
border-bottom 0 !important
.q-search
width auto
margin 0 15px 0 0
@media (max-width $breakpoint-sm-max)
flex-wrap wrap-reverse
padding 5px 10px
.q-btn
padding 0 5px
> div:not(:first-of-type):not(:last-of-type)
margin 10px
.q-data-table-message
min-height 64px
i
font-size 200%
margin 10px
.q-data-table-title
letter-spacing .005rem
font-size 120%
font-weight 300
.q-data-table-container
position relative
overflow hidden
margin-top 5px
.q-data-table-head
overflow hidden
.q-data-table-body
overflow auto
.q-data-table-sticky-left, .q-data-table-sticky-right
position absolute
top 0
pointer-events none
overflow hidden
min-width 100%
th, td
&:not(.invisible)
pointer-events all
.q-data-table-sticky-left
left 0
.q-data-table-spinner
margin-top 25px
.q-data-table-selection
color $primary
background alpha($primary, 20%)