forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtml-table.ios.styl
More file actions
119 lines (97 loc) · 2.3 KB
/
html-table.ios.styl
File metadata and controls
119 lines (97 loc) · 2.3 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
table.q-table
border-spacing 0
empty-cells show
thead
text-align left
vertical-align bottom
font-weight 700
th, td
&:first-child
border-left-width 0
margin 0
padding .5rem .7rem
&.compact
th, td
padding .1rem .3rem
&.loose
th, td
padding 1rem
&.bordered, &.cell-separator:not(.responsive):not(.flipped)
border $table-border
&:not(.responsive):not(.flipped)
&.horizontal-separator, &.cell-separator
th, td
border-bottom $table-border
&.vertical-separator, &.cell-separator
th, td
border-left $table-border
&:last-child
border-right $table-border
&.striped-odd, &.striped
tbody tr:nth-child(odd)
background $table-stripe-color
&.striped-even
tbody tr:nth-child(even)
background $table-stripe-color
&.flipped
display flex
overflow hidden
background none
thead
display flex
flex-shrink 0
min-width min-content
tbody
display flex
position relative
overflow-x auto
overflow-y hidden
tr
display flex
flex-direction column
min-width min-content
flex-shrink 0
td, th
display block
td
background-image none !important
border-left 0
th:not(:last-child),
td:not(:last-child)
border-bottom 0
&.horizontal-separator, &.cell-separator
tr
border-left $table-border
border-right $table-border
&.vertical-separator, &.cell-separator
th, td
border-top $table-border
&:last-child
border-bottom $table-border
@media (max-width $breakpoint-sm-max)
&.responsive:not(.flipped)
thead
display none
tr, td
display block
tr
position relative
td:before
content attr(data-th)
display block
text-align left
font-weight bold
&.horizontal-separator
tr:not(:last-child)
border-bottom $table-border
&.cell-separator
tr
border $table-border
&.vertical-separator, &.cell-separator
th, td
border-left $table-border
border-right $table-border
body.desktop table.q-table.highlight tbody tr
transition all .28s ease-in
&:hover
background $table-highlight-color