74249687
Luigi Serra
Cross browser con...
|
1
|
.tabs {
|
c5169e0e
Renato De Donato
a new hope
|
2
|
@include flexbox();
|
74249687
Luigi Serra
Cross browser con...
|
3
|
position: relative;
|
74249687
Luigi Serra
Cross browser con...
|
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
height: 48px;
background-color: $tabs-bg-color;
margin: 0 auto;
width: 100%;
white-space: nowrap;
.tab {
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
display: block;
float: left;
text-align: center;
line-height: 48px;
height: 48px;
|
c5169e0e
Renato De Donato
a new hope
|
20
|
padding: 0 20px;
|
74249687
Luigi Serra
Cross browser con...
|
21
22
|
margin: 0;
text-transform: uppercase;
|
74249687
Luigi Serra
Cross browser con...
|
23
24
|
letter-spacing: .8px;
width: 15%;
|
74249687
Luigi Serra
Cross browser con...
|
25
26
27
28
29
30
|
a {
color: $tabs-text-color;
display: block;
width: 100%;
height: 100%;
|
c5169e0e
Renato De Donato
a new hope
|
31
|
@include transition( color .28s ease);
|
74249687
Luigi Serra
Cross browser con...
|
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
&:hover {
color: lighten($tabs-text-color, 20%);
}
}
&.disabled a {
color: lighten($tabs-text-color, 20%);
cursor: default;
}
}
.indicator {
position: absolute;
bottom: 0;
height: 2px;
background-color: $tabs-underline-color;
will-change: left, right;
}
}
|
c5169e0e
Renato De Donato
a new hope
|
50
51
|
.tabs .tab { padding: 0; }
|