_icon-layout.scss
1.72 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
/* ======================
All Icon Common Page css
======================== */
.data-table-main.icon-list-demo [class*=col-] {
margin-bottom: 10px;
}
.data-table-main.icon-svg-demo [class*=col-] {
margin-bottom: 10px;
}
.icon-list-demo i {
border: 1px solid #eceeef;
border-radius: 3px;
color: rgba(43, 61, 81, 0.7);
display: inline-block;
font-size: 24px;
height: 50px;
line-height: 50px;
margin: 0 12px 0 0;
text-align: center;
vertical-align: middle;
width: 50px;
}
.icon-list-demo div {
cursor: pointer;
white-space: nowrap;
margin-bottom: 10px;
}
.icon-list-demo i:hover {
color: #64b0f2;
}
/**====== Flag-icon css start ======**/
.flags .f-item {
padding: 12px;
border: 1px solid #ddd;
margin-right: 15px;
display: inline-block;
}
.data-table-main.flags [class*=col-] {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.content-flag label {
margin-bottom: 0;
cursor: pointer;
}
.content-flag {
.txt-ellipsis {
text-overflow: ellipsis;
white-space: nowrap;
width: 120px;
overflow: hidden;
}
}
.outer-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
width: 250px;
}
label.txt-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
width: 135px;
}
.flags .f-item .name,
.flags .f-item .capital {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-bottom: 0;
}
.flags .f-item .code {
display: block;
font-size: 90%;
color: #999;
padding-bottom: 0;
}
/**====== All icon common page css end ======**/