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