tabstrip.less
4.91 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
/*!
*/
@import "../common/icons.less";
@import "../common/tabstrip.less";
@import "base.less";
/* TabStrip */
.km-nova .km-tabstrip {
padding: 0;
display: table;
table-layout: fixed;
min-height: 4.1rem;
}
.km-nova .km-tabstrip .km-button {
font-size: .6em;
display: table-cell;
border: 0;
padding: 0;
}
.km-nova .km-tabstrip .km-icon {
font-size: 2rem;
margin-bottom: .29rem;
}
.km-nova .km-tabstrip .km-button .km-icon {
margin: 0 auto .1em;
}
/* Badges */
.km-nova .km-tabstrip .km-badge {
margin-left: .5em;
border-radius: 0;
height: 1.834rem;
line-height: 1.45rem;
clip-path: polygon(0 68%, 100% 100%, 100% 0, 0 0);
-webkit-clip-path: polygon(0 68%, 100% 100%, 100% 0, 0 0);
background-image: linear-gradient(to bottom, #f54c4d 0%, #e51841 100%);
}