_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* { 30transition-timing-function : cubic-bezier(0.4, 0, 0.2, 1); 31transition-duration: 0.2s; 32} 33 34/* GLOBALS */ 35$root-font-size: 14px; 36$font-family: "M+ 1c", Roboto, Cantarell, Sans-Serif; 37$large-font-family: Roboto, "M+ 1c", Cantarell, Sans-Serif; 38 39stage { 40font-family: $font-family; 41@include font(body-1); 42color: $fg_color; 43} 44 45/* WIDGETS */ 46 47/* Buttons */ 48.button { 49border-radius: 2px; 50border-width: 0; 51padding: 7px 16px 8px; 52@include font(button); 53@include button(flat-normal); 54&:hover { @include button(flat-hover); } 55&:active { @include button(flat-active); } 56&:insensitive { @include button(flat-insensitive); } 57&:focus { @include button(flat-focus); } 58 59} 60 61.modal-dialog-linked-button { 62border-right-width: 0; 63@include font(button); 64border-top: 1px solid $borders_color !important; 65@include button(flat-normal); 66&:hover { @include button(flat-hover); } 67&:active { @include button(flat-active); } 68&:insensitive { @include button(flat-insensitive); } 69&:focus { @include button(flat-focus); } 70padding: 9px 16px 10px; 71 72&:first-child { 73border-radius: 0px 0px 0px 2px; 74} 75&:last-child { 76border-right-width: 0px; 77border-radius: 0px 0px 2px 0px; 78} 79&:first-child:last-child { 80border-right-width: 0px; 81border-radius: 0px 0px 2px 2px; 82} 83} 84 85/* Entries */ 86StEntry { 87border-radius: 0; 88padding: 7px 8px 8px; 89border-width: 0; 90color: $fg_color; 91selection-background-color: $selected_bg_color; 92selected-color: $selected_fg_color; 93@include font(subheading); 94@include entry(normal); 95//&:hover { @include entry(hover);} 96&:focus { @include entry(focus);} 97&:insensitive { @include entry(insensitive);} 98StIcon.capslock-warning { 99icon-size: 16px; 100warning-color: $warning_color; 101padding: 0 2px; 102} 103} 104 105 106/* Scrollbars */ 107 108StScrollView { 109&.vfade { -st-vfade-offset: 32px; } 110&.hfade { -st-hfade-offset: 32px; } 111} 112 113StScrollBar { 114padding: 0; 115 116StScrollView & { 117min-width: 16px; 118min-height: 16px; 119} 120 121StBin#trough { 122margin: 4px; 123border-radius: 100px; 124background-color: $track_color; 125} 126 127StButton#vhandle, StButton#hhandle { 128border-radius: 100px; 129background-color: $tertiary_fg_color; 130//border: 4px solid transparent; //would be nice to margin or at least to transparent 131margin: 4px; 132&:hover { background-color: $secondary_fg_color; } 133&:active { background-color: $fg_color; } 134} 135} 136 137/* Slider */ 138 139.slider { 140height: 20px; 141color: $accent_bg_color; 142-slider-height: 4px; 143-slider-background-color: $track_color; //background of the trough 144-slider-border-color: transparent; //trough border color 145-slider-active-background-color: $accent_bg_color; //active trough fill 146-slider-active-border-color: transparent; //active trough border 147-slider-border-width: 0; 148-slider-handle-radius: 8px; 149} 150 151/* Check Boxes */ 152 153.check-box { 154StBoxLayout { spacing: .8em; } 155StBin { 156width: 24px; 157height: 24px; 158background-image: url("assets/checkbox-off.svg"); 159color: $secondary_fg_color; 160} 161&:focus StBin { background-image: url("assets/checkbox-off.svg"); } 162&:checked StBin { background-image: url("assets/checkbox.svg"); } 163&:focus:checked StBin { background-image: url("assets/checkbox.svg"); } 164} 165 166/* Switches */ 167.toggle-switch { 168width: 40px; 169height: 20px; 170background-size: contain; 171} 172 173@each $v in us, intl { 174.toggle-switch-#{$v} { 175background-image: url("assets/toggle-off.svg"); 176&:checked { background-image: url("assets/toggle-on.svg"); } 177} 178} 179 180/* links */ 181.shell-link { 182border-radius: 2px; 183color: $link_color; 184&:hover { color: $link_color; background-color: scale-alpha($link_color, $lower_opacity / 2); } 185&:active { color: $link_color; background-color: scale-alpha($link_color, $lower_opacity); } 186} 187 188/* Modal Dialogs */ 189 190.headline { @include font(headline); } 191.lightbox { background-color: black; } 192.flashspot { background-color: white; } 193 194.modal-dialog { 195border-radius: 2px; 196color: $fg_color; 197background-color: $base_color; 198border: none; 199@include shadow(4); 200.modal-dialog-content-box { 201padding: 24px; 202} 203.run-dialog-entry { width: 20em; margin-bottom: 6px; } 204.run-dialog-error-box { 205padding-top: 16px; 206spacing: 6px; 207} 208.run-dialog-button-box { padding-top: 1em; } 209.run-dialog-label { 210font-size: 1em; 211font-weight: normal; 212color: $tertiary_fg_color; 213padding-bottom: .4em; 214} 215 216} 217 218.show-processes-dialog-subject, 219.mount-question-dialog-subject, 220.end-session-dialog-subject { //this should be a generic header class 221@include font(headline); 222} 223 224/* End Session Dialog */ 225.end-session-dialog { 226spacing: 42px; 227border: none; 228} 229 230.end-session-dialog-list { 231padding-top: 20px; 232} 233 234.end-session-dialog-layout { 235padding-left: 17px; 236&:rtl { padding-right: 17px; } 237} 238 239.end-session-dialog-description { 240width: 28em; 241padding-bottom: 10px; 242&:rtl { 243text-align: right; 244} 245} 246 247.end-session-dialog-warning { 248width: 28em; 249color: $warning_color; 250padding-top: 6px; 251&:rtl { 252text-align: right; 253} 254} 255 256.end-session-dialog-logout-icon { 257//border: 2px solid #8b8b8b; 258border-radius: 5px; 259width: 48px; 260height: 48px; 261background-size: contain; 262} 263 264.end-session-dialog-shutdown-icon { 265color: $tertiary_fg_color; 266width: 48px; 267height: 48px; 268} 269 270.end-session-dialog-inhibitor-layout { 271spacing: 16px; 272max-height: 200px; 273padding-right: 65px; 274padding-left: 65px; 275} 276 277.end-session-dialog-session-list, 278.end-session-dialog-app-list { 279spacing: 1em; 280} 281 282.end-session-dialog-list-header { 283font-weight: bold; 284&:rtl { text-align: right; } 285} 286 287.end-session-dialog-app-list-item, 288.end-session-dialog-session-list-item { 289spacing: 1em; 290} 291 292.end-session-dialog-app-list-item-name, 293.end-session-dialog-session-list-item-name { 294font-weight: bold; 295} 296 297.end-session-dialog-app-list-item-description { 298color: $tertiary_fg_color; 299font-size: 1em; 300} 301 302/* ShellMountOperation Dialogs */ 303.shell-mount-operation-icon { icon-size: 48px; } 304 305.show-processes-dialog, 306.mount-question-dialog { 307spacing: 24px; 308} 309 310.show-processes-dialog-subject, 311.mount-question-dialog-subject { 312padding-top: 10px; 313padding-left: 17px; 314padding-bottom: 6px; 315} 316 317.mount-question-dialog-subject { 318max-width: 500px; 319} 320 321.show-processes-dialog-subject:rtl, 322.mount-question-dialog-subject:rtl { 323padding-left: 0px; 324padding-right: 17px; 325} 326 327.show-processes-dialog-description, 328.mount-question-dialog-description { 329padding-left: 17px; 330width: 28em; 331} 332 333.show-processes-dialog-description:rtl, 334.mount-question-dialog-description:rtl { 335padding-right: 17px; 336} 337 338.show-processes-dialog-app-list { 339max-height: 200px; 340padding-top: 24px; 341padding-left: 49px; 342padding-right: 32px; 343} 344 345.show-processes-dialog-app-list:rtl { 346padding-right: 49px; 347padding-left: 32px; 348} 349 350.show-processes-dialog-app-list-item { 351color: $fg_color; 352&:hover { color: $fg_color; } 353&:ltr { padding-right: 1em; } 354&:rtl { padding-left: 1em; } 355} 356 357.show-processes-dialog-app-list-item-icon { 358&:ltr { padding-right: 17px; } 359&:rtl { padding-left: 17px; } 360} 361 362.show-processes-dialog-app-list-item-name { 363font-size: 1em; 364} 365 366 367/* Password or Authentication Dialog */ 368 369.prompt-dialog { 370//this is the width of the entire modal popup 371width: 500px; 372border: none; 373} 374 375.prompt-dialog-main-layout { 376spacing: 24px; 377padding: 10px; 378} 379 380.prompt-dialog-message-layout { 381spacing: 16px; 382} 383 384.prompt-dialog-headline { 385@include font(headline); 386color: $fg_color; 387} 388 389.prompt-dialog-description:rtl { 390text-align: right; 391} 392 393.prompt-dialog-password-box { 394spacing: 1em; 395padding-bottom: 1em; 396} 397 398.prompt-dialog-error-label { 399font-size: 1em; 400color: $error_color; 401padding-bottom: 8px; 402} 403 404.prompt-dialog-info-label { 405font-size: 1em; 406padding-bottom: 8px; 407} 408 409.hidden { 410color: rgba(0,0,0,0); 411} 412 413.prompt-dialog-null-label { 414font-size: 1em; 415padding-bottom: 8px; 416} 417 418 419/* Polkit Dialog */ 420 421.polkit-dialog-user-layout { 422padding-left: 10px; 423spacing: 10px; 424&:rtl { 425padding-left: 0px; 426padding-right: 10px; 427} 428} 429 430.polkit-dialog-user-root-label { 431color: $warning_color; 432} 433 434.polkit-dialog-user-icon { 435border-radius: 5px; 436background-size: contain; 437width: 48px; 438height: 48px; 439} 440 441/* Network Agent Dialog */ 442 443.network-dialog-secret-table { 444spacing-rows: 15px; 445spacing-columns: 1em; 446} 447 448.keyring-dialog-control-table { 449spacing-rows: 15px; 450spacing-columns: 1em; 451} 452 453/* Popvers/Menus */ 454 455.popup-menu { 456min-width: 200px; 457 458.popup-menu-arrow { } //defined globally in the TOP BAR 459.popup-sub-menu { 460background-color: $secondary_base_color; 461box-shadow: 0 0 transparent; 462} 463 464.popup-menu-content { padding: 8px 0; } 465.popup-menu-item { 466spacing: 12px; 467 468&:ltr { padding: .4em 1.75em .4em 0em; } 469&:rtl { padding: .4em 0em .4em 1.75em; } 470&:checked { 471background-color: $selected_bg_color; 472color: $selected_fg_color; 473box-shadow: 0 0 transparent; 474font-weight: normal; 475&.selected { 476background-color: mix($selected_fg_color, $selected_bg_color, percentage($lower_opacity / 2)); 477color: $selected_fg_color; 478} 479&:active { 480background-color: mix($selected_fg_color, $selected_bg_color, percentage($lower_opacity)); 481color: $selected_fg_color; 482} 483&:insensitive { color: $insensitive_selected_fg_color; } 484} 485&.selected { 486background-color: $semi_track_color; 487color: $fg_color; 488transition-duration: 0s; 489} 490&:active { 491background-color: $track_color; 492color: $fg_color; 493transition-duration: 0.2s; 494} 495&.selected:active { color: $fg_color; } 496&:insensitive { color: $insensitive_fg_color; } 497} 498 499.popup-inactive-menu-item { //all icons and other graphical elements 500color: $fg_color; 501 502&:insensitive { color: $insensitive_fg_color; } 503} 504//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is 505&.panel-menu { 506-boxpointer-gap: 4px; 507margin-bottom: 1.75em; 508} 509} 510 511 512 513.popup-menu-ornament { 514text-align: right; 515width: 1.2em; 516height: 1.2em; 517} 518.popup-menu-boxpointer, 519.candidate-popup-boxpointer { 520-arrow-border-radius: 0; 521-arrow-background-color: transparent; 522-arrow-border-width: 0; 523-arrow-border-color: transparent; 524-arrow-base: 0; 525-arrow-rise: 0; 526-arrow-box-shadow: none; //dreaming. bug #689995 527margin: 5px 8px 8px; 528background-color: $base_color; 529border-radius: 2px; 530@include shadow(2); 531} 532 533.popup-separator-menu-item { 534//-margin-horizontal: 24px; 535height: 1px; //not really the whole box 536margin: 6px 64px; 537background-color: transparent; 538border-color: $borders_color; 539border-bottom-width: 1px; 540border-bottom-style: solid; 541} 542 543 544// Background menu 545.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; } 546 547/* fallback menu 548- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled 549app menu inside the main app window itself rather than the top bar 550*/ 551 552 553/* OSD */ 554.osd-window { 555text-align: center; 556font-weight: bold; 557spacing: 1em; 558margin: 32px; 559min-width: 64px; 560min-height: 64px; 561 562.osd-monitor-label { @include font(display-2); } 563.level { 564height: 0.6em; 565border-radius: 4px; 566background-color: $track_color; 567color: $fg_color; 568} 569} 570 571/* App Switcher */ 572.switcher-popup { 573padding: 8px; 574spacing: 16px; 575} 576 577.osd-window, 578.resize-popup, 579.switcher-list { 580@extend %osd-panel; 581} 582 583.switcher-list-item-container { spacing: 8px; } 584 585.switcher-list .item-box { 586padding: 8px; 587border-radius: 2px; 588} 589 590.switcher-list .item-box:outlined { 591padding: 6px; 592border: 2px solid $track_color; 593} 594 595.switcher-list .item-box:selected { 596background-color: $selected_bg_color; 597color: $selected_fg_color; 598} 599 600.switcher-list .thumbnail-box { 601padding: 2px; 602spacing: 4px; 603} 604 605.switcher-list .thumbnail { 606width: 256px; 607} 608 609.switcher-list .separator { 610width: 1px; 611background: $borders_color; 612} 613 614.switcher-arrow { 615border-color: rgba(0,0,0,0); 616color: $tertiary_fg_color; 617&:highlighted { 618color: $fg_color; 619} 620} 621 622.input-source-switcher-symbol { 623@include font(display-2); 624width: 96px; 625height: 96px; 626} 627 628/* Workspace Switcher */ 629.workspace-switcher-group { padding: 12px; } 630 631.workspace-switcher-container { 632@extend %osd-panel; 633} 634 635.workspace-switcher { 636background: transparent; 637border: 0px; 638border-radius: 0px; 639padding: 0px; 640spacing: 8px; 641} 642 643.ws-switcher-active-up, .ws-switcher-active-down { 644height: 50px; 645background-color: $selected_bg_color; 646color: $selected_fg_color; 647background-size: 32px; 648border-radius: 2px; 649} 650 651.ws-switcher-box { 652height: 50px; 653border: 2px solid $track_color; 654background: transparent; 655border-radius: 2px; 656} 657 658%osd-panel { 659color: $fg_color; 660background-color: $base_color; 661border: none; 662@include shadow(4); 663border-radius: 2px; 664padding: 12px; 665} 666 667/* Tiled window previews */ 668.tile-preview { 669background-color: scale-alpha($secondary_selected_bg_color, $lower_opacity); 670border: 1px solid $secondary_selected_bg_color; 671} 672 673.tile-preview-left.on-primary { 674border-radius: $panel-corner-radius $panel-corner-radius 0 0; 675} 676 677.tile-preview-right.on-primary { 678border-radius: 0 $panel-corner-radius 0 0; 679} 680 681.tile-preview-left.tile-preview-right.on-primary { 682border-radius: $panel-corner-radius $panel-corner-radius 0 0; 683} 684 685/* TOP BAR */ 686 687#panel { 688background-color: $bg_color; 689font-weight: bold; 690height: 32px; 691 692&:overview, 693&.unlock-screen, 694&.login-screen, 695&.lock-screen { 696background-color: transparent; 697} 698 699#panelLeft, #panelCenter { // spacing between activities<>app menu and such 700spacing: 0; 701} 702 703.panel-corner { 704-panel-corner-radius: $panel-corner-radius; 705-panel-corner-background-color: $bg_color; 706-panel-corner-border-width: 2px; 707-panel-corner-border-color: transparent; 708 709&:active, &:overview, &:focus { 710-panel-corner-border-color: $selected_fg_color; 711} 712 713&.lock-screen, &.login-screen, &.unlock-screen { 714-panel-corner-radius: 0; 715-panel-corner-background-color: transparent; 716-panel-corner-border-color: transparent; 717} 718} 719 720.panel-button { 721-natural-hpadding: 12px; 722-minimum-hpadding: 6px; 723font-weight: bold; 724color: $secondary_selected_fg_color; 725transition-duration: 0.2s; 726 727.app-menu-icon { 728-st-icon-style: symbolic; 729margin-left: 4px; 730margin-right: 4px; 731//dimensions of the icon are hardcoded 732} 733 734&:hover { 735color: $selected_fg_color; 736} 737 738&:active, &:overview, &:focus, &:checked { 739// Trick due to St limitations. It needs a background to draw 740// a box-shadow 741background-color: rgba(0, 0, 0, 0.01); 742box-shadow: inset 0 -2px 0px $selected_fg_color; 743color: $selected_fg_color; 744 745& > .system-status-icon { icon-shadow: none; } 746} 747 748.system-status-icon { @include px-to-em(16px); padding: 0 5px; } 749.unlock-screen &, 750.login-screen &, 751.lock-screen & { 752color: $secondary_selected_fg_color; 753&:focus, &:hover, &:active { color: $selected_fg_color; } 754} 755} 756 757.panel-status-indicators-box, 758.panel-status-menu-box { 759spacing: 2px; 760} 761 762.screencast-indicator { color: $warning_color; } 763} 764 765// calendar popover 766#calendarArea { 767padding: 0.75em 1.0em; 768} 769 770.calendar { 771margin-bottom: 1em; 772} 773 774.calendar, 775.datemenu-today-button, 776.datemenu-displays-box, 777.message-list-sections { 778margin: 0 1.5em; 779} 780 781.datemenu-calendar-column { spacing: 0.5em; } 782.datemenu-displays-section { padding-bottom: 3em; } 783 784.datemenu-today-button, 785.world-clocks-button, 786.message-list-section-title { 787border-radius: 2px; 788padding: .4em; 789} 790 791.message-list-section-list:ltr { 792padding-left: .4em; 793} 794 795.message-list-section-list:rtl { 796padding-right: .4em; 797} 798 799.datemenu-today-button, 800.world-clocks-button, 801.message-list-section-title { 802&:hover,&:focus { color: $fg_color; background-color: $semi_track_color; } 803&:active { 804color: $fg_color; 805background-color: $track_color; 806} 807} 808 809.datemenu-today-button .day-label { 810} 811 812.datemenu-today-button .date-label { 813@include font(headline); 814} 815 816.world-clocks-header, 817.message-list-section-title { 818color: $secondary_fg_color; 819font-weight: bold; 820} 821 822.world-clocks-grid { 823spacing-rows: 0.4em; 824} 825 826.calendar-month-label { 827color: $fg_color; 828font-weight: bold; 829padding: 4px 0; 830&:focus {} 831} 832 833.pager-button { 834color: $fg_color; 835background-color: transparent; 836width: 32px; 837height: 32px; 838border-radius: 32px; 839&:hover, &:focus { background-color: $semi_track_color; } 840&:active { background-color: $track_color; } 841} 842 843.calendar-change-month-back { //arrow back 844background-image: url("assets/calendar-arrow-left.svg"); 845&:rtl { background-image: url("assets/calendar-arrow-right.svg"); } 846} 847.calendar-change-month-forward { //arrow foreward 848background-image: url("assets/calendar-arrow-right.svg"); 849&:rtl { background-image: url("assets/calendar-arrow-left.svg"); } 850} 851 852.calendar-day-base { 853@include font(caption); 854text-align: center; 855width: 32px; height: 32px; 856padding: 0; 857margin: 2px; 858border-radius: 32px; 859&:hover,&:focus { background-color: $semi_track_color; } 860// &:active { background-color: $track_color; } 861&:active { 862color: $selected_fg_color; 863background-color: $selected_bg_color; 864border-color: transparent; //avoid jumparound due to today 865} 866&.calendar-day-heading { //day of week heading 867color: $tertiary_fg_color; 868margin-top: 1em; 869@include font(caption); 870font-weight: bold; 871} 872&.calendar-week-number { //day of week heading 873font-weight: bold; 874color: $tertiary_fg_color; 875} 876} 877.calendar-day { //border collapse hack - see calendar.js 878border-width: 0; 879} 880.calendar-day-top { border-top-width: 0; } 881.calendar-day-left { border-left-width: 0; } 882.calendar-work-day { 883 884} 885.calendar-nonwork-day { 886color: $fg_color; 887} 888.calendar-today { 889font-weight: bold !important; 890//color: $fg_color; 891//background-color: transparent; 892border: none; 893} 894.calendar-day-with-events { 895color: $link_color; 896font-weight: normal; 897text-decoration: underline; 898background-image: none; 899} 900.calendar-other-month-day { 901color: $insensitive_fg_color; 902} 903 904/* Message list */ 905.message-list { 906width: 420px; 907} 908 909.message-list-sections { 910spacing: 1.5em; 911} 912 913.message-list-section, 914.message-list-section-list { 915spacing: 0.7em; 916} 917 918.message-list-section-title-box { 919spacing: 0.4em; 920} 921 922.message-list-section-close > StIcon { 923icon-size: 16px; 924border-radius: 16px; 925padding: 8px; 926color: $secondary_fg_color; 927background-color: transparent; 928} 929 930/* FIXME: how do you do this in sass? */ 931.message-list-section-close:hover > StIcon, 932.message-list-section-close:focus > StIcon { 933color: $fg_color; 934background-color: $semi_track_color; 935} 936 937.message-list-section-close:active > StIcon { 938color: $fg_color; 939background-color: $track_color; 940} 941 942.message { 943background-color: transparent; 944&:hover,&:focus { background-color: $semi_track_color; } 945&:active { background-color: $track_color; } 946border-radius: 2px; 947} 948 949.message-icon-bin { 950padding: 8px 0px 8px 8px; 951&:rtl { padding: 8px 8px 8px 0px; } 952} 953 954.message-icon-bin > StIcon { 955icon-size: 32px; 956} 957 958.message-secondary-bin { 959&:ltr { padding-left: 8px; } 960&:rtl { padding-right: 8px; } 961} 962 963.message-secondary-bin { 964color: $tertiary_fg_color; 965} 966 967.message-secondary-bin > StIcon { 968icon-size: 16px; 969} 970 971.message-title { 972color: $fg_color; 973@include font(subheading); 974} 975 976.message-content { 977padding: 8px; 978color: $secondary_fg_color; 979@include font(body-1); 980} 981 982.message-content * > StIcon { 983icon-size: 16px; 984border-radius: 16px; 985padding: 2px; 986color: $secondary_fg_color; 987} 988 989/* FIXME: how do you do this in sass? */ 990.message-content *:hover > StIcon, 991.message-content *:focus > StIcon { 992color: $fg_color; 993background-color: $semi_track_color; 994} 995 996.message-content *:active > StIcon { 997color: $fg_color; 998background-color: $track_color; 999} 1000 1001 1002// a little unstructured mess: 1003 1004.system-switch-user-submenu-icon.user-icon { 1005icon-size: 20px; 1006padding: 0 2px; 1007} 1008.system-switch-user-submenu-icon.default-icon { 1009icon-size: 16px; 1010padding: 0 4px; 1011} 1012 1013#appMenu { 1014spinner-image: url("assets/process-working.svg"); 1015spacing: 4px; 1016 1017.label-shadow { color: transparent; } 1018} 1019 1020.aggregate-menu { 1021min-width: 280px; 1022max-width: 400px; 1023.popup-menu-icon { padding: 0 4px; } 1024} 1025 1026.system-menu-action { 1027color: $secondary_fg_color; 1028border-radius: 32px; /* wish we could do 50% */ 1029padding: 16px; 1030border: none; 1031 1032&:hover, &:focus { 1033background-color: $semi_track_color; 1034color: $fg_color; 1035border: none; 1036padding: 16px; 1037} 1038&:active { background-color: $track_color; color: $fg_color; } 1039 1040& > StIcon { icon-size: 16px; } 1041} 1042 1043//Activities Ripples 1044.ripple-box { 1045width: 52px; 1046height: 52px; 1047background-image: url("assets/corner-ripple-ltr.svg"); 1048background-size: contain; 1049} 1050 1051.ripple-box:rtl { 1052background-image: url("assets/corner-ripple-rtl.svg"); 1053} 1054 1055// not really top bar only 1056.popup-menu-arrow { width: 16px; height: 16px; } 1057.popup-menu-icon { @include px-to-em(16px); } 1058 1059//close buttons 1060 1061.window-close { 1062height: 32px; 1063width: 32px; 1064-st-background-image-shadow: 0 1px 3px rgba(0,0,0,0.24), 0 1px 2px rgba(0,0,0,0.48); 1065background-image: url("assets/window-close.svg"); 1066background-size: 32px; 1067&:hover { -st-background-image-shadow: 0 3px 6px rgba(0,0,0,0.32), 0 3px 6px rgba(0,0,0,0.46); } 1068&:active { background-image: url("assets/window-close-active.svg"); } 1069} 1070.window-close { 1071-shell-close-overlap: 16px; 1072&:rtl { -st-background-image-shadow: 0 1px 3px rgba(0,0,0,0.24), 0 1px 2px rgba(0,0,0,0.48); } 1073&:rtl:hover { -st-background-image-shadow: 0 3px 6px rgba(0,0,0,0.32), 0 3px 6px rgba(0,0,0,0.46); } 1074} 1075 1076/* NETWORK DIALOGS */ 1077 1078.nm-dialog { 1079max-height: 500px; 1080min-height: 450px; 1081min-width: 470px; 1082} 1083 1084.nm-dialog-content { 1085spacing: 20px; 1086padding: 24px; 1087} 1088.nm-dialog-header-hbox { spacing: 10px; } 1089.nm-dialog-airplane-box { spacing: 12px; } 1090 1091.nm-dialog-airplane-headline { 1092font-weight: bold; 1093text-align: center; 1094} 1095 1096.nm-dialog-airplane-text { color: $fg_color; } 1097.nm-dialog-header-icon { icon-size: 32px; } 1098.nm-dialog-scroll-view { border: 2px solid $borders_color; } 1099.nm-dialog-header { font-weight: bold; } 1100 1101.nm-dialog-item { 1102@include font(subheading); 1103border-bottom: 1px solid $borders_color; 1104padding: 12px; 1105spacing: 20px; 1106} 1107 1108.nm-dialog-item:selected { 1109background-color: $selected_bg_color; 1110color: $selected_fg_color; 1111} 1112 1113.nm-dialog-icons { spacing: .5em; } 1114.nm-dialog-icon { icon-size: 16px; } 1115.no-networks-label { color: $tertiary_fg_color; } 1116.no-networks-box { spacing: 12px; } 1117 1118/* OVERVIEW */ 1119 1120#overview { 1121spacing: 24px; // 1122} 1123 1124.overview-controls { 1125padding-bottom: 32px; 1126} 1127 1128.window-picker { //container around window thumbnails 1129-horizontal-spacing: 32px; 1130-vertical-spacing: 32px; 1131padding-left: 32px; 1132padding-right: 32px; 1133padding-bottom: 48px; 1134 1135&.external-monitor { padding: 32px; } 1136} 1137 1138.window-clone-border { 1139border: 4px solid $selected_track_color; 1140border-radius: 2px; 1141// For window decorations with round corners we can't match 1142// the exact shape when the window is scaled. So apply a shadow 1143// to fix that case 1144box-shadow: inset 0px 0px 0px 1px $selected_track_color; 1145} 1146.window-caption { 1147spacing: 25px; 1148color: $selected_fg_color; 1149background-color: transparent; 1150border-radius: 2px; 1151padding: 4px 8px; 1152-shell-caption-spacing: 12px; 1153&:hover { background-color: $selected_track_color; color: $selected_fg_color; } 1154} 1155 1156//search entry 1157.search-entry { 1158width: 320px; 1159padding: 7px 8px 8px; 1160border-radius: 0; 1161color: $tertiary_selected_fg_color; 1162selection-background-color: $selected_track_color; 1163selected-color: $selected_fg_color; 1164@include entry(normal,$fc:$selected_track_color); 1165&:focus { 1166@include entry(focus,$fc:$selected_fg_color); 1167padding: 7px 8px 8px; 1168border-width: 0; 1169color: $selected_fg_color; 1170} 1171 1172.search-entry-icon { icon-size: 16px; padding: 0 2px; color: $tertiary_selected_fg_color; } 1173 1174&:hover, &:focus { 1175.search-entry-icon { color: $selected_fg_color; } 1176} 1177} 1178 1179//search results 1180 1181#searchResultsBin { 1182max-width: 1000px; 1183} 1184 1185#searchResultsContent { 1186padding-left: 20px; 1187padding-right: 20px; 1188spacing: 16px; 1189} 1190 1191.search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing 1192.search-section-content { spacing: 32px; } // This is the space between the provider icon and the results container 1193.search-statustext { // "no results" 1194@extend %status_text; 1195} 1196.list-search-results { spacing: 3px; } 1197 1198.search-section-separator { 1199-gradient-height: 1px; 1200-gradient-start: rgba(255,255,255,0); 1201-gradient-end: rgba(255,255,255,0.4); 1202-margin-horizontal: 1.5em; 1203height: 1px; 1204} 1205 1206.list-search-result-content { spacing: 12px; padding: 12px; } 1207.list-search-result-title { @include font(headline); color: $selected_fg_color; } 1208.list-search-result-description { color: $secondary_selected_fg_color; } 1209.search-provider-icon { padding: 15px; } 1210.search-provider-icon-more { 1211width: 16px; 1212height: 16px; 1213background-image: url("assets/more-results.svg"); 1214} 1215 1216 1217/* DASHBOARD */ 1218 1219#dash { 1220font-size: 1em; 1221color: $selected_fg_color; 1222background-color: $overview_bg_color; 1223padding: 3px 0; 1224border: none; 1225border-left: 0px; 1226border-radius: 0px 2px 2px 0px; 1227 1228&:rtl { 1229border-radius: 2px 0 0 2px; 1230} 1231 1232.placeholder { 1233background-image: url("assets/dash-placeholder.svg"); 1234background-size: contain; 1235height: 24px; 1236} 1237 1238.empty-dash-drop-target { 1239width: 24px; 1240height: 24px; 1241} 1242 1243} 1244 1245.dash-item-container > StWidget { 1246padding: 3px 6px; 1247} 1248 1249.dash-label { //osd tooltip 1250border-radius: 2px; 1251padding: 4px 12px; 1252color: $fg_color; 1253background-color: $base_color; 1254@include shadow(2); 1255text-align: center; 1256-x-offset: 8px; 1257} 1258 1259/* Add Dash to Dock Support */ 1260 1261#dashtodockContainer #dash { 1262background-color: $bg_color; 1263} 1264 1265#dashtodockContainer:overview #dash { 1266background-color: $overview_bg_color; 1267} 1268 1269#dashtodockContainer.extended:overview #dash { 1270background-color: transparent; 1271} 1272 1273#dashtodockContainer.left #dash, 1274#dashtodockContainer.right #dash { 1275padding: 3px 0; 1276} 1277 1278#dashtodockContainer.top #dash, 1279#dashtodockContainer.bottom #dash { 1280padding: 0 3px; 1281} 1282 1283#dashtodockContainer.extended #dash { 1284padding: 0; 1285border-radius: 0; 1286} 1287 1288#dashtodockContainer.left .dash-item-container > StWidget, 1289#dashtodockContainer.right .dash-item-container > StWidget, 1290#dashtodockContainer.extended.left .dash-item-container > StWidget, 1291#dashtodockContainer.extended.right .dash-item-container > StWidget { 1292padding: 3px 6px; 1293} 1294 1295#dashtodockContainer.extended.left .dash-item-container:first-child > StWidget, 1296#dashtodockContainer.extended.right .dash-item-container:first-child > StWidget { 1297padding: 6px 6px 3px 6px; 1298} 1299 1300#dashtodockContainer.extended.left .dash-item-container:last-child > StWidget, 1301#dashtodockContainer.extended.right .dash-item-container:last-child > StWidget { 1302padding: 3px 6px 6px 6px; 1303} 1304 1305#dashtodockContainer.top .dash-item-container > StWidget, 1306#dashtodockContainer.bottom .dash-item-container > StWidget, 1307#dashtodockContainer.extended.top .dash-item-container > StWidget, 1308#dashtodockContainer.extended.bottom .dash-item-container > StWidget { 1309padding: 6px 3px; 1310} 1311 1312#dashtodockContainer.extended.top .dash-item-container:first-child > StWidget, 1313#dashtodockContainer.extended.bottom .dash-item-container:first-child > StWidget { 1314padding: 6px 3px 6px 6px; 1315} 1316 1317#dashtodockContainer.extended.top .dash-item-container:last-child > StWidget, 1318#dashtodockContainer.extended.bottom .dash-item-container:last-child > StWidget { 1319padding: 6px 6px 6px 3px; 1320} 1321 1322#dashtodockContainer .app-well-app-running-dot { 1323background-color: transparent; 1324} 1325 1326#dashtodockContainer .dash-item-container > StWidget { 1327background-size: cover; 1328} 1329 1330@each $p,$pt in ('.left', 'left'), 1331('.right', 'right'), 1332('.top', 'top'), 1333('.bottom', 'bottom') { 1334@each $n,$nb in ('.running1','running1'), 1335('.running2','running2'), 1336('.running3','running3'), 1337('.running4','running4') { 1338@each $f,$fc in ('',''), 1339('.focused','-focused') { 1340#dashtodockContainer#{$p} .dash-item-container > StWidget#{$n}#{$f} { 1341background-image: url("assets/#{$pt}-#{$nb}#{$fc}.svg"); 1342} 1343} 1344} 1345} 1346 1347/* Add Simple Dock Support */ 1348 1349#dash:desktop { 1350background-color: $bg_color; 1351} 1352 1353/* App Vault/Grid */ 1354.icon-grid { 1355spacing: 30px; 1356-shell-grid-horizontal-item-size: 136px; 1357-shell-grid-vertical-item-size: 136px; 1358 1359.overview-icon { icon-size: 96px; } 1360} 1361//.app-display { spacing: 20px; } 1362 1363.app-view-controls { //favorties | all toggle container 1364width: 320px; 1365padding-bottom: 32px; 1366} 1367.app-view-control { //favorties | all toggle button 1368padding: 7px 32px 8px; 1369font-weight: bold; 1370color: $secondary_selected_fg_color; 1371&:hover { 1372color: $selected_fg_color; 1373background-color: $selected_semi_track_color !important; 1374} 1375&:active { 1376color: $selected_fg_color; 1377background-color: $selected_track_color !important; 1378} 1379&:checked { 1380color: $selected_fg_color; 1381background-color: rgba(0, 0, 0, 0.01) !important; 1382box-shadow: inset 0 2px 0px $selected_fg_color; 1383} 1384&:first-child { 1385border-right-width: 0; 1386border-radius: 2px; 1387&:checked { border-radius: 0; } 1388} 1389&:last-child { 1390border-radius: 2px; 1391&:checked { border-radius: 0; } 1392} 1393} 1394 1395//Icon tile 1396.search-provider-icon, 1397.list-search-result { 1398@extend %icon_tile; 1399&:focus, &:selected, &:hover { 1400background-color: $selected_semi_track_color; 1401transition-duration: 0s; 1402} 1403&:active, &:checked { 1404background-color: $selected_track_color; 1405transition-duration: 0.2s; 1406} 1407} 1408.app-well-app, 1409.app-well-app.app-folder, 1410.show-apps, 1411.grid-search-result { 1412& .overview-icon { 1413@extend %icon_tile; 1414} 1415&:hover .overview-icon, 1416&:focus .overview-icon, 1417&:selected .overview-icon { 1418background-color: $selected_semi_track_color; 1419transition-duration: 0s; 1420border-image: none; 1421background-image: none; 1422} 1423&:active .overview-icon, 1424&:checked .overview-icon { 1425background-color: $selected_track_color; 1426box-shadow: 0 0 transparent; 1427transition-duration: 0.2s; 1428} 1429 1430} 1431 1432.app-well-app-running-dot { //running apps indicator 1433width: 32px; height: 2px; 1434background-color: $selected_fg_color; 1435margin-bottom: 0; 1436} 1437 1438%icon_tile { 1439color: $selected_fg_color; 1440border-radius: 2px; 1441padding: 6px; 1442border: none; 1443transition-duration: 0.2s; 1444text-align: center; 1445} 1446 1447.app-well-app.app-folder > .overview-icon { 1448background-color: $overview_bg_color; 1449} 1450 1451.show-apps .show-apps-icon { 1452color: $secondary_selected_fg_color; 1453} 1454 1455.show-apps:hover .show-apps-icon, 1456.show-apps:active .show-apps-icon, 1457.show-apps:checked .show-apps-icon, 1458.show-apps:focus .show-apps-icon { 1459color: $selected_fg_color; 1460transition-duration: 0.2s; 1461} 1462 1463 1464// Collections 1465.app-folder-popup { //expanded collection 1466-arrow-border-radius: 2px; 1467-arrow-background-color: $overview_bg_color; 1468-arrow-base: 24px; 1469-arrow-rise: 12px; 1470} 1471.app-folder-popup-bin { padding: 5px; } 1472.app-folder-icon { 1473padding: 5px; 1474spacing-rows: 5px; 1475spacing-columns: 5px; 1476} 1477 1478.page-indicator { 1479padding: 15px 20px; 1480 1481.page-indicator-icon { 1482width: 12px; 1483height: 12px; 1484border-radius: 12px; 1485background-image: none; 1486background-color: scale-alpha($selected_fg_color, $lower_opacity); 1487} 1488 1489&:hover .page-indicator-icon { background-image: none; background-color: scale-alpha($selected_fg_color, $middle_opacity); } 1490&:active .page-indicator-icon { background-image: none; background-color: scale-alpha($selected_fg_color, $higher_opacity); } 1491&:checked .page-indicator-icon, 1492&:checked:active { background-image: none; background-color: $selected_fg_color; } 1493} 1494 1495.no-frequent-applications-label { @extend %status_text; } 1496 1497.app-well-app > .overview-icon.overview-icon-with-label, 1498.grid-search-result .overview-icon.overview-icon-with-label { 1499padding: 10px 8px 5px 8px; 1500spacing: 4px; 1501} 1502 1503// Workspace pager 1504.workspace-thumbnails { //container ala dash 1505@extend %overview-panel; 1506visible-width: 32px; //amount visible before hover 1507spacing: 12px; 1508padding: 12px; 1509border-radius: 2px 0 0 2px; 1510//border-width: 0; //fixme: can't have non unoform borders :( 1511&:rtl { border-radius: 0 2px 2px 0;} 1512} 1513.workspace-thumbnail-indicator { 1514border: 0 solid $selected_fg_color; 1515border-left-width: 2px; 1516padding: 6px; 1517border-radius: 0; 1518} 1519 1520//Some hacks I don't even 1521.search-display > StBoxLayout, 1522.all-apps, 1523.frequent-apps > StBoxLayout { 1524// horizontal padding to make sure scrollbars or dash don't overlap content 1525padding: 0px 88px 10px 88px; 1526} 1527 1528%overview-panel { 1529color: $selected_fg_color; 1530background-color: $overview_bg_color; 1531border: none; 1532} 1533 1534%status_text { 1535@include font(display-2); 1536color: $tertiary_selected_fg_color; 1537} 1538 1539/* Add Dash to Dock Support */ 1540 1541#workspacestodockContainer .workspace-thumbnails { 1542background-color: $bg_color; 1543} 1544 1545#workspacestodockContainer:overview .workspace-thumbnails { 1546background-color: $overview_bg_color; 1547} 1548 1549#workspacestodockContainer.fullheight:overview .workspace-thumbnails { 1550background-color: transparent; 1551} 1552 1553#workspacestodockContainer.right .workspace-thumbnails { 1554border-radius: 2px 0 0 2px; 1555} 1556 1557#workspacestodockContainer.left .workspace-thumbnails { 1558border-radius: 0 2px 2px 0; 1559} 1560 1561/* NOTIFICATIONS & MESSAGE TRAY */ 1562 1563.url-highlighter { link-color: $link_color; } 1564 1565// Banners 1566.notification-banner { 1567font-size: 1em; 1568width: 34em; 1569margin: 5px; 1570border-radius: 2px; 1571color: $fg_color; 1572background-color: $base_color; 1573border: none; 1574@include shadow(2); 1575&:hover { background-color: $base_color; } 1576&:focus { background-color: $base_color; } 1577 1578.notification-icon { padding: 5px; } 1579.notification-content { padding: 5px; spacing: 5px; } 1580.secondary-icon { @include px-to-em(16px); } 1581.notification-actions { 1582background-color: transparent; 1583padding-top: 0; 1584border-top: 1px solid $borders_color; 1585spacing: 1px; 1586} 1587.notification-button { 1588padding: 9px 4px 10px; 1589background-color: transparent; 1590color: $secondary_fg_color; 1591font-weight: 500; 1592&:first-child { border-radius: 0 0 0 2px; } 1593&:last-child { border-radius: 0 0 2px 0; } 1594&:hover, &focus { background-color: $semi_track_color; color: $fg_color; } 1595&:active { background-color: $track_color; color: $fg_color; } 1596} 1597} 1598.summary-source-counter { 1599font-size: 1em; 1600font-weight: bold; 1601height: 1.6em; width: 1.6em; 1602-shell-counter-overlap-x: 3px; 1603-shell-counter-overlap-y: 3px; 1604background-color: $selected_bg_color; 1605color: $selected_fg_color; 1606border: 2px solid $selected_fg_color; 1607box-shadow: 0 2px 2px rgba(0,0,0,0.5); 1608border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%; 1609} 1610 1611.secondary-icon { @include px-to-em(16px); } 1612 1613//chat bubbles 1614.chat-body { spacing: 5px; } 1615.chat-response { margin: 5px; } 1616.chat-log-message { color: $fg_color; } 1617.chat-new-group { padding-top: 1em; } 1618.chat-received { 1619padding-left: 4px; 1620&:rtl { padding-left: 0px; padding-right: 4px; } 1621} 1622.chat-sent { 1623padding-left: 18pt; 1624color: $secondary_fg_color; 1625&:rtl { padding-left: 0; padding-right: 18pt; } 1626} 1627.chat-meta-message { 1628padding-left: 4px; 1629@include font(caption); 1630color: $tertiary_fg_color; 1631&:rtl { padding-left: 0; padding-right: 4px; } 1632} 1633 1634//hotplug 1635.hotplug-transient-box { 1636spacing: 6px; 1637padding: 2px 72px 2px 12px; 1638} 1639.hotplug-notification-item { 1640padding: 2px 10px; 1641&:focus { padding: 1px 71px 1px 11px; } 1642} 1643 1644.hotplug-notification-item-icon { 1645icon-size: 24px; 1646padding: 2px 5px; 1647} 1648 1649.hotplug-resident-box { spacing: 8px; } 1650 1651.hotplug-resident-mount { 1652spacing: 8px; 1653border-radius: 2px; 1654&:hover { background-color: $semi_track_color; } 1655&:active { background-color: $track_color; } 1656} 1657 1658.hotplug-resident-mount-label { 1659color: inherit; 1660padding-left: 6px; 1661} 1662 1663.hotplug-resident-mount-icon { 1664icon-size: 24px; 1665padding-left: 6px; 1666} 1667 1668.hotplug-resident-eject-icon { 1669icon-size: 16px; 1670} 1671 1672.hotplug-resident-eject-button { 1673padding: 7px; 1674border-radius: 2px; 1675color: $fg_color; 1676} 1677 1678/* Eeeky things */ 1679 1680$legacy_icon_size: 24px; 1681 1682.legacy-tray { 1683background-color: $bg_color; 1684color: $selected_fg_color; 1685border: none; 1686border-bottom-width: 0; 1687&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; } 1688&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; } 1689} 1690 1691.legacy-tray-handle, 1692.legacy-tray-icon { 1693padding: 6px; 1694& StIcon { icon-size: $legacy_icon_size; } 1695&:hover,&:focus { background-color: $selected_semi_track_color; } 1696&:active { background-color: $selected_track_color; } 1697} 1698 1699.legacy-tray-icon-box { 1700spacing: 12px; 1701&:ltr { padding-left: 12px; } 1702&:rtl { padding-right: 12px; } 1703& StButton { width: $legacy_icon_size; height: $legacy_icon_size } 1704} 1705 1706//magnifier 1707 1708.magnifier-zoom-region { 1709border: 2px solid $selected_bg_color; 1710&.full-screen { border-width: 0; } 1711} 1712 1713//Keyboard 1714/* On-screen Keyboard */ 1715 1716#keyboard { 1717background-color: $osd_bg_color; 1718} 1719 1720.keyboard-layout { 1721spacing: 10px; 1722padding: 10px; 1723} 1724 1725.keyboard-row { spacing: 15px; } 1726 1727.keyboard-key { 1728min-height: 2em; 1729min-width: 2em; 1730font-size: 2em; 1731font-weight: 500; 1732border-radius: 2px; 1733border: none; 1734color: inherit; 1735@include button(normal); 1736&:focus { @include button(focus); } 1737&:hover,&:checked { @include button(hover); } 1738&:active { @include button(active);} 1739&:grayed { //FIXME 1740background-color: $osd_bg_color; 1741color: $selected_fg_color; 1742border-color: $osd_bg_color; 1743} 1744} 1745 1746.keyboard-subkeys { //long press on a key popup 1747color: inherit; 1748padding: 5px; 1749-arrow-border-radius: 0; 1750-arrow-background-color: transparent; 1751-arrow-border-width: 0; 1752-arrow-border-color: transparent; 1753-arrow-base: 0; 1754-arrow-rise: 0; 1755-boxpointer-gap: 5px; 1756background-color: $base_color; 1757border-radius: 2px; 1758@include shadow(2); 1759} 1760 1761// IBus Candidate Popup 1762 1763.candidate-popup-content { 1764padding: 0.5em; 1765spacing: 0.3em; 1766} 1767 1768.candidate-index { 1769padding: 0 0.5em 0 0; 1770color: $tertiary_fg_color; 1771} 1772 1773.candidate-box { 1774transition-duration: 0s; 1775padding: 0.3em 0.5em 0.3em 0.5em; 1776border-radius: 2px; 1777&:hover { background-color: $semi_track_color; color: $fg_color; } 1778&:active { background-color: $track_color; color: $fg_color; } 1779&:selected { background-color: $selected_bg_color; color: $selected_fg_color; } 1780} 1781 1782.candidate-page-button-box { 1783height: 2em; 1784.vertical & { padding-top: 0.5em; } 1785.horizontal & { padding-left: 0.5em; } 1786} 1787 1788.candidate-page-button { 1789padding: 4px; 1790} 1791 1792.candidate-page-button-previous { border-radius: 2px; border-right-width: 0; } 1793.candidate-page-button-next { border-radius: 2px; } 1794.candidate-page-button-icon { @include px-to-em(16px); } 1795 1796/* Auth Dialogs & Screen Shield */ 1797 1798.framed-user-icon { 1799background-size: contain; 1800border: none; 1801color: $selected_fg_color; 1802border-radius: 2px; 1803&:hover { 1804border-color: $selected_fg_color; 1805color: $selected_fg_color; 1806} 1807} 1808 1809// LOGIN DIALOG 1810 1811.login-dialog-banner-view { 1812padding-top: 24px; 1813max-width: 23em; 1814} 1815 1816.login-dialog { 1817//reset 1818border: none; 1819background-color: transparent; 1820 1821StEntry { 1822color: $selected_fg_color; 1823selection-background-color: $selected_track_color; 1824selected-color: $selected_fg_color; 1825@include entry(normal, $fc:$selected_track_color); 1826&:focus { @include entry(focus, $fc:$selected_fg_color); } 1827&:insensitive { 1828@include entry(insensitive, $fc:$selected_insensitive_track_color); 1829color: $insensitive_selected_fg_color; 1830} 1831} 1832 1833.modal-dialog-button-box { spacing: 3px; } 1834.modal-dialog-button { 1835padding: 7px 16px 8px; 1836@include button(flat-normal, $tc:$secondary_selected_fg_color); 1837&:hover,&:focus { @include button(flat-hover, $c:$selected_semi_track_color, $tc:$selected_fg_color); } 1838&:active { @include button(flat-active, $c:$selected_track_color, $tc:$selected_fg_color); } 1839&:insensitive { @include button(flat-insensitive, $tc:$insensitive_secondary_selected_fg_color); } 1840&:default { 1841@include button(normal, $c:$suggested_color, $tc:$selected_fg_color); 1842&:hover,&:focus { @include button(hover, $c:$suggested_color, $tc:$selected_fg_color); } 1843&:active { @include button(active, $c:$suggested_color, $tc:$selected_fg_color); } 1844&:insensitive { @include button(insensitive, $c:$selected_insensitive_track_color, $tc:$insensitive_selected_fg_color); } 1845 1846} 1847} 1848 1849} 1850 1851.login-dialog-logo-bin { padding: 24px 0px; } 1852.login-dialog-banner { color: $secondary_selected_fg_color; } 1853.login-dialog-button-box { spacing: 5px; } 1854.login-dialog-message-warning { color: $warning_color; } 1855.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; } 1856.login-dialog-user-selection-box { 1857padding: 100px 0px; 1858.login-dialog-not-listed-label { 1859padding-left: 2px; 1860.login-dialog-not-listed-button:focus &, 1861.login-dialog-not-listed-button:hover & { 1862color: $selected_fg_color; 1863} 1864} 1865} 1866.login-dialog-not-listed-label { 1867@include font(body-2); 1868font-weight: bold; 1869color: $secondary_selected_fg_color; 1870padding-top: 1em; 1871&:hover { color: $selected_fg_color; } 1872&:focus { background-color: $selected_semi_track_color; } 1873} 1874 1875.login-dialog-user-list-view { -st-vfade-offset: 1em; } 1876.login-dialog-user-list { 1877spacing: 12px; 1878padding: .2em; 1879width: 23em; 1880&:expanded .login-dialog-user-list-item:focus { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1881&:expanded .login-dialog-user-list-item:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1882&:expanded .login-dialog-user-list-item:active { background-color: $selected_track_color; color: $selected_fg_color; } 1883&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_fg_color; } 1884} 1885.login-dialog-user-list-item { 1886border-radius: 2px; 1887padding: .2em; 1888color: $secondary_selected_fg_color; 1889&:ltr { padding-right: 1em; } 1890&:rtl { padding-left: 1em; } 1891&:hover { background-color: $selected_semi_track_color; color: $selected_fg_color; } 1892&:active { background-color: $selected_track_color; color: $selected_fg_color; } 1893.login-dialog-timed-login-indicator { 1894height: 2px; 1895margin: 2px 0 0 0; 1896background-color: $selected_fg_color; 1897} 1898&:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; } 1899} 1900 1901.login-dialog-username, 1902.user-widget-label { 1903color: $selected_fg_color; 1904@include font(title); 1905text-align: left; 1906padding-left: 15px; 1907} 1908.user-widget-label { 1909&:ltr { padding-left: 18px; } 1910&:rtl { padding-right: 18px; } 1911} 1912 1913.login-dialog-prompt-layout { 1914padding-top: 24px; 1915padding-bottom: 12px; 1916spacing: 8px; 1917width: 23em; 1918} 1919 1920.login-dialog-prompt-label { 1921color: $tertiary_selected_fg_color; 1922font-size: 1em; 1923padding-top: 1em; 1924} 1925 1926.login-dialog-session-list-button StIcon { 1927icon-size: 1.25em; 1928} 1929 1930.login-dialog-session-list-button { 1931color: $secondary_selected_fg_color; 1932&:hover,&:focus { color: $selected_fg_color; } 1933&:active { color: $selected_fg_color; } 1934} 1935 1936//SCREEN SHIELD 1937 1938.screen-shield-arrows { 1939padding-bottom: 3em; 1940} 1941 1942.screen-shield-arrows Gjs_Arrow { 1943color: white; 1944width: 80px; 1945height: 48px; 1946-arrow-thickness: 12px; 1947-arrow-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 1948} 1949 1950.screen-shield-clock { 1951color: white; 1952text-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 1953font-weight: normal; 1954text-align: center; 1955padding-bottom: 1.5em; 1956} 1957 1958.screen-shield-clock-time { 1959@include font(display-4); 1960text-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 1961} 1962 1963.screen-shield-clock-date { @include font(display-2); } 1964 1965.screen-shield-notifications-container { 1966spacing: 6px; 1967width: 30em; 1968background-color: transparent; 1969max-height: 500px; 1970.summary-notification-stack-scrollview { 1971padding-top: 0; 1972padding-bottom: 0; 1973} 1974 1975.notification, 1976.screen-shield-notification-source { 1977padding: 12px 6px; 1978border: none; 1979background-color: $osd_bg_color; 1980color: $selected_fg_color; 1981border-radius: 2px; 1982} 1983.notification { margin-right: 15px; } //compensate for space allocated to the scrollbar 1984} 1985 1986 1987.screen-shield-notification-label { 1988font-weight: bold; 1989padding: 0px 0px 0px 12px; 1990} 1991 1992.screen-shield-notification-count-text { padding: 0px 0px 0px 12px; } 1993 1994#panel.lock-screen { background-color: $osd_bg_color; } 1995 1996.screen-shield-background { //just the shadow, really 1997background: black; 1998@include shadow(5); 1999} 2000 2001#lockDialogGroup { 2002background: #607D8B url("assets/noise-texture.svg"); 2003background-size: cover; 2004} 2005 2006#screenShieldNotifications { 2007StButton#vhandle, StButton#hhandle { 2008background-color: $tertiary_selected_fg_color; 2009&:hover, &:focus { background-color: $secondary_selected_fg_color; } 2010&:active { background-color: $selected_fg_color; } 2011} 2012} 2013 2014 2015// Looking Glass 2016#LookingGlassDialog { 2017background-color: $base_color; 2018spacing: 4px; 2019padding: 0; 2020border: none; 2021border-radius: 2px; 2022@include shadow(4); 2023& > #Toolbar { 2024padding: 0 8px; 2025border: none; 2026border-radius: 0; 2027background-color: rgba(0, 0, 0, 0.01); 2028box-shadow: inset 0 -1px 0px $borders_color; 2029} 2030.labels { spacing: 0; } 2031.notebook-tab { 2032-natural-hpadding: 12px; 2033-minimum-hpadding: 6px; 2034font-weight: bold; 2035color: $tertiary_fg_color; 2036transition-duration: 0.2s; 2037padding-left: .3em; 2038padding-right: .3em; 2039padding: 7px 32px 8px; 2040&:hover { 2041color: $fg_color; 2042text-shadow: none; 2043} 2044&:selected { 2045border-bottom-width: 0; 2046border-color: transparent; 2047background-color: rgba(0, 0, 0, 0.01); 2048box-shadow: inset 0 -2px 0px $selected_bg_color; 2049color: $fg_color; 2050text-shadow: none; 2051} 2052} 2053StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } 2054StBoxLayout#ResultsArea { spacing: 4px; } 2055} 2056 2057.lg-dialog { 2058StEntry { 2059selection-background-color: $selected_bg_color; 2060selected-color: $selected_fg_color; 2061} 2062.shell-link { 2063color: $link_color; 2064&:hover { color: $link_color; } 2065} 2066} 2067 2068.lg-completions-text { 2069font-size: 1em; 2070font-style: italic; 2071} 2072 2073.lg-obj-inspector-title { 2074spacing: 4px; 2075} 2076 2077.lg-obj-inspector-button { 2078border: 1px solid gray; 2079padding: 4px; 2080border-radius: 2px; 2081&:hover { border: 1px solid #ffffff; } 2082} 2083 2084#lookingGlassExtensions { padding: 4px; } 2085 2086.lg-extensions-list { 2087padding: 4px; 2088spacing: 6px; 2089} 2090 2091.lg-extension { 2092border: none; 2093border-radius: 2px; 2094padding: 4px; 2095} 2096 2097.lg-extension-name { 2098@include font(headline); 2099} 2100 2101.lg-extension-meta { 2102spacing: 6px; 2103} 2104 2105#LookingGlassPropertyInspector { 2106background: $base_color; 2107border: none; 2108border-radius: 2px; 2109padding: 6px; 2110@include shadow(4); 2111} 2112