_gnome.scss
ASCII text
1/** 2* Nautilus 3*/ 4 5// based css: 6// https://gitlab.gnome.org/GNOME/nautilus/blob/master/src/resources/css/Adwaita.css 7// hard-coded css: 8// https://gitlab.gnome.org/GNOME/nautilus/blob/master/src/resources/css/nautilus.css 9 10.nautilus-window, 11.nautilus-window notebook, 12.nautilus-window notebook > stack { 13// background-color: $surface-z0; 14} 15 16.nautilus-canvas-item { 17// border-radius: $corner-radius; 18} 19 20.nautilus-canvas-item.dim-label, 21.nautilus-list-dim-label { 22color: hint($on-surface); 23} 24 25.nautilus-desktop.nautilus-canvas-item { 26@extend %iconview-desktop; 27} 28 29// Toolbar 30 31@keyframes nautilus-operations-button-needs-attention { 32to { 33background-color: overlay("focus", $on-titlebar); 34} 35} 36 37.nautilus-operations-button-needs-attention { 38animation: nautilus-operations-button-needs-attention $ripple-fade-out-duration $ease 2 alternate; 39} 40 41.nautilus-operations-button-needs-attention-multiple { 42animation: nautilus-operations-button-needs-attention $ripple-fade-out-duration $ease 6 alternate; 43} 44 45.linked:not(.vertical) > button:not(.suggested-action):not(.destructive-action):not(:only-child).disclosure-button { 46border-radius: $circular-radius; 47} 48 49// Path bar 50 51.path-bar-box { 52transition: background-color $duration $ease-out; 53margin: $container-padding 0; 54border-radius: $corner-radius; 55 56// reset the margin 57button { 58margin: 0; 59} 60 61&.width-maximized { 62background-color: entry-fill($on-titlebar); 63} 64 65// workaround for 3.30.1 66&.background.frame { 67border-style: none; 68background-color: entry-fill($on-titlebar); 69} 70 71// for 3.30 72.path-bar button { 73label:not(:only-child) { 74&:first-child { 75margin-left: 0; 76} 77 78&:last-child { 79margin-right: 0; 80} 81} 82} 83 84// for 3.32 85.nautilus-path-bar button:not(.suggested-action):not(.destructive-action) { 86padding-left: ($medium-size - 24px) / 2; 87padding-right: ($medium-size - 24px) / 2; 88 89&.text-button { 90min-width: 0; 91} 92 93label:not(:only-child) { 94&:first-child { 95margin-left: 0; 96} 97 98&:last-child { 99margin-right: 0; 100} 101} 102 103&.text-button.image-button image:not(:only-child) { 104margin: 0; 105} 106 107&:last-child:dir(ltr), 108&:first-child:dir(rtl) { 109@extend %titlebar-button-checked; 110} 111} 112} 113 114// Floating status bar 115.nautilus-window .floating-bar { 116min-height: 32px; 117padding: 0; 118border-style: solid solid none; 119border-width: 1px; 120border-color: divider($on-surface); 121border-radius: ($corner-radius + 1px) ($corner-radius + 1px) 0 0; 122background-clip: padding-box; 123background-color: $surface-z8; 124 125// axes left border and border radius 126&.bottom.left { 127margin-right: 8px - 1px; 128border-left-style: none; 129border-top-left-radius: 0; 130} 131 132// axes right border and border radius 133&.bottom.right { 134margin-left: 8px - 1px; 135border-right-style: none; 136border-top-right-radius: 0; 137} 138 139button { 140margin: (32px - $small-size) / 2; 141 142@extend %button-small; 143} 144} 145 146.disk-space-display { 147// border-style: solid; 148// border-width: 2px; 149 150&.unknown { 151background-color: stroke($on-surface); 152color: stroke($on-surface); 153} 154 155&.used { 156background-color: $primary; 157color: $primary; 158} 159 160&.free { 161background-color: fill($on-surface); 162color: fill($on-surface); 163} 164} 165 166// View 167 168// Hide superfluous treeview drop target indication 169.nautilus-list-view .view:not(.dnd) { 170// border-bottom: 1px solid divider($on-surface); 171} 172 173.nautilus-empty-state-icon + .large-title { 174@extend .title-1; 175color: hint($on-surface); 176} 177 178.search-information { 179padding: 2px; 180border-bottom: 1px solid divider($on-surface); 181} 182 183.documents-entry-tag { 184@extend .entry-tag; 185} 186 187.conflict-row:not(:selected) { 188background-color: mix($warning, $surface-z1, percentage(.3)); 189} 190 191// Icon view 192.nautilus-window flowboxchild { 193.icon-background { 194// background-color: black; 195} 196 197.icon-item-background { 198padding: 4px; 199border-radius: $corner-radius; 200} 201 202&:selected { 203background-color: transparent; 204 205.icon-item-background { 206background-color: $overlay-selected; 207} 208} 209} 210 211// Batch rename dialog 212dialog.background > box.dialog-vbox.vertical > grid.horizontal { 213> scrolledwindow.frame { 214border-style: none; 215} 216 217> box.horizontal:last-child { 218margin: -6px 0 0 -6px; 219border-top: 1px solid divider($on-surface); 220 221> label { 222margin: 0 8px; 223} 224 225> box > button { 226border-radius: 0; 227} 228} 229} 230 231// Tweak to fix the messy sizing of the popover menu 232.nautilus-window > popover.menu:not(:last-child) { 233padding: 3px; 234 235> stack > box > box > box { 236margin-top: -6px; 237 238> box { 239margin-bottom: -6px; 240 241&.linked { 242margin-top: 1px; 243} 244} 245} 246 247separator { 248margin-bottom: -2px; 249} 250} 251 252.nautilus-menu-sort-heading { 253// min-height: 26px; 254// padding-left: 5px; 255// padding-right: 5px; 256margin: 1px 3px; 257font-weight: 500; 258 259&:disabled { 260color: hint($on-surface); 261} 262} 263 264// Make operations button circular 265.nautilus-window headerbar revealer > button { 266border-radius: $circular-radius; 267} 268 269// Ensure paned separator rendering. See issue #84 for details. 270.nautilus-window paned > separator { 271background-color: $surface-z0; 272} 273 274 275/** 276* gedit 277*/ 278 279// based css: 280// https://gitlab.gnome.org/GNOME/gedit/blob/master/gedit/resources/css/gedit.adwaita.css 281// hard-coded css: 282// https://gitlab.gnome.org/GNOME/gedit/blob/master/gedit/resources/css/gedit-style.css 283 284// Only normal state is handle 285.open-document-selector-name-label { 286// font-weight: bold; 287} 288 289// Only normal state is handle 290.open-document-selector-path-label { 291color: hint($on-surface); 292font-size: smaller; 293} 294 295// Only normal state is handle 296.open-document-selector-match { 297background-color: $warning; 298color: $on-warning; 299} 300 301.gedit-document-panel { 302// Try to look as the notebook tab close button 303row button.flat { 304margin-top: 8px; 305margin-bottom: 8px; 306 307@extend %button-small; 308} 309} 310 311.gedit-document-panel-group-row:not(:first-child) { 312border-top: 1px solid divider($on-surface); 313} 314 315.gedit-side-panel-paned statusbar { 316border-top: 1px solid divider($on-surface); 317} 318 319.gedit-search-slider { 320margin: 4px 4px 8px; 321 322.linked:not(.vertical) > entry { 323border-radius: $corner-radius; 324@extend %entry_raised; 325 326.gedit-search-entry-occurrences-tag { 327all: unset; 328color: hint($on-surface); 329} 330 331$buttons_width: $small-size * 2 + $container-padding * 3; 332 333&:dir(ltr) { 334margin-right: -$buttons_width; 335padding-right: $buttons_width; 336 337.gedit-search-entry-occurrences-tag { 338margin-left: $container-padding; 339} 340 341image.right { 342margin-right: 0; 343} 344} 345 346&:dir(rtl) { 347margin-left: -$buttons_width; 348padding-left: $buttons_width; 349 350.gedit-search-entry-occurrences-tag { 351margin-right: $container-padding; 352} 353 354image.left { 355margin-left: 0; 356} 357} 358 359&:not(.error) { 360background-color: $surface-z8; 361} 362 363&.error ~ button { 364color: hint($on-error); 365@include ink-color($on-error, $button-style: "flat"); 366 367&:disabled { 368color: disabled-hint($on-error); 369} 370} 371} 372 373.linked:not(.vertical) > button { 374border: solid $container-padding transparent; 375border-radius: $circular-radius; 376background-clip: padding-box; 377 378@extend %button-flat-basic; 379@extend %button-small; 380 381&:last-child:dir(ltr), 382&:not(:first-child):dir(rtl) { 383margin-left: -$container-padding / 2; 384} 385 386&:first-child:dir(rtl), 387&:not(:last-child):dir(ltr) { 388margin-right: -$container-padding / 2; 389} 390} 391} 392 393frame.gedit-map-frame > border { 394&:dir(ltr) { 395border-style: none none none solid; 396} 397 398&:dir(rtl) { 399border-style: none solid none none; 400} 401} 402 403/** 404* Tweaks 405*/ 406 407// hard-coded css: 408// https://gitlab.gnome.org/GNOME/gnome-tweaks/blob/master/data/shell.css 409 410// the sidebar 411.tweak-categories { 412// padding: 4px 0; 413// background-color: shade(@theme_bg_color, 0.99); 414background-image: image($surface-z0); 415 416separator { 417@extend %hide_separators; 418} 419} 420 421.tweak { 422// padding-top: 3px; 423padding: 3px; 424 425&.title:hover { 426box-shadow: none; 427} 428} 429 430.tweak-group-white, 431.tweak-white, 432.tweak-white:hover { 433// background-color: white; 434background-image: image($surface-z1); 435} 436 437.tweak-startup, 438.tweak-startup:hover { 439// background-color: lighter(shade(@theme_bg_color, 0.9)); 440background-image: image($surface-z1); 441} 442 443.tweak-group-startup { 444border: 1px solid divider($on-surface); 445background-clip: padding-box; 446// background-color: @view_separators; 447background-image: image($surface-z1); 448} 449 450// 451// Workaround for 3.26 452// 453 454row#Focus, 455row#ClickMethod, 456row#StaticWorkspaceTweak, // for 3.26.0 457row#dynamic-workspaces, 458row#PrimaryWorkspaceTweak, // for 3.26.0 459row#workspaces-only-on-primary { 460padding: 0; 461border: 1px solid divider($on-surface); 462background-clip: padding-box; 463background-image: image($surface-z1); 464 465row:not(:last-child) { 466border-bottom: 1px solid divider($on-surface); 467} 468 469&.tweak > list { 470margin-top: -3px; 471} 472} 473 474// Add more spaces between title and list 475row#Focus, 476row#ClickMethod, 477row#PrimaryWorkspaceTweak, // for 3.26.0 478row#workspaces-only-on-primary { 479margin-top: 4px; 480} 481 482// Workaround for gnome-tweaks >= 3.34 483// See https://github.com/nana-4/materia-theme/issues/432 484leaflet.titlebar > .titlebar.tweak-titlebar-left, 485leaflet.titlebar > .titlebar.tweak-titlebar-right, 486hdyleaflet.titlebar > .titlebar.tweak-titlebar-left, 487hdyleaflet.titlebar > .titlebar.tweak-titlebar-right { 488background-color: inherit; 489box-shadow: inherit; 490// Remove only background-color transition. 491// This shouldn't be necessary, but otherwise it gets lag... 492transition: color $duration $ease-out; 493 494+ separator { 495background-color: inherit; 496background-image: image(divider($on-titlebar)); 497} 498} 499 500/** 501* Builder 502*/ 503 504// based css for 3.22: 505// https://gitlab.gnome.org/GNOME/gnome-builder/tree/gnome-builder-3-22/data/theme 506// based css for 3.24: 507// https://gitlab.gnome.org/GNOME/gnome-builder/tree/gnome-builder-3-24/data/theme 508// based css for 3.26: 509// https://gitlab.gnome.org/GNOME/gnome-builder/tree/gnome-builder-3-26/data/themes 510 511// Layout tab and tab bar tweaks 512// The following makes the layout stack header look similar to a tab bar. 513layouttabbar { 514border-bottom: 1px solid divider($on-surface); 515background-color: $surface-z0; 516 517button { 518@extend %button-flat-activatable; 519} 520 521> box > button { 522margin: (40px - $medium-size) / 2 0; 523// border-radius: 0; 524} 525} 526 527layouttab { 528margin: 0 8px; // not working 529border-style: none solid; 530border-width: 1px; 531border-color: divider($on-surface); 532box-shadow: inset 0 -2px $primary; 533background-color: $surface-z1; 534 535separator.vertical { 536margin: 8px 4px; 537} 538 539button { 540&, 541&.text-button, 542&.image-button { 543margin-top: 8px; 544margin-bottom: 8px; 545padding: 0 4px; 546} 547} 548 549// Close button styling for layouttab. 550> box > button.close { 551// border-radius: $circular-radius; 552} 553} 554 555layout { 556border: 1px solid divider($on-surface); 557-PnlDockBin-handle-size: 1; 558} 559 560entry.search-missing { 561background-color: $error; 562color: $on-error; 563} 564 565// tweak icons for treeviews 566window.workbench treeview.image { 567color: hint($on-surface); 568} 569 570popover.popover-selector list { 571padding: 8px - 2px; 572 573row { 574border-radius: $corner-radius; 575 576image { 577&:dir(ltr) { 578margin-right: 6px; 579} 580 581&:dir(rtl) { 582margin-left: 6px; 583} 584} 585 586.accel { 587&:dir(ltr) { 588margin-left: 6px; 589} 590 591&:dir(rtl) { 592margin-right: 6px; 593} 594} 595} 596} 597 598omnibar { 599&.linked:not(.vertical) entry { 600border-radius: $corner-radius; 601} 602 603entry { 604color: hint($on-surface); 605} 606} 607 608popover.omnibar list row:not(:last-child) { 609border-bottom: 1px solid divider($on-surface); 610} 611 612entry.preferences-search { 613border-bottom: 1px solid divider($on-surface); 614box-shadow: none; 615background-color: transparent; 616 617// doesn't work properly 618&:dir(ltr) { 619// border-right: 1px solid divider($on-surface); 620} 621 622&:dir(rtl) { 623// border-left: 1px solid divider($on-surface); 624} 625} 626 627preferences stacksidebar.sidebar { 628list { 629// background-color: $surface-z0; 630} 631 632&:dir(ltr), 633&:dir(rtl) { 634list { 635border-style: none; 636} 637} 638 639list separator { 640@extend %hide_separators; 641} 642} 643 644preferences > box > box { 645&:dir(ltr) { 646border-right: 1px solid divider($on-surface); 647} 648 649&:dir(rtl) { 650border-left: 1px solid divider($on-surface); 651} 652} 653 654popover.messagepopover { 655&.background { 656padding: 0; 657} 658 659.popover-action-area button { 660@extend %button-flat-basic; 661 662padding: 8px 16px; 663border-top: 1px solid divider($on-surface); 664border-radius: 0; 665 666&:first-child { 667border-bottom-left-radius: $corner-radius; 668} 669 670&:last-child { 671border-bottom-right-radius: $corner-radius; 672} 673} 674 675.popover-content-area { 676margin: 16px; 677} 678} 679 680popover.transfers list { 681background-color: transparent; 682 683row:not(:first-child) { 684border-top: 1px solid divider($on-surface); 685} 686 687row > box { 688padding: 10px; 689} 690} 691 692dockbin { 693border: 1px solid divider($on-surface); 694-PnlDockBin-handle-size: 1; 695} 696 697dockpaned { 698border: 1px solid divider($on-surface); 699} 700 701eggsearchbar box.search-bar { 702padding: 0 8px; 703border-bottom: 1px solid divider($on-surface); 704background-color: $surface-z0; 705} 706 707docktabstrip { 708padding: 0 8px; 709border-bottom: 1px solid divider($on-surface); 710background-color: $surface-z0; 711} 712 713docktab { 714transition: $transition, 715background-size 0ms, 716background-image 0ms; 717min-height: $small-size; 718min-width: $small-size; 719margin-bottom: -1px; 720padding: $container-padding 6px; 721 722border-width: 1px; // for reorderable tabs 723border-color: transparent; // 724 725box-shadow: inset 0 -2px transparent; 726background-image: radial-gradient(circle, $primary 10%, transparent 0%); 727background-repeat: no-repeat; 728background-position: center; 729background-size: 0% 0%; 730 731color: hint($on-surface); 732font-weight: 500; 733 734&:hover { 735background-color: overlay("hover", $on-surface); 736} 737 738&:checked { 739transition: $transition, 740background-size $ripple-fade-in-duration $ease-out, 741background-image $ripple-fade-in-duration + $ripple-fade-out-duration $ease-out; 742box-shadow: inset 0 -2px $primary; 743background-color: transparent; 744background-image: radial-gradient(circle, transparent 10%, transparent 0%); 745background-size: 1000% 1000%; 746color: $on-surface; 747} 748} 749 750dockoverlayedge { 751background-color: $surface-z0; 752 753docktabstrip { 754padding: 0; 755border: none; 756} 757 758&.left-edge docktab:checked { 759box-shadow: inset -2px 0 $primary; 760} 761 762&.right-edge docktab:checked { 763box-shadow: inset 2px 0 $primary; 764} 765} 766 767pillbox { 768background-color: $surface-z0; 769border-radius: $corner-radius; 770} 771 772buildperspective row { 773// padding: 10px; 774} 775 776layoutpane entry.search { 777border-bottom: 1px solid divider($on-surface); 778box-shadow: none; 779background-color: $surface-z1; 780} 781 782editortweak entry.search { 783margin-bottom: -1px; 784box-shadow: none; 785background-color: transparent; 786} 787 788// 789// let's tweak hard-coded elements 790// 791 792.gb-search-entry-occurrences-tag { 793box-shadow: none; 794background-color: transparent; 795} 796 797// Keep search bar and layouttab height in sync. 798// layouttabbar > box, 799// eggsearchbar > revealer > box, 800docktabstrip { 801min-height: 39px; 802} 803 804eggsearchbar entry { 805// min-height: 24px; 806} 807 808window.workbench preferences preferencesgroup list entry { 809// background: none; 810// min-height: 0px; 811padding-top: 8px; 812padding-bottom: 8px; 813} 814 815button.run-arrow-button { 816// min-width: 12px; 817padding-left: ($medium-size - 16px) / 2; 818padding-right: ($medium-size - 16px) / 2; 819} 820 821// 822// Additional styles for 3.26 823// 824 825button.dzlmenubutton image { 826min-width: $medium-size - 6px; 827 828&.arrow { 829min-width: $medium-size - 9px; 830} 831} 832 833button.dzlmenubuttonitem { 834color: $on-surface; 835font-weight: normal; 836 837&:disabled { 838color: disabled($on-surface); 839} 840} 841 842idelayoutstackheader { 843border-bottom: 1px solid divider($on-surface); 844 845button:checked { 846color: $on-surface; 847} 848} 849 850// utilities stack switcher 851ideeditorutilities > dzldockpaned > box > stackswitcher { 852padding: 8px 0; 853background-color: $surface-z0; 854 855&:dir(ltr) { 856border-right: 1px solid divider($on-surface); 857} 858 859&:dir(rtl) { 860border-left: 1px solid divider($on-surface); 861} 862 863button { 864border-radius: 0; 865box-shadow: none; 866background-color: transparent; 867 868&:active { 869background-image: radial-gradient(circle, rgba($primary, .7) 10%, transparent 0%); 870} 871 872&:checked { 873background-color: transparent; 874color: $on-surface; 875} 876 877&:dir(ltr) { 878margin-right: -1px; 879 880&:checked { 881box-shadow: inset -2px 0 $primary; 882} 883} 884 885&:dir(rtl) { 886margin-left: -1px; 887 888&:checked { 889box-shadow: inset 2px 0 $primary; 890} 891} 892} 893} 894 895// buildui panel 896ideeditorsidebar notebook header { 897background: transparent; 898} 899 900popover.messagepopover { 901// padding: 0; 902 903list { 904border: 1px solid divider($on-surface); 905background-clip: padding-box; 906 907row:not(:last-child) { 908border-bottom: 1px solid divider($on-surface); 909} 910} 911} 912 913// Workaround for hard-coded .title color 914dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row:selected { 915.title { 916// color: @theme_selected_fg_color; 917} 918 919background-color: $primary; 920color: $on-primary; 921} 922 923// Workaround for hard-coded button background 924#titlebar_container .suggestionbutton button { 925// background-color: @content_view_bg; 926// background-image: none; 927 928padding: 0; 929border-radius: 0; 930box-shadow: inset 0 0 0 9999px $titlebar; 931 932&:backdrop { 933box-shadow: inset 0 0 0 9999px $titlebar-backdrop; 934} 935 936// For some reason background-image doesn't work well with transition :( 937image { 938transition: 939box-shadow $duration $ease-out, 940background-color $ripple-fade-in-duration $ease-out; 941min-width: $medium-size; 942min-height: $medium-size; 943border-radius: $circular-radius; 944box-shadow: inset 0 0 0 9999px transparent; 945} 946 947&:hover image { 948box-shadow: inset 0 0 0 9999px overlay("hover", $on-titlebar); 949} 950 951&:focus image { 952box-shadow: inset 0 0 0 9999px overlay("focus", $on-titlebar); 953} 954 955&:active image { 956background-color: overlay("pressed", $on-titlebar); 957} 958} 959 960/** 961* Photos 962*/ 963 964// based css: 965// https://gitlab.gnome.org/GNOME/gnome-photos/blob/master/data/Adwaita.css 966 967GdMainIconView.content-view { 968-GdMainIconView-icon-size: 48; 969 970// Make spinner visible on both dark and bright backgrounds w/o making 971// it look ugly/weird. 972&.cell:active { 973// color: disabled($on-surface); 974} 975} 976 977.documents-counter { 978margin: 8px; 979border-radius: $circular-radius; 980box-shadow: $shadow-z4; 981background-color: $primary; 982color: $on-primary; 983font-weight: bold; 984} 985 986.photos-entry-tag { 987@extend .entry-tag; 988} 989 990.documents-scrolledwin.frame { 991border-style: none; 992background-color: transparent; 993 994frame.content-view > border { 995border-style: none; 996background-color: transparent; 997} 998} 999 1000.photos-icon-bg { 1001} 1002 1003.photos-fade-in { 1004opacity: 1; 1005transition: opacity $duration $ease-out; 1006} 1007 1008.photos-fade-out { 1009opacity: 0; 1010transition: opacity $duration $ease-out; 1011} 1012 1013.photos-collection-icon { 1014} 1015 1016button.photos-filter-preview { 1017color: $on-surface; 1018font-weight: normal; 1019 1020&:checked { 1021background-color: $overlay-selected; 1022color: $on-surface; 1023 1024image { 1025color: $on-dark; 1026-gtk-icon-shadow: $text-shadow; 1027} 1028} 1029} 1030 1031overlay grid.horizontal > revealer > scrolledwindow.frame { 1032border-style: none; 1033background-color: transparent; 1034 1035&:dir(ltr) { 1036border-left-style: solid; 1037} 1038 1039&:dir(rtl) { 1040border-right-style: solid; 1041} 1042} 1043 1044/** 1045* Music 1046*/ 1047 1048// hard-coded css: 1049// https://gitlab.gnome.org/GNOME/gnome-music/blob/master/data/application.css 1050 1051.side-panel:dir(ltr) { 1052// border-width: 0 1px 0 0; 1053border-style: solid; 1054border-color: divider($on-surface); 1055} 1056 1057.side-panel:dir(rtl) { 1058// border-width: 0 0 0 1px; 1059border-style: solid; 1060border-color: divider($on-surface); 1061} 1062 1063.side-panel .view { 1064// background-color: mix(@theme_fg_color, @theme_bg_color, 0.9); 1065background-image: image($surface-z0); 1066 1067&:hover { 1068background-image: image(overlay("hover", $on-surface, $on: $surface-z0)); 1069} 1070} 1071 1072.side-panel .view:selected { 1073// background-color: mix(@theme_fg_color, @theme_bg_color, 0.5); 1074background-image: image($primary); 1075 1076&:hover { 1077background-image: image(overlay("hover", $on-primary, $on: $primary)); 1078} 1079} 1080 1081.songs-list { 1082// box-shadow: inset 0 -1px shade(@borders, 1.30); 1083// background-color: @theme_bg_color; 1084 1085&:hover { 1086background-image: image(overlay("hover", $on-surface)); 1087} 1088} 1089 1090frame.documents-dropdown { 1091@extend %toolbar-osd; 1092 1093margin: 8px; 1094 1095> border { 1096border: none; 1097} 1098} 1099 1100box.vertical > revealer > toolbar.search-bar { 1101border-bottom: 1px solid divider($on-surface); 1102 1103button > widget { 1104-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); 1105// -GtkArrow-arrow-scaling: 1; 1106} 1107} 1108 1109/** 1110* Terminal 1111*/ 1112 1113terminal-window notebook > header > box { 1114// Remove hard-coded margin around button(s) 1115margin: -2px; 1116 1117button { 1118border-radius: 0; 1119} 1120} 1121 1122/** 1123* To Do 1124*/ 1125 1126// less than 3.28 1127task-list-view { 1128taskrow { 1129transition: $transition; 1130margin: 0 -8px; 1131 1132&:hover { 1133transition: none; 1134} 1135 1136label { 1137margin: 0 8px; 1138} 1139 1140image.dim-label { 1141min-width: 16px; 1142} 1143} 1144 1145> box > revealer > box > button { 1146margin: (12px * 2 - $medium-size) / 2; 1147 1148.dim-label { 1149color: inherit; 1150} 1151} 1152} 1153 1154// 3.28 or later 1155tasklistview { 1156taskrow { 1157outline: none; 1158 1159entry { 1160&, 1161&:focus, 1162&:disabled { 1163box-shadow: none; 1164} 1165} 1166 1167image.dim-label { 1168min-width: 16px; 1169} 1170} 1171 1172> box > revealer > box > button { 1173margin: (12px * 2 - $medium-size) / 2; 1174 1175.dim-label { 1176color: inherit; 1177} 1178} 1179} 1180 1181/** 1182* eog 1183*/ 1184 1185#eog-thumb-nav { 1186scrolledwindow.frame { 1187border-top: none; 1188} 1189} 1190 1191/** 1192* Evolution 1193*/ 1194 1195frame.taskbar > border { 1196border-style: solid none none; 1197} 1198 1199box.vertical > paned.horizontal notebook widget .frame { 1200border-style: none; 1201} 1202 1203/** 1204* gitg 1205*/ 1206 1207frame.commit-frame > border { 1208border-style: solid none none; 1209} 1210 1211/** 1212* Characters 1213*/ 1214 1215box.dialog-vbox scrolledwindow.related { 1216border: 1px solid divider($on-surface); 1217background-clip: padding-box; 1218background-color: $surface-z1; 1219} 1220 1221list.categories { 1222background-image: image($surface-z0); 1223} 1224 1225/** 1226* Boxes 1227*/ 1228 1229.transparent-bg + stack overlay > label { 1230min-height: 24px; 1231padding: 0 4px; 1232border-radius: $corner-radius; 1233background-color: $scrim; 1234color: $on-scrim; 1235} 1236 1237/** 1238* Evince 1239*/ 1240 1241// Color is needed for Evince to match hardcoded background-color, 1242// since Documents app is also uses this style, background-color needs to be set accordingly. 1243evview.content-view.view:selected { 1244background-color: $primary; 1245color: $on-primary; 1246} 1247 1248/** 1249* Polari 1250*/ 1251 1252// hard-coded css: 1253// https://gitlab.gnome.org/GNOME/polari/blob/master/data/resources/application.css 1254 1255// background-color is needed to match hard-coded row colors. 1256// Just $primary is too harsh for activated rows, so add transparency. 1257.polari-room-list row:selected { 1258background-color: rgba($primary, .5); 1259} 1260 1261/** 1262* Fractal 1263*/ 1264 1265.message-input-area button { 1266@extend %button-flat-activatable; 1267} 1268 1269// To display the drop shadow 1270button.osd.scroll_button { 1271margin: 4px; 1272} 1273 1274/** 1275* Mines 1276*/ 1277 1278grid.minefield > button.tile { 1279border-style: solid; 1280} 1281