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