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