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
@url searchImage searchSearchImage;
@url clearImage searchClearImage;
@url clearTouchedImage searchClearTouchedImage;
@if mgwt.css pretty {
	@external mgwt-SearchBox, mgwt-SearchBox-round, mgwt-SearchBox-input, mgwt-SearchBox-clear, mgwt-SearchBox-clear-active;
}

.mgwt-SearchBox {
	height: 44px;
	padding-left: 5px;
	padding-right: 5px;
	position: relative;
}

.mgwt-SearchBox-round {
	background-clip: padding-box;
	background-image: searchImage;
	background-repeat: no-repeat;
	background-position: 10px 50%;
	width: 100%;
	height: 24px;
	display: block;
	position: relative;
	top: 10px;
	margin: 0px;
	padding: 0px;
}

.mgwt-SearchBox-input {
	border: 0;
	font-size: 13px;
	padding: 0;
	position: absolute;
	display: block;
	top: 0px;
	left: 25px;
	right: 60px;
	bottom: 0px;
}

@if mgwt.os android android_tablet {
	.mgwt-SearchBox-input {
		background-color: transparent;
		color: white;
		\-webkit-user-modify: read-write-plaintext-only;
	}
}

@if user.agent safari {
	.mgwt-SearchBox-input {
		\-webkit-appearance: none;
		\-webkit-user-select: text;
		\-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	}
}

@if user.agent gecko1_8 {
	.mgwt-SearchBox-input {
		top: 5px;
		\-moz-appearance: none;
		\-moz-user-select: text;
		\-moz-tap-highlight-color: rgba(0, 0, 0, 0);
	}
}

@if user.agent ie9 {
	.mgwt-SearchBox-input {
		top: 5px;
	}
}

.mgwt-SearchBox-clear {
	position: absolute;
	top: -9px;
	right: 10px;
	width: 40px;
	height: 40px;
	font-size: 13px;
	padding: 0;
	background-image: clearImage;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.mgwt-SearchBox-clear-active {
	background-image: clearTouchedImage;
}

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

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