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