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

Side by Side Diff: remoting/webapp/main.css

Issue 107703005: Minor cleanups in CSS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, 6 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
7 blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, 7 blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
8 font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, 8 font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl,
9 dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, 9 dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody,
10 tfoot, thead, tr, th, td, button { 10 tfoot, thead, tr, th, td, button {
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 .icon-black:hover > img { 272 .icon-black:hover > img {
273 opacity: 0.4; 273 opacity: 0.4;
274 } 274 }
275 275
276 section h2 { 276 section h2 {
277 color: #666; 277 color: #666;
278 } 278 }
279 279
280 header { 280 header {
281 display: -webkit-flex; 281 display: flex;
282 width: 100%; 282 width: 100%;
283 } 283 }
284 284
285 html { 285 html {
286 -webkit-user-select: none; 286 -webkit-user-select: none;
287 cursor: default; 287 cursor: default;
288 } 288 }
289 289
290 section { 290 section {
291 width: 690px; 291 width: 690px;
(...skipping 11 matching lines...) Expand all
303 303
304 .access-code-digit-group { 304 .access-code-digit-group {
305 /* 305 /*
306 Used for each of the four-digit components of the access code as 306 Used for each of the four-digit components of the access code as
307 displayed by the host. 307 displayed by the host.
308 */ 308 */
309 padding: 0px 6px; 309 padding: 0px 6px;
310 } 310 }
311 311
312 .box-spacer { 312 .box-spacer {
313 -webkit-flex: 1; 313 flex: 1;
314 } 314 }
315 315
316 .centered { 316 .centered {
317 margin: auto; 317 margin: auto;
318 } 318 }
319 319
320 .button-row { 320 .button-row {
321 display: -webkit-flex; 321 display: flex;
322 -webkit-flex-direction: row; 322 flex-direction: row;
323 -webkit-justify-content: flex-end; 323 justify-content: flex-end;
324 margin-top: 20px; 324 margin-top: 20px;
325 } 325 }
326 326
327 .button-row button { 327 .button-row button {
328 margin-left: 5px; 328 margin-left: 5px;
329 } 329 }
330 330
331 .button-row span:first-child { 331 .button-row span:first-child {
332 width: 100%; 332 width: 100%;
333 } 333 }
334 334
335 .clickable { 335 .clickable {
336 cursor: pointer; 336 cursor: pointer;
337 } 337 }
338 338
339 .box { 339 .box {
340 display: -webkit-flex; 340 display: flex;
341 } 341 }
342 342
343 .host-list-empty-instructions { 343 .host-list-empty-instructions {
344 padding-__MSG_@@bidi_start_edge__: 36px; 344 padding-__MSG_@@bidi_start_edge__: 36px;
345 color: #666; 345 color: #666;
346 background-image: url('host_setup_instructions.webp'); 346 background-image: url('host_setup_instructions.webp');
347 background-repeat: no-repeat; 347 background-repeat: no-repeat;
348 background-position: -3px -2px; 348 background-position: -3px -2px;
349 } 349 }
350 350
351 #host-list-empty-hosting-supported { 351 #host-list-empty-hosting-supported {
352 margin-top: 14px; 352 margin-top: 14px;
353 padding-top: 20px; 353 padding-top: 20px;
354 border-top: 1px solid #E5E5E5; 354 border-top: 1px solid #E5E5E5;
355 background-position-y: 18px; 355 background-position-y: 18px;
356 } 356 }
357 357
358 .selectable { 358 .selectable {
359 -webkit-user-select: text; 359 -webkit-user-select: text;
360 cursor: text; 360 cursor: text;
361 } 361 }
362 362
363 .section-row { 363 .section-row {
364 display: -webkit-flex; 364 display: flex;
365 -webkit-align-items: center; 365 -webkit-align-items: center;
366 padding: 10px 0; 366 padding: 10px 0;
367 border-top: 1px solid #EBEBEB; 367 border-top: 1px solid #EBEBEB;
368 } 368 }
369 369
370 .section-row button { 370 .section-row button {
371 margin-__MSG_@@bidi_start_edge__: 20px; 371 margin-__MSG_@@bidi_start_edge__: 20px;
372 } 372 }
373 373
374 .section-row:first-child, 374 .section-row:first-child,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 margin-__MSG_@@bidi_end_edge__: -12px; 438 margin-__MSG_@@bidi_end_edge__: -12px;
439 } 439 }
440 440
441 #butter-bar-dimiss:hover { 441 #butter-bar-dimiss:hover {
442 opacity: 0.7; 442 opacity: 0.7;
443 } 443 }
444 444
445 #butter-bar > p { 445 #butter-bar > p {
446 background-color: #f9edbe; 446 background-color: #f9edbe;
447 border: 1px solid #f0c36d; 447 border: 1px solid #f0c36d;
448 -webkit-border-radius: 2px; 448 border-radius: 2px;
449 -webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2); 449 box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
450 color: #222; 450 color: #222;
451 font-size: 12px; 451 font-size: 12px;
452 padding: 4px 16px; 452 padding: 4px 16px;
453 margin: auto; 453 margin: auto;
454 } 454 }
455 455
456 #butter-bar a { 456 #butter-bar a {
457 color: inherit; 457 color: inherit;
458 text-decoration: underline; 458 text-decoration: underline;
459 padding-__MSG_@@bidi_start_edge__: 2px; 459 padding-__MSG_@@bidi_start_edge__: 2px;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 #daemon-plugin-container { 610 #daemon-plugin-container {
611 width: 0; 611 width: 0;
612 height: 0; 612 height: 0;
613 } 613 }
614 614
615 .dialog-container { 615 .dialog-container {
616 position: absolute; 616 position: absolute;
617 top: 200px; 617 top: 200px;
618 left: 0; 618 left: 0;
619 width: 100%; 619 width: 100%;
620 display: -webkit-flex; 620 display: flex;
621 } 621 }
622 622
623 .dialog-screen { 623 .dialog-screen {
624 position: fixed; 624 position: fixed;
625 top: 0; 625 top: 0;
626 left: 0; 626 left: 0;
627 width: 100%; 627 width: 100%;
628 height: 100%; 628 height: 100%;
629 background-color: #fff; 629 background-color: #fff;
630 opacity: 0.75; 630 opacity: 0.75;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 box-shadow: 0 0 8px 0 black; 672 box-shadow: 0 0 8px 0 black;
673 -webkit-user-select: none; 673 -webkit-user-select: none;
674 } 674 }
675 675
676 #session-client-plugin { 676 #session-client-plugin {
677 display: block; 677 display: block;
678 } 678 }
679 679
680 .session-client-inactive { 680 .session-client-inactive {
681 -webkit-filter: grayscale(70%); 681 -webkit-filter: grayscale(70%);
682 -webkit-transition: -webkit-filter 0.218s; 682 transition: -webkit-filter 0.218s;
683 } 683 }
684 684
685 #set-pin-table td { 685 #set-pin-table td {
686 border-bottom: 6px solid transparent; 686 border-bottom: 6px solid transparent;
687 } 687 }
688 688
689 #top-secondary { 689 #top-secondary {
690 margin-top: 10px 690 margin-top: 10px
691 } 691 }
692 692
(...skipping 11 matching lines...) Expand all
704 */ 704 */
705 [hidden] { 705 [hidden] {
706 display: none !important; 706 display: none !important;
707 } 707 }
708 708
709 .full-height { 709 .full-height {
710 height: 100%; 710 height: 100%;
711 } 711 }
712 712
713 .horizontally-centered { 713 .horizontally-centered {
714 display: -webkit-flex; 714 display: flex;
715 } 715 }
716 716
717 .vertically-centered { 717 .vertically-centered {
718 display: -webkit-flex; 718 display: flex;
719 flex-direction: column; 719 flex-direction: column;
720 height: 100% 720 height: 100%
721 } 721 }
722 722
723 .horizontally-centered::before, 723 .horizontally-centered::before,
724 .horizontally-centered::after, 724 .horizontally-centered::after,
725 .vertically-centered::before, 725 .vertically-centered::before,
726 .vertically-centered::after { 726 .vertically-centered::after {
727 content: ""; 727 content: "";
728 -webkit-flex: 1; 728 flex: 1;
729 } 729 }
730 730
731 /* Bump-scrolling is currently implemented by adjusting the margins, which is 731 /* Bump-scrolling is currently implemented by adjusting the margins, which is
732 * easier to implement with "position: fixed". In full-screen mode there are 732 * easier to implement with "position: fixed". In full-screen mode there are
733 * no scroll-bars, so the advantages of flex-box layout to achieve centering 733 * no scroll-bars, so the advantages of flex-box layout to achieve centering
734 * (ie, the DOM is easier to measure to determine when scroll-bars are needed) 734 * (ie, the DOM is easier to measure to determine when scroll-bars are needed)
735 * don't apply */ 735 * don't apply */
736 .full-screen #session-mode { 736 .full-screen #session-mode {
737 position: fixed; 737 position: fixed;
738 top: 0; 738 top: 0;
739 left: 0; 739 left: 0;
740 width: 100%; 740 width: 100%;
741 } 741 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698