datalist.css
1.8 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
.datalist .datagrid-header {
border-width: 0;
}
.datalist .datagrid-group,
.m-list .m-list-group {
height: 25px;
line-height: 25px;
font-weight: bold;
overflow: hidden;
background-color: #fff;
border-style: solid;
border-width: 0 0 1px 0;
border-color: #dfdfdf;
}
.datalist .datagrid-group-expander {
display: none;
}
.datalist .datagrid-group-title {
padding: 0 4px;
}
.datalist .datagrid-btable {
width: 100%;
table-layout: fixed;
}
.datalist .datagrid-row td {
border-style: solid;
border-left-color: transparent;
border-right-color: transparent;
border-bottom-width: 0;
}
.datalist-lines .datagrid-row td {
border-bottom-width: 1px;
}
.datalist .datagrid-cell,
.m-list li {
width: auto;
height: auto;
padding: 2px 4px;
line-height: 18px;
position: relative;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.datalist-link,
.m-list li>a {
display: block;
position: relative;
cursor: pointer;
color: #404040;
text-decoration: none;
overflow: hidden;
margin: -2px -4px;
padding: 2px 4px;
padding-right: 16px;
line-height: 18px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.datalist-link::after,
.m-list li>a::after {
position: absolute;
display: block;
width: 8px;
height: 8px;
content: '';
right: 6px;
top: 50%;
margin-top: -4px;
border-style: solid;
border-width: 1px 1px 0 0;
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
.m-list {
margin: 0;
padding: 0;
list-style: none;
}
.m-list li {
border-style: solid;
border-width: 0 0 1px 0;
border-color: #dfdfdf;
}
.m-list li>a:hover {
background: #eee;
color: #404040;
}
.m-list .m-list-group {
padding: 0 4px;
}