_common.scss
ASCII text
1//This is the RIGHT PLACE to edit the stylesheet 2 3//let's start by telling people not to edit the generated CSS: 4$cakeisalie: "This stylesheet is generated, DO NOT EDIT"; 5/* #{$cakeisalie} */ 6 7$panel-corner-radius: 0; 8 9/* Copyright 2009, 2015 Red Hat, Inc. 10* 11* Portions adapted from Mx's data/style/default.css 12* Copyright 2009 Intel Corporation 13* 14* This program is free software; you can redistribute it and/or modify it 15* under the terms and conditions of the GNU Lesser General Public License, 16* version 2.1, as published by the Free Software Foundation. 17* 18* This program is distributed in the hope it will be useful, but WITHOUT ANY 19* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 20* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for 21* more details. 22* 23* You should have received a copy of the GNU Lesser General Public License 24* along with this program; if not, write to the Free Software Foundation, 25* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26*/ 27 28 29$menuitem_size: 32px; 30$small_size: 24px; 31$medium_size: 36px; 32$large_size: 48px; 33 34* { 35transition-timing-function : cubic-bezier(0.4, 0, 0.2, 1); 36transition-duration: 0.2s; 37} 38 39/* GLOBALS */ 40$root-font-size: 14px; 41$font-family: "M+ 1c", Roboto, Cantarell, Sans-Serif; 42$large-font-family: Roboto, "M+ 1c", Cantarell, Sans-Serif; 43 44stage { 45font-family: $font-family; 46@include font(body-1); 47color: $fg_color; 48} 49 50/* WIDGETS */ 51 52/* Buttons */ 53.button { 54min-height: $medium_size; 55padding: 0 16px; 56border-width: 0; 57border-radius: 2px; 58@include font(button); 59@include button(flat-normal); 60&:hover { @include button(flat-hover); } 61&:active { @include button(flat-active); } 62&:insensitive { @include button(flat-insensitive); } 63&:focus { @include button(flat-focus); } 64 65} 66 67.modal-dialog-linked-button { 68min-height: 40px; 69padding: 0 16px; 70border-top: 1px solid $borders_color !important; 71border-right-width: 0; 72@include font(button); 73@include button(flat-normal); 74&:hover { @include button(flat-hover); } 75&:active { @include button(flat-active); } 76&:insensitive { @include button(flat-insensitive); } 77&:focus { @include button(flat-focus); } 78 79&:first-child { 80border-radius: 0px 0px 0px 2px; 81} 82&:last-child { 83border-right-width: 0px; 84border-radius: 0px 0px 2px 0px; 85} 86&:first-child:last-child { 87border-right-width: 0px; 88border-radius: 0px 0px 2px 2px; 89} 90} 91 92/* Entries */ 93StEntry { 94min-height: $medium_size; 95padding: 0 8px; 96border-radius: 0; 97border-width: 0; 98color: $fg_color; 99selection-background-color: $selected_bg_color; 100selected-color: $selected_fg_color; 101@include font(subheading); 102@include entry(normal); 103//&:hover { @include entry(hover);} 104&:focus { @include entry(focus);} 105&:insensitive { @include entry(insensitive);} 106StIcon.capslock-warning { 107icon-size: 16px; 108warning-color: $warning_color; 109padding: 0 0; 110} 111} 112 113 114/* Scrollbars */ 115 116StScrollView { 117&.vfade { -st-vfade-offset: 32px; } 118&.hfade { -st-hfade-offset: 32px; } 119} 120 121StScrollBar { 122padding: 0; 123 124StScrollView & { 125min-width: 16px; 126min-height: 16px; 127} 128 129StBin#trough { 130margin: 4px; 131border-radius: 100px; 132background-color: $insensitive_track_color; 133} 134 135StButton#vhandle, StButton#hhandle { 136border-radius: 100px; 137background-color: $tertiary_fg_color; 138//border: 4px solid transparent; //would be nice to margin or at least to transparent 139margin: 4px; 140&:hover { background-color: $secondary_fg_color; } 141&:active { background-color: $fg_color; } 142} 143} 144 145%overview_scrollbar { 146StBin#trough { 147background-color: $selected_insensitive_track_color; 148} 149 150StButton#vhandle, StButton#hhandle { 151background-color: $tertiary_selected_fg_color; 152&:hover { background-color: $secondary_selected_fg_color; } 153&:active { background-color: $selected_fg_color; } 154} 155} 156 157/* Slider */ 158 159.slider { 160height: 20px; 161color: $accent_bg_color; 162-slider-height: 4px; 163-slider-background-color: $track_color; //background of the trough 164-slider-border-color: transparent; //trough border color 165-slider-active-background-color: $accent_bg_color; //active trough fill 166-slider-active-border-color: transparent; //active trough border 167-slider-border-width: 0; 168-slider-handle-radius: 8px; 169} 170 171/* Check Boxes */ 172 173.check-box { 174* { 175min-height: $medium_size - 8px * 2; 176padding: 8px 0; 177} 178StBoxLayout { spacing: 8px; } 179StBin { 180width: 24px; 181height: 24px; 182padding: ($medium_size - 24px) / 2; 183border-radius: 100px; 184background-image: url("assets/checkbox-off.svg"); 185} 186&:focus StBin { 187background-image: url("assets/checkbox-off.svg"); 188} 189&:hover StBin { 190background-color: $semi_track_color; 191} 192&:active StBin { 193background-color: $track_color; 194} 195&:checked StBin { 196background-image: url("assets/checkbox.svg"); 197} 198&:focus:checked StBin { 199background-image: url("assets/checkbox.svg"); 200} 201&:hover:checked StBin { 202background-color: scale-alpha($accent_bg_color, $lower_opacity / 2); 203} 204&:active:checked StBin { 205background-color: scale-alpha($accent_bg_color, $lower_opacity); 206} 207} 208 209/* Switches */ 210.toggle-switch { 211width: 40px; 212height: 20px; 213background-size: contain; 214} 215 216@each $v in us, intl { 217.toggle-switch-#{$v} { 218background-image: url("assets/toggle-off.svg"); 219&:checked { background-image: url("assets/toggle-on.svg"); } 220} 221} 222 223/* links */ 224.shell-link { 225border-radius: 2px; 226color: $link_color; 227&:hover { 228color: $link_color; 229background-color: scale-alpha($link_color, $lower_opacity / 2); 230} 231&:active { 232color: $link_color; 233background-color: scale-alpha($link_color, $lower_opacity); 234} 235} 236 237/* Modal Dialogs */ 238 239.headline { @include font(title); } 240.lightbox { background-color: black; } 241.flashspot { background-color: white; } 242 243.modal-dialog { 244border-radius: 2px; 245color: $fg_color; 246background-color: $base_color; 247border: none; 248box-shadow: $z-depth-4; 249.modal-dialog-content-box { 250padding: 24px; 251} 252.run-dialog-entry { width: 20em; margin-bottom: 6px; } 253.run-dialog-error-box { 254padding-top: 16px; 255spacing: 6px; 256} 257.run-dialog-button-box { padding-top: 1em; } 258.run-dialog-label { 259font-size: 1em; 260font-weight: normal; 261color: $tertiary_fg_color; 262padding-bottom: .4em; 263} 264 265} 266 267.show-processes-dialog-subject, 268.mount-question-dialog-subject, 269.end-session-dialog-subject { //this should be a generic header class 270@include font(title); 271} 272 273/* End Session Dialog */ 274.end-session-dialog { 275spacing: 42px; 276border: none; 277} 278 279.end-session-dialog-list { 280padding-top: 20px; 281} 282 283.end-session-dialog-layout { 284padding-left: 17px; 285&:rtl { padding-right: 17px; } 286} 287 288.end-session-dialog-description { 289width: 28em; 290padding-bottom: 10px; 291&:rtl { 292text-align: right; 293} 294} 295 296.end-session-dialog-warning { 297width: 28em; 298color: $warning_color; 299padding-top: 6px; 300&:rtl { 301text-align: right; 302} 303} 304 305.end-session-dialog-logout-icon { 306//border: 2px solid #8b8b8b; 307border-radius: 5px; 308width: 48px; 309height: 48px; 310background-size: contain; 311} 312 313.end-session-dialog-shutdown-icon { 314color: $tertiary_fg_color; 315width: 48px; 316height: 48px; 317} 318 319.end-session-dialog-inhibitor-layout { 320spacing: 16px; 321max-height: 200px; 322padding-right: 65px; 323padding-left: 65px; 324} 325 326.end-session-dialog-session-list, 327.end-session-dialog-app-list { 328spacing: 1em; 329} 330 331.end-session-dialog-list-header { 332font-weight: bold; 333&:rtl { text-align: right; } 334} 335 336.end-session-dialog-app-list-item, 337.end-session-dialog-session-list-item { 338spacing: 1em; 339} 340 341.end-session-dialog-app-list-item-name, 342.end-session-dialog-session-list-item-name { 343font-weight: bold; 344} 345 346.end-session-dialog-app-list-item-description { 347color: $tertiary_fg_color; 348font-size: 1em; 349} 350 351/* ShellMountOperation Dialogs */ 352.shell-mount-operation-icon { icon-size: 48px; } 353 354.show-processes-dialog, 355.mount-question-dialog { 356spacing: 24px; 357} 358 359.show-processes-dialog-subject, 360.mount-question-dialog-subject { 361padding-top: 10px; 362padding-left: 17px; 363padding-bottom: 6px; 364} 365 366.mount-question-dialog-subject { 367max-width: 500px; 368} 369 370.show-processes-dialog-subject:rtl, 371.mount-question-dialog-subject:rtl { 372padding-left: 0px; 373padding-right: 17px; 374} 375 376.show-processes-dialog-description, 377.mount-question-dialog-description { 378padding-left: 17px; 379width: 28em; 380} 381 382.show-processes-dialog-description:rtl, 383.mount-question-dialog-description:rtl { 384padding-right: 17px; 385} 386 387.show-processes-dialog-app-list { 388max-height: 200px; 389padding-top: 24px; 390padding-left: 49px; 391padding-right: 32px; 392} 393 394.show-processes-dialog-app-list:rtl { 395padding-right: 49px; 396padding-left: 32px; 397} 398 399.show-processes-dialog-app-list-item { 400color: $fg_color; 401&:hover { color: $fg_color; } 402&:ltr { padding-right: 1em; } 403&:rtl { padding-left: 1em; } 404} 405 406.show-processes-dialog-app-list-item-icon { 407&:ltr { padding-right: 17px; } 408&:rtl { padding-left: 17px; } 409} 410 411.show-processes-dialog-app-list-item-name { 412font-size: 1em; 413} 414 415 416/* Password or Authentication Dialog */ 417 418.prompt-dialog { 419//this is the width of the entire modal popup 420width: 500px; 421border: none; 422} 423 424.prompt-dialog-main-layout { 425spacing: 24px; 426padding: 10px; 427} 428 429.prompt-dialog-message-layout { 430spacing: 16px; 431} 432 433.prompt-dialog-headline { 434@include font(title); 435color: $fg_color; 436} 437 438.prompt-dialog-description:rtl { 439text-align: right; 440} 441 442.prompt-dialog-password-box { 443spacing: 1em; 444padding-bottom: 1em; 445} 446 447.prompt-dialog-error-label { 448font-size: 1em; 449color: $error_color; 450padding-bottom: 8px; 451} 452 453.prompt-dialog-info-label { 454font-size: 1em; 455padding-bottom: 8px; 456} 457 458.hidden { 459color: rgba(0,0,0,0); 460} 461 462.prompt-dialog-null-label { 463font-size: 1em; 464padding-bottom: 8px; 465} 466 467 468/* Polkit Dialog */ 469 470.polkit-dialog-user-layout { 471padding-left: 10px; 472spacing: 10px; 473&:rtl { 474padding-left: 0px; 475padding-right: 10px; 476} 477} 478 479.polkit-dialog-user-root-label { 480color: $warning_color; 481} 482 483.polkit-dialog-user-icon { 484border-radius: 5px; 485background-size: contain; 486width: 48px; 487height: 48px; 488} 489 490/* Audio selection dialog */ 491.audio-device-selection-dialog { 492spacing: 30px; 493} 494 495.audio-selection-content { 496spacing: 20px; 497padding: 24px; 498} 499 500.audio-selection-title { 501font-weight: bold; 502text-align: center; 503} 504 505.audio-selection-box { 506spacing: 20px; 507} 508 509.audio-selection-device { 510border: 1px solid $borders_color; 511border-radius: 2px; 512&:active,&:hover,&:focus { background-color: $selected_bg_color; } 513} 514 515.audio-selection-device-box { 516padding: 20px; 517spacing: 20px; 518} 519 520.audio-selection-device-icon { 521icon-size: 64px; 522} 523 524/* 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: $large_size; 789background-color: $selected_bg_color; 790color: $selected_fg_color; 791background-size: 32px; 792border-radius: 2px; 793} 794 795.ws-switcher-box { 796height: $large_size; 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 px-to-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: 8px; 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: 4px; 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: 24px; 1207padding: 0 0; 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: 16px; 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 px-to-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: 2px solid $borders_color; } 1299.nm-dialog-header { font-weight: bold; } 1300 1301.nm-dialog-item { 1302@include font(subheading); 1303border-bottom: 1px solid $borders_color; 1304padding: 12px; 1305spacing: 20px; 1306} 1307 1308.nm-dialog-item:selected { 1309background-color: $selected_bg_color; 1310color: $selected_fg_color; 1311} 1312 1313.nm-dialog-icons { spacing: .5em; } 1314.nm-dialog-icon { icon-size: 16px; } 1315.no-networks-label { color: $tertiary_fg_color; } 1316.no-networks-box { spacing: 12px; } 1317 1318/* OVERVIEW */ 1319 1320#overview { 1321spacing: 24px; // 1322StScrollBar { @extend %overview_scrollbar; } 1323} 1324 1325.overview-controls { 1326padding-bottom: 32px; 1327} 1328 1329.window-picker { //container around window thumbnails 1330-horizontal-spacing: 32px; 1331-vertical-spacing: 32px; 1332padding-left: 32px; 1333padding-right: 32px; 1334padding-bottom: 48px; 1335 1336&.external-monitor { padding: 32px; } 1337} 1338 1339.window-clone-border { 1340border: 4px solid $selected_track_color; 1341border-radius: 2px; 1342// For window decorations with round corners we can't match 1343// the exact shape when the window is scaled. So apply a shadow 1344// to fix that case 1345box-shadow: inset 0 0 0 1px $selected_track_color; 1346} 1347.window-caption { 1348spacing: 25px; 1349color: $selected_fg_color; 1350background-color: transparent; 1351border-radius: 2px; 1352padding: 4px 8px; 1353-shell-caption-spacing: 12px; 1354&:hover { background-color: $selected_track_color; color: $selected_fg_color; } 1355} 1356 1357//search entry 1358.search-entry { 1359width: 320px - 8px * 2; 1360padding: 0 8px; 1361border-radius: 0; 1362color: $tertiary_selected_fg_color; 1363selection-background-color: $selected_track_color; 1364selected-color: $selected_fg_color; 1365@include entry(normal,$fc:$selected_track_color); 1366&:focus { 1367@include entry(focus,$fc:$selected_fg_color); 1368padding: 0 8px; 1369border-width: 0; 1370color: $selected_fg_color; 1371} 1372 1373.search-entry-icon { icon-size: 16px; padding: 0 0; color: $tertiary_selected_fg_color; } 1374 1375&:hover, &:focus { 1376.search-entry-icon { color: $selected_fg_color; } 1377} 1378} 1379 1380//search results 1381 1382#searchResultsBin { 1383max-width: 1000px; 1384} 1385 1386#searchResultsContent { 1387padding-left: 20px; 1388padding-right: 20px; 1389spacing: 16px; 1390} 1391 1392.search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing 1393.search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container 1394.search-statustext { // "no results" 1395@extend %status_text; 1396} 1397.list-search-results { spacing: 3px; } 1398 1399.search-section-separator { 1400-gradient-height: 1px; 1401-gradient-start: rgba(255,255,255,0); 1402-gradient-end: rgba(255,255,255,0.4); 1403-margin-horizontal: 1.5em; 1404height: 1px; 1405} 1406 1407.list-search-result-content { spacing: 12px; padding: 12px; } 1408.list-search-result-title { @include font(headline); color: $selected_fg_color; } 1409.list-search-result-description { color: $secondary_selected_fg_color; } 1410.search-provider-icon { padding: 15px; } 1411.search-provider-icon-more { 1412width: 16px; 1413height: 16px; 1414background-image: url("assets/more-results.svg"); 1415} 1416 1417 1418/* DASHBOARD */ 1419 1420#dash { 1421font-size: 1em; 1422color: $selected_fg_color; 1423background-color: $overview_bg_color; 1424padding: 3px 0; 1425border: none; 1426border-left: 0px; 1427border-radius: 0px 2px 2px 0px; 1428 1429&:rtl { 1430border-radius: 2px 0 0 2px; 1431} 1432 1433.placeholder { 1434background-image: url("assets/dash-placeholder.svg"); 1435background-size: contain; 1436height: 24px; 1437} 1438 1439.empty-dash-drop-target { 1440width: 24px; 1441height: 24px; 1442} 1443 1444} 1445 1446.dash-item-container > StWidget { 1447padding: 3px 6px; 1448} 1449 1450.dash-label { //osd tooltip 1451min-height: 32px - 6px * 2; 1452border-radius: 2px; 1453padding: 6px 8px; 1454color: $fg_color; 1455background-color: $base_color; 1456box-shadow: $z-depth-2; 1457text-align: center; 1458-x-offset: 8px; 1459} 1460 1461/* App Vault/Grid */ 1462.icon-grid { 1463spacing: 30px; 1464-shell-grid-horizontal-item-size: 136px; 1465-shell-grid-vertical-item-size: 136px; 1466 1467.overview-icon { icon-size: 96px; } 1468} 1469//.app-display { spacing: 20px; } 1470 1471.app-view-controls { //favorties | all toggle container 1472width: 320px; 1473padding-bottom: 32px; 1474} 1475.app-view-control { //favorties | all toggle button 1476padding: 0 16px; 1477font-weight: bold; 1478color: $secondary_selected_fg_color; 1479&:hover { 1480color: $selected_fg_color; 1481background-color: $selected_semi_track_color !important; 1482} 1483&:active { 1484color: $selected_fg_color; 1485background-color: $selected_track_color !important; 1486} 1487&:checked { 1488color: $selected_fg_color; 1489background-color: rgba($bg_color, 0.01) !important; 1490box-shadow: inset 0 2px 0 $selected_fg_color; 1491} 1492&:first-child { 1493border-right-width: 0; 1494border-radius: 2px; 1495&:checked { border-radius: 0; } 1496} 1497&:last-child { 1498border-radius: 2px; 1499&:checked { border-radius: 0; } 1500} 1501} 1502 1503//Icon tile 1504.search-provider-icon, 1505.list-search-result { 1506@extend %icon_tile; 1507&:focus, &:selected, &:hover { 1508background-color: $selected_semi_track_color; 1509transition-duration: 0s; 1510} 1511&:active, &:checked { 1512background-color: $selected_track_color; 1513transition-duration: 0.2s; 1514} 1515} 1516.app-well-app, 1517.app-well-app.app-folder, 1518.show-apps, 1519.grid-search-result { 1520& .overview-icon { 1521@extend %icon_tile; 1522} 1523&:hover .overview-icon, 1524&:focus .overview-icon, 1525&:selected .overview-icon { 1526background-color: $selected_semi_track_color; 1527transition-duration: 0s; 1528border-image: none; 1529background-image: none; 1530} 1531&:active .overview-icon, 1532&:checked .overview-icon { 1533background-color: $selected_track_color; 1534box-shadow: $z-depth-0; 1535transition-duration: 0.2s; 1536} 1537 1538} 1539 1540.app-well-app-running-dot { //running apps indicator 1541width: 32px; height: 2px; 1542background-color: $selected_fg_color; 1543margin-bottom: 0; 1544} 1545 1546%icon_tile { 1547color: $selected_fg_color; 1548border-radius: 2px; 1549padding: 6px; 1550border: none; 1551transition-duration: 0.2s; 1552text-align: center; 1553} 1554 1555.app-well-app.app-folder > .overview-icon { 1556background-color: $overview_bg_color; 1557} 1558 1559.show-apps .show-apps-icon { 1560color: $secondary_selected_fg_color; 1561} 1562 1563.show-apps:hover .show-apps-icon, 1564.show-apps:active .show-apps-icon, 1565.show-apps:checked .show-apps-icon, 1566.show-apps:focus .show-apps-icon { 1567color: $selected_fg_color; 1568transition-duration: 0.2s; 1569} 1570 1571 1572// Collections 1573.app-folder-popup { //expanded collection 1574-arrow-border-radius: 2px; 1575-arrow-background-color: $overview_bg_color; 1576-arrow-base: 24px; 1577-arrow-rise: 12px; 1578} 1579.app-folder-popup-bin { padding: 5px; } 1580.app-folder-icon { 1581padding: 5px; 1582spacing-rows: 5px; 1583spacing-columns: 5px; 1584} 1585 1586.page-indicator { 1587padding: 15px 20px; 1588 1589.page-indicator-icon { 1590width: 12px; 1591height: 12px; 1592border-radius: 12px; 1593background-image: none; 1594background-color: scale-alpha($selected_fg_color, $lower_opacity); 1595} 1596&:hover .page-indicator-icon { 1597background-image: none; 1598background-color: scale-alpha($selected_fg_color, $middle_opacity); 1599} 1600&:active .page-indicator-icon { 1601background-image: none; 1602background-color: scale-alpha($selected_fg_color, $higher_opacity); 1603} 1604&:checked .page-indicator-icon, 1605&:checked:active { 1606background-image: none; 1607background-color: $selected_fg_color; 1608transition-duration: 0s; 1609} 1610} 1611 1612.no-frequent-applications-label { @extend %status_text; } 1613 1614.app-well-app > .overview-icon.overview-icon-with-label, 1615.grid-search-result .overview-icon.overview-icon-with-label { 1616padding: 10px 8px 5px 8px; 1617spacing: 4px; 1618} 1619 1620// Workspace pager 1621.workspace-thumbnails { //container ala dash 1622@extend %overview-panel; 1623visible-width: 32px; //amount visible before hover 1624spacing: 12px; 1625padding: 12px; 1626border-radius: 2px 0 0 2px; 1627//border-width: 0; //fixme: can't have non unoform borders :( 1628&:rtl { border-radius: 0 2px 2px 0;} 1629} 1630.workspace-thumbnail-indicator { 1631border: 0 solid $selected_fg_color; 1632border-left-width: 2px; 1633padding: 6px; 1634border-radius: 0; 1635} 1636 1637//Some hacks I don't even 1638.search-display > StBoxLayout, 1639.all-apps, 1640.frequent-apps > StBoxLayout { 1641// horizontal padding to make sure scrollbars or dash don't overlap content 1642padding: 0px 88px 10px 88px; 1643} 1644 1645%overview-panel { 1646color: $selected_fg_color; 1647background-color: $overview_bg_color; 1648border: none; 1649} 1650 1651%status_text { 1652@include font(display-2); 1653color: $tertiary_selected_fg_color; 1654} 1655 1656/* NOTIFICATIONS & MESSAGE TRAY */ 1657 1658.url-highlighter { link-color: $link_color; } 1659 1660// Banners 1661.notification-banner { 1662font-size: 1em; 1663width: 34em; 1664min-height: $menuitem_size * 2; 1665margin: 5px; 1666border-radius: 2px; 1667color: $fg_color; 1668background-color: $base_color; 1669border: none; 1670box-shadow: $z-depth-2; 1671&:hover { background-color: $base_color; } 1672&:focus { background-color: $base_color; } 1673 1674.notification-icon { padding: 5px; } 1675.notification-content { padding: 5px; spacing: 5px; } 1676.secondary-icon { @include px-to-em(16px); } 1677.notification-actions { 1678background-color: transparent; 1679padding-top: 0; 1680border-top: 1px solid $borders_color; 1681spacing: 1px; 1682} 1683.notification-button { 1684min-height: 40px; 1685padding: 0 16px; 1686background-color: transparent; 1687color: $secondary_fg_color; 1688font-weight: 500; 1689&:first-child { border-radius: 0 0 0 2px; } 1690&:last-child { border-radius: 0 0 2px 0; } 1691&:hover, &focus { background-color: $semi_track_color; color: $fg_color; } 1692&:active { background-color: $track_color; color: $fg_color; } 1693} 1694} 1695.summary-source-counter { 1696font-size: 1em; 1697font-weight: bold; 1698height: 1.6em; width: 1.6em; 1699-shell-counter-overlap-x: 3px; 1700-shell-counter-overlap-y: 3px; 1701background-color: $selected_bg_color; 1702color: $selected_fg_color; 1703border: 2px solid $selected_fg_color; 1704box-shadow: 0 2px 2px rgba(0,0,0,0.5); 1705border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%; 1706} 1707 1708.secondary-icon { @include px-to-em(16px); } 1709 1710//chat bubbles 1711.chat-body { spacing: 5px; } 1712.chat-response { margin: 5px; } 1713.chat-log-message { color: $fg_color; } 1714.chat-new-group { padding-top: 1em; } 1715.chat-received { 1716padding-left: 4px; 1717&:rtl { padding-left: 0px; padding-right: 4px; } 1718} 1719.chat-sent { 1720padding-left: 18pt; 1721color: $secondary_fg_color; 1722&:rtl { padding-left: 0; padding-right: 18pt; } 1723} 1724.chat-meta-message { 1725padding-left: 4px; 1726@include font(caption); 1727color: $tertiary_fg_color; 1728&:rtl { padding-left: 0; padding-right: 4px; } 1729} 1730 1731//hotplug 1732.hotplug-transient-box { 1733spacing: 6px; 1734padding: 2px 72px 2px 12px; 1735} 1736.hotplug-notification-item { 1737padding: 2px 10px; 1738&:focus { padding: 1px 71px 1px 11px; } 1739} 1740 1741.hotplug-notification-item-icon { 1742icon-size: 24px; 1743padding: 2px 5px; 1744} 1745 1746.hotplug-resident-box { spacing: 8px; } 1747 1748.hotplug-resident-mount { 1749spacing: 8px; 1750border-radius: 2px; 1751&:hover { background-color: $semi_track_color; } 1752&:active { background-color: $track_color; } 1753} 1754 1755.hotplug-resident-mount-label { 1756color: inherit; 1757padding-left: 6px; 1758} 1759 1760.hotplug-resident-mount-icon { 1761icon-size: 24px; 1762padding-left: 6px; 1763} 1764 1765.hotplug-resident-eject-icon { 1766icon-size: 16px; 1767} 1768 1769.hotplug-resident-eject-button { 1770padding: 7px; 1771border-radius: 2px; 1772color: $fg_color; 1773} 1774 1775/* Eeeky things */ 1776 1777$legacy_icon_size: 24px; 1778 1779.legacy-tray { 1780background-color: $bg_color; 1781color: $selected_fg_color; 1782border: none; 1783border-bottom-width: 0; 1784&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; } 1785&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; } 1786} 1787 1788.legacy-tray-handle, 1789.legacy-tray-icon { 1790padding: 6px; 1791& StIcon { icon-size: $legacy_icon_size; } 1792&:hover,&:focus { background-color: $selected_semi_track_color; } 1793&:active { background-color: $selected_track_color; } 1794} 1795 1796.legacy-tray-icon-box { 1797spacing: 12px; 1798&:ltr { padding-left: 12px; } 1799&:rtl { padding-right: 12px; } 1800& StButton { width: $legacy_icon_size; height: $legacy_icon_size } 1801} 1802 1803//magnifier 1804 1805.magnifier-zoom-region { 1806border: 2px solid $selected_bg_color; 1807&.full-screen { border-width: 0; } 1808} 1809 1810//Keyboard 1811/* On-screen Keyboard */ 1812 1813#keyboard { 1814background-color: $osd_bg_color; 1815} 1816 1817.keyboard-layout { 1818spacing: 10px; 1819padding: 10px; 1820} 1821 1822.keyboard-row { spacing: 15px; } 1823 1824.keyboard-key { 1825min-height: $medium_size * 2; 1826min-width: $medium_size * 2; 1827font-size: 2em; 1828font-weight: 500; 1829border-radius: 2px; 1830border: none; 1831color: inherit; 1832@include button(normal); 1833&:focus { @include button(focus); } 1834&:hover,&:checked { @include button(hover); } 1835&:active { @include button(active);} 1836&:grayed { //FIXME 1837background-color: $osd_bg_color; 1838color: $selected_fg_color; 1839border-color: $osd_bg_color; 1840} 1841} 1842 1843.keyboard-subkeys { //long press on a key popup 1844color: inherit; 1845padding: 5px; 1846-arrow-border-radius: 0; 1847-arrow-background-color: transparent; 1848-arrow-border-width: 0; 1849-arrow-border-color: transparent; 1850-arrow-base: 0; 1851-arrow-rise: 0; 1852-boxpointer-gap: 5px; 1853background-color: $base_color; 1854border-radius: 2px; 1855box-shadow: $z-depth-2; 1856} 1857 1858// IBus Candidate Popup 1859 1860.candidate-popup-content { 1861padding: 8px; 1862spacing: 0; 1863} 1864 1865.candidate-index { 1866padding: 0 4px 0 0; 1867color: $tertiary_fg_color; 1868.candidate-box:selected & { color: $tertiary_selected_fg_color; } 1869} 1870 1871.candidate-box { 1872transition-duration: 0s; 1873min-height: $menuitem_size; 1874padding: 0 8px; 1875border-radius: 2px; 1876&:hover { background-color: $semi_track_color; color: $fg_color; } 1877&:active { background-color: $track_color; color: $fg_color; } 1878&:selected { background-color: $selected_bg_color; color: $selected_fg_color; } 1879} 1880 1881.candidate-page-button-box { 1882height: $menuitem_size; 1883.vertical & { padding-top: 0; } 1884.horizontal & { padding-left: 0; } 1885} 1886 1887.candidate-page-button { 1888min-width: $menuitem_size; 1889min-height: $menuitem_size; 1890padding: 0; 1891} 1892 1893.candidate-page-button-previous { border-radius: 2px; border-right-width: 0; } 1894.candidate-page-button-next { border-radius: 2px; } 1895.candidate-page-button-icon { @include px-to-em(16px); } 1896 1897/* Auth Dialogs & Screen Shield */ 1898 1899.framed-user-icon { 1900background-size: contain; 1901border: none; 1902color: $selected_fg_color; 1903border-radius: 2px; 1904&:hover { 1905border-color: $selected_fg_color; 1906color: $selected_fg_color; 1907} 1908} 1909 1910// LOGIN DIALOG 1911 1912.login-dialog-banner-view { 1913padding-top: 24px; 1914max-width: 23em; 1915} 1916 1917.login-dialog { 1918//reset 1919border: none; 1920background-color: transparent; 1921 1922StEntry { 1923color: $selected_fg_color; 1924selection-background-color: $selected_track_color; 1925selected-color: $selected_fg_color; 1926@include entry(normal, $fc:$selected_track_color); 1927&:focus { @include entry(focus, $fc:$selected_fg_color); } 1928&:insensitive { 1929@include entry(insensitive, $fc:$selected_insensitive_track_color); 1930color: $insensitive_selected_fg_color; 1931} 1932} 1933 1934.modal-dialog-button-box { spacing: 3px; } 1935.modal-dialog-button { 1936padding: 0 16px; 1937@include button(flat-normal, $tc:$secondary_selected_fg_color); 1938&:hover,&:focus { @include button(flat-hover, $c:$selected_semi_track_color, $tc:$selected_fg_color); } 1939&:active { @include button(flat-active, $c:$selected_track_color, $tc:$selected_fg_color); } 1940&:insensitive { @include button(flat-insensitive, $tc:$insensitive_secondary_selected_fg_color); } 1941&:default { 1942@include button(normal, $c:$suggested_color, $tc:$selected_fg_color); 1943&:hover,&:focus { @include button(hover, $c:$suggested_color, $tc:$selected_fg_color); } 1944&:active { @include button(active, $c:$suggested_color, $tc:$selected_fg_color); } 1945&:insensitive { @include button(insensitive, $c:$selected_insensitive_track_color, $tc:$insensitive_selected_fg_color); } 1946 1947} 1948} 1949 1950} 1951 1952.login-dialog-logo-bin { padding: 24px 0px; } 1953.login-dialog-banner { color: $secondary_selected_fg_color; } 1954.login-dialog-button-box { spacing: 5px; } 1955.login-dialog-message-warning { color: $warning_color; } 1956.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; } 1957.login-dialog-user-selection-box { 1958padding: 100px 0px; 1959.login-dialog-not-listed-label { 1960padding-left: 2px; 1961.login-dialog-not-listed-button:focus &, 1962.login-dialog-not-listed-button:hover & { 1963color: $selected_fg_color; 1964} 1965} 1966} 1967.login-dialog-not-listed-label { 1968font-size: 1em; 1969font-weight: bold; 1970color: $secondary_selected_fg_color; 1971padding-top: 1em; 1972&:hover { color: $selected_fg_color; } 1973&:focus { background-color: $selected_semi_track_color; } 1974} 1975 1976.login-dialog-user-list-view { -st-vfade-offset: 1em; } 1977.login-dialog-user-list { 1978spacing: 12px; 1979padding: .2em; 1980width: 23em; 1981&:expanded .login-dialog-user-list-item:focus { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1982&:expanded .login-dialog-user-list-item:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1983&:expanded .login-dialog-user-list-item:active { background-color: $selected_track_color; color: $selected_fg_color; } 1984&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_fg_color; } 1985} 1986.login-dialog-user-list-item { 1987border-radius: 2px; 1988padding: .2em; 1989color: $secondary_selected_fg_color; 1990&:ltr { padding-right: 1em; } 1991&:rtl { padding-left: 1em; } 1992&:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1993&:active { background-color: $selected_track_color; color: $selected_fg_color; } 1994.login-dialog-timed-login-indicator { 1995height: 2px; 1996margin: 2px 0 0 0; 1997background-color: $selected_fg_color; 1998} 1999&:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; } 2000} 2001 2002.login-dialog-username, 2003.user-widget-label { 2004color: $selected_fg_color; 2005@include font(title); 2006text-align: left; 2007padding-left: 15px; 2008} 2009.user-widget-label { 2010&:ltr { padding-left: 18px; } 2011&:rtl { padding-right: 18px; } 2012} 2013 2014.login-dialog-prompt-layout { 2015padding-top: 24px; 2016padding-bottom: 12px; 2017spacing: 8px; 2018width: 23em; 2019} 2020 2021.login-dialog-prompt-label { 2022color: $tertiary_selected_fg_color; 2023font-size: 1em; 2024padding-top: 1em; 2025} 2026 2027.login-dialog-session-list-button StIcon { 2028icon-size: 1.25em; 2029} 2030 2031.login-dialog-session-list-button { 2032color: $secondary_selected_fg_color; 2033&:hover,&:focus { color: $selected_fg_color; } 2034&:active { color: $selected_fg_color; } 2035} 2036 2037//SCREEN SHIELD 2038 2039.screen-shield-arrows { 2040padding-bottom: 3em; 2041} 2042 2043.screen-shield-arrows Gjs_Arrow { 2044color: white; 2045width: 80px; 2046height: 48px; 2047-arrow-thickness: 12px; 2048-arrow-shadow: $z-depth-1; 2049} 2050 2051.screen-shield-clock { 2052color: white; 2053text-shadow: $z-depth-1; 2054font-weight: normal; 2055text-align: center; 2056padding-bottom: 1.5em; 2057} 2058 2059.screen-shield-clock-time { 2060@include font(display-4); 2061text-shadow: $z-depth-1; 2062} 2063 2064.screen-shield-clock-date { @include font(display-2); } 2065 2066.screen-shield-notifications-container { 2067spacing: 6px; 2068width: 30em; 2069background-color: transparent; 2070max-height: 500px; 2071.summary-notification-stack-scrollview { 2072padding-top: 0; 2073padding-bottom: 0; 2074} 2075 2076.notification, 2077.screen-shield-notification-source { 2078padding: 8px; 2079border: none; 2080background-color: $osd_bg_color; 2081color: $selected_fg_color; 2082border-radius: 2px; 2083} 2084.notification { margin-right: 16px; } //compensate for space allocated to the scrollbar 2085} 2086 2087 2088.screen-shield-notification-label { 2089min-height: $small_size - 2px; 2090padding: 2px 0px 0px 16px; 2091font-weight: bold; 2092} 2093 2094.screen-shield-notification-count-text { 2095min-height: $small_size - 2px; 2096padding: 2px 0px 0px 16px; 2097color: $secondary_selected_fg_color; 2098} 2099 2100#panel.lock-screen { background-color: $osd_bg_color; } 2101 2102.screen-shield-background { //just the shadow, really 2103background: black; 2104box-shadow: $z-depth-5; 2105} 2106 2107#lockDialogGroup { 2108background: #607D8B url("assets/noise-texture.svg"); 2109background-size: cover; 2110} 2111 2112#screenShieldNotifications { 2113StScrollBar { @extend %overview_scrollbar; } 2114} 2115 2116 2117// Looking Glass 2118#LookingGlassDialog { 2119background-color: $base_color; 2120spacing: 4px; 2121padding: 0; 2122border: none; 2123border-radius: 2px; 2124box-shadow: $z-depth-4; 2125& > #Toolbar { 2126padding: 0 8px; 2127border: none; 2128border-radius: 0; 2129background-color: rgba($base_color, 0.01); 2130box-shadow: inset 0 -1px 0 $borders_color; 2131} 2132.labels { spacing: 0; } 2133.notebook-tab { 2134-natural-hpadding: 12px; 2135-minimum-hpadding: 6px; 2136font-weight: bold; 2137color: $tertiary_fg_color; 2138transition-duration: 0.2s; 2139padding-left: 16px; 2140padding-right: 16px; 2141min-height: $medium_size; 2142padding: 0 16px * 2; 2143&:hover { 2144box-shadow: inset 0 -2px 0px $track_color; 2145color: $fg_color; 2146text-shadow: none; 2147} 2148&:selected { 2149border-bottom-width: 0; 2150border-color: transparent; 2151background-color: rgba($base_color, 0.01); 2152box-shadow: inset 0 -2px 0px $selected_bg_color; 2153color: $fg_color; 2154text-shadow: none; 2155} 2156} 2157StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } 2158StBoxLayout#ResultsArea { spacing: 4px; } 2159} 2160 2161.lg-dialog { 2162StEntry { 2163selection-background-color: $selected_bg_color; 2164selected-color: $selected_fg_color; 2165} 2166.shell-link { 2167color: $link_color; 2168&:hover { color: $link_color; } 2169} 2170} 2171 2172.lg-completions-text { 2173font-size: 1em; 2174font-style: italic; 2175} 2176 2177.lg-obj-inspector-title { 2178spacing: 4px; 2179} 2180 2181.lg-obj-inspector-button { 2182min-height: $medium_size; 2183padding: 0 16px; 2184border: none; 2185border-radius: 2px; 2186@include font(button); 2187@include button(flat-normal); 2188&:hover { @include button(flat-hover); } 2189&:active { @include button(flat-active); } 2190&:insensitive { @include button(flat-insensitive); } 2191&:focus { @include button(flat-focus); } 2192&:hover { border: none; } 2193} 2194 2195#lookingGlassExtensions { padding: 4px; } 2196 2197.lg-extensions-list { 2198padding: 4px; 2199spacing: 6px; 2200} 2201 2202.lg-extension { 2203border: none; 2204border-radius: 2px; 2205padding: 4px; 2206} 2207 2208.lg-extension-name { 2209@include font(headline); 2210} 2211 2212.lg-extension-meta { 2213spacing: 6px; 2214} 2215 2216#LookingGlassPropertyInspector { 2217background: $base_color; 2218border: none; 2219border-radius: 2px; 2220padding: 6px; 2221box-shadow: $z-depth-4; 2222} 2223