_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$font-size: 11; 36$font-family: "M+ 1c", Cantarell, Sans-Serif; 37 38stage { 39font-family: $font-family; 40@include fontsize($font-size); 41color: $fg_color; 42} 43 44/* WIDGETS */ 45 46/* Buttons */ 47.button { 48border-radius: 2px; 49border-width: 0; 50padding: 7px 16px 8px; 51font-weight: 500; 52@include button(flat-normal); 53&:hover { @include button(flat-hover); } 54&:active { @include button(flat-active); } 55&:insensitive { @include button(flat-insensitive); } 56&:focus { @include button(flat-focus); } 57 58} 59 60.modal-dialog-linked-button { 61border-right-width: 0; 62font-weight: 500; 63border-top: 1px solid $fill_color !important; 64@include button(flat-normal); 65&:hover { @include button(flat-hover); } 66&:active { @include button(flat-active); } 67&:insensitive { @include button(flat-insensitive); } 68&:focus { @include button(flat-focus); } 69padding: 9px 16px 10px; 70 71&:first-child { 72border-radius: 0px 0px 0px 2px; 73} 74&:last-child { 75border-right-width: 0px; 76border-radius: 0px 0px 2px 0px; 77} 78&:first-child:last-child { 79border-right-width: 0px; 80border-radius: 0px 0px 2px 2px; 81} 82} 83 84/* Entries */ 85StEntry { 86border-radius: 0; 87padding: 7px 8px 8px; 88border-width: 0; 89color: $fg_color; 90selection-background-color: $selected_bg_color; 91selected-color: $selected_fg_color; 92@include entry(normal); 93//&:hover { @include entry(hover);} 94&:focus { @include entry(focus);} 95&:insensitive { @include entry(insensitive);} 96StIcon.capslock-warning { 97icon-size: 16px; 98warning-color: $warning_color; 99padding: 0 2px; 100} 101} 102 103 104/* Scrollbars */ 105 106StScrollView { 107&.vfade { -st-vfade-offset: 32px; } 108&.hfade { -st-hfade-offset: 32px; } 109} 110 111StScrollBar { 112padding: 0; 113 114StScrollView & { 115min-width: 16px; 116min-height: 16px; 117} 118 119StBin#trough { 120margin: 4px; 121border-radius: 100px; 122background-color: $fill_color; 123} 124 125StButton#vhandle, StButton#hhandle { 126border-radius: 100px; 127background-color: scale-color($fg_color, $alpha: -40%); 128//border: 4px solid transparent; //would be nice to margin or at least to transparent 129margin: 4px; 130&:hover { background-color: scale-color($fg_color, $alpha: -20%); } 131&:active { background-color: scale-color($fg_color, $alpha: -0%); } 132} 133} 134 135/* Slider */ 136 137.slider { 138height: 20px; 139color: $selected_bg_color; 140-slider-height: 4px; 141-slider-background-color: $fill_color; //background of the trough 142-slider-border-color: transparent; //trough border color 143-slider-active-background-color: $selected_bg_color; //active trough fill 144-slider-active-border-color: transparent; //active trough border 145-slider-border-width: 0; 146-slider-handle-radius: 8px; 147} 148 149/* Check Boxes */ 150 151.check-box { 152StBoxLayout { spacing: .8em; } 153StBin { 154width: 20px; 155height: 20px; 156background-image: url("checkbox-off.svg"); 157color: $secondary_fg_color; 158} 159&:focus StBin { background-image: url("checkbox-off.svg"); } 160&:checked StBin { background-image: url("checkbox.svg"); } 161&:focus:checked StBin { background-image: url("checkbox.svg"); } 162} 163 164/* Switches */ 165.toggle-switch { 166width: 40px; 167height: 20px; 168background-size: contain; 169} 170 171@each $v in us, intl { 172.toggle-switch-#{$v} { 173background-image: url("toggle-off.svg"); 174&:checked { background-image: url("toggle-on.svg"); } 175} 176} 177 178/* links */ 179.shell-link { 180border-radius: 2px; 181color: $link_color; 182&:hover { color: $link_color; background-color: transparentize($link_color, 0.9); } 183&:active { color: $link_color; background-color: transparentize($link_color, 0.8); } 184} 185 186/* Modal Dialogs */ 187 188.headline { font-size: 110%; } 189.lightbox { background-color: black; } 190.flashspot { background-color: white; } 191 192.modal-dialog { 193border-radius: 2px; 194color: $fg_color; 195background-color: $bg_color; 196border: none; 197@include shadow(4); 198.modal-dialog-content-box { 199padding: 24px; 200} 201.run-dialog-entry { width: 20em; margin-bottom: 6px; } 202.run-dialog-error-box { 203padding-top: 16px; 204spacing: 6px; 205} 206.run-dialog-button-box { padding-top: 1em; } 207.run-dialog-label { 208font-size: 11pt; 209font-weight: normal; 210color: $dim_fg_color; 211padding-bottom: .4em; 212} 213 214} 215 216.show-processes-dialog-subject, 217.mount-question-dialog-subject, 218.end-session-dialog-subject { //this should be a generic header class 219@include fontsize($font-size * 1.3); 220} 221 222/* End Session Dialog */ 223.end-session-dialog { 224spacing: 42px; 225border: none; 226} 227 228.end-session-dialog-list { 229padding-top: 20px; 230} 231 232.end-session-dialog-layout { 233padding-left: 17px; 234&:rtl { padding-right: 17px; } 235} 236 237.end-session-dialog-description { 238width: 28em; 239padding-bottom: 10px; 240&:rtl { 241text-align: right; 242} 243} 244 245.end-session-dialog-warning { 246width: 28em; 247color: $warning_color; 248padding-top: 6px; 249&:rtl { 250text-align: right; 251} 252} 253 254.end-session-dialog-logout-icon { 255//border: 2px solid #8b8b8b; 256border-radius: 5px; 257width: 48px; 258height: 48px; 259background-size: contain; 260} 261 262.end-session-dialog-shutdown-icon { 263color: $dim_fg_color; 264width: 48px; 265height: 48px; 266} 267 268.end-session-dialog-inhibitor-layout { 269spacing: 16px; 270max-height: 200px; 271padding-right: 65px; 272padding-left: 65px; 273} 274 275.end-session-dialog-session-list, 276.end-session-dialog-app-list { 277spacing: 1em; 278} 279 280.end-session-dialog-list-header { 281font-weight: bold; 282&:rtl { text-align: right; } 283} 284 285.end-session-dialog-app-list-item, 286.end-session-dialog-session-list-item { 287spacing: 1em; 288} 289 290.end-session-dialog-app-list-item-name, 291.end-session-dialog-session-list-item-name { 292font-weight: bold; 293} 294 295.end-session-dialog-app-list-item-description { 296color: $dim_fg_color; 297font-size: 10pt; 298} 299 300/* ShellMountOperation Dialogs */ 301.shell-mount-operation-icon { icon-size: 48px; } 302 303.show-processes-dialog, 304.mount-question-dialog { 305spacing: 24px; 306} 307 308.show-processes-dialog-subject, 309.mount-question-dialog-subject { 310padding-top: 10px; 311padding-left: 17px; 312padding-bottom: 6px; 313} 314 315.mount-question-dialog-subject { 316max-width: 500px; 317} 318 319.show-processes-dialog-subject:rtl, 320.mount-question-dialog-subject:rtl { 321padding-left: 0px; 322padding-right: 17px; 323} 324 325.show-processes-dialog-description, 326.mount-question-dialog-description { 327padding-left: 17px; 328width: 28em; 329} 330 331.show-processes-dialog-description:rtl, 332.mount-question-dialog-description:rtl { 333padding-right: 17px; 334} 335 336.show-processes-dialog-app-list { 337max-height: 200px; 338padding-top: 24px; 339padding-left: 49px; 340padding-right: 32px; 341} 342 343.show-processes-dialog-app-list:rtl { 344padding-right: 49px; 345padding-left: 32px; 346} 347 348.show-processes-dialog-app-list-item { 349color: $fg_color; 350&:hover { color: $fg_color; } 351&:ltr { padding-right: 1em; } 352&:rtl { padding-left: 1em; } 353} 354 355.show-processes-dialog-app-list-item-icon { 356&:ltr { padding-right: 17px; } 357&:rtl { padding-left: 17px; } 358} 359 360.show-processes-dialog-app-list-item-name { 361font-size: 10pt; 362} 363 364 365/* Password or Authentication Dialog */ 366 367.prompt-dialog { 368//this is the width of the entire modal popup 369width: 500px; 370border: none; 371} 372 373.prompt-dialog-main-layout { 374spacing: 24px; 375padding: 10px; 376} 377 378.prompt-dialog-message-layout { 379spacing: 16px; 380} 381 382.prompt-dialog-headline { 383@include fontsize($font-size * 1.3); 384font-weight: normal; 385color: $fg_color; 386} 387 388.prompt-dialog-description:rtl { 389text-align: right; 390} 391 392.prompt-dialog-password-box { 393spacing: 1em; 394padding-bottom: 1em; 395} 396 397.prompt-dialog-error-label { 398font-size: 10pt; 399color: $error_color; 400padding-bottom: 8px; 401} 402 403.prompt-dialog-info-label { 404font-size: 10pt; 405padding-bottom: 8px; 406} 407 408.hidden { 409color: rgba(0,0,0,0); 410} 411 412.prompt-dialog-null-label { 413font-size: 10pt; 414padding-bottom: 8px; 415} 416 417 418/* Polkit Dialog */ 419 420.polkit-dialog-user-layout { 421padding-left: 10px; 422spacing: 10px; 423&:rtl { 424padding-left: 0px; 425padding-right: 10px; 426} 427} 428 429.polkit-dialog-user-root-label { 430color: $warning_color; 431} 432 433.polkit-dialog-user-icon { 434border-radius: 5px; 435background-size: contain; 436width: 48px; 437height: 48px; 438} 439 440/* Network Agent Dialog */ 441 442.network-dialog-secret-table { 443spacing-rows: 15px; 444spacing-columns: 1em; 445} 446 447.keyring-dialog-control-table { 448spacing-rows: 15px; 449spacing-columns: 1em; 450} 451 452/* Popvers/Menus */ 453 454.popup-menu { 455min-width: 200px; 456 457.popup-menu-arrow { } //defined globally in the TOP BAR 458.popup-sub-menu { 459background-color: scale-color($semi_fill_color, $alpha: -50%); 460box-shadow: 0 0 transparent; 461} 462 463.popup-menu-content { padding: 8px 0; } 464.popup-menu-item { 465spacing: 12px; 466 467&:ltr { padding: .4em 1.75em .4em 0em; } 468&:rtl { padding: .4em 0em .4em 1.75em; } 469&:checked { 470background-color: $selected_bg_color; 471color: $selected_fg_color; 472box-shadow: 0 0 transparent; 473font-weight: normal; 474&.selected { 475background-color: mix($selected_bg_color, $selected_fg_color, 90%); 476color: $selected_fg_color; 477} 478&:active { 479background-color: mix($selected_bg_color, $selected_fg_color, 80%); 480color: $selected_fg_color; 481} 482&:insensitive { color: scale-color($selected_fg_color, $alpha: -50%); } 483} 484&.selected { 485background-color: $semi_fill_color; 486color: $fg_color; 487transition-duration: 0s; 488} 489&:active { 490background-color: $fill_color; 491color: $fg_color; 492transition-duration: 0.2s; 493} 494&.selected:active { color: $fg_color; } 495&:insensitive { color: scale-color($fg_color, $alpha: -50%); } 496} 497 498.popup-inactive-menu-item { //all icons and other graphical elements 499color: $fg_color; 500 501&:insensitive { color: scale-color($fg_color, $alpha: -50%); } 502} 503//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is 504&.panel-menu { 505-boxpointer-gap: 4px; 506margin-bottom: 1.75em; 507} 508} 509 510 511 512.popup-menu-ornament { 513text-align: right; 514width: 1.2em; 515height: 1.2em; 516} 517.popup-menu-boxpointer, 518.candidate-popup-boxpointer { 519-arrow-border-radius: 0; 520-arrow-background-color: transparent; 521-arrow-border-width: 0; 522-arrow-border-color: transparent; 523-arrow-base: 0; 524-arrow-rise: 0; 525-arrow-box-shadow: none; //dreaming. bug #689995 526margin: 5px 8px 8px; 527background-color: $bg_color; 528border-radius: 2px; 529@include shadow(2); 530} 531 532.popup-separator-menu-item { 533//-margin-horizontal: 24px; 534height: 1px; //not really the whole box 535margin: 6px 64px; 536background-color: transparent; 537border-color: $borders_color; 538border-bottom-width: 1px; 539border-bottom-style: solid; 540} 541 542 543// Background menu 544.background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; } 545 546/* fallback menu 547- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled 548app menu inside the main app window itself rather than the top bar 549*/ 550 551 552/* OSD */ 553.osd-window { 554text-align: center; 555font-weight: bold; 556spacing: 1em; 557margin: 32px; 558min-width: 64px; 559min-height: 64px; 560 561.osd-monitor-label { font-size: 3em; } 562.level { 563height: 0.6em; 564border-radius: 4px; 565background-color: $fill_color; 566color: $fg_color; 567} 568} 569 570/* App Switcher */ 571.switcher-popup { 572padding: 8px; 573spacing: 16px; 574} 575 576.osd-window, 577.resize-popup, 578.switcher-list { 579@extend %osd-panel; 580} 581 582.switcher-list-item-container { spacing: 8px; } 583 584.switcher-list .item-box { 585padding: 8px; 586border-radius: 2px; 587} 588 589.switcher-list .item-box:outlined { 590padding: 6px; 591border: 2px solid $fill_color; 592} 593 594.switcher-list .item-box:selected { 595background-color: $selected_bg_color; 596color: $selected_fg_color; 597} 598 599.switcher-list .thumbnail-box { 600padding: 2px; 601spacing: 4px; 602} 603 604.switcher-list .thumbnail { 605width: 256px; 606} 607 608.switcher-list .separator { 609width: 1px; 610background: $borders_color; 611} 612 613.switcher-arrow { 614border-color: rgba(0,0,0,0); 615color: $dim_fg_color; 616&:highlighted { 617color: $fg_color; 618} 619} 620 621.input-source-switcher-symbol { 622font-size: 34pt; 623width: 96px; 624height: 96px; 625} 626 627/* Workspace Switcher */ 628.workspace-switcher-group { padding: 12px; } 629 630.workspace-switcher-container { 631@extend %osd-panel; 632} 633 634.workspace-switcher { 635background: transparent; 636border: 0px; 637border-radius: 0px; 638padding: 0px; 639spacing: 8px; 640} 641 642.ws-switcher-active-up, .ws-switcher-active-down { 643height: 50px; 644background-color: $selected_bg_color; 645color: $selected_fg_color; 646//background-image: url("ws-switch-arrow-up.png"); 647background-size: 32px; 648border-radius: 2px; 649} 650 651.ws-switcher-box { 652height: 50px; 653border: 2px solid $fill_color; 654background: transparent; 655border-radius: 2px; 656} 657 658%osd-panel { 659color: $fg_color; 660background-color: $bg_color; 661border: none; 662@include shadow(4); 663border-radius: 2px; 664padding: 12px; 665} 666 667/* Tiled window previews */ 668.tile-preview { 669background-color: transparentize($selected_bg_color,0.8); 670border: 1px solid $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: $osd_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: $osd_bg_color; 706-panel-corner-border-width: 2px; 707-panel-corner-border-color: transparent; 708 709&:active, &:overview, &:focus { 710-panel-corner-border-color: $osd_indicator_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: $osd_indicator_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: $osd_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 $osd_indicator_color; 743color: $osd_fg_color; 744 745& > .system-status-icon { icon-shadow: none; } 746} 747 748.system-status-icon { icon-size: 1.09em; padding: 0 5px; } 749.unlock-screen &, 750.login-screen &, 751.lock-screen & { 752color: $osd_indicator_color; 753&:focus, &:hover, &:active { color: $osd_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_fill_color; } 803&:active { 804color: $fg_color; 805background-color: $fill_color; 806} 807} 808 809.datemenu-today-button .day-label { 810} 811 812.datemenu-today-button .date-label { 813font-size: 1.5em; 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_fill_color; } 840&:active { background-color: $fill_color; } 841} 842 843.calendar-change-month-back { //arrow back 844background-image: url("calendar-arrow-left.svg"); 845&:rtl { background-image: url("calendar-arrow-right.svg"); } 846} 847.calendar-change-month-forward { //arrow foreward 848background-image: url("calendar-arrow-right.svg"); 849&:rtl { background-image: url("calendar-arrow-left.svg"); } 850} 851 852.calendar-day-base { 853font-size: smaller; 854text-align: center; 855width: 32px; height: 32px; 856padding: 0; 857margin: 2px; 858border-radius: 32px; 859&:hover,&:focus { background-color: $semi_fill_color; } 860// &:active { background-color: $fill_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 867font-weight: bold; 868color: $dim_fg_color; 869margin-top: 1em; 870font-size: smaller; 871} 872&.calendar-week-number { //day of week heading 873font-weight: bold; 874color: $dim_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: $dim_fg_color; 902opacity: 0.5; 903} 904 905/* Message list */ 906.message-list { 907width: 420px; 908} 909 910.message-list-sections { 911spacing: 1.5em; 912} 913 914.message-list-section, 915.message-list-section-list { 916spacing: 0.7em; 917} 918 919.message-list-section-title-box { 920spacing: 0.4em; 921} 922 923.message-list-section-close > StIcon { 924icon-size: 16px; 925border-radius: 16px; 926padding: 8px; 927color: $secondary_fg_color; 928background-color: transparent; 929} 930 931/* FIXME: how do you do this in sass? */ 932.message-list-section-close:hover > StIcon, 933.message-list-section-close:focus > StIcon { 934color: $fg_color; 935background-color: $semi_fill_color; 936} 937 938.message-list-section-close:active > StIcon { 939color: $fg_color; 940background-color: $fill_color; 941} 942 943.message { 944background-color: transparent; 945&:hover,&:focus { background-color: $semi_fill_color; } 946&:active { background-color: $fill_color; } 947border-radius: 2px; 948} 949 950.message-icon-bin { 951padding: 8px 0px 8px 8px; 952&:rtl { padding: 8px 8px 8px 0px; } 953} 954 955.message-icon-bin > StIcon { 956icon-size: 32px; 957} 958 959.message-secondary-bin { 960&:ltr { padding-left: 8px; } 961&:rtl { padding-right: 8px; } 962} 963 964.message-secondary-bin { 965color: $dim_fg_color; 966} 967 968.message-secondary-bin > StIcon { 969icon-size: 16px; 970} 971 972.message-title { 973font-weight: bold; 974font-size: 1.1em; 975} 976 977.message-content { 978padding: 8px; 979font-size: .9em; 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_fill_color; 994} 995 996.message-content *:active > StIcon { 997color: $fg_color; 998background-color: $fill_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("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_fill_color; 1034color: $fg_color; 1035border: none; 1036padding: 16px; 1037} 1038&:active { background-color: $fill_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("corner-ripple-ltr.svg"); 1048background-size: contain; 1049} 1050 1051.ripple-box:rtl { 1052background-image: url("corner-ripple-rtl.svg"); 1053} 1054 1055// not really top bar only 1056.popup-menu-arrow { width: 16px; height: 16px; } 1057.popup-menu-icon { icon-size: 1.09em; } 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("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("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 { 1102font-size: 110%; 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: $dim_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 $osd_fill_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 $osd_fill_color; 1145} 1146.window-caption { 1147spacing: 25px; 1148color: $osd_fg_color; 1149background-color: transparent; 1150border-radius: 2px; 1151padding: 4px 8px; 1152-shell-caption-spacing: 12px; 1153&:hover { background-color: $osd_fill_color; color: $osd_fg_color; } 1154} 1155 1156//search entry 1157.search-entry { 1158width: 320px; 1159padding: 7px 8px 8px; 1160border-radius: 0; 1161color: $osd_dim_fg_color; 1162selection-background-color: $osd_fill_color; 1163selected-color: $osd_fg_color; 1164@include entry(normal,$fc:$osd_semi_fill_color); 1165&:focus { 1166@include entry(focus,$fc:$osd_indicator_color); 1167padding: 7px 8px 8px; 1168border-width: 0; 1169color: $osd_fg_color; 1170} 1171 1172.search-entry-icon { icon-size: 1.09em; padding: 0 2px; color: $osd_dim_fg_color; } 1173 1174&:hover, &:focus { 1175.search-entry-icon { color: $osd_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 { font-size: 1.5em; color: $osd_fg_color; } 1208.list-search-result-description { color: $osd_indicator_color; } 1209.search-provider-icon { padding: 15px; } 1210.search-provider-icon-more { 1211width: 16px; 1212height: 16px; 1213background-image: url("more-results.svg"); 1214} 1215 1216 1217/* DASHBOARD */ 1218 1219#dash { 1220font-size: 9pt; 1221color: $osd_fg_color; 1222background-color: $osd_base_color; 1223padding: 4px 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("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: 4px 8px; 1247} 1248 1249.dash-label { //osd tooltip 1250border-radius: 2px; 1251padding: 4px 12px; 1252color: $fg_color; 1253background-color: $bg_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: $osd_bg_color; 1263} 1264 1265#dashtodockContainer:overview #dash { 1266background-color: $osd_base_color; 1267} 1268 1269#dashtodockContainer.extended #dash { 1270padding: 0; 1271border-radius: 0; 1272} 1273 1274#dashtodockContainer.extended:overview #dash { 1275background-color: transparent; 1276} 1277 1278#dashtodockContainer.extended .dash-item-container > StWidget { 1279padding: 8px; 1280} 1281 1282#dashtodockContainer .app-well-app-running-dot { 1283background-color: transparent; 1284} 1285 1286#dashtodockContainer .app-well-app .overview-icon { 1287background-size: contain; 1288} 1289 1290#dashtodockContainer .app-well-app.running1 .overview-icon { 1291background-image: url("running1.svg"); 1292} 1293 1294#dashtodockContainer .app-well-app.running1.focused .overview-icon { 1295background-image: url("running1-focused.svg"); 1296} 1297 1298#dashtodockContainer .app-well-app.running2 .overview-icon { 1299background-image: url("running2.svg"); 1300} 1301 1302#dashtodockContainer .app-well-app.running2.focused .overview-icon { 1303background-image: url("running2-focused.svg"); 1304} 1305 1306#dashtodockContainer .app-well-app.running3 .overview-icon { 1307background-image: url("running3.svg"); 1308} 1309 1310#dashtodockContainer .app-well-app.running3.focused .overview-icon { 1311background-image: url("running3-focused.svg"); 1312} 1313 1314#dashtodockContainer .app-well-app.running4 .overview-icon { 1315background-image: url("running4.svg"); 1316} 1317 1318#dashtodockContainer .app-well-app.running4.focused .overview-icon { 1319background-image: url("running4-focused.svg"); 1320} 1321 1322/* Add Simple Dock Support */ 1323 1324#dash:desktop { 1325background-color: $osd_bg_color; 1326} 1327 1328/* App Vault/Grid */ 1329.icon-grid { 1330spacing: 30px; 1331-shell-grid-horizontal-item-size: 136px; 1332-shell-grid-vertical-item-size: 136px; 1333 1334.overview-icon { icon-size: 96px; } 1335} 1336//.app-display { spacing: 20px; } 1337 1338.app-view-controls { //favorties | all toggle container 1339width: 320px; 1340padding-bottom: 32px; 1341} 1342.app-view-control { //favorties | all toggle button 1343padding: 7px 32px 8px; 1344font-weight: bold; 1345color: $osd_indicator_color; 1346&:hover { 1347color: $osd_fg_color; 1348background-color: $osd_semi_fill_color !important; 1349} 1350&:active { 1351color: $osd_fg_color; 1352background-color: $osd_fill_color !important; 1353} 1354&:checked { 1355color: $osd_fg_color; 1356background-color: rgba(0, 0, 0, 0.01) !important; 1357box-shadow: inset 0 2px 0px $osd_indicator_color; 1358} 1359&:first-child { 1360border-right-width: 0; 1361border-radius: 2px; 1362&:checked { border-radius: 0; } 1363} 1364&:last-child { 1365border-radius: 2px; 1366&:checked { border-radius: 0; } 1367} 1368} 1369 1370//Icon tile 1371.search-provider-icon, 1372.list-search-result { 1373@extend %icon_tile; 1374&:focus, &:selected, &:hover { 1375background-color: $osd_semi_fill_color; 1376transition-duration: 0s; 1377} 1378&:active, &:checked { 1379background-color: $osd_fill_color; 1380transition-duration: 0.2s; 1381} 1382} 1383.app-well-app, 1384.app-well-app.app-folder, 1385.show-apps, 1386.grid-search-result { 1387& .overview-icon { 1388@extend %icon_tile; 1389} 1390&:hover .overview-icon, 1391&:focus .overview-icon, 1392&:selected .overview-icon { 1393background-color: $osd_semi_fill_color; 1394transition-duration: 0s; 1395border-image: none; 1396background-image: none; 1397} 1398&:active .overview-icon, 1399&:checked .overview-icon { 1400background-color: $osd_fill_color; 1401box-shadow: 0 0 transparent; 1402transition-duration: 0.2s; 1403} 1404 1405} 1406 1407.app-well-app-running-dot { //running apps indicator 1408width: 32px; height: 2px; 1409background-color: $osd_indicator_color; 1410margin-bottom: 0; 1411} 1412 1413%icon_tile { 1414color: $osd_fg_color; 1415border-radius: 2px; 1416padding: 6px; 1417border: none; 1418transition-duration: 0.2s; 1419text-align: center; 1420} 1421 1422.app-well-app.app-folder > .overview-icon { 1423background-color: $osd_base_color; 1424} 1425 1426.show-apps .show-apps-icon { 1427color: $osd_indicator_color; 1428} 1429 1430.show-apps:hover .show-apps-icon, 1431.show-apps:active .show-apps-icon, 1432.show-apps:checked .show-apps-icon, 1433.show-apps:focus .show-apps-icon { 1434color: $osd_fg_color; 1435transition-duration: 0.2s; 1436} 1437 1438 1439// Collections 1440.app-folder-popup { //expanded collection 1441-arrow-border-radius: 2px; 1442-arrow-background-color: $osd_base_color; 1443-arrow-base: 24px; 1444-arrow-rise: 12px; 1445} 1446.app-folder-popup-bin { padding: 5px; } 1447.app-folder-icon { 1448padding: 5px; 1449spacing-rows: 5px; 1450spacing-columns: 5px; 1451} 1452 1453.page-indicator { 1454padding: 15px 20px; 1455 1456.page-indicator-icon { 1457width: 12px; 1458height: 12px; 1459border-radius: 12px; 1460background-image: none; 1461background-color: transparentize($osd_fg_color, 0.7); 1462} 1463 1464&:hover .page-indicator-icon { background-image: none; background-color: transparentize($osd_fg_color, 0.6); } 1465&:active .page-indicator-icon { background-image: none; background-color: transparentize($osd_fg_color, 0.5); } 1466&:checked .page-indicator-icon, 1467&:checked:active { background-image: none; background-color: $osd_fg_color; } 1468} 1469 1470.no-frequent-applications-label { @extend %status_text; } 1471 1472.app-well-app > .overview-icon.overview-icon-with-label, 1473.grid-search-result .overview-icon.overview-icon-with-label { 1474padding: 10px 8px 5px 8px; 1475spacing: 4px; 1476} 1477 1478// Workspace pager 1479.workspace-thumbnails { //container ala dash 1480@extend %overview-panel; 1481visible-width: 32px; //amount visible before hover 1482spacing: 12px; 1483padding: 12px; 1484border-radius: 2px 0 0 2px; 1485//border-width: 0; //fixme: can't have non unoform borders :( 1486&:rtl { border-radius: 0 2px 2px 0;} 1487} 1488.workspace-thumbnail-indicator { 1489border: 0 solid $osd_indicator_color; 1490border-left-width: 2px; 1491padding: 6px; 1492border-radius: 0; 1493} 1494 1495//Some hacks I don't even 1496.search-display > StBoxLayout, 1497.all-apps, 1498.frequent-apps > StBoxLayout { 1499// horizontal padding to make sure scrollbars or dash don't overlap content 1500padding: 0px 88px 10px 88px; 1501} 1502 1503%overview-panel { 1504color: $osd_fg_color; 1505background-color: $osd_base_color; 1506border: none; 1507} 1508 1509%status_text { 1510font-size: 2em; 1511font-weight: bold; 1512color: $osd_dim_fg_color; 1513} 1514 1515/* Add Dash to Dock Support */ 1516 1517#workspacestodockContainer .workspace-thumbnails { 1518background-color: $osd_bg_color; 1519} 1520 1521#workspacestodockContainer:overview .workspace-thumbnails { 1522background-color: $osd_base_color; 1523} 1524 1525#workspacestodockContainer.fullheight:overview .workspace-thumbnails { 1526background-color: transparent; 1527} 1528 1529#workspacestodockContainer.right .workspace-thumbnails { 1530border-radius: 2px 0 0 2px; 1531} 1532 1533#workspacestodockContainer.left .workspace-thumbnails { 1534border-radius: 0 2px 2px 0; 1535} 1536 1537/* NOTIFICATIONS & MESSAGE TRAY */ 1538 1539.url-highlighter { link-color: $link_color; } 1540 1541// Banners 1542.notification-banner { 1543font-size: 11pt; 1544width: 34em; 1545margin: 5px; 1546border-radius: 2px; 1547color: $fg_color; 1548background-color: $bg_color; 1549border: none; 1550@include shadow(2); 1551&:hover { background-color: $bg_color; } 1552&:focus { background-color: $bg_color; } 1553 1554.notification-icon { padding: 5px; } 1555.notification-content { padding: 5px; spacing: 5px; } 1556.secondary-icon { icon-size: 1.09em; } 1557.notification-actions { 1558background-color: transparent; 1559padding-top: 0; 1560border-top: 1px solid $fill_color; 1561spacing: 1px; 1562} 1563.notification-button { 1564padding: 9px 4px 10px; 1565background-color: transparent; 1566color: $secondary_fg_color; 1567font-weight: 500; 1568&:first-child { border-radius: 0 0 0 2px; } 1569&:last-child { border-radius: 0 0 2px 0; } 1570&:hover, &focus { background-color: $semi_fill_color; color: $fg_color; } 1571&:active { background-color: $fill_color; color: $fg_color; } 1572} 1573} 1574.summary-source-counter { 1575font-size: 10pt; 1576font-weight: bold; 1577height: 1.6em; width: 1.6em; 1578-shell-counter-overlap-x: 3px; 1579-shell-counter-overlap-y: 3px; 1580background-color: $selected_bg_color; 1581color: $selected_fg_color; 1582border: 2px solid $osd_fg_color; 1583box-shadow: 0 2px 2px rgba(0,0,0,0.5); 1584border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%; 1585} 1586 1587.secondary-icon { icon-size: 1.09em; } 1588 1589//chat bubbles 1590.chat-body { spacing: 5px; } 1591.chat-response { margin: 5px; } 1592.chat-log-message { color: transparentize($fg_color, 0.0); } 1593.chat-new-group { padding-top: 1em; } 1594.chat-received { 1595padding-left: 4px; 1596&:rtl { padding-left: 0px; padding-right: 4px; } 1597} 1598.chat-sent { 1599padding-left: 18pt; 1600color: transparentize($fg_color, 0.2); 1601&:rtl { padding-left: 0; padding-right: 18pt; } 1602} 1603.chat-meta-message { 1604padding-left: 4px; 1605font-size: 9pt; 1606font-weight: bold; 1607color: transparentize($fg_color, 0.4); 1608&:rtl { padding-left: 0; padding-right: 4px; } 1609} 1610 1611//hotplug 1612.hotplug-transient-box { 1613spacing: 6px; 1614padding: 2px 72px 2px 12px; 1615} 1616.hotplug-notification-item { 1617padding: 2px 10px; 1618&:focus { padding: 1px 71px 1px 11px; } 1619} 1620 1621.hotplug-notification-item-icon { 1622icon-size: 24px; 1623padding: 2px 5px; 1624} 1625 1626.hotplug-resident-box { spacing: 8px; } 1627 1628.hotplug-resident-mount { 1629spacing: 8px; 1630border-radius: 2px; 1631&:hover { background-color: $semi_fill_color; } 1632&:active { background-color: $fill_color; } 1633} 1634 1635.hotplug-resident-mount-label { 1636color: inherit; 1637padding-left: 6px; 1638} 1639 1640.hotplug-resident-mount-icon { 1641icon-size: 24px; 1642padding-left: 6px; 1643} 1644 1645.hotplug-resident-eject-icon { 1646icon-size: 16px; 1647} 1648 1649.hotplug-resident-eject-button { 1650padding: 7px; 1651border-radius: 2px; 1652color: $fg_color; 1653} 1654 1655/* Eeeky things */ 1656 1657$legacy_icon_size: 24px; 1658 1659.legacy-tray { 1660background-color: $bg_color; 1661border: none; 1662border-bottom-width: 0; 1663@include shadow(2); 1664&:ltr { border-radius: 0 2px 0 0; border-left-width: 0; } 1665&:rtl { border-radius: 2px 0 0 0; border-right-width: 0; } 1666} 1667 1668.legacy-tray-handle, 1669.legacy-tray-icon { 1670padding: 6px; 1671& StIcon { icon-size: $legacy_icon_size; } 1672&:hover,&:focus { background-color: $semi_fill_color; } 1673&:active { background-color: $fill_color; } 1674} 1675 1676.legacy-tray-icon-box { 1677spacing: 12px; 1678&:ltr { padding-left: 12px; } 1679&:rtl { padding-right: 12px; } 1680& StButton { width: $legacy_icon_size; height: $legacy_icon_size } 1681} 1682 1683//magnifier 1684 1685.magnifier-zoom-region { 1686border: 2px solid $selected_bg_color; 1687&.full-screen { border-width: 0; } 1688} 1689 1690//Keyboard 1691/* On-screen Keyboard */ 1692 1693#keyboard { 1694background-color: transparentize($osd_bg_color, 0.3); 1695} 1696 1697.keyboard-layout { 1698spacing: 10px; 1699padding: 10px; 1700} 1701 1702.keyboard-row { spacing: 15px; } 1703 1704.keyboard-key { 1705min-height: 2em; 1706min-width: 2em; 1707font-size: 2em; 1708font-weight: bold; 1709border-radius: 2px; 1710border: none; 1711color: inherit; 1712@include button(normal); 1713&:focus { @include button(focus); } 1714&:hover,&:checked { @include button(hover); } 1715&:active { @include button(active);} 1716&:grayed { //FIXME 1717background-color: $osd_bg_color; 1718color: $osd_fg_color; 1719border-color: $osd_borders_color; 1720} 1721} 1722 1723.keyboard-subkeys { //long press on a key popup 1724color: inherit; 1725padding: 5px; 1726-arrow-border-radius: 0; 1727-arrow-background-color: transparent; 1728-arrow-border-width: 0; 1729-arrow-border-color: transparent; 1730-arrow-base: 0; 1731-arrow-rise: 0; 1732-boxpointer-gap: 5px; 1733background-color: $bg_color; 1734border-radius: 2px; 1735@include shadow(2); 1736} 1737 1738// IBus Candidate Popup 1739 1740.candidate-popup-content { 1741padding: 0.5em; 1742spacing: 0.3em; 1743} 1744 1745.candidate-index { 1746padding: 0 0.5em 0 0; 1747color: $dim_fg_color; 1748} 1749 1750.candidate-box { 1751transition-duration: 0s; 1752padding: 0.3em 0.5em 0.3em 0.5em; 1753border-radius: 2px; 1754&:hover { background-color: $semi_fill_color; color: $fg_color; } 1755&:active { background-color: $fill_color; color: $fg_color; } 1756&:selected { background-color: $selected_bg_color; color: $selected_fg_color; } 1757} 1758 1759.candidate-page-button-box { 1760height: 2em; 1761.vertical & { padding-top: 0.5em; } 1762.horizontal & { padding-left: 0.5em; } 1763} 1764 1765.candidate-page-button { 1766padding: 4px; 1767} 1768 1769.candidate-page-button-previous { border-radius: 2px; border-right-width: 0; } 1770.candidate-page-button-next { border-radius: 2px; } 1771.candidate-page-button-icon { icon-size: 1.09em; } 1772 1773/* Auth Dialogs & Screen Shield */ 1774 1775.framed-user-icon { 1776background-size: contain; 1777border: none; 1778color: $osd_fg_color; 1779border-radius: 2px; 1780&:hover { 1781border-color: $osd_fg_color; 1782color: $osd_fg_color; 1783} 1784} 1785 1786// LOGIN DIALOG 1787 1788.login-dialog-banner-view { 1789padding-top: 24px; 1790max-width: 23em; 1791} 1792 1793.login-dialog { 1794//reset 1795border: none; 1796background-color: transparent; 1797 1798StEntry { 1799color: $osd_fg_color; 1800selection-background-color: $osd_fill_color; 1801selected-color: $osd_fg_color; 1802@include entry(normal, $fc:$osd_semi_fill_color); 1803&:focus { @include entry(focus, $fc:$osd_indicator_color); } 1804&:insensitive { 1805@include entry(insensitive, $fc:$insensitive_osd_fill_color); 1806color: $insensitive_osd_fg_color; 1807} 1808} 1809 1810.modal-dialog-button-box { spacing: 3px; } 1811.modal-dialog-button { 1812padding: 7px 16px 8px; 1813@include button(flat-normal, $tc:$osd_secondary_fg_color); 1814&:hover,&:focus { @include button(flat-hover, $c:$osd_semi_fill_color, $tc:$osd_fg_color); } 1815&:active { @include button(flat-active, $c:$osd_fill_color, $tc:$osd_fg_color); } 1816&:insensitive { @include button(flat-insensitive, $tc:$insensitive_osd_secondary_fg_color); } 1817&:default { 1818@include button(normal, $c:$selected_bg_color, $tc:$osd_fg_color); 1819&:hover,&:focus { @include button(hover, $c:$selected_bg_color, $tc:$osd_fg_color); } 1820&:active { @include button(active, $c:$selected_bg_color, $tc:$osd_fg_color); } 1821&:insensitive { @include button(insensitive, $c:$insensitive_osd_fill_color, $tc:$insensitive_osd_fg_color); } 1822 1823} 1824} 1825 1826} 1827 1828.login-dialog-logo-bin { padding: 24px 0px; } 1829.login-dialog-banner { color: $osd_secondary_fg_color; } 1830.login-dialog-button-box { spacing: 5px; } 1831.login-dialog-message-warning { color: $warning_color; } 1832.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; } 1833.login-dialog-user-selection-box { 1834padding: 100px 0px; 1835.login-dialog-not-listed-label { 1836padding-left: 2px; 1837.login-dialog-not-listed-button:focus &, 1838.login-dialog-not-listed-button:hover & { 1839color: $osd_fg_color; 1840} 1841} 1842} 1843.login-dialog-not-listed-label { 1844font-size: 90%; 1845font-weight: bold; 1846color: $osd_secondary_fg_color; 1847padding-top: 1em; 1848&:hover { color: $osd_fg_color; } 1849&:focus { background-color: $osd_semi_fill_color; } 1850} 1851 1852.login-dialog-user-list-view { -st-vfade-offset: 1em; } 1853.login-dialog-user-list { 1854spacing: 12px; 1855padding: .2em; 1856width: 23em; 1857&:expanded .login-dialog-user-list-item:focus { background-color: $osd_semi_fill_color; color: $osd_fg_color; } 1858&:expanded .login-dialog-user-list-item:hover { background-color: $osd_semi_fill_color; color: $osd_fg_color; } 1859&:expanded .login-dialog-user-list-item:active { background-color: $osd_fill_color; color: $osd_fg_color; } 1860&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $osd_indicator_color; } 1861} 1862.login-dialog-user-list-item { 1863border-radius: 2px; 1864padding: .2em; 1865color: $osd_secondary_fg_color; 1866&:ltr { padding-right: 1em; } 1867&:rtl { padding-left: 1em; } 1868&:hover { background-color: $osd_semi_fill_color; color: $osd_fg_color; } 1869&:active { background-color: $osd_fill_color; color: $osd_fg_color; } 1870.login-dialog-timed-login-indicator { 1871height: 2px; 1872margin: 2px 0 0 0; 1873background-color: $osd_fg_color; 1874} 1875&:focus .login-dialog-timed-login-indicator { background-color: $osd_fg_color; } 1876} 1877 1878.login-dialog-username, 1879.user-widget-label { 1880color: $osd_fg_color; 1881font-size: 120%; 1882font-weight: bold; 1883text-align: left; 1884padding-left: 15px; 1885} 1886.user-widget-label { 1887&:ltr { padding-left: 18px; } 1888&:rtl { padding-right: 18px; } 1889} 1890 1891.login-dialog-prompt-layout { 1892padding-top: 24px; 1893padding-bottom: 12px; 1894spacing: 8px; 1895width: 23em; 1896} 1897 1898.login-dialog-prompt-label { 1899color: $osd_dim_fg_color; 1900font-size: 1em; 1901padding-top: 1em; 1902} 1903 1904.login-dialog-session-list-button StIcon { 1905icon-size: 1.25em; 1906} 1907 1908.login-dialog-session-list-button { 1909color: $osd_secondary_fg_color; 1910&:hover,&:focus { color: $osd_fg_color; } 1911&:active { color: $osd_fg_color; } 1912} 1913 1914//SCREEN SHIELD 1915 1916.screen-shield-arrows { 1917padding-bottom: 3em; 1918} 1919 1920.screen-shield-arrows Gjs_Arrow { 1921color: white; 1922width: 80px; 1923height: 48px; 1924-arrow-thickness: 12px; 1925-arrow-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 1926} 1927 1928.screen-shield-clock { 1929color: white; 1930text-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 1931font-weight: normal; 1932text-align: center; 1933padding-bottom: 1.5em; 1934} 1935 1936.screen-shield-clock-time { 1937font-size: 112px; 1938font-weight: 300; 1939text-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 1940} 1941 1942.screen-shield-clock-date { font-size: 45px; } 1943 1944.screen-shield-notifications-container { 1945spacing: 6px; 1946width: 30em; 1947background-color: transparent; 1948max-height: 500px; 1949.summary-notification-stack-scrollview { 1950padding-top: 0; 1951padding-bottom: 0; 1952} 1953 1954.notification, 1955.screen-shield-notification-source { 1956padding: 12px 6px; 1957border: none; 1958background-color: $osd_bg_color; 1959color: $osd_fg_color; 1960border-radius: 2px; 1961} 1962.notification { margin-right: 15px; } //compensate for space allocated to the scrollbar 1963} 1964 1965 1966.screen-shield-notification-label { 1967font-weight: bold; 1968padding: 0px 0px 0px 12px; 1969} 1970 1971.screen-shield-notification-count-text { padding: 0px 0px 0px 12px; } 1972 1973#panel.lock-screen { background-color: $osd_bg_color; } 1974 1975.screen-shield-background { //just the shadow, really 1976background: black; 1977@include shadow(5); 1978} 1979 1980#lockDialogGroup { 1981background: #333333 url(noise-texture.png); 1982background-repeat: repeat; 1983} 1984 1985#screenShieldNotifications { 1986StButton#vhandle, StButton#hhandle { 1987background-color: transparentize($osd_fg_color,0.4); 1988&:hover, &:focus { background-color: transparentize($osd_fg_color,0.2); } 1989&:active { background-color: transparentize($osd_fg_color,0.0); } 1990} 1991} 1992 1993 1994// Looking Glass 1995#LookingGlassDialog { 1996background-color: $bg_color; 1997spacing: 4px; 1998padding: 0; 1999border: none; 2000border-radius: 2px; 2001@include shadow(4); 2002& > #Toolbar { 2003padding: 0 8px; 2004border: none; 2005border-radius: 0; 2006background-color: rgba(0, 0, 0, 0.01); 2007box-shadow: inset 0 -1px 0px $borders_color; 2008} 2009.labels { spacing: 0; } 2010.notebook-tab { 2011-natural-hpadding: 12px; 2012-minimum-hpadding: 6px; 2013font-weight: bold; 2014color: $dim_fg_color; 2015transition-duration: 0.2s; 2016padding-left: .3em; 2017padding-right: .3em; 2018padding: 7px 32px 8px; 2019&:hover { 2020color: $fg_color; 2021text-shadow: none; 2022} 2023&:selected { 2024border-bottom-width: 0; 2025border-color: transparent; 2026background-color: rgba(0, 0, 0, 0.01); 2027box-shadow: inset 0 -2px 0px $selected_bg_color; 2028color: $fg_color; 2029text-shadow: none; 2030} 2031} 2032StBoxLayout#EvalBox { padding: 4px; spacing: 4px; } 2033StBoxLayout#ResultsArea { spacing: 4px; } 2034} 2035 2036.lg-dialog { 2037StEntry { 2038selection-background-color: $selected_bg_color; 2039selected-color: $selected_fg_color; 2040} 2041.shell-link { 2042color: $link_color; 2043&:hover { color: $link_color; } 2044} 2045} 2046 2047.lg-completions-text { 2048font-size: .9em; 2049font-style: italic; 2050} 2051 2052.lg-obj-inspector-title { 2053spacing: 4px; 2054} 2055 2056.lg-obj-inspector-button { 2057border: 1px solid gray; 2058padding: 4px; 2059border-radius: 2px; 2060&:hover { border: 1px solid #ffffff; } 2061} 2062 2063#lookingGlassExtensions { padding: 4px; } 2064 2065.lg-extensions-list { 2066padding: 4px; 2067spacing: 6px; 2068} 2069 2070.lg-extension { 2071border: none; 2072border-radius: 2px; 2073padding: 4px; 2074} 2075 2076.lg-extension-name { 2077font-weight: bold; 2078font-size: 1.5em; 2079} 2080 2081.lg-extension-meta { 2082spacing: 6px; 2083} 2084 2085#LookingGlassPropertyInspector { 2086background: $bg_color; 2087border: none; 2088border-radius: 2px; 2089padding: 6px; 2090@include shadow(4); 2091} 2092