forked from nishp1/react-datagrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.styl
104 lines (84 loc) · 1.93 KB
/
index.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
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
@import '~react-load-mask/style/index.styl'
@import '~css-utils/index.styl'
@import '~react-virtual-scroller/index.styl'
@import './constants.styl'
.z-unselectable
touch-callout none
user-select none
.react-datagrid
&
& *
box-sizing border-box
datagrid-cell()
display flex
align-items center
cursor $datagrid-cell-cursor
.z-content
white-space nowrap
overflow hidden
text-overflow ellipsis
padding 0px $datagrid-cell-padding
@import './resize.styl'
.react-datagrid
.z-row
.react-datagrid-pagination-toolbar
user-select none
.loadmask
z-index 100
.z-header-menu-column
z-index 100
flex-flow column
align-items stretch
& > .z-inner
flex 1
overflow hidden
position relative
display flex
flex-flow column
.z-wrapper
display flex
flex-flow column
flex 1 1 auto
overflow hidden
.z-header-wrapper
.z-footer-wrapper
width 100%
.z-table
display block
flex 1
/** 2 RULES FOR SAFARI VERTICAL SCROLLBAR */
transform translate3d(0px, 0px, 0px)
position relative
z-index 10
.z-header
.z-summary
.z-table .z-row
display flex
flex-flow row
z-index 1
.z-mask-wrapper
bottom 0px
width 100%
position absolute
display none
&.z-loading
.z-mask-wrapper
display block
.react-datagrid.z-empty
.z-content-wrapper-fix
display flex
.z-table-wrapper
flex-flow column
justify-content center
align-items center
.z-empty-text
width 100%
justify-content center
align-items center
display flex
font-style italic
color gray
@import './header.styl'
@import './contents.styl'
@import './borders.styl'
@import './summary.styl'