123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199 |
- $corner-radius: 2px;
- /* GLOBALS */
- $font-size: 10;
- $_bubble_bg_color: $osd_bg_color;
- $_bubble_fg_color: $fg_color;
- $_bubble_borders_color: $fg_color;
- $_bubble_transparent: transparentize($osd_bg_color, 0.17);
- $topbar_bg_color: transparentize($dracula, 0.05);
- stage {
- @include fontsize($font-size);
- color: $fg_color;
- }
- /* WIDGETS */
- /* Buttons */
- .button {
- @include button(normal);
- border-radius: 4px;
- border-width: 0;
- padding: 4px 32px;
- &:focus { @include button(focus); }
- &:insensitive { @include button(insensitive); }
- &:active { @include button(active); }
- &:hover {
- @include button(hover);
- }
- }
- .modal-dialog-linked-button {
- padding: 10px;
- border: 1px solid $borders_color;
- color: $fg_color;
- background: $main_dark;
- text-shadow: none;
- icon-shadow: none;
- box-shadow: none;
- &:insensitive { @include button(insensitive); }
- &:active {
- @include button(active);
- }
- &:focus {
- @include button(focus);
- &:hover {
- @include button(focus);
- }
- }
- &:hover {
- @include button(hover);
- }
- &:first-child { border-radius: 0px 0px 0px 2px; }
- &:last-child { border-radius: 0px 0px 2px 0px; }
- &:first-child:last-child { border-radius: 0px 0px 2px 2px; }
- }
- /* Entries */
- StEntry {
- @include entry(normal);
- border-radius: 2px;
- padding: 4px;
- border-width: 0;
- color: $fg_color;
- //&:hover { @include entry(hover);}
- &:focus { @include entry(focus,$fc:transparentize($fg_color,0.5));}
- &:insensitive { @include entry(insensitive);}
- selection-background-color: $selected_bg_color;
- selected-color: $selected_fg_color;
- StIcon.capslock-warning {
- icon-size: 16px;
- warning-color: $warning_color;
- padding: 0 4px;
- }
- StLabel.hint-text { color: transparentize($fg_color, 0.3); }
- }
- /* Scrollbars */
- StScrollView {
- &.vfade { -st-vfade-offset: 68px; }
- &.hfade { -st-hfade-offset: 68px; }
- }
- StScrollBar {
- padding: 0;
- StScrollView & {
- min-width: 14px;
- min-height: 14px;
- }
- StBin#trough {
- border-radius: 0;
- background-color: transparent;
- }
- StButton#vhandle, StButton#hhandle {
- border-radius: 8px;
- background-color: mix($fg_color, $bg_color, 20%);
- //border: 3px solid transparent; //would be nice to margin or at least to transparent
- margin: 3px;
- &:hover { background-color: mix($fg_color, $bg_color, 80%); }
- &:active { background-color: $selected_bg_color; }
- }
- }
- /* Slider */
- .slider {
- height: 1em;
- color: darken($selected_fg_color, 25%);
- border-color: black;
- -slider-height: 0.1em;
- -slider-background-color: $gray; //background of the trough
- -slider-border-color: black; //trough border color
- -slider-active-background-color: $teal; //active trough fill
- -slider-active-border-color: $lime; //active trough border
- -slider-border-width: 0;
- -slider-handle-radius: 6px;
- -barlevel-height: 0.1em;
- -barlevel-background-color: $gray;
- -barlevel-border-color: black;
- -barlevel-active-background-color: $teal;
- -barlevel-active-border-color: $lime;
- -barlevel-border-width: 0;
- -barlevel-handle-radius: 6px;
- -barlevel-overdrive-color: $teal;
- -barlevel-overdrive-border-color: transparent;
- -barlevel-overdrive-separator-width: 0px;
- }
- /* Check Boxes */
- .check-box {
- StBoxLayout { spacing: .8em; }
- StBin {
- width: 24px;
- height: 22px;
- background-image: url("assets/checkbox-off.svg");
- }
- &:focus, &:hover StBin { background-image: url("assets/checkbox-off-focused.svg"); }
- &:checked StBin { background-image: url("assets/checkbox.svg"); }
- &:focus:checked StBin { background-image: url("assets/checkbox-focused.svg"); }
- }
- /* Switches */
- .toggle-switch {
- width: 65px;
- height: 22px;
- background-size: contain;
- //Gnome 3.32//
- background-image: url("assets/toggle-off.svg");
- &:checked { background-image: url("assets/toggle-on.svg"); }
- }
- @each $v in us, intl {
- .toggle-switch-#{$v} {
- background-image: url("assets/toggle-off.svg");
- &:checked { background-image: url("assets/toggle-on.svg"); }
- }
- }
- /* links */
- .shell-link {
- color: $link_color;
- &:hover { color: lighten($link_color,10%); }
- }
- /* Modal Dialogs */
- .headline { font-size: 110%; }
- .lightbox { background-color: black; }
- .flashspot { background-color: white; }
- .modal-dialog {
- border: none;
- border-radius: 2px;
- color: $osd_fg_color;
- background-color: darken($osd_bg_color,5%);
- box-shadow: $depth6;
- .modal-dialog-content-box { padding: 24px; }
- .run-dialog-entry {
- width: 20em;
- margin-bottom: 6px;
- }
- .run-dialog-error-box {
- color: $error_color;
- padding-top: 16px;
- spacing: 6px;
- }
- .run-dialog-button-box { padding-top: 1em; }
- .run-dialog-label {
- @include fontsize($font-size + 1.1);
- font-weight: bold;
- color: darken($osd_fg_color,10%);
- padding-bottom: .4em;
- }
- .run-dialog-description {
- color: $fg_color;
- }
- }
- .mount-dialog-subject,
- .end-session-dialog-subject { //this should be a generic header class
- @include fontsize($font-size * 1.3);
- }
- /* Message Dialog */
- .message-dialog-main-layout {
- padding: 12px 20px 0;
- spacing: 12px;
- }
- .message-dialog-content {
- max-width: 28em;
- spacing: 20px;
- }
- .message-dialog-icon {
- min-width: 48px;
- icon-size: 48px;
- }
- .message-dialog-title {
- font-weight: bold;
- }
- .message-dialog-subtitle {
- color: darken($fg_color,40%);
- font-weight: bold;
- }
- /* End Session Dialog */
- .end-session-dialog {
- spacing: 42px;
- border: none;
- & .modal-dialog-linked-button:last-child {
- background-color: $red;
- color: #fff;
- &:hover, &:focus {
- background: darken($error_color, 3%);
- color: #fff;
- }
- }
- }
- .end-session-dialog-list {
- padding-top: 20px;
- }
- .end-session-dialog-layout {
- padding-left: 17px;
- &:rtl { padding-right: 17px; }
- }
- .end-session-dialog-description {
- width: 28em;
- padding-bottom: 10px;
- &:rtl {
- text-align: right;
- }
- }
- .end-session-dialog-warning {
- width: 28em;
- color: $warning_color;
- padding-top: 6px;
- &:rtl {
- text-align: right;
- }
- }
- .end-session-dialog-logout-icon {
- //border: 2px solid #8b8b8b;
- border-radius: 3px;
- width: 48px;
- height: 48px;
- background-size: contain;
- }
- .end-session-dialog-shutdown-icon {
- color: $error_color;
- width: 48px;
- height: 48px;
- }
- .end-session-dialog-inhibitor-layout {
- spacing: 16px;
- max-height: 200px;
- padding-right: 65px;
- padding-left: 65px;
- }
- .end-session-dialog-session-list,
- .end-session-dialog-app-list {
- spacing: 1em;
- }
- .end-session-dialog-list-header {
- font-weight: bold;
- &:rtl { text-align: right; }
- }
- .end-session-dialog-app-list-item,
- .end-session-dialog-session-list-item {
- spacing: 1em;
- }
- .end-session-dialog-app-list-item-name,
- .end-session-dialog-session-list-item-name {
- font-weight: bold;
- }
- .end-session-dialog-app-list-item-description {
- color: darken($fg_color,5%);
- font-size: 10pt;
- }
- /* ShellMountOperation Dialogs */
- .shell-mount-operation-icon { icon-size: 48px; }
- .mount-dialog {
- spacing: 24px;
- .message-dialog-title {
- padding-top: 10px;
- padding-left: 17px;
- padding-bottom: 6px;
- max-width: 34em;
- }
- .message-dialog-title:rtl {
- padding-left: 0px;
- padding-right: 17px;
- }
- .message-dialog-body {
- padding-left: 17px;
- width: 28em;
- }
- .message-dialog-body:rtl {
- padding-left: 0px;
- padding-right: 17px;
- }
- }
- .mount-dialog-app-list {
- max-height: 200px;
- padding-top: 24px;
- padding-left: 49px;
- padding-right: 32px;
- }
- .mount-dialog-app-list:rtl {
- padding-right: 49px;
- padding-left: 32px;
- }
- .mount-dialog-app-list-item {
- color: darken($fg_color,10%);
- &:hover { color: $fg_color; }
- &:ltr { padding-right: 1em; }
- &:rtl { padding-left: 1em; }
- }
- .mount-dialog-app-list-item-icon {
- &:ltr { padding-right: 17px; }
- &:rtl { padding-left: 17px; }
- }
- .mount-dialog-app-list-item-name {
- font-size: 10pt;
- }
- /* Password or Authentication Dialog */
- .prompt-dialog {
- //this is the width of the entire modal popup
- width: 34em;
- border: none;
- border-radius: 2px;
- .message-dialog-main-layout { spacing: 24px; padding: 10px; }
- .message-dialog-content { spacing: 16px; }
- .message-dialog-title { color: darken($osd_fg_color,25%); }
- }
- .prompt-dialog-description:rtl {
- text-align: right;
- }
- .prompt-dialog-password-box {
- spacing: 1em;
- padding-bottom: 1em;
- }
- .prompt-dialog-error-label {
- font-size: 10pt;
- color: $error_color;
- padding-bottom: 8px;
- }
- .prompt-dialog-info-label {
- font-size: 10pt;
- padding-bottom: 8px;
- }
- .hidden {
- color: rgba(0,0,0,0);
- }
- .prompt-dialog-null-label {
- font-size: 10pt;
- padding-bottom: 8px;
- }
- /* Polkit Dialog */
- .polkit-dialog-user-layout {
- padding-left: 10px;
- spacing: 10px;
- &:rtl {
- padding-left: 0px;
- padding-right: 10px;
- }
- }
- .polkit-dialog-user-root-label {
- color: $warning_color;
- }
- .polkit-dialog-user-icon {
- border-radius: 3px;
- background-size: contain;
- width: 48px;
- height: 48px;
- }
- /* Audio selection dialog */
- .audio-device-selection-dialog {
- spacing: 30px;
- }
- .audio-selection-content {
- spacing: 20px;
- padding: 24px;
- }
- .audio-selection-title {
- font-weight: bold;
- text-align: center;
- }
- .audio-selection-box {
- spacing: 20px;
- }
- .audio-selection-device {
- border: 1px solid $_bubble_borders_color;
- border-radius: 12px;
- &:active,&:hover,&:focus { background-color: $selected_bg_color; }
- }
- .audio-selection-device-box {
- padding: 20px;
- spacing: 20px;
- }
- .audio-selection-device-icon {
- icon-size: 64px;
- }
- /* Access Dialog */
- .access-dialog {
- spacing: 30px;
- }
- /* Geolocation Dialog */
- .geolocation-dialog {
- spacing: 30px;
- }
- /* Extension Dialog */
- .extension-dialog {
- .message-dialog-main-layout { spacing: 24px; padding: 10px; }
- .message-dialog-title { color: darken($osd_fg_color,25%); }
- }
- /* Inhibit-Shortcuts Dialog */
- .inhibit-shortcuts-dialog {
- spacing: 30px;
- }
- /* Network Agent Dialog */
- .network-dialog-secret-table {
- spacing-rows: 15px;
- spacing-columns: 1em;
- }
- .keyring-dialog-control-table {
- spacing-rows: 15px;
- spacing-columns: 1em;
- }
- /* Popovers/Menus */
- .popup-menu {
- min-width: 15em;
- background-color: transparent;
- color: $fg_color;
- .popup-menu-arrow { } //defined globally in the TOP BAR
- .popup-sub-menu {
- background-color: transparentize(darken($main_dark,57%), 0.8);
- box-shadow: $depth6;
- }
- .popup-menu-content {
- padding: 16px 0;
- background-color: $bg_color;
- border-radius: 7px;
- }
- .popup-menu-item {
- spacing: 6px;
- padding: 6px;
- &:ltr { padding-right: 1.75em; padding-left: 0; }
- &:rtl { padding-right: 0; padding-left: 1.75em; }
- &:checked {
- background-color: transparentize(darken($bg_color, 4%), 0.07);
- color: $selected_fg_color;
- box-shadow: inset 1px 0px 0px lighten($selected_bg_color,5%);
- font-weight: normal;
- &:hover{
- background-color: transparentize(darken($bg_color, 4%), 0.07);
- color: $selected_bg_color;
- }
- }
- &.selected { background-color: transparentize($fg_color,0.9); color: $fg_color; }
- &:active { background-color: $selected_bg_color; color: $selected_fg_color; }
- &:insensitive { color: transparentize($fg_color,.5); }
- }
- .popup-inactive-menu-item { //all icons and other graphical elements
- color: $fg_color;
- &:insensitive { color: transparentize($fg_color,0.5); }
- }
- //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
- &.panel-menu {
- -boxpointer-gap: 4px;
- margin-bottom: 1.75em;
- }
- }
- .popup-menu-ornament {
- text-align: right;
- width: 1.2em;
- }
- .popup-menu-boxpointer,
- .candidate-popup-boxpointer {
- -arrow-border-radius: 7px;
- -arrow-background-color: $bg_color;
- -arrow-border-width: 1px;
- -arrow-border-color: $borders_color;
- -arrow-base: 24px;
- -arrow-rise: 11px;
- -arrow-box-shadow: 0 1px 3px black; //dreaming. bug #689995
- }
- .popup-separator-menu-item {
- background: transparent;
- &-separator {
- //-margin-horizontal: 24px;
- height: 1px; //not really the whole box
- margin: 6px 64px;
- background-color: transparent;
- border-color: transparent;
- border-bottom-width: 1px;
- border-bottom-style: solid;
- }
- .popup-sub-menu & &-separator { //submenu separators
- margin: 0 64px 0 32px;
- background: transparent;
- }
- }
- // Background menu
- .background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }
- /* fallback menu
- - odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
- app menu inside the main app window itself rather than the top bar
- */
- /* OSD */
- .osd-window {
- text-align: center;
- font-weight: bold;
- spacing: 1em;
- margin: 32px;
- min-width: 64px;
- min-height: 64px;
- .osd-monitor-label { font-size: 3em; }
- .level {
- height: 0.4em;
- border-radius: 0.3em;
- color: $osd_fg_color;
- border: 1px solid $borders_color;
- -barlevel-height: 0.4em;
- -barlevel-background-color: transparentize(darken($main_dark,15%),0.5);
- -barlevel-active-background-color: $selected_bg_color;
- -barlevel-overdrive-color: $red;
- -barlevel-overdrive-separator-width: 0.2em;
- }
- .level-bar {
- background-color: $selected_bg_color;
- border-radius: 0.3em;
- }
- }
- /* Pad OSD */
- .pad-osd-window {
- padding: 32px;
- background-color: transparentize(black, 0.2);
- .pad-osd-title-box { spacing: 12px; }
- .pad-osd-title-menu-box { spacing: 6px; }
- }
- .combo-box-label {
- width: 15em;
- }
- /* App Switcher */
- .switcher-popup {
- padding: 8px;
- spacing: 16px;
- }
- .osd-window,
- .resize-popup,
- .switcher-list {
- @extend %osd-panel;
- }
- .switcher-list-item-container { spacing: 8px; }
- .switcher-list .item-box {
- padding: 8px;
- border-radius: 4px;
- }
- .switcher-list .item-box:outlined {
- padding: 6px;
- border: 2px solid darken($borders_color,10%);
- }
- .switcher-list .item-box:selected {
- background-color: $selected_bg_color;
- color: $selected_fg_color;
- }
- .switcher-list .thumbnail-box {
- padding: 2px;
- spacing: 4px;
- }
- .switcher-list .thumbnail {
- width: 256px;
- }
- .switcher-list .separator {
- width: 1px;
- background: $borders_color;
- }
- .switcher-arrow {
- border-color: rgba(0,0,0,0);
- color: transparentize($fg_color,0.2);
- &:highlighted {
- color: $fg_color;
- }
- }
- .input-source-switcher-symbol {
- font-size: 34pt;
- width: 96px;
- height: 96px;
- }
- /* Window Cycler */
- .cycler-highlight { border: 5px solid $selected_bg_color; }
- /* Workspace Switcher */
- .workspace-switcher-group { padding: 12px; }
- .workspace-switcher-container {
- @extend %osd-panel;
- }
- .workspace-switcher {
- background: transparent;
- border: 0px;
- border-radius: 0px;
- padding: 0px;
- spacing: 8px;
- }
- .ws-switcher-active-up,
- .ws-switcher-active-down,
- .ws-switcher-active-left,
- .ws-switcher-active-right {
- height: 50px;
- background-color: $selected_bg_color;
- color: $selected_fg_color;
- border: none;
- background-size: 32px;
- border-radius: 8px;
- }
- .ws-switcher-active-up {
- background-image: url("assets/ws-switch-arrow-up.png"); }
- .ws-switcher-active-down {
- background-image: url("assets/ws-switch-arrow-down.png"); }
- .ws-switcher-box {
- height: 50px;
- border: 1px solid transparentize($osd_fg_color,0.9);
- background: darken($_bubble_bg_color, 10%);
- border-radius: 8px;
- }
- %osd-panel {
- color: $_bubble_fg_color;
- background-color: $_bubble_bg_color;
- border: 1px solid $borders_color;
- box-shadow: 0px 0px 7px $borders_color;
- border-radius: 5px;
- padding: 12px;
- }
- /* Tiled window previews */
- .tile-preview {
- background-color: transparentize($selected_bg_color, 0.2);
- border: 1px solid $selected_bg_color;
- }
- .tile-preview-left.on-primary {
- border-radius: $corner-radius $corner-radius 0 0;
- }
- .tile-preview-right.on-primary {
- border-radius: 0 $corner-radius 0 0;
- }
- .tile-preview-left.tile-preview-right.on-primary {
- border-radius: $corner-radius $corner-radius 0 0;
- }
- /* TOP BAR */
- #panel {
- background-gradient-direction: none;
- background-color: $topbar_bg_color;
- /* transition from solid to transparent */
- transition-duration: 500ms;
- font-weight: bold;
- height: 1.86em;
- padding: 0px 0px;
- &.unlock-screen,
- &.login-screen,
- &.lock-screen {
- background-color: transparent;
- }
- #panelLeft, #panelCenter { // spacing between activities<>app menu and such
- spacing: 4px;
- }
- .panel-corner {
- -panel-corner-radius: 0px;
- -panel-corner-background-color: rgba(0, 0, 0, 0.2);
- -panel-corner-border-width: 2px;
- -panel-corner-border-color: transparent;
- &:active, &:overview, &:focus {
- -panel-corner-border-color: lighten($selected_bg_color,5%);
- }
- &.lock-screen, &.login-screen, &.unlock-screen {
- -panel-corner-radius: 0;
- -panel-corner-background-color: transparent;
- -panel-corner-border-color: transparent;
- }
- }
- .panel-button {
- -natural-hpadding: 12px;
- -minimum-hpadding: 6px;
- font-weight: bold;
- color: $topbar_color;
- transition-duration: 100ms;
- .app-menu-icon {
- -st-icon-style: symbolic;
- margin-left: 4px;
- margin-right: 4px;
- //dimensions of the icon are hardcoded
- }
- .system-status-icon,
- .app-menu-icon > StIcon,
- .popup-menu-arrow {
- icon-shadow: none;
- }
- &:hover {
- background: lighten($topbar_bg_color, 10%);
- color: lighten($topbar_color, 10%);
- transition-duration: 200ms;
- }
- &:active, &:overview, &:focus, &:checked {
- // Trick due to St limitations. It needs a background to draw
- // a box-shadow
- box-shadow: none;
- @include gradient();
- color: $selected_fg_color;
- transition-duration: 200ms;
- & > .system-status-icon { icon-shadow: red 0 2px 2px; }
- }
- .system-status-icon { icon-size: 1.09em; padding: 0 5px; }
- .unlock-screen &,
- .login-screen &,
- .lock-screen & {
- color: lighten($fg_color, 10%);
- &:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
- }
- // Remove default bottom border
- &.clock-display {
- &:active, &:overview, &:focus, &:checked {
- box-shadow: none;
- .clock {
- box-shadow: none;
- }
- }
- }
- }
- .panel-status-indicators-box,
- .panel-status-menu-box {
- spacing: 2px;
- }
- // spacing between power icon and (optional) percentage label
- .power-status.panel-status-indicators-box {
- spacing: 0;
- }
- .screencast-indicator { color: $warning_color; }
- &.solid {
- background-color: $dracula;
- /* transition from transparent to solid */
- transition-duration: 300ms;
- .panel-corner {
- -panel-corner-background-color: black;
- }
- .system-status-icon,
- .app-menu-icon > StIcon,
- .popup-menu-arrow {
- icon-shadow: none;
- }
- }
- }
- // calendar popover
- #calendarArea {
- padding: 0.75em 1.0em;
- }
- .calendar {
- margin-bottom: 1em;
- }
- .calendar, .world-clocks-button, .weather-button, .events-button {
- background: transparent;
- border: none;
- }
- .calendar,
- .datemenu-today-button,
- .datemenu-displays-box,
- .message-list-sections {
- margin: 0 1.5em;
- }
- .datemenu-calendar-column { spacing: 0.5em; }
- .datemenu-displays-section { padding-bottom: 3em; }
- .datemenu-displays-box { spacing: 1em; }
- .datemenu-calendar-column {
- border: 0 solid transparent;
- &:ltr { border-left-width: 1px; }
- &:rtl { border-right-width: 1px; }
- background: darken($bg_color, 0.7%);
- //@include gradient();
- }
- .datemenu-today-button,
- .world-clocks-button,
- .weather-button,
- .events-section-title,
- .message-list-section-title,
- .events-button {
- border-radius: 4px;
- color: $fg_color;
- padding: .4em;
- }
- .message-list-section-list:ltr {
- padding-left: .4em;
- }
- .message-list-section-list:rtl {
- padding-right: .4em;
- }
- .datemenu-today-button,
- .world-clocks-button,
- .weather-button,
- .events-section-title,
- .message-list-section-title,
- .events-button {
- &:hover,&:focus { background-color: lighten($bg_color,5%); }
- &:active {
- color: lighten($selected_fg_color,5%);
- background-color: $selected_bg_color;
- }
- }
- .datemenu-today-button .day-label {
- }
- .datemenu-today-button .date-label {
- font-size: 1.5em;
- }
- .world-clocks-header,
- .weather-header,
- .events-section-title,
- .message-list-section-title,
- .events-title {
- color: darken($fg_color, 10%);
- font-weight: bold;
- }
- .events-button .event-time {
- color: darken($fg_color, 4%);
- }
- .world-clocks-grid {
- spacing-rows: 0.4em;
- }
- .weather-box {
- spacing: 0.4em;
- }
- .calendar-month-label {
- color: darken($fg_color,5%);
- font-weight: bold;
- padding: 8px 0;
- &:focus {}
- }
- .pager-button {
- color: white;
- background-color: transparent;
- width: 32px;
- border-radius: 4px;
- &:hover, &:focus { background-color: transparentize($fg_color,0.95); }
- &:active { background-color: transparentize($bg_color,0.95); }
- }
- .calendar-change-month-back { //arrow back
- background-image: url("assets/calendar-arrow-left.svg");
- &:rtl { background-image: url("assets/calendar-arrow-right.svg"); }
- }
- .calendar-change-month-forward { //arrow foreward
- background-image: url("assets/calendar-arrow-right.svg");
- &:rtl { background-image: url("assets/calendar-arrow-left.svg"); }
- }
- .calendar-change-month-back StIcon,
- .calendar-change-month-forward StIcon {
- color: darken($fg_color, 5%);
- }
- .calendar-day-base {
- font-size: 80%;
- text-align: center;
- width: 2.4em; height: 2.4em;
- padding: 0.1em;
- margin: 2px;
- border-radius: 1.4em;
- color: $fg_color;
- &:hover,&:focus { background-color: lighten($bg_color,5%); }
- &:active,&:selected {
- color: $selected_fg_color;
- background-color: $selected_bg_color;
- border-color: transparent; //avoid jumparound due to today
- }
- &.calendar-day-heading { //day of week heading
- color: darken($fg_color, 10%);
- margin-top: 1em;
- font-size: 70%;
- }
- }
- .calendar-day { //border collapse hack - see calendar.js
- border-width: 0;
- }
- .calendar-day-top { border-top-width: 1px; }
- .calendar-day-left { border-left-width: 1px; }
- .calendar-work-day {
- }
- .calendar-nonwork-day {
- color: $insensitive_fg_color;
- }
- // Today
- .calendar-today {
- font-weight: bold;
- border: 1px solid $selected_bg_color;
- background-color: transparent;
- color: $selected_fg_color;
- &:hover,&:focus {
- background-color:lighten($selected_bg_color, 3%);
- color: $selected_fg_color;
- }
- &:active,&:selected {
- background-color: $selected_bg_color;
- color: $selected_fg_color;
- &:hover,&:focus {
- background-color:lighten($selected_bg_color, 3%);
- color: $selected_fg_color;
- }
- }
- }
- .calendar-day-with-events {
- color: lighten($fg_color,10%);
- font-weight: bold;
- background-image: url("assets/calendar-today.svg");
- }
- .calendar-other-month-day {
- color: $insensitive_fg_color;
- opacity: 0.5;
- }
- .calendar-week-number {
- font-size: 70%;
- font-weight: bold;
- width: 2.3em; height: 1.8em;
- border-radius: 2px;
- padding: 0.5em 0 0;
- margin: 6px;
- background-color: transparentize($fg_color,0.7);
- color: $bg_color;
- }
- /* Message list */
- .message-list {
- width: 31.5em;
- .message-title{
- color: darken($fg_color,3%);
- }
- .message-content, .message-body {
- color: darken($fg_color,4%);
- }
- }
- .message-list-clear-button.button {
- background: darken($bg_color, 0.7%);
- border: 1px solid transparent;
- &:hover,&:focus { @include button(hover); }
- margin: 1.5em 1.5em 0;
- }
- .message-list-sections {
- spacing: 1em;
- }
- .message-list-section,
- .message-list-section-list {
- spacing: 0.4em;
- }
- .message-list-section-close{
- & > StIcon {
- icon-size: 16px;
- border-radius: 16px;
- padding: 8px;
- color: $fg_color;
- background-color: transparent;
- }
- &:hover > StIcon,
- &:focus > StIcon
- &:active > StIcon{
- color: $red;
- background: transparent;
- }
- }
- .message {
- &:hover,&:focus {
- background-color: darken($bg_color, 3%);
- box-shadow: 2px 0px 0px 0px $teal inset;
- border-radius: 1px 5px 5px 1px;
- }
- background: darken($bg_color, 0.7%);
- border: 1px solid $borders_color;
- border-radius: 5px;
- box-shadow: none;
- }
- .message-close-button {
- color: $fg_color;
- }
- .message-icon-bin {
- padding: 10px 3px 10px 10px;
- &:rtl { padding: 10px 10px 10px 3px; }
- }
- .message-icon-bin > StIcon {
- icon-size: 16px;
- -st-icon-style: symbolic;
- }
- .message-secondary-bin {
- padding: 0 12px;
- }
- .message-secondary-bin > .event-time {
- color: darken($fg_color, 15%);
- font-size: 0.7em;
- /* HACK: the label should be baseline-aligned with a 1em label,
- fake this with some bottom padding */
- padding-bottom: 0.13em;
-
- }
- .message-secondary-bin > StIcon {
- icon-size: 16px;
- }
- .message-title {
- //color: darken($fg_color,5%);
-
- }
- .message-content {
- // color: darken($fg_color,20%);
- padding: 10px;
- *:hover > StIcon,
- *:focus > StIcon, {
- color: $red;
- }
- }
- .message-media-control {
- padding: 12px;
- color: darken($fg_color, 20%);
- &:last-child:ltr { padding-right: 18px; }
- &:last-child:rtl { padding-left: 18px; }
- &:hover { color: $fg_color; }
- &:insensitive { color: darken($fg_color,40%); }
- }
- .media-message-cover-icon {
- icon-size: 48px !important;
- &.fallback {
- color: lighten($bg_color,10%);
- background-color: $bg_color;
- border: 2px solid $bg_color;
- border-radius: 2px;
- icon-size: 16px;
- padding: 8px; }
- }
- /* World clocks */
- .world-clocks-button {
-
- // city label
- .world-clocks-city {
- color: $fg_color;
- font-weight: normal;
- }
- // timezone time
- .world-clocks-time {
- font-weight: bold;
- color: $fg_color;
- font-feature-settings: "lnum";
- text-align: right;
- }
- // timezone offset label
- .world-clocks-timezone {
- color: darken($fg_color, 20%);
- font-feature-settings: "tnum";
- }
- }
- /* Weather */
- .weather-button {
- .weather-header {
- color: darken($fg_color, 10%);
- font-weight: bold;
- &.location {
- font-weight: normal;
- }
- }
- .weather-forecast-time {
- color: darken($fg_color, 10%);
- font-feature-settings: "tnum";
- font-weight: normal;
- padding-top: 0.2em;
- padding-bottom: 0.4em;
- }
- .weather-forecast-temp {
- font-weight: bold;
- }
- }
- // a little unstructured mess:
- .system-switch-user-submenu-icon.user-icon {
- icon-size: 20px;
- padding: 0 2px;
- }
- .system-switch-user-submenu-icon.default-icon {
- icon-size: 16px;
- padding: 0 4px;
- }
- #appMenu {
- spinner-image: url("assets/process-working.svg");
- spacing: 4px;
- .label-shadow { color: transparent; }
- }
- .aggregate-menu {
- min-width: 21em;
- .popup-menu-icon { padding: 0 4px; }
- }
- .system-menu-action {
- color: $fg_color;
-
- border-radius: 32px; /* wish we could do 50% */
- border: 1px solid $borders_color;
- background: darken($bg_color, 3%);
- padding: 13px;
- &:hover, &:focus {
- border: 1px solid $selected_bg_color;
- color: $selected_bg_color;
- background: transparent;
- }
- &:active {
- background-color: darken($selected_bg_color, 10%);
- color: $selected_fg_color;
- border: 1px solid darken($selected_bg_color, 10%);
- }
- & > StIcon { icon-size: 16px; }
- }
- //Activities Ripples
- .ripple-box {
- width: 52px;
- height: 52px;
- background-image: url("assets/corner-ripple-ltr.png");
- background-size: contain;
- }
- .ripple-box:rtl {
- background-image: url("assets/corner-ripple-rtl.png");
- }
- // not really top bar only
- .popup-menu-arrow { width: 16px; height: 16px; }
- .popup-menu-icon { icon-size: 1.09em; }
- //close buttons
- .window-close {
- background-color: transparent;
- background-image: url("assets/close-window.svg");
- background-size: 32px;
- border: none;
- box-shadow: none;
- color: transparent;
- height: 32px;
- width: 32px;
- }
- .window-close {
- -shell-close-overlap: 16px;
- &:rtl { -st-background-image-shadow: 2px 2px 6px rgba(0,0,0,0.5); }
- }
- /* NETWORK DIALOGS */
- .nm-dialog {
- max-height: 34em;
- min-height: 31em;
- min-width: 32em;
- }
- .nm-dialog-content {
- spacing: 20px;
- padding: 24px;
- }
- .nm-dialog-header-hbox { spacing: 10px; }
- .nm-dialog-airplane-box { spacing: 12px; }
- .nm-dialog-airplane-headline {
- font-weight: bold;
- text-align: center;
- }
- .nm-dialog-airplane-text { color: $fg_color; }
- .nm-dialog-header-icon { icon-size: 32px; }
- .nm-dialog-scroll-view { border: 2px solid $borders_color; background: transparent; }
- .nm-dialog-header { font-weight: bold; }
- .nm-dialog-item {
- font-size: 110%;
- border-bottom: 1px solid $borders_color;
- padding: 12px;
- spacing: 20px;
- }
- .nm-dialog-item:selected {
- background-color: $selected_bg_color;
- color: $selected_fg_color;
- }
- .nm-dialog-icons { spacing: .5em; }
- .nm-dialog-icon { icon-size: 16px; }
- .no-networks-label { color: #999999; }
- .no-networks-box { spacing: 12px; }
- /* OVERVIEW */
- #overview {
- spacing: 24px; //
- }
- #overview.cosmic-solid-bg {
- background-color: $base_color !important;
- }
- .overview-controls {
- padding-bottom: 32px;
- }
- .window-picker { //container around window thumbnails
- -horizontal-spacing: 16px;
- -vertical-spacing: 16px;
- padding: 0 16px 16px;
- &.external-monitor { padding: 16px; }
- }
- .window-clone-border {
- border: 1px solid transparentize(rgba(255, 255, 255, 0.3),.7);
- border-radius: 0px;
- // For window decorations with round corners we can't match
- // the exact shape when the window is scaled. So apply a shadow
- // to fix that case
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
- }
- .window-caption {
- spacing: 20px;
- color: $topbar_color;
- background-color: transparentize($osd_bg_color,.3);
- border-radius: 2px;
- padding: 4px 8px;
- }
- //search entry
- .search-entry {
- width: 320px;
- padding: 9px;
- border-radius: 100px;
- border: 1px solid $borders_color;
- color: $fg_color;
- background-color: transparentize($bg_color, 0.4);
- box-shadow: $depth;
- &:focus {
- color: $fg_color;
- background-color: transparentize($bg_color, 0.2);
- box-shadow: $depth2;
- }
- .search-entry-icon { icon-size: 1em; padding: 0 4px; color: transparentize($fg_color,.3); }
- &:hover, &:focus {
- background-color: transparentize($bg_color, 0.2);
- border-color: transparentize($selected_bg_color, 0.2);
- .search-entry-icon { color: $fg_color; }
- }
- }
- //search results
- #searchResultsBin {
- max-width: 1000px;
- }
- #searchResultsContent {
- padding-left: 20px;
- padding-right: 20px;
- spacing: 16px;
- }
- .search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing
- .search-section-content {
- background-color: transparent;
- border-radius: 0;
- border: none;
- box-shadow: none;
- // This is the space between the provider icon and the results container
- spacing: 32px;
- }
- .search-statustext { // "no results"
- @extend %status_text;
- }
- .list-search-results { spacing: 3px; }
- .search-section-separator { height: 2px; background-color: rgba(255, 255, 255, 0.2); }
- .list-search-result-content { spacing: 30px; }
- .list-search-result-title { color: lighten($topbar_color,5%); spacing: 12px; }
- .list-search-result-description { color: transparentize(lighten($topbar_color,15%), 0.5); }
- .list-search-provider-details { width: 150px; color: lighten($topbar_color,5%); margin-top: 0.24em; }
- .list-search-provider-content { spacing: 20px; }
- .search-provider-icon { padding: 15px; }
- /* DASHBOARD */
- #dash {
- font-size: 9pt;
- color: $topbar_color;
- background-color: $topbar_bg_color;
- padding: 6px 0;
- border: 1px solid $borders_color;
- border-left: 0px;
- border-radius: 0px 5px 5px 0px;
- &:rtl {
- border-radius: 9px 0 0 9px;
- }
- .placeholder {
- background-image: url("assets/dash-placeholder.svg");
- background-size: contain;
- height: 24px;
- }
- .empty-dash-drop-target {
- width: 24px;
- height: 24px;
- }
- }
- .dash-item-container > StWidget {
- padding: 4px 8px;
- }
- .dash-label { //osd tooltip
- border-radius: 7px;
- padding: 4px 12px;
- color: $topbar_color;
- background-color: $topbar_bg_color;
- text-align: center;
- -x-offset: 8px;
- }
- /* App Vault/Grid */
- .icon-grid {
- spacing: 30px;
- -shell-grid-horizontal-item-size: 136px;
- -shell-grid-vertical-item-size: 136px;
- .overview-icon { icon-size: 96px; }
- }
- //.app-display { spacing: 20px; }
- .system-action-icon {
- background-color: black;
- color: white;
- border-radius: 99px;
- icon-size: 48px;
- }
- .app-view-controls { //favorties | all toggle container
- padding-bottom: 32px;
- }
- .app-view-control { //favorties | all toggle button
- padding: 4px 32px;
- &:checked { @include button(active); }
- &:first-child {
- border-right-width: 0;
- border-radius: 3px 0 0 3px;
- }
- &:last-child {
- border-radius: 0 3px 3px 0;
- }
- }
- //Icon tile
- .search-provider-icon,
- .list-search-result {
- @extend %icon_tile;
- &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
- &:focus, &:selected, &:hover {
- background-color: transparentize($bg_color,.7);
- transition-duration: 200ms;
- }
- }
- .app-well-app,
- .app-well-app.app-folder,
- .show-apps,
- .grid-search-result {
-
- border: none;
- & .overview-icon {
- @extend %icon_tile;
- }
- &:active .overview-icon,
- &:checked .overview-icon {
- background-color: transparentize(darken($osd_bg_color,7%),.1);
- box-shadow: inset $depth2;
- color: $fg_color;
- }
- &:hover .overview-icon,
- &:focus .overview-icon,
- &:selected .overview-icon {
- background-color: transparentize($bg_color,.5);
- transition-duration: 0ms;
- border-image: none;
- background-image: none;
- }
- }
- .app-well-app-running-dot { //running apps indicator
- width: 4px; height: 4px;
- background-color: $selected_bg_color;
- border-radius: 10px !important;
- box-shadow: 0px 0px 5px 4px transparentize($purple, 0.2);
- margin-bottom: 0px;
- }
- %icon_tile {
- color: $selected_fg_color;
- border-radius: 2px;
- padding: 7px 6px;
- border: none;
- transition-duration: 100ms;
- text-align: center;
- box-shadow: $depth;
- }
- .app-well-app.app-folder > .overview-icon {
- background-color: transparentize($osd_bg_color,.6);
- }
- .show-apps .show-apps-icon {
- color: $topbar_color;
- }
- .show-apps:checked .show-apps-icon,
- .show-apps:focus .show-apps-icon {
- color: $fg_color;
- transition-duration: 100ms;
- }
- // Collections
- .app-folder-popup { //expanded collection
- -arrow-border-radius: 8px;
- -arrow-background-color: transparentize($bg_color,0.5);
- -arrow-base: 24px;
- -arrow-rise: 11px;
- }
- .app-folder-popup-bin { padding: 5px; background: transparentize($bg_color,.5);;}
- .app-folder-icon {
- padding: 5px;
- spacing-rows: 5px;
- spacing-columns: 5px;
- }
- .page-indicator {
- padding: 15px 20px;
- .page-indicator-icon {
- width: 12px;
- height: 12px;
- border-radius: 12px;
- background-image: none;
- background-color: rgba(255, 255, 255, 0.3);
- border: none;
- }
- &:hover .page-indicator-icon {
- background-image: none;
- background-color: rgba(255, 255, 255, 0.5);
- }
- &:active .page-indicator-icon {
- background-image: none;
- background-color: rgba(255, 255, 255, 0.7);
- margin: 0;
- }
- &:checked .page-indicator-icon{
- background-image: none;
- background-color: #FFFFFF;
- transition-duration: 0.3s;
- transition-timing-function: ease-in-out;
- }
- }
- .no-frequent-applications-label { @extend %status_text; }
- .app-well-app > .overview-icon.overview-icon-with-label,
- .grid-search-result .overview-icon.overview-icon-with-label {
- padding: 10px 8px 5px 8px;
- spacing: 4px;
- }
- // Workspace pager
- .workspace-thumbnails { //container ala dash
- @extend %overview-panel;
- visible-width: 32px; //amount visible before hover
- spacing: 11px;
- padding: 8px;
- border-radius: 0;
- //border-width: 1px 0 1px 1px; //fixme: can't have non unoform borders :(
- &:rtl { border-radius: 0;}
- }
- .workspace-thumbnail-indicator {
- border: 4px solid transparentize($selected_bg_color, .1);
- box-shadow: $depth;
- padding: 0;
- }
- //Some hacks I don't even
- .search-display > StBoxLayout,
- .all-apps,
- .frequent-apps > StBoxLayout {
- // horizontal padding to make sure scrollbars or dash don't overlap content
- padding: 0px 88px 10px 88px;
- }
- %overview-panel {
- color: $_bubble_fg_color;
- background-color: transparent;
- border: none;
- }
- %status_text {
- font-size: 2em;
- font-weight: bold;
- color: $fg_color;
- }
- /* NOTIFICATIONS & MESSAGE TRAY */
- .url-highlighter { link-color: lighten($selected_bg_color,10%); }
- // Banners
- .notification-banner {
- font-size: 11pt;
- width: 34em;
- margin: 5px;
- border-radius: 3px;
- color: $topbar_color;
- background-color: $bg_color;
- border: 1px solid $borders_color;
- box-shadow: 0 1px 4px black;
- &:hover { background-color: transparentize($bg_color, 0.04); }
- &:focus { background-color: transparentize($bg_color, 0.04); }
- *{ color: #fefefe; }
- .notification-icon { padding: 5px; }
- .notification-content { padding: 5px; spacing: 5px; }
- .secondary-icon { icon-size: 1.09em; }
- .notification-actions {
- background-color: darken($bg_color, 2%);
- padding-top: 2px;
- spacing: 1px;
- }
- .notification-button {
- padding: 5px;
- background-color: transparentize($bg_color, 0.1);
- box-shadow: none;
- &:first-child { border-radius: 0 0 0 3px; }
- &:last-child { border-radius: 0 0 3px 0; }
- &:hover, &focus { background-color: darken($bg_color,2%); color: $selected_bg_color;}
- }
- }
- .summary-source-counter {
- font-size: 10pt;
- font-weight: bold;
- height: 1.6em; width: 1.6em;
- -shell-counter-overlap-x: 3px;
- -shell-counter-overlap-y: 3px;
- background-color: $selected_bg_color;
- color: $selected_fg_color;
- border: 2px solid $osd_fg_color;
- box-shadow: 0 2px 2px rgba(0,0,0,0.5);
- border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
- }
- .secondary-icon { icon-size: 1.09em; }
- //chat bubbles
- .chat-body { spacing: 5px; }
- .chat-response { margin: 5px; }
- .chat-log-message { color: darken($fg_color,10%); }
- .chat-new-group { padding-top: 1em; }
- .chat-received {
- padding-left: 4px;
- &:rtl { padding-left: 0px; padding-right: 4px; }
- }
- .chat-sent {
- padding-left: 18pt;
- color: darken($fg_color, 15%);
- &:rtl { padding-left: 0; padding-right: 18pt; }
- }
- .chat-meta-message {
- padding-left: 4px;
- font-size: 9pt;
- font-weight: bold;
- color: darken($fg_color,20%);
- &:rtl { padding-left: 0; padding-right: 4px; }
- }
- //hotplug
- .hotplug-transient-box {
- spacing: 6px;
- padding: 2px 72px 2px 12px;
- }
- .hotplug-notification-item {
- padding: 2px 10px;
- &:focus { padding: 1px 71px 1px 11px; }
- }
- .hotplug-notification-item-icon {
- icon-size: 24px;
- padding: 2px 5px;
- }
- .hotplug-resident-box { spacing: 8px; }
- .hotplug-resident-mount {
- spacing: 8px;
- border-radius: 4px;
- &:hover { background-color: transparentize($bg_color,0.7); }
- }
- .hotplug-resident-mount-label {
- color: inherit;
- padding-left: 6px;
- }
- .hotplug-resident-mount-icon {
- icon-size: 24px;
- padding-left: 6px;
- }
- .hotplug-resident-eject-icon {
- icon-size: 16px;
- }
- .hotplug-resident-eject-button {
- padding: 7px;
- border-radius: 5px;
- color: pink;
- }
- /* Eeeky things */
- //magnifier
- .magnifier-zoom-region {
- border: 2px solid $selected_bg_color;
- &.full-screen { border-width: 0; }
- }
- //Keyboard
- /* On-screen Keyboard */
- #keyboard {
- background-color: transparentize($osd_bg_color, 0.3);
- }
- .keyboard-layout {
- spacing: 10px;
- padding: 10px;
- }
- .keyboard-row { spacing: 15px; }
- .keyboard-key {
- @include button(normal);
- background-color: $base_color;
- min-height: 2em;
- min-width: 2em;
- font-size: 14pt;
- font-weight: bold;
- border-radius: 5px;
- &:focus { @include button(focus); }
- &:hover,&:checked { @include button(hover); }
- &:active { @include button(active);}
- &:grayed { //FIXME
- background-color: $osd_bg_color;
- color: $osd_fg_color;
- border-color: $osd_borders_color;
- }
- }
- .keyboard-subkeys { //long press on a key popup
- color: white;
- padding: 5px;
- -arrow-border-radius: 10px;
- -arrow-background-color: transparentize($osd_bg_color, 0.3);
- -arrow-border-width: 2px;
- -arrow-border-color: $_bubble_borders_color;
- -arrow-base: 20px;
- -arrow-rise: 10px;
- -boxpointer-gap: 5px;
- }
- // IBus Candidate Popup
- .candidate-popup-content {
- padding: 0.5em;
- spacing: 0.3em;
- }
- .candidate-index {
- padding: 0 0.5em 0 0;
- color: darken($fg_color,10%);
- }
- .candidate-box {
- padding: 0.3em 0.5em 0.3em 0.5em;
- border-radius: 4px;
- &:selected,&:hover { background-color: $selected_bg_color; color: $selected_fg_color; }
- }
- .candidate-page-button-box {
- height: 2em;
- .vertical & { padding-top: 0.5em; }
- .horizontal & { padding-left: 0.5em; }
- }
- .candidate-page-button {
- padding: 4px;
- }
- .candidate-page-button-previous { border-radius: 4px 0px 0px 4px; border-right-width: 0; }
- .candidate-page-button-next { border-radius: 0px 4px 4px 0px; }
- .candidate-page-button-icon { icon-size: 1em; }
- /* Auth Dialogs & Screen Shield */
- .framed-user-icon {
- background-size: contain;
- border: 2px solid $osd_fg_color;
- color: $osd_fg_color;
- border-radius: 3px;
- &:hover {
- border-color: lighten($osd_fg_color,30%);
- color: lighten($osd_fg_color,30%);
- }
- }
- // LOGIN DIALOG
- .login-dialog-banner-view {
- padding-top: 24px;
- max-width: 23em;
- }
- .login-dialog {
- //reset
- border: none;
- background-color: transparent;
- .modal-dialog-button-box { spacing: 3px; }
- .modal-dialog-button {
- padding: 3px 18px;
- &:default {
- @include button(normal,$c:$selected_bg_color);
- &:hover,&:focus { @include button(hover,$c:$selected_bg_color); }
- &:active { @include button(active,$c:$selected_bg_color); }
- &:insensitive { @include button(insensitive); }
- }
- }
- }
- .login-dialog-logo-bin { padding: 24px 0px; }
- .login-dialog-banner { color: darken($osd_fg_color,10%); }
- .login-dialog-button-box { spacing: 5px; }
- .login-dialog-message-warning { color: $warning_color; }
- .login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
- .login-dialog-user-selection-box { padding: 100px 0px; }
- .login-dialog-not-listed-label {
- padding-left: 2px;
- .login-dialog-not-listed-button:focus &,
- .login-dialog-not-listed-button:hover & {
- color: $osd_fg_color;
- }
- }
- .login-dialog-not-listed-label {
- font-size: 90%;
- font-weight: bold;
- color: darken($osd_fg_color,30%);
- padding-top: 1em;
- }
- .login-dialog-user-list-view { -st-vfade-offset: 1em; }
- .login-dialog-user-list {
- spacing: 12px;
- padding: .2em;
- width: 23em;
- &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
- &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
- }
- .login-dialog-user-list-item {
- border-radius: 5px;
- padding: .2em;
- color: darken($osd_fg_color,30%);
- &:ltr { padding-right: 1em; }
- &:rtl { padding-left: 1em; }
- .login-dialog-timed-login-indicator {
- height: 2px;
- margin: 2px 0 0 0;
- background-color: $osd_fg_color;
- }
- &:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; }
- }
- .login-dialog-username,
- .user-widget-label {
- color: $osd_fg_color;
- font-size: 120%;
- font-weight: bold;
- text-align: left;
- padding-left: 15px;
- }
- .user-widget-label {
- &:ltr { padding-left: 18px; }
- &:rtl { padding-right: 18px; }
- }
- .login-dialog-prompt-layout {
- padding-top: 24px;
- padding-bottom: 12px;
- spacing: 8px;
- width: 23em;
- }
- .login-dialog-prompt-label {
- color: darken($osd_fg_color, 20%);
- font-size: 110%;
- padding-top: 1em;
- }
- .login-dialog-session-list-button StIcon {
- icon-size: 1.25em;
- }
- .login-dialog-session-list-button {
- color: darken($osd_fg_color,30%);
- &:hover,&:focus { color: $osd_fg_color; }
- &:active { color: darken($osd_fg_color, 50%); }
- }
- //SCREEN SHIELD
- .screen-shield-arrows {
- padding-bottom: 3em;
- }
- .screen-shield-arrows Gjs_Arrow {
- color: white;
- width: 80px;
- height: 48px;
- -arrow-thickness: 12px;
- -arrow-shadow: 0 1px 1px rgba(0,0,0,0.4);
- }
- .screen-shield-clock {
- color: white;
- text-shadow: 0px 1px 2px rgba(0,0,0,0.6);
- font-weight: bold;
- text-align: center;
- padding-bottom: 1.5em;
- }
- .screen-shield-clock-time {
- font-size: 72pt;
- text-shadow: 0px 2px 2px rgba(0,0,0,0.4);
- }
- .screen-shield-clock-date { font-size: 28pt; }
- .screen-shield-notifications-container {
- spacing: 6px;
- width: 30em;
- background-color: transparent;
- max-height: 500px;
- .summary-notification-stack-scrollview {
- padding-top: 0;
- padding-bottom: 0;
- }
- .notification,
- .screen-shield-notification-source {
- padding: 12px 6px;
- border: 1px solid $_bubble_borders_color;
- background-color: transparentize($osd_bg_color,0.5);
- color: $_bubble_fg_color;
- border-radius: 4px;
- }
- .notification { margin-right: 15px; } //compensate for space allocated to the scrollbar
- }
- .screen-shield-notification-label {
- font-weight: bold;
- padding: 0px 0px 0px 12px;
- }
- .screen-shield-notification-count-text { padding: 0px 0px 0px 12px; }
- #panel.lock-screen { background-color: transparentize($_bubble_bg_color, 0.5); }
- .screen-shield-background { //just the shadow, really
- background: black;
- box-shadow: 0px 2px 4px transparentize(black,0.6);
- }
- #lockDialogGroup {
- background: #2e3436 url(resource:///org/gnome/shell/theme/noise-texture.png);
- background-repeat: repeat;
- }
- #screenShieldNotifications {
- StButton#vhandle, StButton#hhandle {
- background-color: transparentize($bg_color,0.7);
- &:hover, &:focus { background-color: transparentize($bg_color,0.5); }
- &:active { background-color: transparentize($selected_bg_color, 0.1); }
- }
- }
- // Looking Glass
- #LookingGlassDialog {
- background-color: rgba(0,0,0,0.80);
- spacing: 4px;
- padding: 4px;
- border: 2px solid grey;
- border-radius: 4px;
- & > #Toolbar {
- border: 1px solid grey;
- border-radius: 4px;
- }
- .labels { spacing: 4px; }
- .notebook-tab {
- -natural-hpadding: 12px;
- -minimum-hpadding: 6px;
- font-weight: bold;
- color: #ccc;
- transition-duration: 100ms;
- padding-left: .3em;
- padding-right: .3em;
- &:hover {
- color: white;
- text-shadow: black 0px 2px 2px;
- }
- &:selected {
- border-bottom-width: 2px;
- border-color: lighten($selected_bg_color,5%);
- color: white;
- text-shadow: black 0px 2px 2px;
- }
- }
- StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
- StBoxLayout#ResultsArea { spacing: 4px; }
- }
- .lg-dialog {
- StEntry {
- selection-background-color: #bbbbbb;
- selected-color: #333333;
- }
- .shell-link {
- color: #999999;
- &:hover { color: #dddddd; }
- }
- }
- .lg-completions-text {
- font-size: .9em;
- font-style: italic;
- }
- .lg-obj-inspector-title {
- spacing: 4px;
- }
- .lg-obj-inspector-button {
- border: 1px solid gray;
- padding: 4px;
- border-radius: 4px;
- &:hover { border: 1px solid #ffffff; }
- }
- #lookingGlassExtensions { padding: 4px; }
- .lg-extensions-list {
- padding: 4px;
- spacing: 6px;
- }
- .lg-extension {
- border: 1px solid #6f6f6f;
- border-radius: 4px;
- padding: 4px;
- }
- .lg-extension-name {
- font-weight: bold;
- }
- .lg-extension-meta {
- spacing: 6px;
- }
- #LookingGlassPropertyInspector {
- background: rgba(0, 0, 0, 0.8);
- border: 2px solid grey;
- border-radius: 4px;
- padding: 6px;
- }
|