_common.scss
ASCII text
1//This is the RIGHT PLACE to edit the stylesheet 2 3//let's start by telling people not to edit the generated CSS: 4$cakeisalie: "This stylesheet is generated, DO NOT EDIT"; 5/* #{$cakeisalie} */ 6 7$panel-corner-radius: 0; 8 9/* Copyright 2009, 2015 Red Hat, Inc. 10* 11* Portions adapted from Mx's data/style/default.css 12* Copyright 2009 Intel Corporation 13* 14* This program is free software; you can redistribute it and/or modify it 15* under the terms and conditions of the GNU Lesser General Public License, 16* version 2.1, as published by the Free Software Foundation. 17* 18* This program is distributed in the hope it will be useful, but WITHOUT ANY 19* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 20* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for 21* more details. 22* 23* You should have received a copy of the GNU Lesser General Public License 24* along with this program; if not, write to the Free Software Foundation, 25* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26*/ 27 28 29$menuitem_size: 32px; 30$small_size: 24px; 31$medium_size: 36px; 32$large_size: 48px; 33 34* { 35transition-timing-function : cubic-bezier(0.4, 0, 0.2, 1); 36transition-duration: 0.2s; 37} 38 39/* GLOBALS */ 40$root-font-size: 14px; 41$font-family: "M+ 1c", Roboto, Cantarell, Sans-Serif; 42$large-font-family: Roboto, "M+ 1c", Cantarell, Sans-Serif; 43 44stage { 45font-family: $font-family; 46@include font(body-1); 47color: $fg_color; 48} 49 50/* WIDGETS */ 51 52/* Buttons */ 53.button { 54min-height: $medium_size; 55padding: 0 16px; 56border-width: 0; 57border-radius: 2px; 58@include font(button); 59@include button(flat-normal); 60&:hover { @include button(flat-hover); } 61&:active { @include button(flat-active); } 62&:insensitive { @include button(flat-insensitive); } 63&:focus { @include button(flat-focus); } 64 65} 66 67.modal-dialog-linked-button { 68min-height: 40px; 69padding: 0 16px; 70border-top: 1px solid $borders_color !important; 71border-right-width: 0; 72@include font(button); 73@include button(flat-normal); 74&:hover { @include button(flat-hover); } 75&:active { @include button(flat-active); } 76&:insensitive { @include button(flat-insensitive); } 77&:focus { @include button(flat-focus); } 78 79&:first-child { 80border-radius: 0px 0px 0px 2px; 81} 82&:last-child { 83border-right-width: 0px; 84border-radius: 0px 0px 2px 0px; 85} 86&:first-child:last-child { 87border-right-width: 0px; 88border-radius: 0px 0px 2px 2px; 89} 90} 91 92/* Entries */ 93StEntry { 94min-height: $medium_size; 95padding: 0 8px; 96border-radius: 0; 97border-width: 0; 98color: $fg_color; 99selection-background-color: $selected_bg_color; 100selected-color: $selected_fg_color; 101@include font(subheading); 102@include entry(normal); 103//&:hover { @include entry(hover);} 104&:focus { @include entry(focus);} 105&:insensitive { @include entry(insensitive);} 106StIcon.capslock-warning { 107icon-size: 16px; 108warning-color: $warning_color; 109padding: 0 0; 110} 111} 112 113 114/* Scrollbars */ 115 116StScrollView { 117&.vfade { -st-vfade-offset: 32px; } 118&.hfade { -st-hfade-offset: 32px; } 119} 120 121StScrollBar { 122padding: 0; 123 124StScrollView & { 125min-width: 16px; 126min-height: 16px; 127} 128 129StBin#trough { 130margin: 4px; 131border-radius: 100px; 132background-color: $insensitive_track_color; 133} 134 135StButton#vhandle, StButton#hhandle { 136border-radius: 100px; 137background-color: $tertiary_fg_color; 138//border: 4px solid transparent; //would be nice to margin or at least to transparent 139margin: 4px; 140&:hover { background-color: $secondary_fg_color; } 141&:active { background-color: $fg_color; } 142} 143} 144 145%overview_scrollbar { 146StBin#trough { 147background-color: $selected_insensitive_track_color; 148} 149 150StButton#vhandle, StButton#hhandle { 151background-color: $tertiary_selected_fg_color; 152&:hover { background-color: $secondary_selected_fg_color; } 153&:active { background-color: $selected_fg_color; } 154} 155} 156 157/* Slider */ 158 159.slider { 160height: 20px; 161color: $accent_bg_color; 162-slider-height: 4px; 163-slider-background-color: $track_color; //background of the trough 164-slider-border-color: transparent; //trough border color 165-slider-active-background-color: $accent_bg_color; //active trough fill 166-slider-active-border-color: transparent; //active trough border 167-slider-border-width: 0; 168-slider-handle-radius: 8px; 169} 170 171/* Check Boxes */ 172 173.check-box { 174* { 175min-height: $medium_size - 8px * 2; 176padding: 8px 0; 177} 178StBoxLayout { spacing: 8px; } 179StBin { 180width: 24px; 181height: 24px; 182padding: ($medium_size - 24px) / 2; 183border-radius: 100px; 184background-image: url("assets/checkbox-off.svg"); 185} 186&:focus StBin { 187background-image: url("assets/checkbox-off.svg"); 188} 189&:hover StBin { 190background-color: $semi_track_color; 191} 192&:active StBin { 193background-color: $track_color; 194} 195&:checked StBin { 196background-image: url("assets/checkbox.svg"); 197} 198&:focus:checked StBin { 199background-image: url("assets/checkbox.svg"); 200} 201&:hover:checked StBin { 202background-color: scale-alpha($accent_bg_color, $lower_opacity / 2); 203} 204&:active:checked StBin { 205background-color: scale-alpha($accent_bg_color, $lower_opacity); 206} 207} 208 209/* Switches */ 210.toggle-switch { 211width: 40px; 212height: 20px; 213background-size: contain; 214} 215 216@each $v in us, intl { 217.toggle-switch-#{$v} { 218background-image: url("assets/toggle-off.svg"); 219&:checked { background-image: url("assets/toggle-on.svg"); } 220} 221} 222 223/* links */ 224.shell-link { 225border-radius: 2px; 226color: $link_color; 227&:hover { 228color: $link_color; 229background-color: scale-alpha($link_color, $lower_opacity / 2); 230} 231&:active { 232color: $link_color; 233background-color: scale-alpha($link_color, $lower_opacity); 234} 235} 236 237/* Modal Dialogs */ 238 239.headline { @include font(title); } 240.lightbox { background-color: black; } 241.flashspot { background-color: white; } 242 243.modal-dialog { 244border-radius: 2px; 245color: $fg_color; 246background-color: $base_color; 247border: none; 248box-shadow: $z-depth-4; 249.modal-dialog-content-box { 250padding: 24px; 251} 252.run-dialog-entry { width: 20em; margin-bottom: 6px; } 253.run-dialog-error-box { 254padding-top: 16px; 255spacing: 6px; 256} 257.run-dialog-button-box { padding-top: 1em; } 258.run-dialog-label { 259font-size: 1em; 260font-weight: normal; 261color: $tertiary_fg_color; 262padding-bottom: .4em; 263} 264 265} 266 267.show-processes-dialog-subject, 268.mount-question-dialog-subject, 269.end-session-dialog-subject { //this should be a generic header class 270@include font(title); 271} 272 273/* End Session Dialog */ 274.end-session-dialog { 275spacing: 42px; 276border: none; 277} 278 279.end-session-dialog-list { 280padding-top: 20px; 281} 282 283.end-session-dialog-layout { 284padding-left: 17px; 285&:rtl { padding-right: 17px; } 286} 287 288.end-session-dialog-description { 289width: 28em; 290padding-bottom: 10px; 291&:rtl { 292text-align: right; 293} 294} 295 296.end-session-dialog-warning { 297width: 28em; 298color: $warning_color; 299padding-top: 6px; 300&:rtl { 301text-align: right; 302} 303} 304 305.end-session-dialog-logout-icon { 306//border: 2px solid #8b8b8b; 307border-radius: 5px; 308width: 48px; 309height: 48px; 310background-size: contain; 311} 312 313.end-session-dialog-shutdown-icon { 314color: $tertiary_fg_color; 315width: 48px; 316height: 48px; 317} 318 319.end-session-dialog-inhibitor-layout { 320spacing: 16px; 321max-height: 200px; 322padding-right: 65px; 323padding-left: 65px; 324} 325 326.end-session-dialog-session-list, 327.end-session-dialog-app-list { 328spacing: 1em; 329} 330 331.end-session-dialog-list-header { 332font-weight: bold; 333&:rtl { text-align: right; } 334} 335 336.end-session-dialog-app-list-item, 337.end-session-dialog-session-list-item { 338spacing: 1em; 339} 340 341.end-session-dialog-app-list-item-name, 342.end-session-dialog-session-list-item-name { 343font-weight: bold; 344} 345 346.end-session-dialog-app-list-item-description { 347color: $tertiary_fg_color; 348font-size: 1em; 349} 350 351/* ShellMountOperation Dialogs */ 352.shell-mount-operation-icon { icon-size: 48px; } 353 354.show-processes-dialog, 355.mount-question-dialog { 356spacing: 24px; 357} 358 359.show-processes-dialog-subject, 360.mount-question-dialog-subject { 361padding-top: 10px; 362padding-left: 17px; 363padding-bottom: 6px; 364} 365 366.mount-question-dialog-subject { 367max-width: 500px; 368} 369 370.show-processes-dialog-subject:rtl, 371.mount-question-dialog-subject:rtl { 372padding-left: 0px; 373padding-right: 17px; 374} 375 376.show-processes-dialog-description, 377.mount-question-dialog-description { 378padding-left: 17px; 379width: 28em; 380} 381 382.show-processes-dialog-description:rtl, 383.mount-question-dialog-description:rtl { 384padding-right: 17px; 385} 386 387.show-processes-dialog-app-list { 388max-height: 200px; 389padding-top: 24px; 390padding-left: 49px; 391padding-right: 32px; 392} 393 394.show-processes-dialog-app-list:rtl { 395padding-right: 49px; 396padding-left: 32px; 397} 398 399.show-processes-dialog-app-list-item { 400color: $fg_color; 401&:hover { color: $fg_color; } 402&:ltr { padding-right: 1em; } 403&:rtl { padding-left: 1em; } 404} 405 406.show-processes-dialog-app-list-item-icon { 407&:ltr { padding-right: 17px; } 408&:rtl { padding-left: 17px; } 409} 410 411.show-processes-dialog-app-list-item-name { 412font-size: 1em; 413} 414 415 416/* Password or Authentication Dialog */ 417 418.prompt-dialog { 419//this is the width of the entire modal popup 420width: 500px; 421border: none; 422} 423 424.prompt-dialog-main-layout { 425spacing: 24px; 426padding: 10px; 427} 428 429.prompt-dialog-message-layout { 430spacing: 16px; 431} 432 433.prompt-dialog-headline { 434@include font(title); 435color: $fg_color; 436} 437 438.prompt-dialog-description:rtl { 439text-align: right; 440} 441 442.prompt-dialog-password-box { 443spacing: 1em; 444padding-bottom: 1em; 445} 446 447.prompt-dialog-error-label { 448font-size: 1em; 449color: $error_color; 450padding-bottom: 8px; 451} 452 453.prompt-dialog-info-label { 454font-size: 1em; 455padding-bottom: 8px; 456} 457 458.hidden { 459color: rgba(0,0,0,0); 460} 461 462.prompt-dialog-null-label { 463font-size: 1em; 464padding-bottom: 8px; 465} 466 467 468/* Polkit Dialog */ 469 470.polkit-dialog-user-layout { 471padding-left: 10px; 472spacing: 10px; 473&:rtl { 474padding-left: 0px; 475padding-right: 10px; 476} 477} 478 479.polkit-dialog-user-root-label { 480color: $warning_color; 481} 482 483.polkit-dialog-user-icon { 484border-radius: 5px; 485background-size: contain; 486width: 48px; 487height: 48px; 488} 489 490/* Audio selection dialog */ 491.audio-device-selection-dialog { 492spacing: 30px; 493} 494 495.audio-selection-content { 496spacing: 20px; 497padding: 24px; 498} 499 500.audio-selection-title { 501font-weight: bold; 502text-align: center; 503} 504 505.audio-selection-box { 506spacing: 20px; 507} 508 509.audio-selection-device { 510border: 1px solid $borders_color; 511border-radius: 2px; 512&:active,&:hover,&:focus { background-color: $selected_bg_color; } 513} 514 515.audio-selection-device-box { 516padding: 20px; 517spacing: 20px; 518} 519 520.audio-selection-device-icon { 521icon-size: 64px; 522} 523 524/* Geolocation Dialog */ 525.geolocation-dialog { 526spacing: 30px; 527} 528 529.geolocation-dialog-main-layout { 530spacing: 12px; 531} 532 533.geolocation-dialog-content { 534spacing: 20px; 535} 536 537.geolocation-dialog-icon { 538icon-size: 48px; 539} 540 541.geolocation-dialog-title { 542font-weight: bold; 543} 544 545.geolocation-dialog-reason { 546color: $tertiary_fg_color; 547font-weight: bold; 548} 549 550/* Network Agent Dialog */ 551 552.network-dialog-secret-table { 553spacing-rows: 15px; 554spacing-columns: 1em; 555} 556 557.keyring-dialog-control-table { 558spacing-rows: 15px; 559spacing-columns: 1em; 560} 561 562/* Popovers/Menus */ 563 564.popup-menu { 565min-width: 200px; 566 567.popup-menu-arrow { } //defined globally in the TOP BAR 568.popup-sub-menu { 569background-color: $secondary_base_color; 570box-shadow: $z-depth-0; 571} 572 573.popup-menu-content { padding: 8px 0; } 574.popup-menu-item { 575// min-height: $menuitem_size - 4px * 2; 576spacing: 8px; 577transition-duration: 0s; 578 579&:ltr { padding: 0.4em 24px 0.4em 0; } 580&:rtl { padding: 0.4em 0 0.4em 24px; } 581&:checked { 582background-color: $selected_bg_color; 583color: $selected_fg_color; 584box-shadow: $z-depth-0; 585font-weight: normal; 586&.selected { 587background-color: mix($selected_fg_color, $selected_bg_color, percentage($lower_opacity / 2)); 588color: $selected_fg_color; 589} 590&:active { 591background-color: mix($selected_fg_color, $selected_bg_color, percentage($lower_opacity)); 592color: $selected_fg_color !important; 593} 594&:insensitive { color: $insensitive_selected_fg_color; } 595} 596&.selected { 597background-color: $semi_track_color; 598color: $fg_color; 599} 600&:active { 601background-color: $track_color; 602color: $fg_color; 603transition-duration: 0.2s; 604} 605&.selected:active { color: $fg_color; } 606&:insensitive { color: $insensitive_fg_color; } 607} 608 609.popup-inactive-menu-item { //all icons and other graphical elements 610color: $fg_color; 611 612&:insensitive { color: $tertiary_fg_color; } 613} 614//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is 615&.panel-menu { 616-boxpointer-gap: 4px; 617margin-bottom: 1.75em; 618} 619} 620 621 622 623.popup-menu-ornament { 624text-align: right; 625width: 16px; 626height: 16px; 627} 628.popup-menu-boxpointer, 629.candidate-popup-boxpointer { 630-arrow-border-radius: 0; 631-arrow-background-color: transparent; 632-arrow-border-width: 0; 633-arrow-border-color: transparent; 634-arrow-base: 0; 635-arrow-rise: 0; 636-arrow-box-shadow: none; //dreaming. bug #689995 637margin: 5px 8px 8px; 638background-color: $base_color; 639border-radius: 2px; 640box-shadow: $z-depth-2; 641} 642 643.popup-separator-menu-item { 644//-margin-horizontal: 24px; 645height: 1px; //not really the whole box 646margin: 8px 64px - 24px; 647background-color: transparent; 648border-color: $borders_color; 649border-bottom-width: 1px; 650border-bottom-style: solid; 651} 652 653 654// Background menu 655.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0; } 656 657/* fallback menu 658- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled 659app menu inside the main app window itself rather than the top bar 660*/ 661 662 663/* OSD */ 664.osd-window { 665text-align: center; 666font-weight: bold; 667spacing: 1em; 668margin: 32px; 669min-width: 64px; 670min-height: 64px; 671 672.osd-monitor-label { @include font(display-2); } 673.level { 674height: 0.6em; 675border-radius: 4px; 676background-color: $track_color; 677color: $fg_color; 678} 679} 680 681/* App Switcher */ 682.switcher-popup { 683padding: 8px; 684spacing: 16px; 685} 686 687.osd-window, 688.resize-popup, 689.switcher-list { 690@extend %osd-panel; 691} 692 693.switcher-list-item-container { spacing: 8px; } 694 695.switcher-list .item-box { 696padding: 8px; 697border-radius: 2px; 698} 699 700.switcher-list .item-box:outlined { 701padding: 8px; 702border: none; 703background-color: $insensitive_track_color; 704} 705 706.switcher-list .item-box:selected { 707background-color: $selected_bg_color; 708color: $selected_fg_color; 709} 710 711.switcher-list .thumbnail-box { 712padding: 2px; 713spacing: 4px; 714} 715 716.switcher-list .thumbnail { 717width: 256px; 718} 719 720.switcher-list .separator { 721width: 1px; 722background: $borders_color; 723} 724 725.switcher-arrow { 726border-color: rgba(0,0,0,0); 727color: $tertiary_fg_color; 728&:highlighted { 729color: $fg_color; 730} 731} 732 733.input-source-switcher-symbol { 734@include font(display-2); 735width: 96px; 736height: 96px; 737} 738 739/* Workspace Switcher */ 740.workspace-switcher-group { padding: 8px; } 741 742.workspace-switcher-container { 743@extend %osd-panel; 744} 745 746.workspace-switcher { 747background: transparent; 748border: 0px; 749border-radius: 0px; 750padding: 0px; 751spacing: 8px; 752} 753 754.ws-switcher-active-up, .ws-switcher-active-down { 755height: $large_size; 756background-color: $selected_bg_color; 757color: $selected_fg_color; 758background-size: 32px; 759border-radius: 2px; 760} 761 762.ws-switcher-box { 763height: $large_size; 764border: none; 765background: $insensitive_track_color; 766border-radius: 2px; 767} 768 769%osd-panel { 770color: $fg_color; 771background-color: $base_color; 772border: none; 773box-shadow: $z-depth-4; 774border-radius: 2px; 775padding: 12px; 776} 777 778/* Tiled window previews */ 779.tile-preview { 780background-color: scale-alpha($secondary_selected_bg_color, $lower_opacity); 781border: 1px solid $secondary_selected_bg_color; 782} 783 784.tile-preview-left.on-primary { 785border-radius: $panel-corner-radius $panel-corner-radius 0 0; 786} 787 788.tile-preview-right.on-primary { 789border-radius: 0 $panel-corner-radius 0 0; 790} 791 792.tile-preview-left.tile-preview-right.on-primary { 793border-radius: $panel-corner-radius $panel-corner-radius 0 0; 794} 795 796/* TOP BAR */ 797 798#panel { 799background-color: $topbar_color; 800font-weight: bold; 801height: $menuitem_size; 802 803&:overview, 804&.unlock-screen, 805&.login-screen, 806&.lock-screen { 807background-color: transparent; 808} 809 810#panelLeft, #panelCenter { // spacing between activities<>app menu and such 811spacing: 0; 812} 813 814.panel-corner { 815-panel-corner-radius: $panel-corner-radius; 816-panel-corner-background-color: $bg_color; 817-panel-corner-border-width: 2px; 818-panel-corner-border-color: transparent; 819 820&:active, &:overview, &:focus { 821-panel-corner-border-color: $selected_fg_color; 822} 823 824&.lock-screen, &.login-screen, &.unlock-screen { 825-panel-corner-radius: 0; 826-panel-corner-background-color: transparent; 827-panel-corner-border-color: transparent; 828} 829} 830 831.panel-button { 832-natural-hpadding: 12px; 833-minimum-hpadding: 6px; 834font-weight: bold; 835color: $secondary_selected_fg_color; 836transition-duration: 0.2s; 837 838.app-menu-icon { 839-st-icon-style: symbolic; 840margin-left: 4px; 841margin-right: 4px; 842//dimensions of the icon are hardcoded 843} 844 845&:hover { 846color: $selected_fg_color; 847} 848 849&:active, &:overview, &:focus, &:checked { 850// Trick due to St limitations. It needs a background to draw 851// a box-shadow 852background-color: rgba($bg_color, 0.01); 853box-shadow: inset 0 -2px 0px $selected_fg_color; 854color: $selected_fg_color; 855 856& > .system-status-icon { icon-shadow: none; } 857} 858 859.system-status-icon { @include px-to-em(16px); padding: 0 4px; } 860.unlock-screen &, 861.login-screen &, 862.lock-screen & { 863color: $secondary_selected_fg_color; 864&:focus, &:hover, &:active { color: $selected_fg_color; } 865} 866} 867 868.panel-status-indicators-box, 869.panel-status-menu-box { 870spacing: 2px; 871} 872 873// spacing between power icon and (optional) percentage label 874.power-status.panel-status-indicators-box { 875spacing: 0; 876} 877 878.screencast-indicator { color: $warning_color; } 879} 880 881// calendar popover 882#calendarArea { 883padding: 8px 16px; 884} 885 886.calendar { 887margin-bottom: 0; 888} 889 890.calendar, 891.datemenu-today-button, 892.datemenu-displays-box, 893.message-list-sections { 894margin: 0 8px; 895} 896 897.datemenu-calendar-column { spacing: 8px; } 898.datemenu-displays-section { padding-bottom: 0; } 899 900.datemenu-today-button, 901.world-clocks-button, 902.message-list-section-title { 903min-height: $menuitem_size - 4px * 2; 904padding: 4px 8px; 905border-radius: 2px; 906} 907 908.datemenu-today-button { 909min-height: $menuitem_size * 2 - 4px * 2; 910} 911 912.message-list-section-list:ltr { 913padding-left: 0; 914} 915 916.message-list-section-list:rtl { 917padding-right: 0; 918} 919 920.datemenu-today-button, 921.world-clocks-button, 922.message-list-section-title { 923&:hover,&:focus { color: $fg_color; background-color: $semi_track_color; } 924&:active { 925color: $fg_color; 926background-color: $track_color; 927} 928} 929 930.datemenu-today-button .day-label { 931} 932 933.datemenu-today-button .date-label { 934@include font(headline); 935} 936 937.world-clocks-header, 938.message-list-section-title { 939color: $secondary_fg_color; 940font-weight: bold; 941} 942 943.world-clocks-grid { 944spacing-rows: 0.4em; 945} 946 947.calendar-month-label { 948height: $menuitem_size - 6px * 2; 949margin: 2px; 950padding: 6px 16px; 951border-radius: 2px; 952color: $fg_color; 953font-weight: bold; 954text-align: center; 955&:focus { background-color: $semi_track_color; } 956} 957 958.pager-button { 959width: $menuitem_size; 960height: $menuitem_size; 961margin: 2px; 962border-radius: 100px; 963background-color: transparent; 964color: $fg_color; 965&:hover, &:focus { background-color: $semi_track_color; } 966&:active { background-color: $track_color; } 967} 968 969.calendar-change-month-back { //arrow back 970background-image: url("assets/calendar-arrow-left.svg"); 971&:rtl { background-image: url("assets/calendar-arrow-right.svg"); } 972} 973.calendar-change-month-forward { //arrow foreward 974background-image: url("assets/calendar-arrow-right.svg"); 975&:rtl { background-image: url("assets/calendar-arrow-left.svg"); } 976} 977 978.calendar-day-base { 979@include font(caption); 980text-align: center; 981width: $menuitem_size; height: $menuitem_size; 982padding: 0; 983margin: 2px; 984border-radius: 100px; 985&:hover,&:focus { background-color: $semi_track_color; } 986// &:active { background-color: $track_color; } 987&:active, &:selected { 988color: $selected_fg_color; 989background-color: $selected_bg_color !important; 990border-color: transparent; //avoid jumparound due to today 991} 992&.calendar-day-heading { //day of week heading 993width: $menuitem_size; height: $menuitem_size - 7px; 994margin-top: 2px; 995padding: 7px 0 0; 996border-radius: 100px; 997background-color: transparent; 998color: $tertiary_fg_color; 999@include font(caption); 1000font-weight: bold; 1001text-align: center; 1002} 1003} 1004.calendar-day { //border collapse hack - see calendar.js 1005border-width: 0; 1006} 1007.calendar-day-top { border-top-width: 0; } 1008.calendar-day-left { border-left-width: 0; } 1009.calendar-work-day { 1010 1011} 1012.calendar-nonwork-day { 1013color: $fg_color; 1014} 1015.calendar-today { 1016font-weight: bold !important; 1017//color: $fg_color; 1018//background-color: transparent; 1019border: none; 1020} 1021.calendar-day-with-events { 1022color: $link_color; 1023font-weight: normal; 1024text-decoration: underline; 1025background-image: none; 1026} 1027.calendar-other-month-day { 1028color: $insensitive_fg_color; 1029opacity: 0.5; 1030} 1031.calendar-week-number { 1032width: $menuitem_size; height: $menuitem_size - 7px; 1033margin: 2px; 1034padding: 7px 0 0; 1035border-radius: 100px; 1036background-color: transparent; 1037color: $tertiary_fg_color; 1038font-size: inherit; 1039font-weight: bold; 1040text-align: center; 1041} 1042 1043/* Message list */ 1044.message-list { 1045width: 420px; 1046} 1047 1048.message-list-sections { 1049spacing: 8px; 1050} 1051 1052.message-list-section, 1053.message-list-section-list { 1054spacing: 8px; 1055} 1056 1057.message-list-section-title-box { 1058spacing: 8px; 1059} 1060 1061.message-list-section-close > StIcon { 1062icon-size: 16px; 1063border-radius: 16px; 1064padding: 8px; 1065color: $secondary_fg_color; 1066background-color: transparent; 1067} 1068 1069/* FIXME: how do you do this in sass? */ 1070.message-list-section-close:hover > StIcon, 1071.message-list-section-close:focus > StIcon { 1072color: $fg_color; 1073background-color: $semi_track_color; 1074} 1075 1076.message-list-section-close:active > StIcon { 1077color: $fg_color; 1078background-color: $track_color; 1079} 1080 1081.message { 1082min-height: $menuitem_size * 2; 1083background-color: transparent; 1084&:hover,&:focus { background-color: $semi_track_color; } 1085&:active { background-color: $track_color; } 1086border-radius: 2px; 1087} 1088 1089.message-icon-bin { 1090padding: 8px 0px 8px 8px; 1091&:rtl { padding: 8px 8px 8px 0px; } 1092} 1093 1094.message-icon-bin > StIcon { 1095icon-size: 32px; 1096} 1097 1098.message-secondary-bin { 1099&:ltr { padding-left: 8px; } 1100&:rtl { padding-right: 8px; } 1101} 1102 1103.message-secondary-bin { 1104color: $tertiary_fg_color; 1105} 1106 1107.message-secondary-bin > StIcon { 1108icon-size: 16px; 1109} 1110 1111.message-title { 1112min-height: $small_size - 2px; 1113padding-top: 2px; 1114color: $fg_color; 1115font-weight: bold; 1116font-size: 1em; 1117} 1118 1119.message-content { 1120padding: 8px; 1121color: $secondary_fg_color; 1122font-size: 1em; 1123} 1124 1125.message-content * > StIcon { 1126icon-size: 16px; 1127border-radius: 16px; 1128padding: 4px; 1129color: $secondary_fg_color; 1130} 1131 1132/* FIXME: how do you do this in sass? */ 1133.message-content *:hover > StIcon, 1134.message-content *:focus > StIcon { 1135color: $fg_color; 1136background-color: $semi_track_color; 1137} 1138 1139.message-content *:active > StIcon { 1140color: $fg_color; 1141background-color: $track_color; 1142} 1143 1144.message-media-control { 1145margin: 16px 0; 1146padding: 8px; 1147border-radius: 100px; 1148color: $secondary_fg_color; 1149&:hover,&:focus { color: $fg_color; background-color: $semi_track_color; } 1150&:active { color: $fg_color; background-color: $track_color; } 1151&:insensitive { color: $insensitive_secondary_fg_color; } 1152 1153&:last-child:ltr { margin-right: 16px; padding-right: 8px; } 1154&:last-child:rtl { margin-left: 16px; padding-left: 8px; } 1155} 1156 1157.media-message-cover-icon { 1158icon-size: 32px; 1159&.fallback { 1160icon-size: 16px; 1161padding: 8px; 1162border: none; 1163border-radius: 2px; 1164background-color: $semi_track_color; 1165color: $tertiary_fg_color; 1166} 1167} 1168 1169 1170// a little unstructured mess: 1171 1172.system-switch-user-submenu-icon.user-icon { 1173icon-size: 24px; 1174padding: 0 0; 1175} 1176.system-switch-user-submenu-icon.default-icon { 1177icon-size: 16px; 1178padding: 0 4px; 1179} 1180 1181#appMenu { 1182spinner-image: url("process-working.svg"); 1183spacing: 4px; 1184 1185.label-shadow { color: transparent; } 1186} 1187 1188.aggregate-menu { 1189min-width: 280px; 1190.popup-menu-icon { padding: 0 4px; } 1191} 1192 1193.system-menu-action { 1194color: $secondary_fg_color; 1195border-radius: 100px; /* wish we could do 50% */ 1196padding: ($large_size - 16px) / 2; 1197border: none; 1198 1199&:hover, &:focus { 1200background-color: $semi_track_color; 1201color: $fg_color; 1202border: none; 1203padding: 16px; 1204} 1205&:active { background-color: $track_color; color: $fg_color; } 1206 1207& > StIcon { icon-size: 16px; } 1208} 1209 1210//Activities Ripples 1211.ripple-box { 1212width: 48px; 1213height: 48px; 1214background-image: url("assets/corner-ripple-ltr.svg"); 1215background-size: contain; 1216} 1217 1218.ripple-box:rtl { 1219background-image: url("assets/corner-ripple-rtl.svg"); 1220} 1221 1222// not really top bar only 1223.popup-menu-arrow { width: 16px; height: 16px; } 1224.popup-menu-icon { @include px-to-em(16px); } 1225 1226//close buttons 1227 1228.window-close { 1229height: $medium_size; 1230width: $medium_size; 1231-st-background-image-shadow: $z-depth-1; 1232background-image: url("assets/window-close.svg"); 1233background-size: $medium_size; 1234&:hover { -st-background-image-shadow: $z-depth-2; } 1235&:active { background-image: url("assets/window-close-active.svg"); } 1236} 1237.window-close { 1238-shell-close-overlap: $medium_size / 2; 1239&:rtl { -st-background-image-shadow: $z-depth-1; } 1240&:rtl:hover { -st-background-image-shadow: $z-depth-2; } 1241} 1242 1243/* NETWORK DIALOGS */ 1244 1245.nm-dialog { 1246max-height: 500px; 1247min-height: 450px; 1248min-width: 470px; 1249} 1250 1251.nm-dialog-content { 1252spacing: 20px; 1253padding: 24px; 1254} 1255.nm-dialog-header-hbox { spacing: 10px; } 1256.nm-dialog-airplane-box { spacing: 12px; } 1257 1258.nm-dialog-airplane-headline { 1259font-weight: bold; 1260text-align: center; 1261} 1262 1263.nm-dialog-airplane-text { color: $fg_color; } 1264.nm-dialog-header-icon { icon-size: 32px; } 1265.nm-dialog-scroll-view { border: 2px solid $borders_color; } 1266.nm-dialog-header { font-weight: bold; } 1267 1268.nm-dialog-item { 1269@include font(subheading); 1270border-bottom: 1px solid $borders_color; 1271padding: 12px; 1272spacing: 20px; 1273} 1274 1275.nm-dialog-item:selected { 1276background-color: $selected_bg_color; 1277color: $selected_fg_color; 1278} 1279 1280.nm-dialog-icons { spacing: .5em; } 1281.nm-dialog-icon { icon-size: 16px; } 1282.no-networks-label { color: $tertiary_fg_color; } 1283.no-networks-box { spacing: 12px; } 1284 1285/* OVERVIEW */ 1286 1287#overview { 1288spacing: 24px; // 1289StScrollBar { @extend %overview_scrollbar; } 1290} 1291 1292.overview-controls { 1293padding-bottom: 32px; 1294} 1295 1296.window-picker { //container around window thumbnails 1297-horizontal-spacing: 32px; 1298-vertical-spacing: 32px; 1299padding-left: 32px; 1300padding-right: 32px; 1301padding-bottom: 48px; 1302 1303&.external-monitor { padding: 32px; } 1304} 1305 1306.window-clone-border { 1307border: 4px solid $selected_track_color; 1308border-radius: 2px; 1309// For window decorations with round corners we can't match 1310// the exact shape when the window is scaled. So apply a shadow 1311// to fix that case 1312box-shadow: inset 0 0 0 1px $selected_track_color; 1313} 1314.window-caption { 1315spacing: 25px; 1316color: $selected_fg_color; 1317background-color: transparent; 1318border-radius: 2px; 1319padding: 4px 8px; 1320-shell-caption-spacing: 12px; 1321&:hover { background-color: $selected_track_color; color: $selected_fg_color; } 1322} 1323 1324//search entry 1325.search-entry { 1326width: 320px - 8px * 2; 1327padding: 0 8px; 1328border-radius: 0; 1329color: $tertiary_selected_fg_color; 1330selection-background-color: $selected_track_color; 1331selected-color: $selected_fg_color; 1332@include entry(normal,$fc:$selected_track_color); 1333&:focus { 1334@include entry(focus,$fc:$selected_fg_color); 1335padding: 0 8px; 1336border-width: 0; 1337color: $selected_fg_color; 1338} 1339 1340.search-entry-icon { icon-size: 16px; padding: 0 0; color: $tertiary_selected_fg_color; } 1341 1342&:hover, &:focus { 1343.search-entry-icon { color: $selected_fg_color; } 1344} 1345} 1346 1347//search results 1348 1349#searchResultsBin { 1350max-width: 1000px; 1351} 1352 1353#searchResultsContent { 1354padding-left: 20px; 1355padding-right: 20px; 1356spacing: 16px; 1357} 1358 1359.search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing 1360.search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container 1361.search-statustext { // "no results" 1362@extend %status_text; 1363} 1364.list-search-results { spacing: 3px; } 1365 1366.search-section-separator { 1367-gradient-height: 1px; 1368-gradient-start: rgba(255,255,255,0); 1369-gradient-end: rgba(255,255,255,0.4); 1370-margin-horizontal: 1.5em; 1371height: 1px; 1372} 1373 1374.list-search-result-content { spacing: 12px; padding: 12px; } 1375.list-search-result-title { @include font(headline); color: $selected_fg_color; } 1376.list-search-result-description { color: $secondary_selected_fg_color; } 1377.search-provider-icon { padding: 15px; } 1378.search-provider-icon-more { 1379width: 16px; 1380height: 16px; 1381background-image: url("assets/more-results.svg"); 1382} 1383 1384 1385/* DASHBOARD */ 1386 1387#dash { 1388font-size: 1em; 1389color: $selected_fg_color; 1390background-color: $overview_bg_color; 1391padding: 3px 0; 1392border: none; 1393border-left: 0px; 1394border-radius: 0px 2px 2px 0px; 1395 1396&:rtl { 1397border-radius: 2px 0 0 2px; 1398} 1399 1400.placeholder { 1401background-image: url("assets/dash-placeholder.svg"); 1402background-size: contain; 1403height: 24px; 1404} 1405 1406.empty-dash-drop-target { 1407width: 24px; 1408height: 24px; 1409} 1410 1411} 1412 1413.dash-item-container > StWidget { 1414padding: 3px 6px; 1415} 1416 1417.dash-label { //osd tooltip 1418min-height: 28px - 4px * 2; 1419border-radius: 2px; 1420padding: 4px 12px; 1421color: $fg_color; 1422background-color: $base_color; 1423box-shadow: $z-depth-2; 1424text-align: center; 1425-x-offset: 8px; 1426} 1427 1428/* App Vault/Grid */ 1429.icon-grid { 1430spacing: 30px; 1431-shell-grid-horizontal-item-size: 136px; 1432-shell-grid-vertical-item-size: 136px; 1433 1434.overview-icon { icon-size: 96px; } 1435} 1436//.app-display { spacing: 20px; } 1437 1438.app-view-controls { //favorties | all toggle container 1439width: 320px; 1440padding-bottom: 32px; 1441} 1442.app-view-control { //favorties | all toggle button 1443padding: 0 16px; 1444font-weight: bold; 1445color: $secondary_selected_fg_color; 1446&:hover { 1447color: $selected_fg_color; 1448background-color: $selected_semi_track_color !important; 1449} 1450&:active { 1451color: $selected_fg_color; 1452background-color: $selected_track_color !important; 1453} 1454&:checked { 1455color: $selected_fg_color; 1456background-color: rgba($bg_color, 0.01) !important; 1457box-shadow: inset 0 2px 0 $selected_fg_color; 1458} 1459&:first-child { 1460border-right-width: 0; 1461border-radius: 2px; 1462&:checked { border-radius: 0; } 1463} 1464&:last-child { 1465border-radius: 2px; 1466&:checked { border-radius: 0; } 1467} 1468} 1469 1470//Icon tile 1471.search-provider-icon, 1472.list-search-result { 1473@extend %icon_tile; 1474&:focus, &:selected, &:hover { 1475background-color: $selected_semi_track_color; 1476transition-duration: 0s; 1477} 1478&:active, &:checked { 1479background-color: $selected_track_color; 1480transition-duration: 0.2s; 1481} 1482} 1483.app-well-app, 1484.app-well-app.app-folder, 1485.show-apps, 1486.grid-search-result { 1487& .overview-icon { 1488@extend %icon_tile; 1489} 1490&:hover .overview-icon, 1491&:focus .overview-icon, 1492&:selected .overview-icon { 1493background-color: $selected_semi_track_color; 1494transition-duration: 0s; 1495border-image: none; 1496background-image: none; 1497} 1498&:active .overview-icon, 1499&:checked .overview-icon { 1500background-color: $selected_track_color; 1501box-shadow: $z-depth-0; 1502transition-duration: 0.2s; 1503} 1504 1505} 1506 1507.app-well-app-running-dot { //running apps indicator 1508width: 32px; height: 2px; 1509background-color: $selected_fg_color; 1510margin-bottom: 0; 1511} 1512 1513%icon_tile { 1514color: $selected_fg_color; 1515border-radius: 2px; 1516padding: 6px; 1517border: none; 1518transition-duration: 0.2s; 1519text-align: center; 1520} 1521 1522.app-well-app.app-folder > .overview-icon { 1523background-color: $overview_bg_color; 1524} 1525 1526.show-apps .show-apps-icon { 1527color: $secondary_selected_fg_color; 1528} 1529 1530.show-apps:hover .show-apps-icon, 1531.show-apps:active .show-apps-icon, 1532.show-apps:checked .show-apps-icon, 1533.show-apps:focus .show-apps-icon { 1534color: $selected_fg_color; 1535transition-duration: 0.2s; 1536} 1537 1538 1539// Collections 1540.app-folder-popup { //expanded collection 1541-arrow-border-radius: 2px; 1542-arrow-background-color: $overview_bg_color; 1543-arrow-base: 24px; 1544-arrow-rise: 12px; 1545} 1546.app-folder-popup-bin { padding: 5px; } 1547.app-folder-icon { 1548padding: 5px; 1549spacing-rows: 5px; 1550spacing-columns: 5px; 1551} 1552 1553.page-indicator { 1554padding: 15px 20px; 1555 1556.page-indicator-icon { 1557width: 12px; 1558height: 12px; 1559border-radius: 12px; 1560background-image: none; 1561background-color: scale-alpha($selected_fg_color, $lower_opacity); 1562} 1563&:hover .page-indicator-icon { 1564background-image: none; 1565background-color: scale-alpha($selected_fg_color, $middle_opacity); 1566} 1567&:active .page-indicator-icon { 1568background-image: none; 1569background-color: scale-alpha($selected_fg_color, $higher_opacity); 1570} 1571&:checked .page-indicator-icon, 1572&:checked:active { 1573background-image: none; 1574background-color: $selected_fg_color; 1575transition-duration: 0s; 1576} 1577} 1578 1579.no-frequent-applications-label { @extend %status_text; } 1580 1581.app-well-app > .overview-icon.overview-icon-with-label, 1582.grid-search-result .overview-icon.overview-icon-with-label { 1583padding: 10px 8px 5px 8px; 1584spacing: 4px; 1585} 1586 1587// Workspace pager 1588.workspace-thumbnails { //container ala dash 1589@extend %overview-panel; 1590visible-width: 32px; //amount visible before hover 1591spacing: 12px; 1592padding: 12px; 1593border-radius: 2px 0 0 2px; 1594//border-width: 0; //fixme: can't have non unoform borders :( 1595&:rtl { border-radius: 0 2px 2px 0;} 1596} 1597.workspace-thumbnail-indicator { 1598border: 0 solid $selected_fg_color; 1599border-left-width: 2px; 1600padding: 6px; 1601border-radius: 0; 1602} 1603 1604//Some hacks I don't even 1605.search-display > StBoxLayout, 1606.all-apps, 1607.frequent-apps > StBoxLayout { 1608// horizontal padding to make sure scrollbars or dash don't overlap content 1609padding: 0px 88px 10px 88px; 1610} 1611 1612%overview-panel { 1613color: $selected_fg_color; 1614background-color: $overview_bg_color; 1615border: none; 1616} 1617 1618%status_text { 1619@include font(display-2); 1620color: $tertiary_selected_fg_color; 1621} 1622 1623/* NOTIFICATIONS & MESSAGE TRAY */ 1624 1625.url-highlighter { link-color: $link_color; } 1626 1627// Banners 1628.notification-banner { 1629font-size: 1em; 1630width: 34em; 1631min-height: $menuitem_size * 2; 1632margin: 5px; 1633border-radius: 2px; 1634color: $fg_color; 1635background-color: $base_color; 1636border: none; 1637box-shadow: $z-depth-2; 1638&:hover { background-color: $base_color; } 1639&:focus { background-color: $base_color; } 1640 1641.notification-icon { padding: 5px; } 1642.notification-content { padding: 5px; spacing: 5px; } 1643.secondary-icon { @include px-to-em(16px); } 1644.notification-actions { 1645background-color: transparent; 1646padding-top: 0; 1647border-top: 1px solid $borders_color; 1648spacing: 1px; 1649} 1650.notification-button { 1651min-height: 40px; 1652padding: 0 16px; 1653background-color: transparent; 1654color: $secondary_fg_color; 1655font-weight: 500; 1656&:first-child { border-radius: 0 0 0 2px; } 1657&:last-child { border-radius: 0 0 2px 0; } 1658&:hover, &focus { background-color: $semi_track_color; color: $fg_color; } 1659&:active { background-color: $track_color; color: $fg_color; } 1660} 1661} 1662.summary-source-counter { 1663font-size: 1em; 1664font-weight: bold; 1665height: 1.6em; width: 1.6em; 1666-shell-counter-overlap-x: 3px; 1667-shell-counter-overlap-y: 3px; 1668background-color: $selected_bg_color; 1669color: $selected_fg_color; 1670border: 2px solid $selected_fg_color; 1671box-shadow: 0 2px 2px rgba(0,0,0,0.5); 1672border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%; 1673} 1674 1675.secondary-icon { @include px-to-em(16px); } 1676 1677//chat bubbles 1678.chat-body { spacing: 5px; } 1679.chat-response { margin: 5px; } 1680.chat-log-message { color: $fg_color; } 1681.chat-new-group { padding-top: 1em; } 1682.chat-received { 1683padding-left: 4px; 1684&:rtl { padding-left: 0px; padding-right: 4px; } 1685} 1686.chat-sent { 1687padding-left: 18pt; 1688color: $secondary_fg_color; 1689&:rtl { padding-left: 0; padding-right: 18pt; } 1690} 1691.chat-meta-message { 1692padding-left: 4px; 1693@include font(caption); 1694color: $tertiary_fg_color; 1695&:rtl { padding-left: 0; padding-right: 4px; } 1696} 1697 1698//hotplug 1699.hotplug-transient-box { 1700spacing: 6px; 1701padding: 2px 72px 2px 12px; 1702} 1703.hotplug-notification-item { 1704padding: 2px 10px; 1705&:focus { padding: 1px 71px 1px 11px; } 1706} 1707 1708.hotplug-notification-item-icon { 1709icon-size: 24px; 1710padding: 2px 5px; 1711} 1712 1713.hotplug-resident-box { spacing: 8px; } 1714 1715.hotplug-resident-mount { 1716spacing: 8px; 1717border-radius: 2px; 1718&:hover { background-color: $semi_track_color; } 1719&:active { background-color: $track_color; } 1720} 1721 1722.hotplug-resident-mount-label { 1723color: inherit; 1724padding-left: 6px; 1725} 1726 1727.hotplug-resident-mount-icon { 1728icon-size: 24px; 1729padding-left: 6px; 1730} 1731 1732.hotplug-resident-eject-icon { 1733icon-size: 16px; 1734} 1735 1736.hotplug-resident-eject-button { 1737padding: 7px; 1738border-radius: 2px; 1739color: $fg_color; 1740} 1741 1742/* Eeeky things */ 1743 1744$legacy_icon_size: 24px; 1745 1746.legacy-tray { 1747background-color: $bg_color; 1748color: $selected_fg_color; 1749border: none; 1750border-bottom-width: 0; 1751&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; } 1752&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; } 1753} 1754 1755.legacy-tray-handle, 1756.legacy-tray-icon { 1757padding: 6px; 1758& StIcon { icon-size: $legacy_icon_size; } 1759&:hover,&:focus { background-color: $selected_semi_track_color; } 1760&:active { background-color: $selected_track_color; } 1761} 1762 1763.legacy-tray-icon-box { 1764spacing: 12px; 1765&:ltr { padding-left: 12px; } 1766&:rtl { padding-right: 12px; } 1767& StButton { width: $legacy_icon_size; height: $legacy_icon_size } 1768} 1769 1770//magnifier 1771 1772.magnifier-zoom-region { 1773border: 2px solid $selected_bg_color; 1774&.full-screen { border-width: 0; } 1775} 1776 1777//Keyboard 1778/* On-screen Keyboard */ 1779 1780#keyboard { 1781background-color: $osd_bg_color; 1782} 1783 1784.keyboard-layout { 1785spacing: 10px; 1786padding: 10px; 1787} 1788 1789.keyboard-row { spacing: 15px; } 1790 1791.keyboard-key { 1792min-height: $medium_size * 2; 1793min-width: $medium_size * 2; 1794font-size: 2em; 1795font-weight: 500; 1796border-radius: 2px; 1797border: none; 1798color: inherit; 1799@include button(normal); 1800&:focus { @include button(focus); } 1801&:hover,&:checked { @include button(hover); } 1802&:active { @include button(active);} 1803&:grayed { //FIXME 1804background-color: $osd_bg_color; 1805color: $selected_fg_color; 1806border-color: $osd_bg_color; 1807} 1808} 1809 1810.keyboard-subkeys { //long press on a key popup 1811color: inherit; 1812padding: 5px; 1813-arrow-border-radius: 0; 1814-arrow-background-color: transparent; 1815-arrow-border-width: 0; 1816-arrow-border-color: transparent; 1817-arrow-base: 0; 1818-arrow-rise: 0; 1819-boxpointer-gap: 5px; 1820background-color: $base_color; 1821border-radius: 2px; 1822box-shadow: $z-depth-2; 1823} 1824 1825// IBus Candidate Popup 1826 1827.candidate-popup-content { 1828padding: 8px; 1829spacing: 0; 1830} 1831 1832.candidate-index { 1833padding: 0 4px 0 0; 1834color: $tertiary_fg_color; 1835.candidate-box:selected & { color: $tertiary_selected_fg_color; } 1836} 1837 1838.candidate-box { 1839transition-duration: 0s; 1840min-height: $menuitem_size; 1841padding: 0 8px; 1842border-radius: 2px; 1843&:hover { background-color: $semi_track_color; color: $fg_color; } 1844&:active { background-color: $track_color; color: $fg_color; } 1845&:selected { background-color: $selected_bg_color; color: $selected_fg_color; } 1846} 1847 1848.candidate-page-button-box { 1849height: $menuitem_size; 1850.vertical & { padding-top: 0; } 1851.horizontal & { padding-left: 0; } 1852} 1853 1854.candidate-page-button { 1855min-width: $menuitem_size; 1856min-height: $menuitem_size; 1857padding: 0; 1858} 1859 1860.candidate-page-button-previous { border-radius: 2px; border-right-width: 0; } 1861.candidate-page-button-next { border-radius: 2px; } 1862.candidate-page-button-icon { @include px-to-em(16px); } 1863 1864/* Auth Dialogs & Screen Shield */ 1865 1866.framed-user-icon { 1867background-size: contain; 1868border: none; 1869color: $selected_fg_color; 1870border-radius: 2px; 1871&:hover { 1872border-color: $selected_fg_color; 1873color: $selected_fg_color; 1874} 1875} 1876 1877// LOGIN DIALOG 1878 1879.login-dialog-banner-view { 1880padding-top: 24px; 1881max-width: 23em; 1882} 1883 1884.login-dialog { 1885//reset 1886border: none; 1887background-color: transparent; 1888 1889StEntry { 1890color: $selected_fg_color; 1891selection-background-color: $selected_track_color; 1892selected-color: $selected_fg_color; 1893@include entry(normal, $fc:$selected_track_color); 1894&:focus { @include entry(focus, $fc:$selected_fg_color); } 1895&:insensitive { 1896@include entry(insensitive, $fc:$selected_insensitive_track_color); 1897color: $insensitive_selected_fg_color; 1898} 1899} 1900 1901.modal-dialog-button-box { spacing: 3px; } 1902.modal-dialog-button { 1903padding: 0 16px; 1904@include button(flat-normal, $tc:$secondary_selected_fg_color); 1905&:hover,&:focus { @include button(flat-hover, $c:$selected_semi_track_color, $tc:$selected_fg_color); } 1906&:active { @include button(flat-active, $c:$selected_track_color, $tc:$selected_fg_color); } 1907&:insensitive { @include button(flat-insensitive, $tc:$insensitive_secondary_selected_fg_color); } 1908&:default { 1909@include button(normal, $c:$suggested_color, $tc:$selected_fg_color); 1910&:hover,&:focus { @include button(hover, $c:$suggested_color, $tc:$selected_fg_color); } 1911&:active { @include button(active, $c:$suggested_color, $tc:$selected_fg_color); } 1912&:insensitive { @include button(insensitive, $c:$selected_insensitive_track_color, $tc:$insensitive_selected_fg_color); } 1913 1914} 1915} 1916 1917} 1918 1919.login-dialog-logo-bin { padding: 24px 0px; } 1920.login-dialog-banner { color: $secondary_selected_fg_color; } 1921.login-dialog-button-box { spacing: 5px; } 1922.login-dialog-message-warning { color: $warning_color; } 1923.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; } 1924.login-dialog-user-selection-box { 1925padding: 100px 0px; 1926.login-dialog-not-listed-label { 1927padding-left: 2px; 1928.login-dialog-not-listed-button:focus &, 1929.login-dialog-not-listed-button:hover & { 1930color: $selected_fg_color; 1931} 1932} 1933} 1934.login-dialog-not-listed-label { 1935font-size: 1em; 1936font-weight: bold; 1937color: $secondary_selected_fg_color; 1938padding-top: 1em; 1939&:hover { color: $selected_fg_color; } 1940&:focus { background-color: $selected_semi_track_color; } 1941} 1942 1943.login-dialog-user-list-view { -st-vfade-offset: 1em; } 1944.login-dialog-user-list { 1945spacing: 12px; 1946padding: .2em; 1947width: 23em; 1948&:expanded .login-dialog-user-list-item:focus { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1949&:expanded .login-dialog-user-list-item:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1950&:expanded .login-dialog-user-list-item:active { background-color: $selected_track_color; color: $selected_fg_color; } 1951&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_fg_color; } 1952} 1953.login-dialog-user-list-item { 1954border-radius: 2px; 1955padding: .2em; 1956color: $secondary_selected_fg_color; 1957&:ltr { padding-right: 1em; } 1958&:rtl { padding-left: 1em; } 1959&:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1960&:active { background-color: $selected_track_color; color: $selected_fg_color; } 1961.login-dialog-timed-login-indicator { 1962height: 2px; 1963margin: 2px 0 0 0; 1964background-color: $selected_fg_color; 1965} 1966&:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; } 1967} 1968 1969.login-dialog-username, 1970.user-widget-label { 1971color: $selected_fg_color; 1972@include font(title); 1973text-align: left; 1974padding-left: 15px; 1975} 1976.user-widget-label { 1977&:ltr { padding-left: 18px; } 1978&:rtl { padding-right: 18px; } 1979} 1980 1981.login-dialog-prompt-layout { 1982padding-top: 24px; 1983padding-bottom: 12px; 1984spacing: 8px; 1985width: 23em; 1986} 1987 1988.login-dialog-prompt-label { 1989color: $tertiary_selected_fg_color; 1990font-size: 1em; 1991padding-top: 1em; 1992} 1993 1994.login-dialog-session-list-button StIcon { 1995icon-size: 1.25em; 1996} 1997 1998.login-dialog-session-list-button { 1999color: $secondary_selected_fg_color; 2000&:hover,&:focus { color: $selected_fg_color; } 2001&:active { color: $selected_fg_color; } 2002} 2003 2004//SCREEN SHIELD 2005 2006.screen-shield-arrows { 2007padding-bottom: 3em; 2008} 2009 2010.screen-shield-arrows Gjs_Arrow { 2011color: white; 2012width: 80px; 2013height: 48px; 2014-arrow-thickness: 12px; 2015-arrow-shadow: $z-depth-1; 2016} 2017 2018.screen-shield-clock { 2019color: white; 2020text-shadow: $z-depth-1; 2021font-weight: normal; 2022text-align: center; 2023padding-bottom: 1.5em; 2024} 2025 2026.screen-shield-clock-time { 2027@include font(display-4); 2028text-shadow: $z-depth-1; 2029} 2030 2031.screen-shield-clock-date { @include font(display-2); } 2032 2033.screen-shield-notifications-container { 2034spacing: 6px; 2035width: 30em; 2036background-color: transparent; 2037max-height: 500px; 2038.summary-notification-stack-scrollview { 2039padding-top: 0; 2040padding-bottom: 0; 2041} 2042 2043.notification, 2044.screen-shield-notification-source { 2045padding: 8px; 2046border: none; 2047background-color: $osd_bg_color; 2048color: $selected_fg_color; 2049border-radius: 2px; 2050} 2051.notification { margin-right: 16px; } //compensate for space allocated to the scrollbar 2052} 2053 2054 2055.screen-shield-notification-label { 2056min-height: $small_size - 2px; 2057padding: 2px 0px 0px 16px; 2058font-weight: bold; 2059} 2060 2061.screen-shield-notification-count-text { 2062min-height: $small_size - 2px; 2063padding: 2px 0px 0px 16px; 2064color: $secondary_selected_fg_color; 2065} 2066 2067#panel.lock-screen { background-color: $osd_bg_color; } 2068 2069.screen-shield-background { //just the shadow, really 2070background: black; 2071box-shadow: $z-depth-5; 2072} 2073 2074#lockDialogGroup { 2075background: #607D8B url("assets/noise-texture.svg"); 2076background-size: cover; 2077} 2078 2079#screenShieldNotifications { 2080StScrollBar { @extend %overview_scrollbar; } 2081} 2082 2083 2084// Looking Glass 2085#LookingGlassDialog { 2086background-color: $base_color; 2087spacing: 4px; 2088padding: 0; 2089border: none; 2090border-radius: 2px; 2091box-shadow: $z-depth-4; 2092& > #Toolbar { 2093padding: 0 8px; 2094border: none; 2095border-radius: 0; 2096background-color: rgba($base_color, 0.01); 2097box-shadow: inset 0 -1px 0 $borders_color; 2098} 2099.labels { spacing: 0; } 2100.notebook-tab { 2101-natural-hpadding: 12px; 2102-minimum-hpadding: 6px; 2103font-weight: bold; 2104color: $tertiary_fg_color; 2105transition-duration: 0.2s; 2106padding-left: 16px; 2107padding-right: 16px; 2108min-height: $medium_size; 2109padding: 0 16px * 2; 2110&:hover { 2111box-shadow: inset 0 -2px 0px $track_color; 2112color: $fg_color; 2113text-shadow: none; 2114} 2115&:selected { 2116border-bottom-width: 0; 2117border-color: transparent; 2118background-color: rgba($base_color, 0.01); 2119box-shadow: inset 0 -2px 0px $selected_bg_color; 2120color: $fg_color; 2121text-shadow: none; 2122} 2123} 2124StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } 2125StBoxLayout#ResultsArea { spacing: 4px; } 2126} 2127 2128.lg-dialog { 2129StEntry { 2130selection-background-color: $selected_bg_color; 2131selected-color: $selected_fg_color; 2132} 2133.shell-link { 2134color: $link_color; 2135&:hover { color: $link_color; } 2136} 2137} 2138 2139.lg-completions-text { 2140font-size: 1em; 2141font-style: italic; 2142} 2143 2144.lg-obj-inspector-title { 2145spacing: 4px; 2146} 2147 2148.lg-obj-inspector-button { 2149min-height: $medium_size; 2150padding: 0 16px; 2151border: none; 2152border-radius: 2px; 2153@include font(button); 2154@include button(flat-normal); 2155&:hover { @include button(flat-hover); } 2156&:active { @include button(flat-active); } 2157&:insensitive { @include button(flat-insensitive); } 2158&:focus { @include button(flat-focus); } 2159&:hover { border: none; } 2160} 2161 2162#lookingGlassExtensions { padding: 4px; } 2163 2164.lg-extensions-list { 2165padding: 4px; 2166spacing: 6px; 2167} 2168 2169.lg-extension { 2170border: none; 2171border-radius: 2px; 2172padding: 4px; 2173} 2174 2175.lg-extension-name { 2176@include font(headline); 2177} 2178 2179.lg-extension-meta { 2180spacing: 6px; 2181} 2182 2183#LookingGlassPropertyInspector { 2184background: $base_color; 2185border: none; 2186border-radius: 2px; 2187padding: 6px; 2188box-shadow: $z-depth-4; 2189} 2190