Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: third_party/google_input_tools/src/chrome/os/inputview/common.css

Issue 899673003: Uprev Google Input Tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 .inputview-layoutview { 1 .inputview-layoutview {
2 position: relative; 2 position: relative;
3 -webkit-user-select: none; 3 -webkit-user-select: none;
4 } 4 }
5 .inputview-canvasview, 5 .inputview-canvasview,
6 .inputview-skv { 6 .inputview-skv {
7 display: inline-block; 7 display: inline-block;
8 overflow: hidden; 8 overflow: hidden;
9 } 9 }
10 .inputview-sk { 10 .inputview-sk {
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 -webkit-box-orient: horizontal; 218 -webkit-box-orient: horizontal;
219 background: #f5f5f5; 219 background: #f5f5f5;
220 display: -webkit-box; 220 display: -webkit-box;
221 } 221 }
222 .inputview-globe-icon { 222 .inputview-globe-icon {
223 background: transparent url('images/globe.png') 0 0 / 21px 21px no-repeat; 223 background: transparent url('images/globe.png') 0 0 / 21px 21px no-repeat;
224 display: inline-block; 224 display: inline-block;
225 width: 21px; 225 width: 21px;
226 height: 21px; 226 height: 21px;
227 } 227 }
228 .inputview-swipe-view,
228 .inputview-menu-view, 229 .inputview-menu-view,
229 .inputview-altdata-view { 230 .inputview-altdata-view {
230 position: fixed; 231 position: fixed;
231 z-index: 999; 232 z-index: 999;
232 border: 1px solid #ccc; 233 border: 1px solid #ccc;
233 background-color: white; 234 background-color: white;
234 -webkit-box-shadow: 0 0 6px rgba(204, 204, 204, 0.65), 235 -webkit-box-shadow: 0 0 6px rgba(204, 204, 204, 0.65),
235 0 0 2px rgba(136, 136, 136, 0.65), 236 0 0 2px rgba(136, 136, 136, 0.65),
236 0 0 6px rgba(204, 204, 204, 0.65), 237 0 0 6px rgba(204, 204, 204, 0.65),
237 0 0 6px rgba(204, 204, 204, 0.65); 238 0 0 6px rgba(204, 204, 204, 0.65);
238 cursor: default; 239 cursor: default;
239 } 240 }
241 .inputview-swipe-separator {
242 background-color: #ebebeb;
243 position: relative;
244 display: inline-block;
245 }
240 .inputview-altdata-separator { 246 .inputview-altdata-separator {
241 height: 20px; 247 height: 20px;
242 border-left: 1px solid #ddd; 248 border-left: 1px solid #ddd;
243 position: relative; 249 position: relative;
244 display: inline-block; 250 display: inline-block;
245 } 251 }
252 .inputview-swipe-key {
253 background-color: #dddddd;
254 display: table-cell;
255 font-size: 23px;
256 color: black;
257 vertical-align: middle;
258 position: relative;
259 text-align: center;
260 }
246 .inputview-altdata-key { 261 .inputview-altdata-key {
247 display: table-cell; 262 display: table-cell;
248 font-size: 23px; 263 font-size: 23px;
249 color: #111111; 264 color: #111111;
250 vertical-align: middle; 265 vertical-align: middle;
251 text-align: center; 266 text-align: center;
252 } 267 }
253 .inputview-a11y .inputview-altdata-key { 268 .inputview-a11y .inputview-altdata-key {
254 font-size: 18px; 269 font-size: 18px;
255 } 270 }
256 .inputview-candidate.inputview-candidate-default { 271 .inputview-candidate.inputview-candidate-default {
257 color: #111111; 272 color: #111111;
258 } 273 }
259 .inputview-candidate.inputview-candidate-autocorrect { 274 .inputview-candidate.inputview-candidate-autocorrect {
260 font-weight: bold; 275 font-weight: bold;
261 color: #111111; 276 color: #111111;
262 } 277 }
263 .inputview-candidate-view { 278 .inputview-candidate-view {
264 overflow: hidden; 279 overflow: hidden;
265 display: table-cell; 280 display: table-cell;
266 height: 32px; 281 height: 32px;
267 } 282 }
283 .inputview-toolbar-button,
268 .inputview-candidate-button { 284 .inputview-candidate-button {
269 float: right; 285 float: right;
270 } 286 }
287 .inputview-toolbar-button.float-left {
288 float: left;
289 }
271 .inputview-candidate { 290 .inputview-candidate {
272 display: table-cell; 291 display: table-cell;
273 font-size: 18px; 292 font-size: 18px;
274 color: #555555; 293 color: #555555;
275 vertical-align: middle; 294 vertical-align: middle;
276 text-align: center; 295 text-align: center;
277 text-overflow: ellipsis; 296 text-overflow: ellipsis;
278 } 297 }
279 .inputview-a11y .inputview-candidate { 298 .inputview-a11y .inputview-candidate {
280 font-size: 12px; 299 font-size: 12px;
281 } 300 }
301 .inputview-toolbar-separator,
282 .inputview-candidate-separator { 302 .inputview-candidate-separator {
283 border-left: 1px solid #ddd; 303 border-left: 1px solid #ddd;
284 position: relative; 304 position: relative;
285 display: inline-block; 305 display: inline-block;
286 } 306 }
287 .inputview-table-cell { 307 .inputview-table-cell {
288 display: table-cell; 308 display: table-cell;
289 vertical-align: middle; 309 vertical-align: middle;
290 text-align: center; 310 text-align: center;
291 } 311 }
(...skipping 12 matching lines...) Expand all
304 width: 16px; 324 width: 16px;
305 height: 4px; 325 height: 4px;
306 } 326 }
307 .inputview-modifier-state-icon.inputview-modifier-on { 327 .inputview-modifier-state-icon.inputview-modifier-on {
308 background: url('images/modifier-on.png'); 328 background: url('images/modifier-on.png');
309 } 329 }
310 .inputview-modifier-state-icon.inputview-hold { 330 .inputview-modifier-state-icon.inputview-hold {
311 -webkit-box-shadow: 0 0 5px 1px #397FFB; 331 -webkit-box-shadow: 0 0 5px 1px #397FFB;
312 opacity: 0.9; 332 opacity: 0.9;
313 } 333 }
334 .inputview-track-cover,
314 .inputview-altdata-cover { 335 .inputview-altdata-cover {
315 position: fixed; 336 position: fixed;
316 bottom: 0; 337 bottom: 0;
317 left: 0; 338 left: 0;
318 background-color: white; 339 background-color: white;
319 opacity: 0.5; 340 opacity: 0.5;
320 z-index: 1; 341 z-index: 1;
321 } 342 }
343 .inputview-track-cover {
344 z-index: 998;
345 }
322 .inputview-arrow-key { 346 .inputview-arrow-key {
323 display: inline-block; 347 display: inline-block;
324 height: 13.5px; 348 height: 13.5px;
325 } 349 }
326 .inputview-up-key { 350 .inputview-up-key {
327 background-image: transparent url('images/up.png') 0 0/16px 13.5px no-repeat; 351 background-image: transparent url('images/up.png') 0 0/16px 13.5px no-repeat;
328 width: 16px; 352 width: 16px;
329 } 353 }
330 .inputview-down-key { 354 .inputview-down-key {
331 background: transparent url('images/down.png') 0 0/16px 13.5px no-repeat; 355 background: transparent url('images/down.png') 0 0/16px 13.5px no-repeat;
(...skipping 30 matching lines...) Expand all
362 width: 4px; 386 width: 4px;
363 height: 17px; 387 height: 17px;
364 } 388 }
365 .inputview-hide-keyboard-icon { 389 .inputview-hide-keyboard-icon {
366 background: transparent url('images/hide.png') 0 0/20px 14.5px no-repeat; 390 background: transparent url('images/hide.png') 0 0/20px 14.5px no-repeat;
367 display: inline-block; 391 display: inline-block;
368 width: 20px; 392 width: 20px;
369 height: 14.5px; 393 height: 14.5px;
370 } 394 }
371 .inputview-candidate.inputview-candidate-highlight, 395 .inputview-candidate.inputview-candidate-highlight,
396 .inputview-toolbar-button.inputview-candidate-highlight,
372 .inputview-element-highlight { 397 .inputview-element-highlight {
373 background-color: #dddddd; 398 background-color: #dddddd;
374 } 399 }
375 .inputview-menu-footer-item.inputview-element-highlight, 400 .inputview-menu-footer-item.inputview-element-highlight,
376 .inputview-view .inputview-special-key-highlight, 401 .inputview-view .inputview-special-key-highlight,
377 .inputview-view .inputview-special-key-bg.inputview-special-key-highlight { 402 .inputview-view .inputview-special-key-bg.inputview-special-key-highlight {
378 background-color: #cccccc; 403 background-color: #cccccc;
379 } 404 }
405 .inputview-swipe-separator.inputview-element-highlight,
406 .inputview-swipe-key.inputview-element-highlight {
407 background-color: #bbbbbb;
408 }
380 .inputview-backspace-icon { 409 .inputview-backspace-icon {
381 background: transparent url('images/backspace.png'); 410 background: transparent url('images/backspace.png');
382 background-size: 22.5px 13px; 411 background-size: 22.5px 13px;
383 display: inline-block; 412 display: inline-block;
384 width: 22.5px; 413 width: 22.5px;
385 height: 13px; 414 height: 13px;
386 } 415 }
387 .inputview-enter-icon { 416 .inputview-enter-icon {
388 background: transparent url('images/enter.png'); 417 background: transparent url('images/enter.png');
389 background-size: 18px 13px; 418 background-size: 18px 13px;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 height: 17px; 522 height: 17px;
494 width: 16.5px; 523 width: 16.5px;
495 } 524 }
496 525
497 .inputview-expand-candidates-icon { 526 .inputview-expand-candidates-icon {
498 background: transparent url('images/show_candidates.png') 0 0/17px 16.5px no-r epeat; 527 background: transparent url('images/show_candidates.png') 0 0/17px 16.5px no-r epeat;
499 height: 17px; 528 height: 17px;
500 width: 16.5px; 529 width: 16.5px;
501 } 530 }
502 531
532 .inputview-copy-icon {
533 background: transparent url('images/copy.png') 0 0/17px 16.5px no-repeat;
534 height: 17px;
535 width: 16.5px;
536 }
537
538 .inputview-cut-icon {
539 background: transparent url('images/cut.png') 0 0/17px 16.5px no-repeat;
540 height: 17px;
541 width: 16.5px;
542 }
543
544 .inputview-paste-icon {
545 background: transparent url('images/paste.png') 0 0/17px 16.5px no-repeat;
546 height: 17px;
547 width: 16.5px;
548 }
549
550 .inputview-bold-icon {
551 background: transparent url('images/bold.png') 0 0/17px 16.5px no-repeat;
552 height: 17px;
553 width: 16.5px;
554 }
555
556 .inputview-italics-icon {
557 background: transparent url('images/italic.png') 0 0/17px 16.5px no-repeat;
558 height: 17px;
559 width: 16.5px;
560 }
561
562 .inputview-underline-icon {
563 background: transparent url('images/underline.png') 0 0/17px 16.5px no-repeat;
564 height: 17px;
565 width: 16.5px;
566 }
567
568 .inputview-select-all-icon {
569 background: transparent url('images/select_all.png') 0 0/17px 16.5px no-repeat ;
570 height: 17px;
571 width: 16.5px;
572 }
573
574 .inputview-redo-icon {
575 background: transparent url('images/redo.png') 0 0/17px 16.5px no-repeat;
576 height: 17px;
577 width: 16.5px;
578 }
579
580 .inputview-undo-icon {
581 background: transparent url('images/undo.png') 0 0/17px 16.5px no-repeat;
582 height: 17px;
583 width: 16.5px;
584 }
585
503 /** 586 /**
504 * The following css style is for handwriting panel, 587 * The following css style is for handwriting panel,
505 * please keep it in the end of the file 588 * please keep it in the end of the file
506 */ 589 */
507 590
508 .inputview-handwriting { 591 .inputview-handwriting {
509 font-size: 16px; 592 font-size: 16px;
510 } 593 }
511 594
512 .inputview-a11y.inputview-handwriting .inputview-modifier { 595 .inputview-a11y.inputview-handwriting .inputview-modifier {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 height: 16px; 718 height: 16px;
636 width: 40px; 719 width: 40px;
637 } 720 }
638 .inputview-pinyin .inputview-en-switcher-english { 721 .inputview-pinyin .inputview-en-switcher-english {
639 display: inline-block; 722 display: inline-block;
640 background: url('images/english_small.png') no-repeat center; 723 background: url('images/english_small.png') no-repeat center;
641 background-size: 40px 16px; 724 background-size: 40px 16px;
642 height: 16px; 725 height: 16px;
643 width: 40px; 726 width: 40px;
644 } 727 }
728 .inputview-select-knob-left,
729 .inputview-select-knob-right {
730 position: absolute;
731 top: 0;
732 margin: 0;
733 padding: 0;
734 z-index: 100;
735 }
736 .inputview-select-knob-left {
737 left: 0px;
738 }
739 .inputview-select-knob-right {
740
741 }
742 /* Anchor to the center of the column */
743 .inputview-select-knob-right > div,
744 .inputview-select-knob-left > div {
745 width: 100%;
746 position: relative;
747 height: 1px;
748 top: 50%;
749 left: 0;
750 }
751 /* Semi-circular knob */
752 .inputview-select-knob-left > div > div,
753 .inputview-select-knob-right > div > div {
754 width : 100%;
755 height: 50px;
756 background-color: #dddddd;
757 -webkit-transform: translateY(-25px);
758 line-height: 50px;
759 color: white;
760 text-align: center;
761 font-size: medium;
762 font-weight: bolder;
763 }
764 .inputview-select-knob-left > div > div {
765 -webkit-border-radius: 0 30px 30px 0;
766 }
767 .inputview-select-knob-right > div > div {
768 -webkit-border-radius: 30px 0 0 30px;
769 }
770
645 .inputview-candidate-internal-wrapper { 771 .inputview-candidate-internal-wrapper {
646 text-overflow: ellipsis; 772 text-overflow: ellipsis;
647 overflow-x: hidden; 773 overflow-x: hidden;
648 white-space: nowrap; 774 white-space: nowrap;
649 display: inline-block; 775 display: inline-block;
650 } 776 }
651 .inputview-three-candidates .inputview-candidate { 777 .inputview-three-candidates .inputview-candidate {
652 padding: 6px; 778 padding: 6px;
653 } 779 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698