-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtabs.less
More file actions
executable file
·81 lines (68 loc) · 1.81 KB
/
Copy pathtabs.less
File metadata and controls
executable file
·81 lines (68 loc) · 1.81 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
.tabs {
> .tabs-nav {
margin: 0px;
padding: 0px;
list-style: none;
width: 100%;
border-bottom: 0;
border-bottom: 1px solid @gb-palette-gray-outline;
.clearfix();
> li {
margin: 0px;
float: left;
margin-bottom: -1px;
> a {
position: relative;
display: block;
padding: 10px 15px;
margin-right: 2px;
line-height: @gb-line-height-base;
border: 1px solid transparent;
border-radius: @gb-tabs-radius @gb-tabs-radius 0 0;
color: @gb-palette-gray-darker;
border-bottom: 1px solid @gb-palette-gray-outline;
margin-right: 0;
&:hover, &:focus {
text-decoration: none;
}
}
&.active {
> a {
color: #555;
background-color: #fff;
border: 1px solid @gb-palette-gray-outline;
border-bottom-color: #fff;
cursor: default;
}
}
}
&.justified {
> li {
float: none;
display: table-cell;
width: 1%;
a {
text-align: center;
margin-bottom: -1px;
}
}
}
}
.tabs-content {
.tab-pane {
display: none;
&.active {
display: block;
}
}
}
// Positioning and margin
> .tabs-content {
margin-top: @gb-margin-base;
}
&.tabs-fluid {
> .tabs-content {
margin: 0px;
}
}
}