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
|
.mgwt-TabBar {
height: 48px;
border-top: 1px solid black;
}
@if user.agent safari {
.mgwt-TabBar {
background-image: literal('-webkit-gradient(linear, left top, left bottom, from(rgb(46, 46, 46)), color-stop(50%,rgb(22, 22, 22)), color-stop(51%, rgb(0,0,0)), to(rgb(0,0,0)))');
}
}
@if user.agent gecko1_8 {
.mgwt-TabBar {
background-image: literal('-moz-linear-gradient(top, rgb(46, 46, 46), rgb(22, 22, 22) 50%, rgb(0,0,0) 51%, rgb(0,0,0))');
}
}
.mgwt-TabBar-Button {
margin: 2px;
}
@if user.agent safari {
.mgwt-TabBar-Button {
\-webkit-border-radius: 3px;
}
}
@if user.agent gecko1_8 {
.mgwt-TabBar-Button {
\-moz-border-radius: 3px;
border-radius: 3px;
}
}
.mgwt-TabBar-Button-selected {
background-color: rgba(255, 255, 255, 0.15);
}
.mgwt-TabBar-Button-selected .mgwt-TabBar-Button-text {
color: white;
}
.mgwt-TabBar-Button-text {
font-size: 9px;
color: #999995;
text-align: center;
z-index: 1;
margin-top: -5px;
}
.mgwt-TabBar-Button-icon {
margin-left: auto;
margin-right: auto;
z-index: 0;
}
@if user.agent safari {
.mgwt-TabBar-Button-icon {
background-image: literal('-webkit-gradient(linear, 30% 0%, 60% 70%, from(#ccc), to(#888))');
}
}
@if user.agent safari {
.mgwt-TabBar-Button-selected .mgwt-TabBar-Button-icon {
background-image: literal('-webkit-gradient(linear, 30% 0%, 60% 70%, from(#dee8f1), to(#3ec6f9), color-stop(0.6,#7ab3ed),color-stop(0.7,#2f92e6))');
}
}
/*TODO icons in ff*/
|