jquery.ime.css 4.21 KB
Newer Older
priyank's avatar
priyank committed
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
.imeselector {
	position: absolute;
	/* @embed */
	background: url('/images/ime-active.png') no-repeat left center;
	/* @embed */
	background-image: -webkit-linear-gradient(transparent, transparent), url('/images/ime-active.svg');
	/* @embed */
	background-image: linear-gradient(transparent, transparent), url('/images/ime-active.svg');
	background-color: rgba(255,255,255,0.75);
	background-position: left 3px center;
	background-position-x: 3px;
	height: 15px;
	font-size: small;
	padding: 2px 2px 1px 20px;
	box-shadow: 0 1px 3px 0 #777;
	margin-top: 0;
	text-align: left;
	font-family: sans-serif;
	white-space: nowrap;
	z-index: 1000;
}

.imeselector:hover {
	box-shadow: 0 1px 3px 0 #565656;
	border-top: none;
	background-color: rgba(255,255,255,0.85);
}

.imeselector a,
.ime-disable {
	cursor: pointer;
	text-decoration: none;
	outline: none;
	color: #222222;
	line-height: 1em;
	padding-top: 4px;
	padding-bottom: 4px;
}

.ime-setting-caret {
	margin-left: 2px;
	margin-top: 8px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #565656;
	content: "";
	display: inline-block;
	height: 0;
	vertical-align: top;
	width: 0;

}

span.ime-disable-link {
	padding-left: 20px;
	white-space: nowrap;
}

span.ime-disable-shortcut {
	text-align: right;
	margin-left: 10px;
	color: #888;
	font-size: smaller;
	padding-right: 4px;
}

.ime-list-title,
.ime-lang-title {
	color: #39d;
	border-bottom: solid 1px #39d;
	text-align: left;
	font-size: larger;
	font-weight: normal;
	padding-bottom: 5px;
	padding-left: 20px;
	padding-top: 9px;
	margin: 0 0 1px;
}

.ime-language-list-wrapper {
	position: relative;
	padding: 0;
	display: block;
	overflow-y: auto;
	max-height: 150px;
}

.imeselector-menu {
	position: absolute;
	top: 14px;
	right: 0;
	z-index: 1000;
	display: none;
	float: left;
	margin-top: 13px;
	min-width: 160px;
	padding: 0;
	border: 1px solid #888;
	background-color: #FFFFFF;
	border-radius: 5px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
	text-align: left;
}

.imeselector-menu.ime-right {
	right: auto;
}

.imeselector-menu ul {
	width: 100%;
	padding: 0;
	margin: 0;
	list-style: none;
}

/* The triangle shaped callout */
.imeselector-menu:before {
	border-bottom: 7px solid #888;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	content: "";
	display: inline-block;
	right: 9px;
	position: absolute;
	top: -7px;
}

.imeselector-menu.ime-right:before {
	right: auto;
	left: 9px;
}

.imeselector-menu:after {
	border-bottom: 6px solid #FFFFFF;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	content: "";
	display: inline-block;
	right: 10px;
	position: absolute;
	top: -6px;
}


.imeselector-menu.ime-right:after {
	right: auto;
	left: 10px;
}

.imeselector-menu.ime-position-top:before {
	border-bottom: 0 none;
	border-top: 7px solid #888;
	top: auto;
	bottom: -7px;
}

.imeselector-menu.ime-position-top:after {
	border-bottom: 0 none;
	border-top: 6px solid #FFFFFF;
	top: auto;
	bottom: -6px;
}

.imeselector-menu .ime-checked {
	/* @embed */
	background: url(/images/tick.png) no-repeat left center;
	/* @embed */
	background-image: -webkit-linear-gradient(transparent, transparent), url('/images/tick.svg');
	/* @embed */
	background-image: linear-gradient(transparent, transparent), url('/images/tick.svg');
	background-position: left 4px center;
	background-position-x: 4px;
}

.imeselector-menu .ime-help-link {
	background-color: #f0f0f0;
	border-radius: 0 0 5px 5px;
	border-top: 1px solid #ddd;
	margin-top: 6px;
	padding: 2px 0;
	color: #444;
}

.imeselector-menu .ime-help-link > a:hover {
	background-color: #f0f0f0;
	color: #000;
}

.imeselector-menu .selectable-row-item {
	display: block;
	padding-left: 20px;
	padding-right: 20px;
	font-weight: normal;
	color: #333333;
	outline: none;
	white-space: nowrap;
	position: relative;
}

.imeselector-menu .selectable-row {
	cursor: pointer;
}

.imeselector-menu .selectable-row:hover {
	background-color: #f0f0f0;
}

.ime-open {
	*z-index: 1000;
	display: block;
}

.imeselector-menu li {
	position: relative;
}