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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
.mgwt-DialogPanel {
	border: solid 1px #72767b;
	padding: 0px;
	opacity: 1;
}

@if user.agent safari {
	.mgwt-DialogPanel {
		\-webkit-border-radius: 10px;
		\-webkit-box-shadow: 0px 4px 6px #666666, 0 0 50px rgba(255, 255, 255, 1);
		background-image: literal('-webkit-gradient(linear, left top, left bottom, from(rgba(0, 15, 70, 0.5) ), to(rgba(0, 0, 70, 0.5) ) )');
	}
}

@if user.agent gecko1_8 {
	.mgwt-DialogPanel {
		border-radius: 10px;
		\-moz-box-shadow: 0px 4px 6px #666666, 0 0 50px rgba(255, 255, 255, 1);
		background-image: literal('-moz-linear-gradient(top, rgba(0, 15, 70, 0.5), rgba(0, 0, 70, 0.5))');
	}
}

.mgwt-DialogPanel .container {
	color: #ffffff;
	text-shadow: 0px -1px 1px #000000;
	border: solid 2px #e6e6ee;
	padding: 5px;
}

@if user.agent safari {
	.mgwt-DialogPanel .container {
		\-webkit-border-radius: 10px;
		background-image: literal('-webkit-gradient(radial, 50% -1180, 150, 50% -280, 1400, color-stop(0, rgba(140, 150, 170, 1) ), color-stop(0.48, rgba(140, 150, 170, 1) ), color-stop(0.499, rgba(75, 90, 120, .9) ), color-stop(0.5, rgba(75, 90, 120, 0) ) )'
			);
	}
}

@if user.agent gecko1_8 {
	.mgwt-DialogPanel .container {
		\-moz-border-radius: 10px;
		border-radius: 10px;
		padding: 5px;
		/*TODO background */
	}
}

.mgwt-DialogPanel .title {
	\-webkit-border-top-right-radius: 10px;
	\-webkit-border-top-left-radius: 10px;
	color: #ffffff;
	background: none;
	border: none;
	text-shadow: 0px -2px 1px #000000;
	width: 100%;
	text-align: center;
	font-size: 19px;
	margin-bottom: 20px;
}

@if user.agent safari {
	.mgwt-DialogPanel .title {
		\-webkit-border-top-right-radius: 10px;
		\-webkit-border-top-left-radius: 10px;
	}
}

@if user.agent gecko1_8 {
	.mgwt-DialogPanel .title {
		\-moz-border-radius-topright: 10px;
		\-moz-border-radius-topleft: 10px;
		border-radius-topright: 10px;
		border-radius-topleft: 10px;
	}
}

.mgwt-DialogPanel .content {
	margin: 10px;
}

.mgwt-DialogPanel .footer {
	margin-top: 10px;
}

@if user.agent safari {
	.mgwt-DialogPanel .footer {
		\-webkit-box-pack: justify;
		display: -webkit-box;
		\-webkit-box-orient: horizontal;
		\-webkit-box-sizing: border-box;
	}
}

@if user.agent gecko1_8 {
	.mgwt-DialogPanel .footer {
		\-moz-box-pack: justify;
		display: -moz-box;
		\-moz-box-orient: horizontal;
		\-moz-box-sizing: border-box;
		width: 100%;
	}
}

.mgwt-DialogPanel .okbutton,.mgwt-DialogPanel .cancelbutton {
	display: block;
	font-size: 17px;
	font-weight: bold;
	text-align: center;
	margin-top: 10px;
	margin-right: 5px;
	padding-right: 5px;
	padding-left: 5px;
	min-width: 40px;
	height: 32px;
	line-height: 32px;
	text-shadow: 0px -2px 1px #000000;
}

@if user.agent safari {
	.mgwt-DialogPanel .okbutton,.mgwt-DialogPanel .cancelbutton {
		\-webkit-box-flex: 2;
		\-webkit-border-radius: 8px;
	}
	.mgwt-DialogPanel .okbutton {
		background-image: literal('-webkit-gradient(linear, left top, left bottom, from(#b0b5c5),color-stop(0.5, #7a839b), color-stop(0.5, #515d7c), to(#636e8a) )');
	}
	.mgwt-DialogPanel .cancelbutton {
		background-image: literal('-webkit-gradient(linear, left top, left bottom, from(#828ba3), color-stop(0.5, #4c5a7c), color-stop(0.5, #27375f), to(#2e3d64) )');
	}
	.mgwt-DialogPanel .cancelbutton.active,.mgwt-DialogPanel .okbutton.active {
		background-image: literal('-webkit-gradient(linear, left top, left bottom, from(#70747f), color-stop(0.5, #424857), color-stop(0.5, #171e30), to(#222839) )');
	}
}

@if user.agent gecko1_8 {
	.mgwt-DialogPanel .okbutton,.mgwt-DialogPanel .cancelbutton {
		\-moz-box-flex: 2;
		\-moz-border-radius: 8px;
		border-radius: 8px;
	}
	.mgwt-DialogPanel .okbutton {
		background-image: literal('-moz-linear-gradient(top, #b0b5c5,#7a839b 50%, #515d7c 51%, #636e8a)');
	}
	.mgwt-DialogPanel .cancelbutton {
		background-image: literal('-moz-linear-gradient(top, #828ba3, #4c5a7c 50%, #27375f 51%, #2e3d64 )');
	}
	.mgwt-DialogPanel .cancelbutton.active,.mgwt-DialogPanel .okbutton.active {
		background-image: literal('-moz-linear-gradient(top, #70747f, #424857 50%, #171e30 51%, #222839)');
	}
}

Commits for litesoft/trunk/mobileGWT/zOriginal/mgwt/src_main_java_com_googlecode_mgwt_ui_client_theme_base_css/iphone/dialog.css

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