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