_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: $bg_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 { 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/* Add Dash to Dock Support */ 1429 1430#dashtodockContainer #dash { 1431background-color: $bg_color; 1432} 1433 1434#dashtodockContainer:overview #dash { 1435background-color: $overview_bg_color; 1436} 1437 1438#dashtodockContainer.extended:overview #dash { 1439background-color: transparent; 1440} 1441 1442#dashtodockContainer.left #dash, 1443#dashtodockContainer.right #dash { 1444padding: 3px 0; 1445} 1446 1447#dashtodockContainer.top #dash, 1448#dashtodockContainer.bottom #dash { 1449padding: 0 3px; 1450} 1451 1452#dashtodockContainer.extended #dash { 1453padding: 0; 1454border-radius: 0; 1455} 1456 1457#dashtodockContainer.left .dash-item-container > StWidget, 1458#dashtodockContainer.right .dash-item-container > StWidget, 1459#dashtodockContainer.extended.left .dash-item-container > StWidget, 1460#dashtodockContainer.extended.right .dash-item-container > StWidget { 1461padding: 3px 6px; 1462} 1463 1464#dashtodockContainer.extended.left .dash-item-container:first-child > StWidget, 1465#dashtodockContainer.extended.right .dash-item-container:first-child > StWidget { 1466padding: 6px 6px 3px 6px; 1467} 1468 1469#dashtodockContainer.extended.left .dash-item-container:last-child > StWidget, 1470#dashtodockContainer.extended.right .dash-item-container:last-child > StWidget { 1471padding: 3px 6px 6px 6px; 1472} 1473 1474#dashtodockContainer.top .dash-item-container > StWidget, 1475#dashtodockContainer.bottom .dash-item-container > StWidget, 1476#dashtodockContainer.extended.top .dash-item-container > StWidget, 1477#dashtodockContainer.extended.bottom .dash-item-container > StWidget { 1478padding: 6px 3px; 1479} 1480 1481#dashtodockContainer.extended.top .dash-item-container:first-child > StWidget, 1482#dashtodockContainer.extended.bottom .dash-item-container:first-child > StWidget { 1483padding: 6px 3px 6px 6px; 1484} 1485 1486#dashtodockContainer.extended.top .dash-item-container:last-child > StWidget, 1487#dashtodockContainer.extended.bottom .dash-item-container:last-child > StWidget { 1488padding: 6px 6px 6px 3px; 1489} 1490 1491#dashtodockContainer .app-well-app-running-dot { 1492background-color: transparent; 1493} 1494 1495#dashtodockContainer .dash-item-container > StWidget { 1496background-size: cover; 1497} 1498 1499@each $p,$pt in ('.left', 'left'), 1500('.right', 'right'), 1501('.top', 'top'), 1502('.bottom', 'bottom') { 1503@each $n,$nb in ('.running1','running1'), 1504('.running2','running2'), 1505('.running3','running3'), 1506('.running4','running4') { 1507@each $f,$fc in ('',''), 1508('.focused','-focused') { 1509#dashtodockContainer#{$p} .dash-item-container > StWidget#{$n}#{$f} { 1510background-image: url("assets/#{$pt}-#{$nb}#{$fc}.svg"); 1511} 1512} 1513} 1514} 1515 1516/* Add Simple Dock Support */ 1517 1518#dash:desktop { 1519background-color: $bg_color; 1520} 1521 1522/* App Vault/Grid */ 1523.icon-grid { 1524spacing: 30px; 1525-shell-grid-horizontal-item-size: 136px; 1526-shell-grid-vertical-item-size: 136px; 1527 1528.overview-icon { icon-size: 96px; } 1529} 1530//.app-display { spacing: 20px; } 1531 1532.app-view-controls { //favorties | all toggle container 1533width: 320px; 1534padding-bottom: 32px; 1535} 1536.app-view-control { //favorties | all toggle button 1537padding: 0 16px; 1538font-weight: bold; 1539color: $secondary_selected_fg_color; 1540&:hover { 1541color: $selected_fg_color; 1542background-color: $selected_semi_track_color !important; 1543} 1544&:active { 1545color: $selected_fg_color; 1546background-color: $selected_track_color !important; 1547} 1548&:checked { 1549color: $selected_fg_color; 1550background-color: rgba($bg_color, 0.01) !important; 1551box-shadow: inset 0 2px 0 $selected_fg_color; 1552} 1553&:first-child { 1554border-right-width: 0; 1555border-radius: 2px; 1556&:checked { border-radius: 0; } 1557} 1558&:last-child { 1559border-radius: 2px; 1560&:checked { border-radius: 0; } 1561} 1562} 1563 1564//Icon tile 1565.search-provider-icon, 1566.list-search-result { 1567@extend %icon_tile; 1568&:focus, &:selected, &:hover { 1569background-color: $selected_semi_track_color; 1570transition-duration: 0s; 1571} 1572&:active, &:checked { 1573background-color: $selected_track_color; 1574transition-duration: 0.2s; 1575} 1576} 1577.app-well-app, 1578.app-well-app.app-folder, 1579.show-apps, 1580.grid-search-result { 1581& .overview-icon { 1582@extend %icon_tile; 1583} 1584&:hover .overview-icon, 1585&:focus .overview-icon, 1586&:selected .overview-icon { 1587background-color: $selected_semi_track_color; 1588transition-duration: 0s; 1589border-image: none; 1590background-image: none; 1591} 1592&:active .overview-icon, 1593&:checked .overview-icon { 1594background-color: $selected_track_color; 1595box-shadow: $z-depth-0; 1596transition-duration: 0.2s; 1597} 1598 1599} 1600 1601.app-well-app-running-dot { //running apps indicator 1602width: 32px; height: 2px; 1603background-color: $selected_fg_color; 1604margin-bottom: 0; 1605} 1606 1607%icon_tile { 1608color: $selected_fg_color; 1609border-radius: 2px; 1610padding: 6px; 1611border: none; 1612transition-duration: 0.2s; 1613text-align: center; 1614} 1615 1616.app-well-app.app-folder > .overview-icon { 1617background-color: $overview_bg_color; 1618} 1619 1620.show-apps .show-apps-icon { 1621color: $secondary_selected_fg_color; 1622} 1623 1624.show-apps:hover .show-apps-icon, 1625.show-apps:active .show-apps-icon, 1626.show-apps:checked .show-apps-icon, 1627.show-apps:focus .show-apps-icon { 1628color: $selected_fg_color; 1629transition-duration: 0.2s; 1630} 1631 1632 1633// Collections 1634.app-folder-popup { //expanded collection 1635-arrow-border-radius: 2px; 1636-arrow-background-color: $overview_bg_color; 1637-arrow-base: 24px; 1638-arrow-rise: 12px; 1639} 1640.app-folder-popup-bin { padding: 5px; } 1641.app-folder-icon { 1642padding: 5px; 1643spacing-rows: 5px; 1644spacing-columns: 5px; 1645} 1646 1647.page-indicator { 1648padding: 15px 20px; 1649 1650.page-indicator-icon { 1651width: 12px; 1652height: 12px; 1653border-radius: 12px; 1654background-image: none; 1655background-color: scale-alpha($selected_fg_color, $lower_opacity); 1656} 1657&:hover .page-indicator-icon { 1658background-image: none; 1659background-color: scale-alpha($selected_fg_color, $middle_opacity); 1660} 1661&:active .page-indicator-icon { 1662background-image: none; 1663background-color: scale-alpha($selected_fg_color, $higher_opacity); 1664} 1665&:checked .page-indicator-icon, 1666&:checked:active { 1667background-image: none; 1668background-color: $selected_fg_color; 1669transition-duration: 0s; 1670} 1671} 1672 1673.no-frequent-applications-label { @extend %status_text; } 1674 1675.app-well-app > .overview-icon.overview-icon-with-label, 1676.grid-search-result .overview-icon.overview-icon-with-label { 1677padding: 10px 8px 5px 8px; 1678spacing: 4px; 1679} 1680 1681// Workspace pager 1682.workspace-thumbnails { //container ala dash 1683@extend %overview-panel; 1684visible-width: 32px; //amount visible before hover 1685spacing: 12px; 1686padding: 12px; 1687border-radius: 2px 0 0 2px; 1688//border-width: 0; //fixme: can't have non unoform borders :( 1689&:rtl { border-radius: 0 2px 2px 0;} 1690} 1691.workspace-thumbnail-indicator { 1692border: 0 solid $selected_fg_color; 1693border-left-width: 2px; 1694padding: 6px; 1695border-radius: 0; 1696} 1697 1698//Some hacks I don't even 1699.search-display > StBoxLayout, 1700.all-apps, 1701.frequent-apps > StBoxLayout { 1702// horizontal padding to make sure scrollbars or dash don't overlap content 1703padding: 0px 88px 10px 88px; 1704} 1705 1706%overview-panel { 1707color: $selected_fg_color; 1708background-color: $overview_bg_color; 1709border: none; 1710} 1711 1712%status_text { 1713@include font(display-2); 1714color: $tertiary_selected_fg_color; 1715} 1716 1717/* Add Dash to Dock Support */ 1718 1719#workspacestodockContainer .workspace-thumbnails { 1720background-color: $bg_color; 1721} 1722 1723#workspacestodockContainer:overview .workspace-thumbnails { 1724background-color: $overview_bg_color; 1725} 1726 1727#workspacestodockContainer.fullheight:overview .workspace-thumbnails { 1728background-color: transparent; 1729} 1730 1731#workspacestodockContainer.right .workspace-thumbnails { 1732border-radius: 2px 0 0 2px; 1733} 1734 1735#workspacestodockContainer.left .workspace-thumbnails { 1736border-radius: 0 2px 2px 0; 1737} 1738 1739/* NOTIFICATIONS & MESSAGE TRAY */ 1740 1741.url-highlighter { link-color: $link_color; } 1742 1743// Banners 1744.notification-banner { 1745font-size: 1em; 1746width: 34em; 1747min-height: $menuitem_size * 2; 1748margin: 5px; 1749border-radius: 2px; 1750color: $fg_color; 1751background-color: $base_color; 1752border: none; 1753box-shadow: $z-depth-2; 1754&:hover { background-color: $base_color; } 1755&:focus { background-color: $base_color; } 1756 1757.notification-icon { padding: 5px; } 1758.notification-content { padding: 5px; spacing: 5px; } 1759.secondary-icon { @include px-to-em(16px); } 1760.notification-actions { 1761background-color: transparent; 1762padding-top: 0; 1763border-top: 1px solid $borders_color; 1764spacing: 1px; 1765} 1766.notification-button { 1767min-height: 40px; 1768padding: 0 16px; 1769background-color: transparent; 1770color: $secondary_fg_color; 1771font-weight: 500; 1772&:first-child { border-radius: 0 0 0 2px; } 1773&:last-child { border-radius: 0 0 2px 0; } 1774&:hover, &focus { background-color: $semi_track_color; color: $fg_color; } 1775&:active { background-color: $track_color; color: $fg_color; } 1776} 1777} 1778.summary-source-counter { 1779font-size: 1em; 1780font-weight: bold; 1781height: 1.6em; width: 1.6em; 1782-shell-counter-overlap-x: 3px; 1783-shell-counter-overlap-y: 3px; 1784background-color: $selected_bg_color; 1785color: $selected_fg_color; 1786border: 2px solid $selected_fg_color; 1787box-shadow: 0 2px 2px rgba(0,0,0,0.5); 1788border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%; 1789} 1790 1791.secondary-icon { @include px-to-em(16px); } 1792 1793//chat bubbles 1794.chat-body { spacing: 5px; } 1795.chat-response { margin: 5px; } 1796.chat-log-message { color: $fg_color; } 1797.chat-new-group { padding-top: 1em; } 1798.chat-received { 1799padding-left: 4px; 1800&:rtl { padding-left: 0px; padding-right: 4px; } 1801} 1802.chat-sent { 1803padding-left: 18pt; 1804color: $secondary_fg_color; 1805&:rtl { padding-left: 0; padding-right: 18pt; } 1806} 1807.chat-meta-message { 1808padding-left: 4px; 1809@include font(caption); 1810color: $tertiary_fg_color; 1811&:rtl { padding-left: 0; padding-right: 4px; } 1812} 1813 1814//hotplug 1815.hotplug-transient-box { 1816spacing: 6px; 1817padding: 2px 72px 2px 12px; 1818} 1819.hotplug-notification-item { 1820padding: 2px 10px; 1821&:focus { padding: 1px 71px 1px 11px; } 1822} 1823 1824.hotplug-notification-item-icon { 1825icon-size: 24px; 1826padding: 2px 5px; 1827} 1828 1829.hotplug-resident-box { spacing: 8px; } 1830 1831.hotplug-resident-mount { 1832spacing: 8px; 1833border-radius: 2px; 1834&:hover { background-color: $semi_track_color; } 1835&:active { background-color: $track_color; } 1836} 1837 1838.hotplug-resident-mount-label { 1839color: inherit; 1840padding-left: 6px; 1841} 1842 1843.hotplug-resident-mount-icon { 1844icon-size: 24px; 1845padding-left: 6px; 1846} 1847 1848.hotplug-resident-eject-icon { 1849icon-size: 16px; 1850} 1851 1852.hotplug-resident-eject-button { 1853padding: 7px; 1854border-radius: 2px; 1855color: $fg_color; 1856} 1857 1858/* Eeeky things */ 1859 1860$legacy_icon_size: 24px; 1861 1862.legacy-tray { 1863background-color: $bg_color; 1864color: $selected_fg_color; 1865border: none; 1866border-bottom-width: 0; 1867&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; } 1868&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; } 1869} 1870 1871.legacy-tray-handle, 1872.legacy-tray-icon { 1873padding: 6px; 1874& StIcon { icon-size: $legacy_icon_size; } 1875&:hover,&:focus { background-color: $selected_semi_track_color; } 1876&:active { background-color: $selected_track_color; } 1877} 1878 1879.legacy-tray-icon-box { 1880spacing: 12px; 1881&:ltr { padding-left: 12px; } 1882&:rtl { padding-right: 12px; } 1883& StButton { width: $legacy_icon_size; height: $legacy_icon_size } 1884} 1885 1886//magnifier 1887 1888.magnifier-zoom-region { 1889border: 2px solid $selected_bg_color; 1890&.full-screen { border-width: 0; } 1891} 1892 1893//Keyboard 1894/* On-screen Keyboard */ 1895 1896#keyboard { 1897background-color: $osd_bg_color; 1898} 1899 1900.keyboard-layout { 1901spacing: 10px; 1902padding: 10px; 1903} 1904 1905.keyboard-row { spacing: 15px; } 1906 1907.keyboard-key { 1908min-height: $medium_size * 2; 1909min-width: $medium_size * 2; 1910font-size: 2em; 1911font-weight: 500; 1912border-radius: 2px; 1913border: none; 1914color: inherit; 1915@include button(normal); 1916&:focus { @include button(focus); } 1917&:hover,&:checked { @include button(hover); } 1918&:active { @include button(active);} 1919&:grayed { //FIXME 1920background-color: $osd_bg_color; 1921color: $selected_fg_color; 1922border-color: $osd_bg_color; 1923} 1924} 1925 1926.keyboard-subkeys { //long press on a key popup 1927color: inherit; 1928padding: 5px; 1929-arrow-border-radius: 0; 1930-arrow-background-color: transparent; 1931-arrow-border-width: 0; 1932-arrow-border-color: transparent; 1933-arrow-base: 0; 1934-arrow-rise: 0; 1935-boxpointer-gap: 5px; 1936background-color: $base_color; 1937border-radius: 2px; 1938box-shadow: $z-depth-2; 1939} 1940 1941// IBus Candidate Popup 1942 1943.candidate-popup-content { 1944padding: 8px; 1945spacing: 0; 1946} 1947 1948.candidate-index { 1949padding: 0 4px 0 0; 1950color: $tertiary_fg_color; 1951.candidate-box:selected & { color: $tertiary_selected_fg_color; } 1952} 1953 1954.candidate-box { 1955transition-duration: 0s; 1956min-height: $menuitem_size; 1957padding: 0 8px; 1958border-radius: 2px; 1959&:hover { background-color: $semi_track_color; color: $fg_color; } 1960&:active { background-color: $track_color; color: $fg_color; } 1961&:selected { background-color: $selected_bg_color; color: $selected_fg_color; } 1962} 1963 1964.candidate-page-button-box { 1965height: $menuitem_size; 1966.vertical & { padding-top: 0; } 1967.horizontal & { padding-left: 0; } 1968} 1969 1970.candidate-page-button { 1971min-width: $menuitem_size; 1972min-height: $menuitem_size; 1973padding: 0; 1974} 1975 1976.candidate-page-button-previous { border-radius: 2px; border-right-width: 0; } 1977.candidate-page-button-next { border-radius: 2px; } 1978.candidate-page-button-icon { @include px-to-em(16px); } 1979 1980/* Auth Dialogs & Screen Shield */ 1981 1982.framed-user-icon { 1983background-size: contain; 1984border: none; 1985color: $selected_fg_color; 1986border-radius: 2px; 1987&:hover { 1988border-color: $selected_fg_color; 1989color: $selected_fg_color; 1990} 1991} 1992 1993// LOGIN DIALOG 1994 1995.login-dialog-banner-view { 1996padding-top: 24px; 1997max-width: 23em; 1998} 1999 2000.login-dialog { 2001//reset 2002border: none; 2003background-color: transparent; 2004 2005StEntry { 2006color: $selected_fg_color; 2007selection-background-color: $selected_track_color; 2008selected-color: $selected_fg_color; 2009@include entry(normal, $fc:$selected_track_color); 2010&:focus { @include entry(focus, $fc:$selected_fg_color); } 2011&:insensitive { 2012@include entry(insensitive, $fc:$selected_insensitive_track_color); 2013color: $insensitive_selected_fg_color; 2014} 2015} 2016 2017.modal-dialog-button-box { spacing: 3px; } 2018.modal-dialog-button { 2019padding: 0 16px; 2020@include button(flat-normal, $tc:$secondary_selected_fg_color); 2021&:hover,&:focus { @include button(flat-hover, $c:$selected_semi_track_color, $tc:$selected_fg_color); } 2022&:active { @include button(flat-active, $c:$selected_track_color, $tc:$selected_fg_color); } 2023&:insensitive { @include button(flat-insensitive, $tc:$insensitive_secondary_selected_fg_color); } 2024&:default { 2025@include button(normal, $c:$suggested_color, $tc:$selected_fg_color); 2026&:hover,&:focus { @include button(hover, $c:$suggested_color, $tc:$selected_fg_color); } 2027&:active { @include button(active, $c:$suggested_color, $tc:$selected_fg_color); } 2028&:insensitive { @include button(insensitive, $c:$selected_insensitive_track_color, $tc:$insensitive_selected_fg_color); } 2029 2030} 2031} 2032 2033} 2034 2035.login-dialog-logo-bin { padding: 24px 0px; } 2036.login-dialog-banner { color: $secondary_selected_fg_color; } 2037.login-dialog-button-box { spacing: 5px; } 2038.login-dialog-message-warning { color: $warning_color; } 2039.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; } 2040.login-dialog-user-selection-box { 2041padding: 100px 0px; 2042.login-dialog-not-listed-label { 2043padding-left: 2px; 2044.login-dialog-not-listed-button:focus &, 2045.login-dialog-not-listed-button:hover & { 2046color: $selected_fg_color; 2047} 2048} 2049} 2050.login-dialog-not-listed-label { 2051font-size: 1em; 2052font-weight: bold; 2053color: $secondary_selected_fg_color; 2054padding-top: 1em; 2055&:hover { color: $selected_fg_color; } 2056&:focus { background-color: $selected_semi_track_color; } 2057} 2058 2059.login-dialog-user-list-view { -st-vfade-offset: 1em; } 2060.login-dialog-user-list { 2061spacing: 12px; 2062padding: .2em; 2063width: 23em; 2064&:expanded .login-dialog-user-list-item:focus { background-color: $selected_semi_track_color; color: $selected_fg_color; } 2065&:expanded .login-dialog-user-list-item:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 2066&:expanded .login-dialog-user-list-item:active { background-color: $selected_track_color; color: $selected_fg_color; } 2067&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_fg_color; } 2068} 2069.login-dialog-user-list-item { 2070border-radius: 2px; 2071padding: .2em; 2072color: $secondary_selected_fg_color; 2073&:ltr { padding-right: 1em; } 2074&:rtl { padding-left: 1em; } 2075&:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 2076&:active { background-color: $selected_track_color; color: $selected_fg_color; } 2077.login-dialog-timed-login-indicator { 2078height: 2px; 2079margin: 2px 0 0 0; 2080background-color: $selected_fg_color; 2081} 2082&:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; } 2083} 2084 2085.login-dialog-username, 2086.user-widget-label { 2087color: $selected_fg_color; 2088@include font(title); 2089text-align: left; 2090padding-left: 15px; 2091} 2092.user-widget-label { 2093&:ltr { padding-left: 18px; } 2094&:rtl { padding-right: 18px; } 2095} 2096 2097.login-dialog-prompt-layout { 2098padding-top: 24px; 2099padding-bottom: 12px; 2100spacing: 8px; 2101width: 23em; 2102} 2103 2104.login-dialog-prompt-label { 2105color: $tertiary_selected_fg_color; 2106font-size: 1em; 2107padding-top: 1em; 2108} 2109 2110.login-dialog-session-list-button StIcon { 2111icon-size: 1.25em; 2112} 2113 2114.login-dialog-session-list-button { 2115color: $secondary_selected_fg_color; 2116&:hover,&:focus { color: $selected_fg_color; } 2117&:active { color: $selected_fg_color; } 2118} 2119 2120//SCREEN SHIELD 2121 2122.screen-shield-arrows { 2123padding-bottom: 3em; 2124} 2125 2126.screen-shield-arrows Gjs_Arrow { 2127color: white; 2128width: 80px; 2129height: 48px; 2130-arrow-thickness: 12px; 2131-arrow-shadow: $z-depth-1; 2132} 2133 2134.screen-shield-clock { 2135color: white; 2136text-shadow: $z-depth-1; 2137font-weight: normal; 2138text-align: center; 2139padding-bottom: 1.5em; 2140} 2141 2142.screen-shield-clock-time { 2143@include font(display-4); 2144text-shadow: $z-depth-1; 2145} 2146 2147.screen-shield-clock-date { @include font(display-2); } 2148 2149.screen-shield-notifications-container { 2150spacing: 6px; 2151width: 30em; 2152background-color: transparent; 2153max-height: 500px; 2154.summary-notification-stack-scrollview { 2155padding-top: 0; 2156padding-bottom: 0; 2157} 2158 2159.notification, 2160.screen-shield-notification-source { 2161padding: 8px; 2162border: none; 2163background-color: $osd_bg_color; 2164color: $selected_fg_color; 2165border-radius: 2px; 2166} 2167.notification { margin-right: 16px; } //compensate for space allocated to the scrollbar 2168} 2169 2170 2171.screen-shield-notification-label { 2172min-height: $small_size - 2px; 2173padding: 2px 0px 0px 16px; 2174font-weight: bold; 2175} 2176 2177.screen-shield-notification-count-text { 2178min-height: $small_size - 2px; 2179padding: 2px 0px 0px 16px; 2180color: $secondary_selected_fg_color; 2181} 2182 2183#panel.lock-screen { background-color: $osd_bg_color; } 2184 2185.screen-shield-background { //just the shadow, really 2186background: black; 2187box-shadow: $z-depth-5; 2188} 2189 2190#lockDialogGroup { 2191background: #607D8B url("assets/noise-texture.svg"); 2192background-size: cover; 2193} 2194 2195#screenShieldNotifications { 2196StScrollBar { @extend %overview_scrollbar; } 2197} 2198 2199 2200// Looking Glass 2201#LookingGlassDialog { 2202background-color: $base_color; 2203spacing: 4px; 2204padding: 0; 2205border: none; 2206border-radius: 2px; 2207box-shadow: $z-depth-4; 2208& > #Toolbar { 2209padding: 0 8px; 2210border: none; 2211border-radius: 0; 2212background-color: rgba($base_color, 0.01); 2213box-shadow: inset 0 -1px 0 $borders_color; 2214} 2215.labels { spacing: 0; } 2216.notebook-tab { 2217-natural-hpadding: 12px; 2218-minimum-hpadding: 6px; 2219font-weight: bold; 2220color: $tertiary_fg_color; 2221transition-duration: 0.2s; 2222padding-left: 16px; 2223padding-right: 16px; 2224min-height: $medium_size; 2225padding: 0 16px * 2; 2226&:hover { 2227box-shadow: inset 0 -2px 0px $track_color; 2228color: $fg_color; 2229text-shadow: none; 2230} 2231&:selected { 2232border-bottom-width: 0; 2233border-color: transparent; 2234background-color: rgba($base_color, 0.01); 2235box-shadow: inset 0 -2px 0px $selected_bg_color; 2236color: $fg_color; 2237text-shadow: none; 2238} 2239} 2240StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } 2241StBoxLayout#ResultsArea { spacing: 4px; } 2242} 2243 2244.lg-dialog { 2245StEntry { 2246selection-background-color: $selected_bg_color; 2247selected-color: $selected_fg_color; 2248} 2249.shell-link { 2250color: $link_color; 2251&:hover { color: $link_color; } 2252} 2253} 2254 2255.lg-completions-text { 2256font-size: 1em; 2257font-style: italic; 2258} 2259 2260.lg-obj-inspector-title { 2261spacing: 4px; 2262} 2263 2264.lg-obj-inspector-button { 2265min-height: $medium_size; 2266padding: 0 16px; 2267border: none; 2268border-radius: 2px; 2269@include font(button); 2270@include button(flat-normal); 2271&:hover { @include button(flat-hover); } 2272&:active { @include button(flat-active); } 2273&:insensitive { @include button(flat-insensitive); } 2274&:focus { @include button(flat-focus); } 2275&:hover { border: none; } 2276} 2277 2278#lookingGlassExtensions { padding: 4px; } 2279 2280.lg-extensions-list { 2281padding: 4px; 2282spacing: 6px; 2283} 2284 2285.lg-extension { 2286border: none; 2287border-radius: 2px; 2288padding: 4px; 2289} 2290 2291.lg-extension-name { 2292@include font(headline); 2293} 2294 2295.lg-extension-meta { 2296spacing: 6px; 2297} 2298 2299#LookingGlassPropertyInspector { 2300background: $base_color; 2301border: none; 2302border-radius: 2px; 2303padding: 6px; 2304box-shadow: $z-depth-4; 2305} 2306