_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.level-bar { 680background-color: $selected_bg_color; 681border-radius: 2px; 682} 683} 684 685/* App Switcher */ 686.switcher-popup { 687padding: 8px; 688spacing: 16px; 689} 690 691.osd-window, 692.resize-popup, 693.switcher-list { 694@extend %osd-panel; 695} 696 697.switcher-list-item-container { spacing: 8px; } 698 699.switcher-list .item-box { 700padding: 8px; 701border-radius: 2px; 702} 703 704.switcher-list .item-box:outlined { 705padding: 8px; 706border: none; 707background-color: $insensitive_track_color; 708} 709 710.switcher-list .item-box:selected { 711background-color: $selected_bg_color; 712color: $selected_fg_color; 713} 714 715.switcher-list .thumbnail-box { 716padding: 2px; 717spacing: 4px; 718} 719 720.switcher-list .thumbnail { 721width: 256px; 722} 723 724.switcher-list .separator { 725width: 1px; 726background: $borders_color; 727} 728 729.switcher-arrow { 730border-color: rgba(0,0,0,0); 731color: $tertiary_fg_color; 732&:highlighted { 733color: $fg_color; 734} 735} 736 737.input-source-switcher-symbol { 738@include font(display-2); 739width: 96px; 740height: 96px; 741} 742 743/* Workspace Switcher */ 744.workspace-switcher-group { padding: 8px; } 745 746.workspace-switcher-container { 747@extend %osd-panel; 748} 749 750.workspace-switcher { 751background: transparent; 752border: 0px; 753border-radius: 0px; 754padding: 0px; 755spacing: 8px; 756} 757 758.ws-switcher-active-up, .ws-switcher-active-down { 759height: $large_size; 760background-color: $selected_bg_color; 761color: $selected_fg_color; 762background-size: 32px; 763border-radius: 2px; 764} 765 766.ws-switcher-box { 767height: $large_size; 768border: none; 769background: $insensitive_track_color; 770border-radius: 2px; 771} 772 773%osd-panel { 774color: $fg_color; 775background-color: $base_color; 776border: none; 777box-shadow: $z-depth-4; 778border-radius: 2px; 779padding: 12px; 780} 781 782/* Tiled window previews */ 783.tile-preview { 784background-color: scale-alpha($secondary_selected_bg_color, $lower_opacity); 785border: 1px solid $secondary_selected_bg_color; 786} 787 788.tile-preview-left.on-primary { 789border-radius: $panel-corner-radius $panel-corner-radius 0 0; 790} 791 792.tile-preview-right.on-primary { 793border-radius: 0 $panel-corner-radius 0 0; 794} 795 796.tile-preview-left.tile-preview-right.on-primary { 797border-radius: $panel-corner-radius $panel-corner-radius 0 0; 798} 799 800/* TOP BAR */ 801 802#panel { 803background-color: $topbar_color; 804font-weight: bold; 805height: $menuitem_size; 806 807&:overview, 808&.unlock-screen, 809&.login-screen, 810&.lock-screen { 811background-color: transparent; 812} 813 814#panelLeft, #panelCenter { // spacing between activities<>app menu and such 815spacing: 0; 816} 817 818.panel-corner { 819-panel-corner-radius: $panel-corner-radius; 820-panel-corner-background-color: $bg_color; 821-panel-corner-border-width: 2px; 822-panel-corner-border-color: transparent; 823 824&:active, &:overview, &:focus { 825-panel-corner-border-color: $selected_fg_color; 826} 827 828&.lock-screen, &.login-screen, &.unlock-screen { 829-panel-corner-radius: 0; 830-panel-corner-background-color: transparent; 831-panel-corner-border-color: transparent; 832} 833} 834 835.panel-button { 836-natural-hpadding: 12px; 837-minimum-hpadding: 6px; 838font-weight: bold; 839color: $secondary_selected_fg_color; 840transition-duration: 0.2s; 841 842.app-menu-icon { 843-st-icon-style: symbolic; 844margin-left: 4px; 845margin-right: 4px; 846//dimensions of the icon are hardcoded 847} 848 849&:hover { 850color: $selected_fg_color; 851} 852 853&:active, &:overview, &:focus, &:checked { 854// Trick due to St limitations. It needs a background to draw 855// a box-shadow 856background-color: rgba($bg_color, 0.01); 857box-shadow: inset 0 -2px 0px $selected_fg_color; 858color: $selected_fg_color; 859 860& > .system-status-icon { icon-shadow: none; } 861} 862 863.system-status-icon { @include px-to-em(16px); padding: 0 4px; } 864.unlock-screen &, 865.login-screen &, 866.lock-screen & { 867color: $secondary_selected_fg_color; 868&:focus, &:hover, &:active { color: $selected_fg_color; } 869} 870} 871 872.panel-status-indicators-box, 873.panel-status-menu-box { 874spacing: 2px; 875} 876 877// spacing between power icon and (optional) percentage label 878.power-status.panel-status-indicators-box { 879spacing: 0; 880} 881 882.screencast-indicator { color: $warning_color; } 883} 884 885// calendar popover 886#calendarArea { 887padding: 8px 16px; 888} 889 890.calendar { 891margin-bottom: 0; 892} 893 894.calendar, 895.datemenu-today-button, 896.datemenu-displays-box, 897.message-list-sections { 898margin: 0 8px; 899} 900 901.datemenu-calendar-column { spacing: 8px; } 902.datemenu-displays-section { padding-bottom: 0; } 903 904.datemenu-today-button, 905.world-clocks-button, 906.message-list-section-title { 907min-height: $menuitem_size - 4px * 2; 908padding: 4px 8px; 909border-radius: 2px; 910} 911 912.datemenu-today-button { 913min-height: $menuitem_size * 2 - 4px * 2; 914} 915 916.message-list-section-list:ltr { 917padding-left: 0; 918} 919 920.message-list-section-list:rtl { 921padding-right: 0; 922} 923 924.datemenu-today-button, 925.world-clocks-button, 926.message-list-section-title { 927&:hover,&:focus { color: $fg_color; background-color: $semi_track_color; } 928&:active { 929color: $fg_color; 930background-color: $track_color; 931} 932} 933 934.datemenu-today-button .day-label { 935} 936 937.datemenu-today-button .date-label { 938@include font(headline); 939} 940 941.world-clocks-header, 942.message-list-section-title { 943color: $secondary_fg_color; 944font-weight: bold; 945} 946 947.world-clocks-grid { 948spacing-rows: 0.4em; 949} 950 951.calendar-month-label { 952height: $menuitem_size - 6px * 2; 953margin: 2px; 954padding: 6px 16px; 955border-radius: 2px; 956color: $fg_color; 957font-weight: bold; 958text-align: center; 959&:focus { background-color: $semi_track_color; } 960} 961 962.pager-button { 963width: $menuitem_size; 964height: $menuitem_size; 965margin: 2px; 966border-radius: 100px; 967background-color: transparent; 968color: $fg_color; 969&:hover, &:focus { background-color: $semi_track_color; } 970&:active { background-color: $track_color; } 971} 972 973.calendar-change-month-back { //arrow back 974background-image: url("assets/calendar-arrow-left.svg"); 975&:rtl { background-image: url("assets/calendar-arrow-right.svg"); } 976} 977.calendar-change-month-forward { //arrow foreward 978background-image: url("assets/calendar-arrow-right.svg"); 979&:rtl { background-image: url("assets/calendar-arrow-left.svg"); } 980} 981 982.calendar-day-base { 983@include font(caption); 984text-align: center; 985width: $menuitem_size; height: $menuitem_size; 986padding: 0; 987margin: 2px; 988border-radius: 100px; 989&:hover,&:focus { background-color: $semi_track_color; } 990// &:active { background-color: $track_color; } 991&:active, &:selected { 992color: $selected_fg_color; 993background-color: $selected_bg_color !important; 994border-color: transparent; //avoid jumparound due to today 995} 996&.calendar-day-heading { //day of week heading 997width: $menuitem_size; height: $menuitem_size - 7px; 998margin-top: 2px; 999padding: 7px 0 0; 1000border-radius: 100px; 1001background-color: transparent; 1002color: $tertiary_fg_color; 1003@include font(caption); 1004font-weight: bold; 1005text-align: center; 1006} 1007} 1008.calendar-day { //border collapse hack - see calendar.js 1009border-width: 0; 1010} 1011.calendar-day-top { border-top-width: 0; } 1012.calendar-day-left { border-left-width: 0; } 1013.calendar-work-day { 1014 1015} 1016.calendar-nonwork-day { 1017color: $fg_color; 1018} 1019.calendar-today { 1020font-weight: bold !important; 1021//color: $fg_color; 1022//background-color: transparent; 1023border: none; 1024} 1025.calendar-day-with-events { 1026color: $link_color; 1027font-weight: normal; 1028text-decoration: underline; 1029background-image: none; 1030} 1031.calendar-other-month-day { 1032color: $insensitive_fg_color; 1033opacity: 0.5; 1034} 1035.calendar-week-number { 1036width: $menuitem_size; height: $menuitem_size - 7px; 1037margin: 2px; 1038padding: 7px 0 0; 1039border-radius: 100px; 1040background-color: transparent; 1041color: $tertiary_fg_color; 1042font-size: inherit; 1043font-weight: bold; 1044text-align: center; 1045} 1046 1047/* Message list */ 1048.message-list { 1049width: 420px; 1050} 1051 1052.message-list-sections { 1053spacing: 8px; 1054} 1055 1056.message-list-section, 1057.message-list-section-list { 1058spacing: 8px; 1059} 1060 1061.message-list-section-title-box { 1062spacing: 8px; 1063} 1064 1065.message-list-section-close > StIcon { 1066icon-size: 16px; 1067border-radius: 16px; 1068padding: 8px; 1069color: $secondary_fg_color; 1070background-color: transparent; 1071} 1072 1073/* FIXME: how do you do this in sass? */ 1074.message-list-section-close:hover > StIcon, 1075.message-list-section-close:focus > StIcon { 1076color: $fg_color; 1077background-color: $semi_track_color; 1078} 1079 1080.message-list-section-close:active > StIcon { 1081color: $fg_color; 1082background-color: $track_color; 1083} 1084 1085.message { 1086min-height: $menuitem_size * 2; 1087background-color: transparent; 1088&:hover,&:focus { background-color: $semi_track_color; } 1089&:active { background-color: $track_color; } 1090border-radius: 2px; 1091} 1092 1093.message-icon-bin { 1094padding: 8px 0px 8px 8px; 1095&:rtl { padding: 8px 8px 8px 0px; } 1096} 1097 1098.message-icon-bin > StIcon { 1099icon-size: 32px; 1100} 1101 1102.message-secondary-bin { 1103&:ltr { padding-left: 8px; } 1104&:rtl { padding-right: 8px; } 1105} 1106 1107.message-secondary-bin { 1108color: $tertiary_fg_color; 1109} 1110 1111.message-secondary-bin > StIcon { 1112icon-size: 16px; 1113} 1114 1115.message-title { 1116min-height: $small_size - 2px; 1117padding-top: 2px; 1118color: $fg_color; 1119font-weight: bold; 1120font-size: 1em; 1121} 1122 1123.message-content { 1124padding: 8px; 1125color: $secondary_fg_color; 1126font-size: 1em; 1127} 1128 1129.message-content * > StIcon { 1130icon-size: 16px; 1131border-radius: 16px; 1132padding: 4px; 1133color: $secondary_fg_color; 1134} 1135 1136/* FIXME: how do you do this in sass? */ 1137.message-content *:hover > StIcon, 1138.message-content *:focus > StIcon { 1139color: $fg_color; 1140background-color: $semi_track_color; 1141} 1142 1143.message-content *:active > StIcon { 1144color: $fg_color; 1145background-color: $track_color; 1146} 1147 1148.message-media-control { 1149margin: 16px 0; 1150padding: 8px; 1151border-radius: 100px; 1152color: $secondary_fg_color; 1153&:hover,&:focus { color: $fg_color; background-color: $semi_track_color; } 1154&:active { color: $fg_color; background-color: $track_color; } 1155&:insensitive { color: $insensitive_secondary_fg_color; } 1156 1157&:last-child:ltr { margin-right: 16px; padding-right: 8px; } 1158&:last-child:rtl { margin-left: 16px; padding-left: 8px; } 1159} 1160 1161.media-message-cover-icon { 1162icon-size: 32px; 1163&.fallback { 1164icon-size: 16px; 1165padding: 8px; 1166border: none; 1167border-radius: 2px; 1168background-color: $semi_track_color; 1169color: $tertiary_fg_color; 1170} 1171} 1172 1173 1174// a little unstructured mess: 1175 1176.system-switch-user-submenu-icon.user-icon { 1177icon-size: 24px; 1178padding: 0 0; 1179} 1180.system-switch-user-submenu-icon.default-icon { 1181icon-size: 16px; 1182padding: 0 4px; 1183} 1184 1185#appMenu { 1186spinner-image: url("process-working.svg"); 1187spacing: 4px; 1188 1189.label-shadow { color: transparent; } 1190} 1191 1192.aggregate-menu { 1193min-width: 280px; 1194.popup-menu-icon { padding: 0 4px; } 1195} 1196 1197.system-menu-action { 1198color: $secondary_fg_color; 1199border-radius: 100px; /* wish we could do 50% */ 1200padding: ($large_size - 16px) / 2; 1201border: none; 1202 1203&:hover, &:focus { 1204background-color: $semi_track_color; 1205color: $fg_color; 1206border: none; 1207padding: 16px; 1208} 1209&:active { background-color: $track_color; color: $fg_color; } 1210 1211& > StIcon { icon-size: 16px; } 1212} 1213 1214//Activities Ripples 1215.ripple-box { 1216width: 48px; 1217height: 48px; 1218background-image: url("assets/corner-ripple-ltr.svg"); 1219background-size: contain; 1220} 1221 1222.ripple-box:rtl { 1223background-image: url("assets/corner-ripple-rtl.svg"); 1224} 1225 1226// not really top bar only 1227.popup-menu-arrow { width: 16px; height: 16px; } 1228.popup-menu-icon { @include px-to-em(16px); } 1229 1230//close buttons 1231 1232.window-close { 1233height: $medium_size; 1234width: $medium_size; 1235-st-background-image-shadow: $z-depth-1; 1236background-image: url("assets/window-close.svg"); 1237background-size: $medium_size; 1238&:hover { -st-background-image-shadow: $z-depth-2; } 1239&:active { background-image: url("assets/window-close-active.svg"); } 1240} 1241.window-close { 1242-shell-close-overlap: $medium_size / 2; 1243&:rtl { -st-background-image-shadow: $z-depth-1; } 1244&:rtl:hover { -st-background-image-shadow: $z-depth-2; } 1245} 1246 1247/* NETWORK DIALOGS */ 1248 1249.nm-dialog { 1250max-height: 500px; 1251min-height: 450px; 1252min-width: 470px; 1253} 1254 1255.nm-dialog-content { 1256spacing: 20px; 1257padding: 24px; 1258} 1259.nm-dialog-header-hbox { spacing: 10px; } 1260.nm-dialog-airplane-box { spacing: 12px; } 1261 1262.nm-dialog-airplane-headline { 1263font-weight: bold; 1264text-align: center; 1265} 1266 1267.nm-dialog-airplane-text { color: $fg_color; } 1268.nm-dialog-header-icon { icon-size: 32px; } 1269.nm-dialog-scroll-view { border: 2px solid $borders_color; } 1270.nm-dialog-header { font-weight: bold; } 1271 1272.nm-dialog-item { 1273@include font(subheading); 1274border-bottom: 1px solid $borders_color; 1275padding: 12px; 1276spacing: 20px; 1277} 1278 1279.nm-dialog-item:selected { 1280background-color: $selected_bg_color; 1281color: $selected_fg_color; 1282} 1283 1284.nm-dialog-icons { spacing: .5em; } 1285.nm-dialog-icon { icon-size: 16px; } 1286.no-networks-label { color: $tertiary_fg_color; } 1287.no-networks-box { spacing: 12px; } 1288 1289/* OVERVIEW */ 1290 1291#overview { 1292spacing: 24px; // 1293StScrollBar { @extend %overview_scrollbar; } 1294} 1295 1296.overview-controls { 1297padding-bottom: 32px; 1298} 1299 1300.window-picker { //container around window thumbnails 1301-horizontal-spacing: 32px; 1302-vertical-spacing: 32px; 1303padding-left: 32px; 1304padding-right: 32px; 1305padding-bottom: 48px; 1306 1307&.external-monitor { padding: 32px; } 1308} 1309 1310.window-clone-border { 1311border: 4px solid $selected_track_color; 1312border-radius: 2px; 1313// For window decorations with round corners we can't match 1314// the exact shape when the window is scaled. So apply a shadow 1315// to fix that case 1316box-shadow: inset 0 0 0 1px $selected_track_color; 1317} 1318.window-caption { 1319spacing: 25px; 1320color: $selected_fg_color; 1321background-color: transparent; 1322border-radius: 2px; 1323padding: 4px 8px; 1324-shell-caption-spacing: 12px; 1325&:hover { background-color: $selected_track_color; color: $selected_fg_color; } 1326} 1327 1328//search entry 1329.search-entry { 1330width: 320px - 8px * 2; 1331padding: 0 8px; 1332border-radius: 0; 1333color: $tertiary_selected_fg_color; 1334selection-background-color: $selected_track_color; 1335selected-color: $selected_fg_color; 1336@include entry(normal,$fc:$selected_track_color); 1337&:focus { 1338@include entry(focus,$fc:$selected_fg_color); 1339padding: 0 8px; 1340border-width: 0; 1341color: $selected_fg_color; 1342} 1343 1344.search-entry-icon { icon-size: 16px; padding: 0 0; color: $tertiary_selected_fg_color; } 1345 1346&:hover, &:focus { 1347.search-entry-icon { color: $selected_fg_color; } 1348} 1349} 1350 1351//search results 1352 1353#searchResultsBin { 1354max-width: 1000px; 1355} 1356 1357#searchResultsContent { 1358padding-left: 20px; 1359padding-right: 20px; 1360spacing: 16px; 1361} 1362 1363.search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing 1364.search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container 1365.search-statustext { // "no results" 1366@extend %status_text; 1367} 1368.list-search-results { spacing: 3px; } 1369 1370.search-section-separator { 1371-gradient-height: 1px; 1372-gradient-start: rgba(255,255,255,0); 1373-gradient-end: rgba(255,255,255,0.4); 1374-margin-horizontal: 1.5em; 1375height: 1px; 1376} 1377 1378.list-search-result-content { spacing: 12px; padding: 12px; } 1379.list-search-result-title { @include font(headline); color: $selected_fg_color; } 1380.list-search-result-description { color: $secondary_selected_fg_color; } 1381.search-provider-icon { padding: 15px; } 1382.search-provider-icon-more { 1383width: 16px; 1384height: 16px; 1385background-image: url("assets/more-results.svg"); 1386} 1387 1388 1389/* DASHBOARD */ 1390 1391#dash { 1392font-size: 1em; 1393color: $selected_fg_color; 1394background-color: $overview_bg_color; 1395padding: 3px 0; 1396border: none; 1397border-left: 0px; 1398border-radius: 0px 2px 2px 0px; 1399 1400&:rtl { 1401border-radius: 2px 0 0 2px; 1402} 1403 1404.placeholder { 1405background-image: url("assets/dash-placeholder.svg"); 1406background-size: contain; 1407height: 24px; 1408} 1409 1410.empty-dash-drop-target { 1411width: 24px; 1412height: 24px; 1413} 1414 1415} 1416 1417.dash-item-container > StWidget { 1418padding: 3px 6px; 1419} 1420 1421.dash-label { //osd tooltip 1422min-height: 28px - 4px * 2; 1423border-radius: 2px; 1424padding: 4px 12px; 1425color: $fg_color; 1426background-color: $base_color; 1427box-shadow: $z-depth-2; 1428text-align: center; 1429-x-offset: 8px; 1430} 1431 1432/* App Vault/Grid */ 1433.icon-grid { 1434spacing: 30px; 1435-shell-grid-horizontal-item-size: 136px; 1436-shell-grid-vertical-item-size: 136px; 1437 1438.overview-icon { icon-size: 96px; } 1439} 1440//.app-display { spacing: 20px; } 1441 1442.app-view-controls { //favorties | all toggle container 1443width: 320px; 1444padding-bottom: 32px; 1445} 1446.app-view-control { //favorties | all toggle button 1447padding: 0 16px; 1448font-weight: bold; 1449color: $secondary_selected_fg_color; 1450&:hover { 1451color: $selected_fg_color; 1452background-color: $selected_semi_track_color !important; 1453} 1454&:active { 1455color: $selected_fg_color; 1456background-color: $selected_track_color !important; 1457} 1458&:checked { 1459color: $selected_fg_color; 1460background-color: rgba($bg_color, 0.01) !important; 1461box-shadow: inset 0 2px 0 $selected_fg_color; 1462} 1463&:first-child { 1464border-right-width: 0; 1465border-radius: 2px; 1466&:checked { border-radius: 0; } 1467} 1468&:last-child { 1469border-radius: 2px; 1470&:checked { border-radius: 0; } 1471} 1472} 1473 1474//Icon tile 1475.search-provider-icon, 1476.list-search-result { 1477@extend %icon_tile; 1478&:focus, &:selected, &:hover { 1479background-color: $selected_semi_track_color; 1480transition-duration: 0s; 1481} 1482&:active, &:checked { 1483background-color: $selected_track_color; 1484transition-duration: 0.2s; 1485} 1486} 1487.app-well-app, 1488.app-well-app.app-folder, 1489.show-apps, 1490.grid-search-result { 1491& .overview-icon { 1492@extend %icon_tile; 1493} 1494&:hover .overview-icon, 1495&:focus .overview-icon, 1496&:selected .overview-icon { 1497background-color: $selected_semi_track_color; 1498transition-duration: 0s; 1499border-image: none; 1500background-image: none; 1501} 1502&:active .overview-icon, 1503&:checked .overview-icon { 1504background-color: $selected_track_color; 1505box-shadow: $z-depth-0; 1506transition-duration: 0.2s; 1507} 1508 1509} 1510 1511.app-well-app-running-dot { //running apps indicator 1512width: 32px; height: 2px; 1513background-color: $selected_fg_color; 1514margin-bottom: 0; 1515} 1516 1517%icon_tile { 1518color: $selected_fg_color; 1519border-radius: 2px; 1520padding: 6px; 1521border: none; 1522transition-duration: 0.2s; 1523text-align: center; 1524} 1525 1526.app-well-app.app-folder > .overview-icon { 1527background-color: $overview_bg_color; 1528} 1529 1530.show-apps .show-apps-icon { 1531color: $secondary_selected_fg_color; 1532} 1533 1534.show-apps:hover .show-apps-icon, 1535.show-apps:active .show-apps-icon, 1536.show-apps:checked .show-apps-icon, 1537.show-apps:focus .show-apps-icon { 1538color: $selected_fg_color; 1539transition-duration: 0.2s; 1540} 1541 1542 1543// Collections 1544.app-folder-popup { //expanded collection 1545-arrow-border-radius: 2px; 1546-arrow-background-color: $overview_bg_color; 1547-arrow-base: 24px; 1548-arrow-rise: 12px; 1549} 1550.app-folder-popup-bin { padding: 5px; } 1551.app-folder-icon { 1552padding: 5px; 1553spacing-rows: 5px; 1554spacing-columns: 5px; 1555} 1556 1557.page-indicator { 1558padding: 15px 20px; 1559 1560.page-indicator-icon { 1561width: 12px; 1562height: 12px; 1563border-radius: 12px; 1564background-image: none; 1565background-color: scale-alpha($selected_fg_color, $lower_opacity); 1566} 1567&:hover .page-indicator-icon { 1568background-image: none; 1569background-color: scale-alpha($selected_fg_color, $middle_opacity); 1570} 1571&:active .page-indicator-icon { 1572background-image: none; 1573background-color: scale-alpha($selected_fg_color, $higher_opacity); 1574} 1575&:checked .page-indicator-icon, 1576&:checked:active { 1577background-image: none; 1578background-color: $selected_fg_color; 1579transition-duration: 0s; 1580} 1581} 1582 1583.no-frequent-applications-label { @extend %status_text; } 1584 1585.app-well-app > .overview-icon.overview-icon-with-label, 1586.grid-search-result .overview-icon.overview-icon-with-label { 1587padding: 10px 8px 5px 8px; 1588spacing: 4px; 1589} 1590 1591// Workspace pager 1592.workspace-thumbnails { //container ala dash 1593@extend %overview-panel; 1594visible-width: 32px; //amount visible before hover 1595spacing: 12px; 1596padding: 12px; 1597border-radius: 2px 0 0 2px; 1598//border-width: 0; //fixme: can't have non unoform borders :( 1599&:rtl { border-radius: 0 2px 2px 0;} 1600} 1601.workspace-thumbnail-indicator { 1602border: 0 solid $selected_fg_color; 1603border-left-width: 2px; 1604padding: 6px; 1605border-radius: 0; 1606} 1607 1608//Some hacks I don't even 1609.search-display > StBoxLayout, 1610.all-apps, 1611.frequent-apps > StBoxLayout { 1612// horizontal padding to make sure scrollbars or dash don't overlap content 1613padding: 0px 88px 10px 88px; 1614} 1615 1616%overview-panel { 1617color: $selected_fg_color; 1618background-color: $overview_bg_color; 1619border: none; 1620} 1621 1622%status_text { 1623@include font(display-2); 1624color: $tertiary_selected_fg_color; 1625} 1626 1627/* NOTIFICATIONS & MESSAGE TRAY */ 1628 1629.url-highlighter { link-color: $link_color; } 1630 1631// Banners 1632.notification-banner { 1633font-size: 1em; 1634width: 34em; 1635min-height: $menuitem_size * 2; 1636margin: 5px; 1637border-radius: 2px; 1638color: $fg_color; 1639background-color: $base_color; 1640border: none; 1641box-shadow: $z-depth-2; 1642&:hover { background-color: $base_color; } 1643&:focus { background-color: $base_color; } 1644 1645.notification-icon { padding: 5px; } 1646.notification-content { padding: 5px; spacing: 5px; } 1647.secondary-icon { @include px-to-em(16px); } 1648.notification-actions { 1649background-color: transparent; 1650padding-top: 0; 1651border-top: 1px solid $borders_color; 1652spacing: 1px; 1653} 1654.notification-button { 1655min-height: 40px; 1656padding: 0 16px; 1657background-color: transparent; 1658color: $secondary_fg_color; 1659font-weight: 500; 1660&:first-child { border-radius: 0 0 0 2px; } 1661&:last-child { border-radius: 0 0 2px 0; } 1662&:hover, &focus { background-color: $semi_track_color; color: $fg_color; } 1663&:active { background-color: $track_color; color: $fg_color; } 1664} 1665} 1666.summary-source-counter { 1667font-size: 1em; 1668font-weight: bold; 1669height: 1.6em; width: 1.6em; 1670-shell-counter-overlap-x: 3px; 1671-shell-counter-overlap-y: 3px; 1672background-color: $selected_bg_color; 1673color: $selected_fg_color; 1674border: 2px solid $selected_fg_color; 1675box-shadow: 0 2px 2px rgba(0,0,0,0.5); 1676border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%; 1677} 1678 1679.secondary-icon { @include px-to-em(16px); } 1680 1681//chat bubbles 1682.chat-body { spacing: 5px; } 1683.chat-response { margin: 5px; } 1684.chat-log-message { color: $fg_color; } 1685.chat-new-group { padding-top: 1em; } 1686.chat-received { 1687padding-left: 4px; 1688&:rtl { padding-left: 0px; padding-right: 4px; } 1689} 1690.chat-sent { 1691padding-left: 18pt; 1692color: $secondary_fg_color; 1693&:rtl { padding-left: 0; padding-right: 18pt; } 1694} 1695.chat-meta-message { 1696padding-left: 4px; 1697@include font(caption); 1698color: $tertiary_fg_color; 1699&:rtl { padding-left: 0; padding-right: 4px; } 1700} 1701 1702//hotplug 1703.hotplug-transient-box { 1704spacing: 6px; 1705padding: 2px 72px 2px 12px; 1706} 1707.hotplug-notification-item { 1708padding: 2px 10px; 1709&:focus { padding: 1px 71px 1px 11px; } 1710} 1711 1712.hotplug-notification-item-icon { 1713icon-size: 24px; 1714padding: 2px 5px; 1715} 1716 1717.hotplug-resident-box { spacing: 8px; } 1718 1719.hotplug-resident-mount { 1720spacing: 8px; 1721border-radius: 2px; 1722&:hover { background-color: $semi_track_color; } 1723&:active { background-color: $track_color; } 1724} 1725 1726.hotplug-resident-mount-label { 1727color: inherit; 1728padding-left: 6px; 1729} 1730 1731.hotplug-resident-mount-icon { 1732icon-size: 24px; 1733padding-left: 6px; 1734} 1735 1736.hotplug-resident-eject-icon { 1737icon-size: 16px; 1738} 1739 1740.hotplug-resident-eject-button { 1741padding: 7px; 1742border-radius: 2px; 1743color: $fg_color; 1744} 1745 1746/* Eeeky things */ 1747 1748$legacy_icon_size: 24px; 1749 1750.legacy-tray { 1751background-color: $bg_color; 1752color: $selected_fg_color; 1753border: none; 1754border-bottom-width: 0; 1755&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; } 1756&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; } 1757} 1758 1759.legacy-tray-handle, 1760.legacy-tray-icon { 1761padding: 6px; 1762& StIcon { icon-size: $legacy_icon_size; } 1763&:hover,&:focus { background-color: $selected_semi_track_color; } 1764&:active { background-color: $selected_track_color; } 1765} 1766 1767.legacy-tray-icon-box { 1768spacing: 12px; 1769&:ltr { padding-left: 12px; } 1770&:rtl { padding-right: 12px; } 1771& StButton { width: $legacy_icon_size; height: $legacy_icon_size } 1772} 1773 1774//magnifier 1775 1776.magnifier-zoom-region { 1777border: 2px solid $selected_bg_color; 1778&.full-screen { border-width: 0; } 1779} 1780 1781//Keyboard 1782/* On-screen Keyboard */ 1783 1784#keyboard { 1785background-color: $osd_bg_color; 1786} 1787 1788.keyboard-layout { 1789spacing: 10px; 1790padding: 10px; 1791} 1792 1793.keyboard-row { spacing: 15px; } 1794 1795.keyboard-key { 1796min-height: $medium_size * 2; 1797min-width: $medium_size * 2; 1798font-size: 2em; 1799font-weight: 500; 1800border-radius: 2px; 1801border: none; 1802color: inherit; 1803@include button(normal); 1804&:focus { @include button(focus); } 1805&:hover,&:checked { @include button(hover); } 1806&:active { @include button(active);} 1807&:grayed { //FIXME 1808background-color: $osd_bg_color; 1809color: $selected_fg_color; 1810border-color: $osd_bg_color; 1811} 1812} 1813 1814.keyboard-subkeys { //long press on a key popup 1815color: inherit; 1816padding: 5px; 1817-arrow-border-radius: 0; 1818-arrow-background-color: transparent; 1819-arrow-border-width: 0; 1820-arrow-border-color: transparent; 1821-arrow-base: 0; 1822-arrow-rise: 0; 1823-boxpointer-gap: 5px; 1824background-color: $base_color; 1825border-radius: 2px; 1826box-shadow: $z-depth-2; 1827} 1828 1829// IBus Candidate Popup 1830 1831.candidate-popup-content { 1832padding: 8px; 1833spacing: 0; 1834} 1835 1836.candidate-index { 1837padding: 0 4px 0 0; 1838color: $tertiary_fg_color; 1839.candidate-box:selected & { color: $tertiary_selected_fg_color; } 1840} 1841 1842.candidate-box { 1843transition-duration: 0s; 1844min-height: $menuitem_size; 1845padding: 0 8px; 1846border-radius: 2px; 1847&:hover { background-color: $semi_track_color; color: $fg_color; } 1848&:active { background-color: $track_color; color: $fg_color; } 1849&:selected { background-color: $selected_bg_color; color: $selected_fg_color; } 1850} 1851 1852.candidate-page-button-box { 1853height: $menuitem_size; 1854.vertical & { padding-top: 0; } 1855.horizontal & { padding-left: 0; } 1856} 1857 1858.candidate-page-button { 1859min-width: $menuitem_size; 1860min-height: $menuitem_size; 1861padding: 0; 1862} 1863 1864.candidate-page-button-previous { border-radius: 2px; border-right-width: 0; } 1865.candidate-page-button-next { border-radius: 2px; } 1866.candidate-page-button-icon { @include px-to-em(16px); } 1867 1868/* Auth Dialogs & Screen Shield */ 1869 1870.framed-user-icon { 1871background-size: contain; 1872border: none; 1873color: $selected_fg_color; 1874border-radius: 2px; 1875&:hover { 1876border-color: $selected_fg_color; 1877color: $selected_fg_color; 1878} 1879} 1880 1881// LOGIN DIALOG 1882 1883.login-dialog-banner-view { 1884padding-top: 24px; 1885max-width: 23em; 1886} 1887 1888.login-dialog { 1889//reset 1890border: none; 1891background-color: transparent; 1892 1893StEntry { 1894color: $selected_fg_color; 1895selection-background-color: $selected_track_color; 1896selected-color: $selected_fg_color; 1897@include entry(normal, $fc:$selected_track_color); 1898&:focus { @include entry(focus, $fc:$selected_fg_color); } 1899&:insensitive { 1900@include entry(insensitive, $fc:$selected_insensitive_track_color); 1901color: $insensitive_selected_fg_color; 1902} 1903} 1904 1905.modal-dialog-button-box { spacing: 3px; } 1906.modal-dialog-button { 1907padding: 0 16px; 1908@include button(flat-normal, $tc:$secondary_selected_fg_color); 1909&:hover,&:focus { @include button(flat-hover, $c:$selected_semi_track_color, $tc:$selected_fg_color); } 1910&:active { @include button(flat-active, $c:$selected_track_color, $tc:$selected_fg_color); } 1911&:insensitive { @include button(flat-insensitive, $tc:$insensitive_secondary_selected_fg_color); } 1912&:default { 1913@include button(normal, $c:$suggested_color, $tc:$selected_fg_color); 1914&:hover,&:focus { @include button(hover, $c:$suggested_color, $tc:$selected_fg_color); } 1915&:active { @include button(active, $c:$suggested_color, $tc:$selected_fg_color); } 1916&:insensitive { @include button(insensitive, $c:$selected_insensitive_track_color, $tc:$insensitive_selected_fg_color); } 1917 1918} 1919} 1920 1921} 1922 1923.login-dialog-logo-bin { padding: 24px 0px; } 1924.login-dialog-banner { color: $secondary_selected_fg_color; } 1925.login-dialog-button-box { spacing: 5px; } 1926.login-dialog-message-warning { color: $warning_color; } 1927.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; } 1928.login-dialog-user-selection-box { 1929padding: 100px 0px; 1930.login-dialog-not-listed-label { 1931padding-left: 2px; 1932.login-dialog-not-listed-button:focus &, 1933.login-dialog-not-listed-button:hover & { 1934color: $selected_fg_color; 1935} 1936} 1937} 1938.login-dialog-not-listed-label { 1939font-size: 1em; 1940font-weight: bold; 1941color: $secondary_selected_fg_color; 1942padding-top: 1em; 1943&:hover { color: $selected_fg_color; } 1944&:focus { background-color: $selected_semi_track_color; } 1945} 1946 1947.login-dialog-user-list-view { -st-vfade-offset: 1em; } 1948.login-dialog-user-list { 1949spacing: 12px; 1950padding: .2em; 1951width: 23em; 1952&:expanded .login-dialog-user-list-item:focus { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1953&:expanded .login-dialog-user-list-item:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1954&:expanded .login-dialog-user-list-item:active { background-color: $selected_track_color; color: $selected_fg_color; } 1955&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_fg_color; } 1956} 1957.login-dialog-user-list-item { 1958border-radius: 2px; 1959padding: .2em; 1960color: $secondary_selected_fg_color; 1961&:ltr { padding-right: 1em; } 1962&:rtl { padding-left: 1em; } 1963&:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1964&:active { background-color: $selected_track_color; color: $selected_fg_color; } 1965.login-dialog-timed-login-indicator { 1966height: 2px; 1967margin: 2px 0 0 0; 1968background-color: $selected_fg_color; 1969} 1970&:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; } 1971} 1972 1973.login-dialog-username, 1974.user-widget-label { 1975color: $selected_fg_color; 1976@include font(title); 1977text-align: left; 1978padding-left: 15px; 1979} 1980.user-widget-label { 1981&:ltr { padding-left: 18px; } 1982&:rtl { padding-right: 18px; } 1983} 1984 1985.login-dialog-prompt-layout { 1986padding-top: 24px; 1987padding-bottom: 12px; 1988spacing: 8px; 1989width: 23em; 1990} 1991 1992.login-dialog-prompt-label { 1993color: $tertiary_selected_fg_color; 1994font-size: 1em; 1995padding-top: 1em; 1996} 1997 1998.login-dialog-session-list-button StIcon { 1999icon-size: 1.25em; 2000} 2001 2002.login-dialog-session-list-button { 2003color: $secondary_selected_fg_color; 2004&:hover,&:focus { color: $selected_fg_color; } 2005&:active { color: $selected_fg_color; } 2006} 2007 2008//SCREEN SHIELD 2009 2010.screen-shield-arrows { 2011padding-bottom: 3em; 2012} 2013 2014.screen-shield-arrows Gjs_Arrow { 2015color: white; 2016width: 80px; 2017height: 48px; 2018-arrow-thickness: 12px; 2019-arrow-shadow: $z-depth-1; 2020} 2021 2022.screen-shield-clock { 2023color: white; 2024text-shadow: $z-depth-1; 2025font-weight: normal; 2026text-align: center; 2027padding-bottom: 1.5em; 2028} 2029 2030.screen-shield-clock-time { 2031@include font(display-4); 2032text-shadow: $z-depth-1; 2033} 2034 2035.screen-shield-clock-date { @include font(display-2); } 2036 2037.screen-shield-notifications-container { 2038spacing: 6px; 2039width: 30em; 2040background-color: transparent; 2041max-height: 500px; 2042.summary-notification-stack-scrollview { 2043padding-top: 0; 2044padding-bottom: 0; 2045} 2046 2047.notification, 2048.screen-shield-notification-source { 2049padding: 8px; 2050border: none; 2051background-color: $osd_bg_color; 2052color: $selected_fg_color; 2053border-radius: 2px; 2054} 2055.notification { margin-right: 16px; } //compensate for space allocated to the scrollbar 2056} 2057 2058 2059.screen-shield-notification-label { 2060min-height: $small_size - 2px; 2061padding: 2px 0px 0px 16px; 2062font-weight: bold; 2063} 2064 2065.screen-shield-notification-count-text { 2066min-height: $small_size - 2px; 2067padding: 2px 0px 0px 16px; 2068color: $secondary_selected_fg_color; 2069} 2070 2071#panel.lock-screen { background-color: $osd_bg_color; } 2072 2073.screen-shield-background { //just the shadow, really 2074background: black; 2075box-shadow: $z-depth-5; 2076} 2077 2078#lockDialogGroup { 2079background: #607D8B url("assets/noise-texture.svg"); 2080background-size: cover; 2081} 2082 2083#screenShieldNotifications { 2084StScrollBar { @extend %overview_scrollbar; } 2085} 2086 2087 2088// Looking Glass 2089#LookingGlassDialog { 2090background-color: $base_color; 2091spacing: 4px; 2092padding: 0; 2093border: none; 2094border-radius: 2px; 2095box-shadow: $z-depth-4; 2096& > #Toolbar { 2097padding: 0 8px; 2098border: none; 2099border-radius: 0; 2100background-color: rgba($base_color, 0.01); 2101box-shadow: inset 0 -1px 0 $borders_color; 2102} 2103.labels { spacing: 0; } 2104.notebook-tab { 2105-natural-hpadding: 12px; 2106-minimum-hpadding: 6px; 2107font-weight: bold; 2108color: $tertiary_fg_color; 2109transition-duration: 0.2s; 2110padding-left: 16px; 2111padding-right: 16px; 2112min-height: $medium_size; 2113padding: 0 16px * 2; 2114&:hover { 2115box-shadow: inset 0 -2px 0px $track_color; 2116color: $fg_color; 2117text-shadow: none; 2118} 2119&:selected { 2120border-bottom-width: 0; 2121border-color: transparent; 2122background-color: rgba($base_color, 0.01); 2123box-shadow: inset 0 -2px 0px $selected_bg_color; 2124color: $fg_color; 2125text-shadow: none; 2126} 2127} 2128StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } 2129StBoxLayout#ResultsArea { spacing: 4px; } 2130} 2131 2132.lg-dialog { 2133StEntry { 2134selection-background-color: $selected_bg_color; 2135selected-color: $selected_fg_color; 2136} 2137.shell-link { 2138color: $link_color; 2139&:hover { color: $link_color; } 2140} 2141} 2142 2143.lg-completions-text { 2144font-size: 1em; 2145font-style: italic; 2146} 2147 2148.lg-obj-inspector-title { 2149spacing: 4px; 2150} 2151 2152.lg-obj-inspector-button { 2153min-height: $medium_size; 2154padding: 0 16px; 2155border: none; 2156border-radius: 2px; 2157@include font(button); 2158@include button(flat-normal); 2159&:hover { @include button(flat-hover); } 2160&:active { @include button(flat-active); } 2161&:insensitive { @include button(flat-insensitive); } 2162&:focus { @include button(flat-focus); } 2163&:hover { border: none; } 2164} 2165 2166#lookingGlassExtensions { padding: 4px; } 2167 2168.lg-extensions-list { 2169padding: 4px; 2170spacing: 6px; 2171} 2172 2173.lg-extension { 2174border: none; 2175border-radius: 2px; 2176padding: 4px; 2177} 2178 2179.lg-extension-name { 2180@include font(headline); 2181} 2182 2183.lg-extension-meta { 2184spacing: 6px; 2185} 2186 2187#LookingGlassPropertyInspector { 2188background: $base_color; 2189border: none; 2190border-radius: 2px; 2191padding: 6px; 2192box-shadow: $z-depth-4; 2193} 2194