Subversion Repository Public Repository

litesoft

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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@if mgwt.css pretty {
	@external mgwt-ScrollPanel, mgwt-ScrollPanel-container, mgwt-Scrollbar, mgwt-Scrollbar-horizontal, mgwt-Scrollbar-vertical, mgwt-Scrollbar-Bar;
}

.mgwt-ScrollPanel {
	overflow: hidden;
	position: relative;
	z-index: 0;
}






@if user.agent safari {
	.mgwt-ScrollPanel {
		display: \-webkit-box;
		\-webkit-box-orient: vertical;
	}
}

@if user.agent gecko1_8 {
	.mgwt-ScrollPanel {
		display: \-moz-box;
		\-moz-box-orient: vertical;
	}
}

.mgwt-ScrollPanel-container {
	overflow: visible;
}

@if user.agent safari {
	.mgwt-ScrollPanel-container {
		\-webkit-transition-property: literal('-webkit-transform');
		\-webkit-transition-timing-function: literal('cubic-bezier(0, 0, 0.25, 1)');
	}
}

@if user.agent gecko1_8 {
	.mgwt-ScrollPanel-container {
		\-moz-transition-property: literal('-moz-transform');
		\-moz-transition-timing-function: literal('cubic-bezier(0, 0, 0.25, 1)');
		vertical-align: top;
	}
}




			

			


.mgwt-Scrollbar {
	position: absolute;
	z-index: 100;
	pointer-events: none;
	overflow: hidden;
}

@if user.agent safari {
	.mgwt-Scrollbar {
		\-webkit-transition-duration: 300ms;
		\-webkit-transition-delay: 0ms;
		\-webkit-transition-property: opacity;
	}
}

@if user.agent gecko1_8 {
	.mgwt-Scrollbar {
		\-moz-transition-duration: 300ms;
		\-moz-transition-delay: 0ms;
		\-moz-transition-property: opacity;
	}
}

/*TODO build this for ff as well, workaround for position bug?*/
.mgwt-Scrollbar-horizontal {
	bottom: 2px;
	left: 2px;
	height: 5px;
}

.mgwt-Scrollbar-vertical {
	top: 2px;
	right: 2px;
	width: 5px;
}





				

.mgwt-Scrollbar-Bar {
	position: absolute;
	z-index: 100;
	background:rgba(0,0,0,0.5);
	border-radius: 3px;
	pointer-events:none;
}

@if user.agent safari {
	.mgwt-Scrollbar-Bar {
		\-webkit-background-clip:padding-box;
		\-webkit-box-sizing:border-box;
		\-webkit-border-radius:3px;
		\-webkit-transition-property:literal('-webkit-transform');
		\-webkit-transition-timing-function:cubic-bezier(0.33,0.66,0.66,1);
		\-webkit-transform: translate3d('0,0, 0');
		\-webkit-transition-duration:0;
	}
}

@if user.agent gecko1_8 {
	.mgwt-Scrollbar-Bar {
		\-moz-background-clip:padding-box;
		\-moz-box-sizing:border-box;
		\-moz-transition-property:literal('-webkit-transform');
		\-moz-transition-timing-function:cubic-bezier(0.33,0.66,0.66,1);
		\-moz-transform: translate('0,0');
		\-moz-transition-duration:0;
	}
}


Commits for litesoft/trunk/mobileGWT/zOriginal/mgwt/src_main_java_com_googlecode_mgwt_ui_client_theme_base_css/scrollpanel.css

Diff revisions: vs.
Revision Author Commited Message
751 GeorgeS picture GeorgeS Sat 07 Jul, 2012 18:21:49 +0000