_kv-table.scss
1.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
.kv-table{
border-right:1px solid #cacaca \9;
*border-right:1px solid #cacaca;
.kv-table-row{
border-bottom:1px solid #cacaca;
.kv-item{
padding-left:134px;
.kv-label{
float:left;
padding:0 10px;
margin-left:-134px;
width:112px;
background: #f5f5f5;
border:1px solid #cacaca;
border-bottom:none;
border-top:none;
}
.kv-content-wrap{
float:left;
width:100%;
}
.kv-content{
padding:10px;
}
}
&.col-3{
.kv-item-wrap{
float:left;
width:33.33%;
}
}
&.col-2{
.kv-item-wrap{
float:left;
width:33.33%;
}
}
}
}
table.kv-table{
width:100%;
.kv-label{
padding: 0 10px;
width: 114px;
background: #f5f5f5;
border:1px solid #cacaca;
border-top:none;
}
td.kv-content,td.kv-label{
height:29px;
padding:5px 0;
border-bottom:1px solid #cacaca;
font-size: 14px;
padding-left: 20px;
}
tr{
&:first-child{
td.kv-content,td.kv-label{
border-top:1px solid #cacaca;
}
}
td.kv-content:last-child{
border-right:1px solid #cacaca;
}
.button{
text-align: center;
border-radius: 0;
text-indent: 0;
height: 32px;
}
}
.kv-content{
width:260px;
padding: 5px 10px;
}
.textarea-wrap{
textarea{
width:98%;
}
}
}