gtk.css
ASCII text, with very long lines (657)
1@keyframes ripple_effect { 2from { 3background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.15) 0%, transparent 0%), image(alpha(currentColor, 0)); } 4to { 5background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.15) 100%, transparent 0%), image(alpha(currentColor, 0.15)); } } 6@keyframes flat_ripple_effect { 7from { 8background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.15) 0%, transparent 0%), image(alpha(currentColor, 0.15)); } 9to { 10background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.15) 100%, transparent 0%), image(alpha(currentColor, 0.15)); } } 11@keyframes row_ripple_effect { 12from { 13background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.15) 0%, transparent 0%), image(alpha(currentColor, 0.05)); } 14to { 15background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.15) 100%, transparent 0%), image(alpha(currentColor, 0.15)); } } 16@keyframes tab_ripple_effect { 17from { 18background-image: radial-gradient(circle farthest-corner at center, rgba(66, 165, 245, 0.6) 0%, transparent 0%); } 1950% { 20background-image: radial-gradient(circle farthest-corner at center, rgba(66, 165, 245, 0.6) 100%, transparent 0%); } 21to { 22background-image: radial-gradient(circle farthest-corner at center, transparent 100%, transparent 0%); } } 23@keyframes header_ripple_effect { 24from { 25background-image: radial-gradient(circle farthest-corner at center, #42A5F5 0%, transparent 0%); } 26to { 27background-image: radial-gradient(circle farthest-corner at center, #42A5F5 100%, transparent 0%); } } 28* { 29padding: 0; 30background-clip: padding-box; 31-GtkToolButton-icon-spacing: 4; 32-GtkTextView-error-underline-color: #DD2C00; 33-GtkScrolledWindow-scrollbar-spacing: 0; 34-GtkToolItemGroup-expander-size: 11; 35-GtkWidget-text-handle-width: 24; 36-GtkWidget-text-handle-height: 24; 37-GtkDialog-button-spacing: 4; 38-GtkDialog-action-area-border: 0; 39outline-style: solid; 40outline-width: 2px; 41outline-color: alpha(currentColor, 0.3); 42outline-offset: -4px; 43-gtk-outline-radius: 2px; 44-gtk-secondary-caret-color: #42A5F5; } 45 46/*************** 47* Base States * 48***************/ 49.background { 50background-color: #F5F5F5; 51color: rgba(0, 0, 0, 0.8); } 52 53/* 54These wildcard seems unavoidable, need to investigate. 55Wildcards are bad and troublesome, use them with care, 56or better, just don't. 57Everytime a wildcard is used a kitten dies, painfully. 58*/ 59*:disabled { 60-gtk-icon-effect: dim; } 61 62.gtkstyle-fallback { 63background-color: #F5F5F5; 64color: rgba(0, 0, 0, 0.8); } 65.gtkstyle-fallback:hover { 66background-color: #e8e8e8; 67color: rgba(0, 0, 0, 0.8); } 68.gtkstyle-fallback:active { 69background-color: gainsboro; 70color: rgba(0, 0, 0, 0.8); } 71.gtkstyle-fallback:disabled { 72background-color: #F5F5F5; 73color: rgba(0, 0, 0, 0.32); } 74.gtkstyle-fallback:selected { 75background-color: #42A5F5; 76color: #FFFFFF; } 77 78.view, iconview { 79background-color: #FFFFFF; 80color: rgba(0, 0, 0, 0.8); } 81.view:hover, iconview:hover, .view:active, iconview:active, .view:selected, iconview:selected { 82border-radius: 2px; } 83.view:disabled, iconview:disabled { 84color: rgba(0, 0, 0, 0.32); } 85 86.view text, iconview text, 87textview text { 88background-color: #FFFFFF; 89color: rgba(0, 0, 0, 0.8); } 90.view text:disabled, iconview text:disabled, 91textview text:disabled { 92color: rgba(0, 0, 0, 0.32); } 93 94textview border { 95background-color: #fafafa; 96color: rgba(0, 0, 0, 0.48); } 97 98.rubberband, 99rubberband, 100flowbox rubberband, 101treeview.view rubberband, 102.content-view rubberband { 103border: 1px solid #40C4FF; 104background-color: rgba(64, 196, 255, 0.3); } 105 106flowbox flowboxchild { 107outline-offset: -2px; 108padding: 4px; 109border-radius: 2px; } 110 111label { 112caret-color: currentColor; } 113label.separator { 114color: rgba(0, 0, 0, 0.8); } 115label selection { 116background-color: #42A5F5; 117color: #FFFFFF; } 118label:disabled { 119color: rgba(0, 0, 0, 0.32); } 120 121.dim-label, label.separator, .titlebar:not(headerbar) .subtitle, 122headerbar .subtitle { 123opacity: 0.6; } 124 125assistant .sidebar { 126padding: 4px 0; } 127assistant .sidebar label { 128min-height: 36px; 129padding: 0 12px; 130color: rgba(0, 0, 0, 0.48); 131font-weight: 500; } 132assistant .sidebar label.highlight { 133color: rgba(0, 0, 0, 0.8); } 134 135popover.background.touch-selection, popover.background.magnifier, popover.background.osd, .csd popover.background.touch-selection, .csd popover.background.magnifier, .csd popover.background.osd, .app-notification, 136.app-notification.frame, .osd .scale-popup, .floating-bar, .osd { 137opacity: 0.9; } 138 139/********************* 140* Spinner Animation * 141*********************/ 142@keyframes spin { 143to { 144-gtk-icon-transform: rotate(1turn); } } 145@keyframes spin_colors { 1461% { 147color: #66BB6A; } 14825% { 149color: #66BB6A; } 15026% { 151color: #42A5F5; } 15250% { 153color: #42A5F5; } 15451% { 155color: #FFA726; } 15675% { 157color: #FFA726; } 15876% { 159color: #EF5350; } 160100% { 161color: #EF5350; } } 162spinner { 163background: none; 164opacity: 0; 165-gtk-icon-source: -gtk-icontheme("process-working-symbolic"); } 166spinner:checked { 167opacity: 1; 168animation: spin 1s linear infinite, spin_colors 4s linear infinite; } 169spinner:checked:disabled { 170opacity: 0.4; } 171 172/**************** 173* Text Entries * 174****************/ 175spinbutton:not(.vertical), notebook > stack:not(:only-child) revealer entry, 176notebook > stack:not(:only-child) revealer spinbutton:not(.vertical), 177entry { 178min-height: 36px; 179padding: 0 8px; 180border-radius: 2px; 181transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 182border-image: none; 183box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 184background-color: #FFFFFF; 185color: rgba(0, 0, 0, 0.8); } 186spinbutton:focus:not(.vertical), notebook > stack:not(:only-child) revealer entry:focus, 187notebook > stack:not(:only-child) revealer spinbutton:focus:not(.vertical), 188entry:focus { 189border-image: none; 190box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); } 191spinbutton:disabled:not(.vertical), notebook > stack:not(:only-child) revealer entry:disabled, 192notebook > stack:not(:only-child) revealer spinbutton:disabled:not(.vertical), 193entry:disabled { 194box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 195background-color: #fafafa; 196color: rgba(0, 0, 0, 0.32); } 197spinbutton.flat:not(.vertical), notebook > stack:not(:only-child) entry, 198notebook > stack:not(:only-child) spinbutton:not(.vertical), notebook > stack:not(:only-child) revealer entry.flat, 199notebook > stack:not(:only-child) revealer spinbutton.flat:not(.vertical), colorchooser .popover.osd spinbutton:not(.vertical), 200entry.flat { 201border-radius: 0; 202transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; 203border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #42A5F5 0%, transparent 0%) 0 0 0/0 0 0px; 204box-shadow: inset 0 -1px alpha(currentColor, 0.3); 205background-color: transparent; 206color: rgba(0, 0, 0, 0.8); } 207spinbutton.flat:focus:not(.vertical), notebook > stack:not(:only-child) entry:focus, 208notebook > stack:not(:only-child) spinbutton:focus:not(.vertical), colorchooser .popover.osd spinbutton:focus:not(.vertical), 209entry.flat:focus { 210border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #42A5F5 100%, transparent 0%) 0 0 2/0 0 2px; 211box-shadow: inset 0 -1px alpha(currentColor, 0.3); } 212spinbutton.flat:disabled:not(.vertical), notebook > stack:not(:only-child) entry:disabled, 213notebook > stack:not(:only-child) spinbutton:disabled:not(.vertical), colorchooser .popover.osd spinbutton:disabled:not(.vertical), 214entry.flat:disabled { 215box-shadow: inset 0 -1px alpha(currentColor, 0.3); 216background-color: transparent; 217color: rgba(0, 0, 0, 0.32); } 218spinbutton:not(.vertical) image, notebook > stack:not(:only-child) revealer entry image, 219notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) image, 220entry image { 221color: alpha(currentColor, 0.75); } 222spinbutton:not(.vertical) image:hover, notebook > stack:not(:only-child) revealer entry image:hover, 223notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) image:hover, spinbutton:not(.vertical) image:active, notebook > stack:not(:only-child) revealer entry image:active, 224notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) image:active, 225entry image:hover, 226entry image:active { 227color: currentColor; } 228spinbutton:not(.vertical) image:disabled, notebook > stack:not(:only-child) revealer entry image:disabled, 229notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) image:disabled, 230entry image:disabled { 231color: alpha(currentColor, 0.6); } 232spinbutton:not(.vertical) image.left, notebook > stack:not(:only-child) revealer entry image.left, 233notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) image.left, 234entry image.left { 235padding-left: 2px; 236padding-right: 6px; } 237spinbutton:not(.vertical) image.right, notebook > stack:not(:only-child) revealer entry image.right, 238notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) image.right, 239entry image.right { 240padding-left: 6px; 241padding-right: 2px; } 242spinbutton:not(.vertical) undershoot.left, notebook > stack:not(:only-child) revealer entry undershoot.left, 243notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) undershoot.left, 244entry undershoot.left { 245background-color: transparent; 246background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.24) 50%); 247padding-left: 1px; 248background-size: 1px 12px; 249background-repeat: repeat-y; 250background-origin: content-box; 251background-position: left top; } 252spinbutton:not(.vertical) undershoot.right, notebook > stack:not(:only-child) revealer entry undershoot.right, 253notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) undershoot.right, 254entry undershoot.right { 255background-color: transparent; 256background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.24) 50%); 257padding-right: 1px; 258background-size: 1px 12px; 259background-repeat: repeat-y; 260background-origin: content-box; 261background-position: right top; } 262spinbutton.error:not(.vertical), notebook > stack:not(:only-child) revealer entry.error, 263notebook > stack:not(:only-child) revealer spinbutton.error:not(.vertical), 264entry.error { 265transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 266border-image: none; 267box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 268background-color: #DD2C00; 269color: #FFFFFF; } 270spinbutton.error:focus:not(.vertical), notebook > stack:not(:only-child) revealer entry.error:focus, 271entry.error:focus { 272border-image: none; 273box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); } 274spinbutton.error:disabled:not(.vertical), notebook > stack:not(:only-child) revealer entry.error:disabled, 275entry.error:disabled { 276box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 277background-color: #fafafa; 278color: rgba(0, 0, 0, 0.32); } 279spinbutton.error.flat:not(.vertical), notebook > stack:not(:only-child) entry.error, 280notebook > stack:not(:only-child) spinbutton.error:not(.vertical), colorchooser .popover.osd spinbutton.error:not(.vertical), 281entry.error.flat { 282transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; 283border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #DD2C00 0%, transparent 0%) 0 0 0/0 0 0px; 284box-shadow: inset 0 -1px #DD2C00; 285background-color: transparent; 286color: rgba(0, 0, 0, 0.8); } 287spinbutton.error.flat:focus:not(.vertical), notebook > stack:not(:only-child) entry.error:focus, 288notebook > stack:not(:only-child) spinbutton.error:focus:not(.vertical), colorchooser .popover.osd spinbutton.error:focus:not(.vertical), 289entry.error.flat:focus { 290border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #DD2C00 100%, transparent 0%) 0 0 2/0 0 2px; 291box-shadow: inset 0 -1px #DD2C00; } 292spinbutton.error.flat:disabled:not(.vertical), notebook > stack:not(:only-child) entry.error:disabled, 293notebook > stack:not(:only-child) spinbutton.error:disabled:not(.vertical), colorchooser .popover.osd spinbutton.error:disabled:not(.vertical), 294entry.error.flat:disabled { 295box-shadow: inset 0 -1px alpha(currentColor, 0.3); 296background-color: transparent; 297color: rgba(0, 0, 0, 0.32); } 298spinbutton.warning:not(.vertical), notebook > stack:not(:only-child) revealer entry.warning, 299notebook > stack:not(:only-child) revealer spinbutton.warning:not(.vertical), 300entry.warning { 301transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 302border-image: none; 303box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 304background-color: #FF6D00; 305color: #FFFFFF; } 306spinbutton.warning:focus:not(.vertical), notebook > stack:not(:only-child) revealer entry.warning:focus, 307entry.warning:focus { 308border-image: none; 309box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); } 310spinbutton.warning:disabled:not(.vertical), notebook > stack:not(:only-child) revealer entry.warning:disabled, 311entry.warning:disabled { 312box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 313background-color: #fafafa; 314color: rgba(0, 0, 0, 0.32); } 315spinbutton.warning.flat:not(.vertical), notebook > stack:not(:only-child) entry.warning, 316notebook > stack:not(:only-child) spinbutton.warning:not(.vertical), colorchooser .popover.osd spinbutton.warning:not(.vertical), 317entry.warning.flat { 318transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; 319border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #FF6D00 0%, transparent 0%) 0 0 0/0 0 0px; 320box-shadow: inset 0 -1px #FF6D00; 321background-color: transparent; 322color: rgba(0, 0, 0, 0.8); } 323spinbutton.warning.flat:focus:not(.vertical), notebook > stack:not(:only-child) entry.warning:focus, 324notebook > stack:not(:only-child) spinbutton.warning:focus:not(.vertical), colorchooser .popover.osd spinbutton.warning:focus:not(.vertical), 325entry.warning.flat:focus { 326border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), #FF6D00 100%, transparent 0%) 0 0 2/0 0 2px; 327box-shadow: inset 0 -1px #FF6D00; } 328spinbutton.warning.flat:disabled:not(.vertical), notebook > stack:not(:only-child) entry.warning:disabled, 329notebook > stack:not(:only-child) spinbutton.warning:disabled:not(.vertical), colorchooser .popover.osd spinbutton.warning:disabled:not(.vertical), 330entry.warning.flat:disabled { 331box-shadow: inset 0 -1px alpha(currentColor, 0.3); 332background-color: transparent; 333color: rgba(0, 0, 0, 0.32); } 334spinbutton:not(.vertical) progress, notebook > stack:not(:only-child) revealer entry progress, 335notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) progress, 336entry progress { 337margin: 2px -6px; 338border-style: none none solid; 339border-width: 2px; 340border-color: #42A5F5; 341background-color: transparent; } 342 343treeview entry.flat, treeview entry { 344min-height: 0; 345padding: 2px; 346border-radius: 0; 347background-color: #FFFFFF; } 348treeview entry.flat, treeview entry.flat:focus, treeview entry, treeview entry:focus { 349border-image: none; 350box-shadow: none; } 351 352/*********** 353* Buttons * 354***********/ 355@keyframes needs_attention { 356from { 357background-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(#FF4081), to(transparent)); } 358to { 359background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#FF4081), to(transparent)); } } 360button { 361min-height: 24px; 362min-width: 16px; 363padding: 6px 10px; 364border-radius: 2px; 365font-weight: 500; 366transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 367box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 368background-color: #FAFAFA; 369background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0) 100%, transparent 0%), image(alpha(currentColor, 0)); 370color: rgba(0, 0, 0, 0.6); } 371button:hover { 372box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); 373background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0) 100%, transparent 0%), image(alpha(currentColor, 0)); 374color: rgba(0, 0, 0, 0.8); } 375button:active { 376transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1), background-image 0; 377animation: ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1) forwards; 378box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); 379color: rgba(0, 0, 0, 0.8); } 380button:disabled { 381box-shadow: none; 382background-color: alpha(currentColor, 0.3); 383color: rgba(0, 0, 0, 0.24); } 384button:disabled > label { 385color: inherit; } 386button:checked { 387background-color: #42A5F5; 388color: #FFFFFF; } 389button:checked:disabled { 390background-color: alpha(currentColor, 0.3); 391color: rgba(66, 165, 245, 0.4); } 392button:checked:disabled > label { 393color: inherit; } 394.inline-toolbar 395button, modelbutton.flat, 396.menuitem.button.flat, spinbutton:not(.vertical) button, spinbutton.vertical button, toolbar.osd button, .app-notification button, 397.app-notification.frame button, .titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action), 398headerbar button:not(.suggested-action):not(.destructive-action), notebook > header > tabs > arrow, scrollbar button, check, 399radio, calendar.button, messagedialog.csd .dialog-action-area button, button.sidebar-button, .gedit-search-slider button, 400button.flat { 401transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; 402box-shadow: none; 403background-color: transparent; 404background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0) 100%, transparent 0%), image(alpha(currentColor, 0)); 405color: rgba(0, 0, 0, 0.6); } 406.inline-toolbar 407button:hover, modelbutton.flat:hover, 408.menuitem.button.flat:hover, spinbutton:not(.vertical) button:hover, spinbutton.vertical button:hover, toolbar.osd button:hover, .app-notification button:hover, .titlebar:not(headerbar) button:hover:not(.suggested-action):not(.destructive-action), 409headerbar button:hover:not(.suggested-action):not(.destructive-action), notebook > header > tabs > arrow:hover, scrollbar button:hover, check:hover, 410radio:hover, calendar.button:hover, messagedialog.csd .dialog-action-area button:hover, button.sidebar-button:hover, .gedit-search-slider button:hover, 411button.flat:hover { 412box-shadow: none; 413background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0) 100%, transparent 0%), image(alpha(currentColor, 0.15)); 414color: rgba(0, 0, 0, 0.8); } 415.inline-toolbar 416button:active, modelbutton.flat:active, 417.menuitem.button.flat:active, spinbutton:not(.vertical) button:active, spinbutton.vertical button:active, toolbar.osd button:active, .app-notification button:active, .titlebar:not(headerbar) button:active:not(.suggested-action):not(.destructive-action), 418headerbar button:active:not(.suggested-action):not(.destructive-action), notebook > header > tabs > arrow:active, scrollbar button:active, check:active, 419radio:active, calendar.button:active, messagedialog.csd .dialog-action-area button:active, button.sidebar-button:active, .gedit-search-slider button:active, 420button.flat:active { 421transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, background-image 0; 422animation: flat_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1) forwards; 423box-shadow: none; 424color: rgba(0, 0, 0, 0.8); } 425.inline-toolbar 426button:disabled, modelbutton.flat:disabled, 427.menuitem.button.flat:disabled, spinbutton:not(.vertical) button:disabled, spinbutton.vertical button:disabled, toolbar.osd button:disabled, .app-notification button:disabled, .titlebar:not(headerbar) button:disabled:not(.suggested-action):not(.destructive-action), 428headerbar button:disabled:not(.suggested-action):not(.destructive-action), notebook > header > tabs > arrow:disabled, scrollbar button:disabled, check:disabled, 429radio:disabled, calendar.button:disabled, messagedialog.csd .dialog-action-area button:disabled, button.sidebar-button:disabled, .gedit-search-slider button:disabled, 430button.flat:disabled { 431box-shadow: none; 432background-color: transparent; 433color: rgba(0, 0, 0, 0.24); } 434.inline-toolbar 435button:disabled > label, modelbutton.flat:disabled > label, 436.menuitem.button.flat:disabled > label, spinbutton:not(.vertical) button:disabled > label, spinbutton.vertical button:disabled > label, toolbar.osd button:disabled > label, .app-notification button:disabled > label, .titlebar:not(headerbar) button:disabled:not(.suggested-action):not(.destructive-action) > label, 437headerbar button:disabled:not(.suggested-action):not(.destructive-action) > label, notebook > header > tabs > arrow:disabled > label, scrollbar button:disabled > label, check:disabled > label, 438radio:disabled > label, calendar.button:disabled > label, messagedialog.csd .dialog-action-area button:disabled > label, button.sidebar-button:disabled > label, .gedit-search-slider button:disabled > label, 439button.flat:disabled > label { 440color: inherit; } 441.inline-toolbar 442button:checked, modelbutton.flat:checked, 443.menuitem.button.flat:checked, spinbutton:not(.vertical) button:checked, spinbutton.vertical button:checked, toolbar.osd button:checked, .app-notification button:checked, .titlebar:not(headerbar) button:checked:not(.suggested-action):not(.destructive-action), 444headerbar button:checked:not(.suggested-action):not(.destructive-action), notebook > header > tabs > arrow:checked, scrollbar button:checked, check:checked, 445radio:checked, calendar.button:checked, messagedialog.csd .dialog-action-area button:checked, button.sidebar-button:checked, .gedit-search-slider button:checked, 446button.flat:checked { 447background-color: alpha(currentColor, 0.3); 448color: rgba(0, 0, 0, 0.8); } 449.inline-toolbar 450button:checked:disabled, modelbutton.flat:checked:disabled, 451.menuitem.button.flat:checked:disabled, spinbutton:not(.vertical) button:checked:disabled, spinbutton.vertical button:checked:disabled, toolbar.osd button:checked:disabled, .app-notification button:checked:disabled, .titlebar:not(headerbar) button:checked:disabled:not(.suggested-action):not(.destructive-action), 452headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action), notebook > header > tabs > arrow:checked:disabled, scrollbar button:checked:disabled, check:checked:disabled, 453radio:checked:disabled, calendar.button:checked:disabled, messagedialog.csd .dialog-action-area button:checked:disabled, button.sidebar-button:checked:disabled, .gedit-search-slider button:checked:disabled, 454button.flat:checked:disabled { 455background-color: alpha(currentColor, 0.3); 456color: rgba(0, 0, 0, 0.32); } 457.inline-toolbar 458button:checked:disabled > label, modelbutton.flat:checked:disabled > label, 459.menuitem.button.flat:checked:disabled > label, spinbutton:not(.vertical) button:checked:disabled > label, spinbutton.vertical button:checked:disabled > label, toolbar.osd button:checked:disabled > label, .app-notification button:checked:disabled > label, .titlebar:not(headerbar) button:checked:disabled:not(.suggested-action):not(.destructive-action) > label, 460headerbar button:checked:disabled:not(.suggested-action):not(.destructive-action) > label, notebook > header > tabs > arrow:checked:disabled > label, scrollbar button:checked:disabled > label, check:checked:disabled > label, 461radio:checked:disabled > label, calendar.button:checked:disabled > label, messagedialog.csd .dialog-action-area button:checked:disabled > label, button.sidebar-button:checked:disabled > label, .gedit-search-slider button:checked:disabled > label, 462button.flat:checked:disabled > label { 463color: inherit; } 464.inline-toolbar 465button:not(.text-button), spinbutton:not(.vertical) button, notebook > header tab button.flat, check, 466radio, button.titlebutton, .nautilus-circular-button, .gedit-document-panel row button.flat, 467button.image-button { 468min-width: 24px; 469padding: 6px; 470-gtk-outline-radius: 100px; 471border-radius: 100px; } 472button.text-button { 473padding-left: 16px; 474padding-right: 16px; } 475.inline-toolbar 476button.text-button:not(.text-button), spinbutton:not(.vertical) button.text-button, notebook > header tab button.text-button.flat, check.text-button, 477radio.text-button, button.text-button.titlebutton, .text-button.nautilus-circular-button, .gedit-document-panel row button.text-button.flat, 478button.text-button.image-button { 479padding-left: 10px; 480padding-right: 10px; 481-gtk-outline-radius: 2px; 482border-radius: 2px; } 483.inline-toolbar 484button.text-button:not(.text-button) label:last-child, spinbutton:not(.vertical) button.text-button label:last-child, notebook > header tab button.text-button.flat label:last-child, check.text-button label:last-child, 485radio.text-button label:last-child, button.text-button.titlebutton label:last-child, .text-button.nautilus-circular-button label:last-child, .gedit-document-panel row button.text-button.flat label:last-child, 486button.text-button.image-button label:last-child { 487padding-left: 2px; 488padding-right: 6px; } 489.inline-toolbar 490button.text-button:not(.text-button) label:first-child, spinbutton:not(.vertical) button.text-button label:first-child, notebook > header tab button.text-button.flat label:first-child, check.text-button label:first-child, 491radio.text-button label:first-child, button.text-button.titlebutton label:first-child, .text-button.nautilus-circular-button label:first-child, .gedit-document-panel row button.text-button.flat label:first-child, 492button.text-button.image-button label:first-child { 493padding-left: 6px; 494padding-right: 2px; } 495.inline-toolbar .linked > button, .linked > modelbutton.flat, 496.linked > .menuitem.button.flat, spinbutton:not(.vertical) .linked > button, spinbutton.vertical .linked > button, toolbar.osd .linked > button, .app-notification .linked > button, .titlebar:not(headerbar) .linked > button:not(.suggested-action):not(.destructive-action), 497headerbar .linked > button:not(.suggested-action):not(.destructive-action), notebook > header > tabs.linked > arrow, scrollbar .linked > button, .linked > check, 498.linked > radio, .linked > calendar.button, messagedialog.csd .dialog-action-area .linked > button, .linked > button.sidebar-button, .gedit-search-slider .linked > button, .inline-toolbar .linked.vertical > button, .linked.vertical > modelbutton.flat, 499.linked.vertical > .menuitem.button.flat, spinbutton:not(.vertical) .linked.vertical > button, spinbutton.vertical .linked.vertical > button, toolbar.osd .linked.vertical > button, .app-notification .linked.vertical > button, .titlebar:not(headerbar) .linked.vertical > button:not(.suggested-action):not(.destructive-action), 500headerbar .linked.vertical > button:not(.suggested-action):not(.destructive-action), notebook > header > tabs.linked.vertical > arrow, scrollbar .linked.vertical > button, .linked.vertical > check, 501.linked.vertical > radio, .linked.vertical > calendar.button, messagedialog.csd .dialog-action-area .linked.vertical > button, .linked.vertical > button.sidebar-button, .gedit-search-slider .linked.vertical > button, .linked > 502button.flat, .linked.vertical > 503button.flat { 504border-radius: 2px; } 505.inline-toolbar .linked > button.image-button, .inline-toolbar .linked > button.flat:not(.text-button), .linked > modelbutton.image-button.flat, 506.linked > .image-button.menuitem.button.flat, spinbutton:not(.vertical) .linked > button, spinbutton.vertical .linked > button.image-button, toolbar.osd .linked > button.image-button, .app-notification .linked > button.image-button, .titlebar:not(headerbar) .linked > button.image-button:not(.suggested-action):not(.destructive-action), 507headerbar .linked > button.image-button:not(.suggested-action):not(.destructive-action), notebook > header > tabs.linked > arrow.image-button, notebook > header tab .linked > button.flat, scrollbar .linked > button.image-button, .linked > check, 508.linked > radio, .linked > calendar.image-button.button, messagedialog.csd .dialog-action-area .linked > button.image-button, .linked > button.image-button.sidebar-button, .linked > button.flat.titlebutton, .linked > .flat.nautilus-circular-button, .gedit-document-panel row .linked > button.flat, .gedit-search-slider .linked > button.image-button, .inline-toolbar .linked.vertical > button.image-button, .inline-toolbar .linked.vertical > button.flat:not(.text-button), .linked.vertical > modelbutton.image-button.flat, 509.linked.vertical > .image-button.menuitem.button.flat, spinbutton:not(.vertical) .linked.vertical > button, spinbutton.vertical .linked.vertical > button.image-button, toolbar.osd .linked.vertical > button.image-button, .app-notification .linked.vertical > button.image-button, .titlebar:not(headerbar) .linked.vertical > button.image-button:not(.suggested-action):not(.destructive-action), 510headerbar .linked.vertical > button.image-button:not(.suggested-action):not(.destructive-action), notebook > header > tabs.linked.vertical > arrow.image-button, notebook > header tab .linked.vertical > button.flat, scrollbar .linked.vertical > button.image-button, .linked.vertical > check, 511.linked.vertical > radio, .linked.vertical > calendar.image-button.button, messagedialog.csd .dialog-action-area .linked.vertical > button.image-button, .linked.vertical > button.image-button.sidebar-button, .linked.vertical > button.flat.titlebutton, .linked.vertical > .flat.nautilus-circular-button, .gedit-document-panel row .linked.vertical > button.flat, .gedit-search-slider .linked.vertical > button.image-button, .linked > 512button.flat.image-button, .linked.vertical > 513button.flat.image-button { 514-gtk-outline-radius: 100px; 515border-radius: 100px; } 516.inline-toolbar .linked > button.text-button.image-button, .inline-toolbar .linked > button.flat.text-button:not(.text-button), .linked > modelbutton.text-button.image-button.flat, 517.linked > .text-button.image-button.menuitem.button.flat, spinbutton:not(.vertical) .linked > button.text-button, spinbutton.vertical .linked > button.text-button.image-button, toolbar.osd .linked > button.text-button.image-button, .app-notification .linked > button.text-button.image-button, .titlebar:not(headerbar) .linked > button.text-button.image-button:not(.suggested-action):not(.destructive-action), 518headerbar .linked > button.text-button.image-button:not(.suggested-action):not(.destructive-action), notebook > header > tabs.linked > arrow.text-button.image-button, notebook > header tab .linked > button.flat.text-button, scrollbar .linked > button.text-button.image-button, .linked > check.text-button, 519.linked > radio.text-button, .linked > calendar.text-button.image-button.button, messagedialog.csd .dialog-action-area .linked > button.text-button.image-button, .linked > button.text-button.image-button.sidebar-button, .linked > button.flat.text-button.titlebutton, .linked > .flat.text-button.nautilus-circular-button, .gedit-document-panel row .linked > button.flat.text-button, .gedit-search-slider .linked > button.text-button.image-button, .inline-toolbar .linked.vertical > button.text-button.image-button, .inline-toolbar .linked.vertical > button.flat.text-button:not(.text-button), .linked.vertical > modelbutton.text-button.image-button.flat, 520.linked.vertical > .text-button.image-button.menuitem.button.flat, spinbutton:not(.vertical) .linked.vertical > button.text-button, spinbutton.vertical .linked.vertical > button.text-button.image-button, toolbar.osd .linked.vertical > button.text-button.image-button, .app-notification .linked.vertical > button.text-button.image-button, .titlebar:not(headerbar) .linked.vertical > button.text-button.image-button:not(.suggested-action):not(.destructive-action), 521headerbar .linked.vertical > button.text-button.image-button:not(.suggested-action):not(.destructive-action), notebook > header > tabs.linked.vertical > arrow.text-button.image-button, notebook > header tab .linked.vertical > button.flat.text-button, scrollbar .linked.vertical > button.text-button.image-button, .linked.vertical > check.text-button, 522.linked.vertical > radio.text-button, .linked.vertical > calendar.text-button.image-button.button, messagedialog.csd .dialog-action-area .linked.vertical > button.text-button.image-button, .linked.vertical > button.text-button.image-button.sidebar-button, .linked.vertical > button.flat.text-button.titlebutton, .linked.vertical > .flat.text-button.nautilus-circular-button, .gedit-document-panel row .linked.vertical > button.flat.text-button, .gedit-search-slider .linked.vertical > button.text-button.image-button, .linked > 523button.flat.text-button.image-button, .linked.vertical > 524button.flat.text-button.image-button { 525-gtk-outline-radius: 2px; 526border-radius: 2px; } 527.info button:disabled, 528.question button:disabled, 529.warning button:disabled, 530.error button:disabled, row:selected 531button:disabled { 532color: rgba(255, 255, 255, 0.3); } 533row:selected button.sidebar-button, .info button.flat, 534.question button.flat, 535.warning button.flat, 536.error button.flat, .gedit-search-slider entry.error ~ button, row:selected 537button.flat { 538color: rgba(255, 255, 255, 0.75); } 539row:selected button.sidebar-button:hover, .info button.flat:hover, 540.question button.flat:hover, 541.warning button.flat:hover, 542.error button.flat:hover, .gedit-search-slider entry.error ~ button:hover, row:selected button.sidebar-button:active, .info button.flat:active, 543.question button.flat:active, 544.warning button.flat:active, 545.error button.flat:active, .gedit-search-slider entry.error ~ button:active, row:selected 546button.flat:hover, row:selected 547button.flat:active { 548color: #FFFFFF; } 549row:selected button.sidebar-button:disabled, .info button.flat:disabled, 550.question button.flat:disabled, 551.warning button.flat:disabled, 552.error button.flat:disabled, .gedit-search-slider entry.error ~ button:disabled, row:selected 553button.flat:disabled { 554color: rgba(255, 255, 255, 0.3); } 555button.osd { 556padding: 12px 16px; } 557button.osd.image-button { 558padding: 12px; } 559button.osd:disabled { 560opacity: 0; } 561button.suggested-action { 562background-color: #FF4081; 563color: #FFFFFF; } 564button.suggested-action:disabled { 565box-shadow: none; 566background-color: alpha(currentColor, 0.3); 567color: rgba(0, 0, 0, 0.32); } 568button.suggested-action:disabled > label { 569color: inherit; } 570button.suggested-action:checked { 571background-color: #ff79a7; } 572button.suggested-action.flat { 573background-color: transparent; 574color: #FF4081; } 575button.suggested-action.flat:disabled { 576box-shadow: none; 577background-color: transparent; 578color: rgba(0, 0, 0, 0.32); } 579button.suggested-action.flat:disabled > label { 580color: inherit; } 581button.destructive-action { 582background-color: #FF5252; 583color: #FFFFFF; } 584button.destructive-action:disabled { 585box-shadow: none; 586background-color: alpha(currentColor, 0.3); 587color: rgba(0, 0, 0, 0.32); } 588button.destructive-action:disabled > label { 589color: inherit; } 590button.destructive-action:checked { 591background-color: #ff8686; } 592button.destructive-action.flat { 593background-color: transparent; 594color: #FF5252; } 595button.destructive-action.flat:disabled { 596box-shadow: none; 597background-color: transparent; 598color: rgba(0, 0, 0, 0.32); } 599button.destructive-action.flat:disabled > label { 600color: inherit; } 601.stack-switcher > 602button { 603outline-offset: -4px; } 604.stack-switcher > 605button > label { 606padding-left: 6px; 607padding-right: 6px; } 608.stack-switcher > 609button > image { 610padding-left: 6px; 611padding-right: 6px; 612padding-top: 3px; 613padding-bottom: 3px; } 614.stack-switcher > 615button.text-button { 616padding-left: 10px; 617padding-right: 10px; } 618.stack-switcher > 619button.image-button { 620padding-left: 4px; 621padding-right: 4px; } 622.stack-switcher > 623button.needs-attention:checked > label, 624.stack-switcher > 625button.needs-attention:checked > image { 626animation: none; 627background-image: none; } 628button separator { 629min-width: 0; 630min-height: 0; 631background: transparent; } 632.primary-toolbar 633button { 634-gtk-icon-shadow: none; } 635 636.stack-switcher > 637button.needs-attention > label, 638.stack-switcher > 639button.needs-attention > image, stacksidebar row.needs-attention > label { 640animation: needs_attention 0.3s cubic-bezier(0, 0, 0.2, 1) forwards; 641background-repeat: no-repeat; 642background-position: right 3px; 643background-size: 6px 6px; } 644.stack-switcher > 645button.needs-attention > label:dir(rtl), 646.stack-switcher > 647button.needs-attention > image:dir(rtl), stacksidebar row.needs-attention > label:dir(rtl) { 648background-position: left 3px; } 649 650.linked:not(.vertical) > spinbutton:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked:not(.vertical) > entry:not(.flat), 651notebook > stack:not(:only-child) revealer .linked:not(.vertical) > spinbutton:not(.flat):not(.vertical), .linked:not(.vertical) > 652entry:not(.flat), .linked > 653button, .gedit-search-slider button:dir(ltr), .gedit-search-slider button:dir(rtl), .linked > combobox > box > button.combo:dir(ltr), .linked > combobox > box > button.combo:dir(rtl) { 654border-radius: 0; } 655 656.linked:not(.vertical) > spinbutton:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked:not(.vertical) > entry:not(.flat), 657notebook > stack:not(:only-child) revealer .linked:not(.vertical) > spinbutton:not(.flat):not(.vertical), .linked:not(.vertical) > 658entry:not(.flat), .linked > 659button, .gedit-search-slider button:dir(ltr), .gedit-search-slider button:dir(rtl) { 660-gtk-outline-radius: 2px; } 661.linked:not(.vertical) > spinbutton:first-child:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked:not(.vertical) > entry:first-child:not(.flat), 662notebook > stack:not(:only-child) revealer .linked:not(.vertical) > spinbutton:first-child:not(.flat):not(.vertical), .linked:not(.vertical) > 663entry:first-child:not(.flat), .linked > 664button:first-child, combobox.linked button:nth-child(2):dir(rtl), .linked:not(.vertical) > combobox:first-child > box > button.combo, .gedit-search-slider button:first-child:dir(ltr), .gedit-search-slider button:first-child:dir(rtl) { 665border-top-left-radius: 2px; 666border-bottom-left-radius: 2px; } 667.linked:not(.vertical) > spinbutton:last-child:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked:not(.vertical) > entry:last-child:not(.flat), 668notebook > stack:not(:only-child) revealer .linked:not(.vertical) > spinbutton:last-child:not(.flat):not(.vertical), .linked:not(.vertical) > 669entry:last-child:not(.flat), .linked > 670button:last-child, combobox.linked button:nth-child(2):dir(ltr), .linked:not(.vertical) > combobox:last-child > box > button.combo, .gedit-search-slider button:last-child:dir(ltr), .gedit-search-slider button:last-child:dir(rtl) { 671border-top-right-radius: 2px; 672border-bottom-right-radius: 2px; } 673.linked:not(.vertical) > spinbutton:only-child:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked:not(.vertical) > entry:only-child:not(.flat), 674notebook > stack:not(:only-child) revealer .linked:not(.vertical) > spinbutton:only-child:not(.flat):not(.vertical), .linked:not(.vertical) > 675entry:only-child:not(.flat), .linked > 676button:only-child, .linked:not(.vertical) > combobox:only-child > box > button.combo, .gedit-search-slider button:only-child:dir(ltr), .gedit-search-slider button:only-child:dir(rtl) { 677border-radius: 2px; } 678 679.linked.vertical > spinbutton:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked.vertical > entry:not(.flat), 680notebook > stack:not(:only-child) revealer .linked.vertical > spinbutton:not(.flat):not(.vertical), .linked.vertical > 681entry:not(.flat), .linked.vertical > 682button, .linked.vertical > combobox > box > button.combo { 683border-radius: 0; } 684 685.linked.vertical > spinbutton:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked.vertical > entry:not(.flat), 686notebook > stack:not(:only-child) revealer .linked.vertical > spinbutton:not(.flat):not(.vertical), .linked.vertical > 687entry:not(.flat), .linked.vertical > 688button { 689-gtk-outline-radius: 2px; } 690.linked.vertical > spinbutton:first-child:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked.vertical > entry:first-child:not(.flat), 691notebook > stack:not(:only-child) revealer .linked.vertical > spinbutton:first-child:not(.flat):not(.vertical), .linked.vertical > 692entry:first-child:not(.flat), .linked.vertical > 693button:first-child, .linked.vertical > combobox:first-child > box > button.combo { 694border-top-left-radius: 2px; 695border-top-right-radius: 2px; } 696.linked.vertical > spinbutton:last-child:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked.vertical > entry:last-child:not(.flat), 697notebook > stack:not(:only-child) revealer .linked.vertical > spinbutton:last-child:not(.flat):not(.vertical), .linked.vertical > 698entry:last-child:not(.flat), .linked.vertical > 699button:last-child, .linked.vertical > combobox:last-child > box > button.combo { 700border-bottom-left-radius: 2px; 701border-bottom-right-radius: 2px; } 702.linked.vertical > spinbutton:only-child:not(.flat):not(.vertical), notebook > stack:not(:only-child) revealer .linked.vertical > entry:only-child:not(.flat), 703notebook > stack:not(:only-child) revealer .linked.vertical > spinbutton:only-child:not(.flat):not(.vertical), .linked.vertical > 704entry:only-child:not(.flat), .linked.vertical > 705button:only-child, .linked.vertical > combobox:only-child > box > button.combo { 706border-radius: 2px; } 707 708/* menu buttons */ 709modelbutton.flat, 710.menuitem.button.flat { 711min-height: 28px; 712padding-left: 8px; 713padding-right: 8px; 714border-radius: 2px; 715color: inherit; } 716modelbutton.flat check:not(:checked):not(:indeterminate), 717modelbutton.flat radio:not(:checked):not(:indeterminate), 718.menuitem.button.flat check:not(:checked):not(:indeterminate), 719.menuitem.button.flat radio:not(:checked):not(:indeterminate) { 720color: alpha(currentColor, 0.6); } 721modelbutton.flat check, modelbutton.flat check:hover, 722modelbutton.flat radio, 723modelbutton.flat radio:hover, 724.menuitem.button.flat check, 725.menuitem.button.flat check:hover, 726.menuitem.button.flat radio, 727.menuitem.button.flat radio:hover { 728background-image: none; } 729modelbutton.flat check:active, 730modelbutton.flat radio:active, 731.menuitem.button.flat check:active, 732.menuitem.button.flat radio:active { 733animation: none; } 734modelbutton.flat check:last-child, 735modelbutton.flat radio:last-child, 736.menuitem.button.flat check:last-child, 737.menuitem.button.flat radio:last-child { 738margin-left: -8px; 739margin-right: -16px; } 740modelbutton.flat check:first-child, 741modelbutton.flat radio:first-child, 742.menuitem.button.flat check:first-child, 743.menuitem.button.flat radio:first-child { 744margin-left: -16px; 745margin-right: -8px; } 746 747modelbutton.flat arrow { 748background: none; } 749modelbutton.flat arrow:hover { 750background: none; } 751modelbutton.flat arrow.left { 752-gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } 753modelbutton.flat arrow.right { 754-gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } 755 756button.color { 757min-height: 24px; 758min-width: 24px; 759padding: 6px; } 760 761/********* 762* Links * 763*********/ 764*:link, button:link, 765button:visited, *:link:hover, button:hover:link, 766button:hover:visited, *:link:active, button:active:link, 767button:active:visited { 768color: #42A5F5; } 769*:link:visited, 770button:visited, *:link:visited:hover, 771button:visited:hover, *:link:visited:active, 772button:visited:active { 773color: #E040FB; } 774.info *:link, .info button:link, 775.info button:visited, 776.question *:link, 777.question button:link, 778.question button:visited, 779.warning *:link, 780.warning button:link, 781.warning button:visited, 782.error *:link, 783.error button:link, 784.error button:visited, *:link:selected, button:selected:link, 785button:selected:visited, .selection-mode.titlebar:not(headerbar) .subtitle:link, 786headerbar.selection-mode .subtitle:link, *:selected *:link, *:selected button:link, 787*:selected button:visited { 788color: #FFFFFF; } 789 790button:link > label, 791button:visited > label { 792text-decoration-line: underline; } 793 794/***************** 795* GtkSpinButton * 796*****************/ 797spinbutton:not(.vertical) { 798padding: 0; } 799notebook > stack:not(:only-child) spinbutton:not(.vertical) entry, 800spinbutton:not(.vertical) entry { 801min-width: 32px; 802margin: 0; 803border-image: none; 804border-radius: 0; 805box-shadow: none; 806background-color: transparent; } 807spinbutton:not(.vertical) button { 808min-height: 24px; 809min-width: 24px; 810padding: 0; 811border: solid 6px transparent; } 812spinbutton:not(.vertical) button.up { 813margin-left: -3px; } 814spinbutton:not(.vertical) button.down { 815margin-right: -3px; } 816spinbutton.vertical:disabled { 817color: rgba(0, 0, 0, 0.32); } 818spinbutton.vertical:drop(active) { 819box-shadow: none; } 820spinbutton.vertical entry { 821min-height: 36px; 822min-width: 48px; 823padding: 0; } 824spinbutton.vertical button { 825min-height: 36px; 826min-width: 48px; 827padding: 0; } 828spinbutton.vertical button.up { 829border-radius: 2px 2px 0 0; } 830spinbutton.vertical button.down { 831border-radius: 0 0 2px 2px; } 832treeview spinbutton:not(.vertical) { 833min-height: 0; 834border-style: none; 835border-radius: 0; } 836treeview spinbutton:not(.vertical) entry { 837min-height: 0; 838padding: 1px 2px; } 839 840/************** 841* ComboBoxes * 842**************/ 843combobox arrow { 844-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); 845min-height: 16px; 846min-width: 16px; } 847combobox menu, 848combobox .menu { 849padding: 2px 0; } 850combobox menu menuitem, 851combobox .menu menuitem { 852min-height: 36px; 853padding: 0 10px; } 854combobox:drop(active) { 855box-shadow: none; } 856 857/************ 858* Toolbars * 859************/ 860toolbar { 861-GtkWidget-window-dragging: true; 862padding: 3px; 863background-color: #F5F5F5; } 864.osd toolbar { 865background-color: transparent; } 866toolbar.osd, .app-notification, 867.app-notification.frame { 868transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 869padding: 6px; 870border-radius: 2px; 871box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); 872background-color: #FFFFFF; } 873toolbar.osd:backdrop, .app-notification:backdrop { 874box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } 875toolbar.osd.left, .left.app-notification, toolbar.osd.right, .right.app-notification, toolbar.osd.top, .top.app-notification, toolbar.osd.bottom, .bottom.app-notification { 876border-radius: 0; } 877toolbar.horizontal separator { 878margin: 3px; } 879toolbar.vertical separator { 880margin: 3px; } 881toolbar:not(.inline-toolbar):not(.osd) scale, 882toolbar:not(.inline-toolbar):not(.osd) entry, 883toolbar:not(.inline-toolbar):not(.osd) spinbutton, 884toolbar:not(.inline-toolbar):not(.osd) button { 885margin: 3px; } 886toolbar:not(.inline-toolbar):not(.osd) switch { 887margin: 9px 3px; } 888 889.inline-toolbar { 890padding: 6px; 891border-style: solid; 892border-width: 0 1px 1px; 893border-color: rgba(0, 0, 0, 0.1); 894background-color: #fafafa; } 895 896searchbar, 897.location-bar { 898padding: 6px; 899border-style: solid; 900border-width: 0 0 1px; 901border-color: rgba(0, 0, 0, 0.1); 902background-color: #F5F5F5; 903background-clip: border-box; } 904 905/*************** 906* Header bars * 907***************/ 908.titlebar:not(headerbar), 909headerbar { 910transition: background-color 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s cubic-bezier(0, 0, 0.2, 1); 911min-height: 48px; 912padding: 0 6px; 913box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.2); 914background-color: #455A64; 915color: #FFFFFF; } 916.titlebar:backdrop:not(headerbar), 917headerbar:backdrop { 918color: rgba(255, 255, 255, 0.75); } 919.titlebar:not(headerbar) .title, 920headerbar .title { 921padding-left: 12px; 922padding-right: 12px; 923font-weight: bold; } 924.titlebar:not(headerbar) .subtitle, 925headerbar .subtitle { 926padding-left: 12px; 927padding-right: 12px; 928font-size: smaller; } 929.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action), 930headerbar button:not(.suggested-action):not(.destructive-action) { 931border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0px; 932color: alpha(currentColor, 0.75); } 933.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):hover, .titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):active, 934headerbar button:not(.suggested-action):not(.destructive-action):hover, 935headerbar button:not(.suggested-action):not(.destructive-action):active { 936color: currentColor; } 937.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):disabled, 938headerbar button:not(.suggested-action):not(.destructive-action):disabled { 939color: alpha(currentColor, 0.3); } 940.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):disabled > label, 941headerbar button:not(.suggested-action):not(.destructive-action):disabled > label { 942color: inherit; } 943.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):checked, 944headerbar button:not(.suggested-action):not(.destructive-action):checked { 945border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; 946background-color: transparent; 947color: currentColor; } 948.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):checked:disabled, 949headerbar button:not(.suggested-action):not(.destructive-action):checked:disabled { 950background-color: transparent; 951color: alpha(currentColor, 0.4); } 952.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):checked:disabled > label, 953headerbar button:not(.suggested-action):not(.destructive-action):checked:disabled > label { 954color: inherit; } 955.titlebar:not(headerbar) button.suggested-action:disabled, .titlebar:not(headerbar) button.destructive-action:disabled, 956headerbar button.suggested-action:disabled, 957headerbar button.destructive-action:disabled { 958color: alpha(currentColor, 0.4); } 959.titlebar:not(headerbar) button.suggested-action:disabled > label, .titlebar:not(headerbar) button.destructive-action:disabled > label, 960headerbar button.suggested-action:disabled > label, 961headerbar button.destructive-action:disabled > label { 962color: inherit; } 963.selection-mode.titlebar:not(headerbar), 964headerbar.selection-mode { 965transition: background-color 0 0.3s, color 0.2s cubic-bezier(0, 0, 0.2, 1); 966animation: header_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1); 967background-color: #42A5F5; 968color: #FFFFFF; } 969.selection-mode.titlebar:backdrop:not(headerbar), 970headerbar.selection-mode:backdrop { 971color: rgba(255, 255, 255, 0.75); } 972.selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action), 973headerbar.selection-mode button:not(.suggested-action):not(.destructive-action) { 974border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 0%, transparent 0%) 0 0 0/0 0 0px; } 975.selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action), .selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):hover, .selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):active, 976headerbar.selection-mode button:not(.suggested-action):not(.destructive-action), 977headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):hover, 978headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):active { 979color: currentColor; } 980.selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):disabled, 981headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled { 982color: alpha(currentColor, 0.4); } 983.selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):disabled > label, 984headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):disabled > label { 985color: inherit; } 986.selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):checked, 987headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked { 988border-image: radial-gradient(circle closest-corner at center calc(100% - 1px), currentColor 100%, transparent 0%) 0 0 2/0 0 2px; 989color: currentColor; } 990.selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):checked:disabled, 991headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled { 992color: alpha(currentColor, 0.4); } 993.selection-mode.titlebar:not(headerbar) button:not(.suggested-action):not(.destructive-action):checked:disabled > label, 994headerbar.selection-mode button:not(.suggested-action):not(.destructive-action):checked:disabled > label { 995color: inherit; } 996.selection-mode.titlebar:not(headerbar) .selection-menu, 997headerbar.selection-mode .selection-menu { 998padding-left: 16px; 999padding-right: 16px; } 1000.selection-mode.titlebar:not(headerbar) .selection-menu GtkArrow, 1001headerbar.selection-mode .selection-menu GtkArrow { 1002-GtkArrow-arrow-scaling: 1; } 1003.selection-mode.titlebar:not(headerbar) .selection-menu .arrow, 1004headerbar.selection-mode .selection-menu .arrow { 1005-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } 1006.fullscreen .titlebar:not(headerbar), .tiled .titlebar:not(headerbar), .maximized .titlebar:not(headerbar), .fullscreen 1007headerbar, .tiled 1008headerbar, .maximized 1009headerbar { 1010border-radius: 0; 1011box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } 1012.default-decoration.titlebar:not(headerbar), 1013headerbar.default-decoration { 1014min-height: 24px; 1015padding: 6px; 1016border-width: 0; } 1017.default-decoration.titlebar:not(headerbar) button.titlebutton, 1018headerbar.default-decoration button.titlebutton { 1019min-height: 24px; 1020min-width: 24px; 1021margin: 0; 1022padding: 0; } 1023.default-decoration.titlebar:not(headerbar) button.titlebutton:active, 1024headerbar.default-decoration button.titlebutton:active { 1025background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0.15) 100%, transparent 0%), image(alpha(currentColor, 0.15)); } 1026.solid-csd .titlebar:dir(rtl):not(headerbar), .solid-csd .titlebar:dir(ltr):not(headerbar), .solid-csd 1027headerbar:dir(rtl), .solid-csd 1028headerbar:dir(ltr) { 1029margin-left: -1px; 1030margin-right: -1px; 1031margin-top: -1px; 1032border-radius: 0; 1033box-shadow: none; } 1034 1035headerbar entry, 1036headerbar spinbutton, 1037headerbar button { 1038margin-top: 6px; 1039margin-bottom: 6px; } 1040headerbar switch { 1041margin-top: 12px; 1042margin-bottom: 12px; } 1043 1044.background:not(.tiled):not(.maximized):not(.fullscreen) .titlebar { 1045border-top-left-radius: 2px; 1046border-top-right-radius: 2px; } 1047 1048window:not(.tiled):not(.maximized):not(.fullscreen) separator:first-child + headerbar, window:not(.tiled):not(.maximized):not(.fullscreen) headerbar:first-child { 1049border-top-left-radius: 2px; } 1050window:not(.tiled):not(.maximized):not(.fullscreen) headerbar:last-child { 1051border-top-right-radius: 2px; } 1052 1053window.csd > .titlebar:not(headerbar) { 1054padding: 0; 1055background-color: transparent; 1056background-image: none; 1057border-style: none; 1058box-shadow: none; } 1059.titlebar:not(headerbar) > separator { 1060background-color: #455A64; 1061background-image: image(rgba(0, 0, 0, 0.1)); } 1062 1063/************ 1064* Pathbars * 1065************/ 1066.path-bar button.text-button, .path-bar button.image-button, .path-bar button { 1067padding-left: 6px; 1068padding-right: 6px; } 1069.path-bar button image { 1070padding-left: 4px; 1071padding-right: 4px; } 1072.path-bar button.slider-button { 1073padding-left: 0; 1074padding-right: 0; } 1075 1076/************** 1077* Tree Views * 1078**************/ 1079treeview.view { 1080border-left-color: alpha(currentColor, 0.3); 1081border-top-color: rgba(0, 0, 0, 0.1); } 1082* { 1083-GtkTreeView-horizontal-separator: 4; 1084-GtkTreeView-grid-line-width: 1; 1085-GtkTreeView-grid-line-pattern: ''; 1086-GtkTreeView-tree-line-width: 1; 1087-GtkTreeView-tree-line-pattern: ''; 1088-GtkTreeView-expander-size: 16; } 1089treeview.view:hover, treeview.view:active, treeview.view:selected { 1090border-radius: 0; } 1091treeview.view.separator { 1092min-height: 5px; 1093color: rgba(0, 0, 0, 0.1); } 1094treeview.view:drop(active) { 1095border-style: solid none; 1096border-width: 1px; 1097border-color: #FF4081; } 1098treeview.view:drop(active).after { 1099border-top-style: none; } 1100treeview.view:drop(active).before { 1101border-bottom-style: none; } 1102treeview.view.expander { 1103-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); 1104-gtk-icon-transform: rotate(-90deg); 1105color: rgba(0, 0, 0, 0.6); } 1106treeview.view.expander:dir(rtl) { 1107-gtk-icon-transform: rotate(90deg); } 1108treeview.view.expander:checked { 1109-gtk-icon-transform: unset; } 1110treeview.view.expander:hover, treeview.view.expander:active { 1111color: rgba(0, 0, 0, 0.8); } 1112treeview.view.expander:disabled { 1113color: rgba(0, 0, 0, 0.24); } 1114treeview.view.expander:selected { 1115color: rgba(255, 255, 255, 0.75); } 1116treeview.view.expander:selected:hover, treeview.view.expander:selected:active { 1117color: #FFFFFF; } 1118treeview.view.expander:selected:disabled { 1119color: rgba(255, 255, 255, 0.3); } 1120treeview.view.progressbar { 1121border-style: none none solid; 1122border-width: 4px; 1123border-color: #42A5F5; 1124background-color: transparent; 1125background-image: none; } 1126treeview.view.progressbar:selected { 1127border-color: currentColor; } 1128treeview.view.trough { 1129border-style: none none solid; 1130border-width: 4px; 1131border-color: rgba(66, 165, 245, 0.3); 1132background-color: transparent; 1133background-image: none; } 1134treeview.view.trough:selected { 1135border-color: alpha(currentColor, 0.3); } 1136treeview.view header button { 1137padding: 2px 6px; 1138border-style: none solid solid none; 1139border-width: 1px; 1140border-color: rgba(0, 0, 0, 0.1); 1141border-radius: 0; 1142background-clip: border-box; } 1143treeview.view header button, treeview.view header button:hover, treeview.view header button:active { 1144box-shadow: none; } 1145treeview.view header button, treeview.view header button:disabled { 1146background-color: #FFFFFF; } 1147treeview.view header button:last-child { 1148border-right-style: none; } 1149treeview.view button.dnd, 1150treeview.view header.button.dnd { 1151padding: 2px 6px; 1152border-style: none solid solid; 1153border-width: 1px; 1154border-color: rgba(0, 0, 0, 0.1); 1155border-radius: 0; 1156box-shadow: none; 1157background-color: #FFFFFF; 1158background-clip: border-box; 1159color: #42A5F5; } 1160treeview.view acceleditor > label { 1161background-color: #42A5F5; } 1162 1163/********* 1164* Menus * 1165*********/ 1166menubar, 1167.menubar { 1168-GtkWidget-window-dragging: true; 1169padding: 0; 1170background-color: #455A64; } 1171menubar > menuitem, 1172.menubar > menuitem { 1173transition: background-color 0.2s cubic-bezier(0, 0, 0.2, 1); 1174min-height: 20px; 1175padding: 4px 8px; 1176color: rgba(255, 255, 255, 0.75); } 1177menubar > menuitem:hover, 1178.menubar > menuitem:hover { 1179transition: none; 1180background-color: alpha(currentColor, 0.15); 1181color: #FFFFFF; } 1182menubar > menuitem:disabled, 1183.menubar > menuitem:disabled { 1184color: rgba(255, 255, 255, 0.3); } 1185 1186menu, 1187.menu { 1188margin: 4px 0; 1189padding: 4px 0; 1190background-color: #FFFFFF; 1191border: 1px solid rgba(0, 0, 0, 0.1); } 1192.csd menu, .csd 1193.menu { 1194border: none; 1195border-radius: 2px; } 1196menu menuitem, 1197.menu menuitem { 1198transition: background-color 0.2s cubic-bezier(0, 0, 0.2, 1); 1199min-height: 20px; 1200min-width: 40px; 1201padding: 4px 8px; 1202font: initial; 1203text-shadow: none; } 1204menu menuitem:hover, 1205.menu menuitem:hover { 1206transition: none; 1207background-color: alpha(currentColor, 0.15); } 1208menu menuitem:disabled, 1209.menu menuitem:disabled { 1210color: rgba(0, 0, 0, 0.32); } 1211menu menuitem arrow, 1212.menu menuitem arrow { 1213min-height: 16px; 1214min-width: 16px; } 1215menu menuitem arrow:dir(ltr), 1216.menu menuitem arrow:dir(ltr) { 1217-gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); 1218margin-left: 8px; } 1219menu menuitem arrow:dir(rtl), 1220.menu menuitem arrow:dir(rtl) { 1221-gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); 1222margin-right: 8px; } 1223menu > arrow, 1224.menu > arrow { 1225min-height: 16px; 1226min-width: 16px; 1227padding: 4px; 1228border-radius: 0; 1229background-color: #FFFFFF; 1230color: rgba(0, 0, 0, 0.6); } 1231menu > arrow.top, 1232.menu > arrow.top { 1233margin-top: -4px; 1234border-bottom: 1px solid rgba(0, 0, 0, 0.1); 1235-gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } 1236menu > arrow.bottom, 1237.menu > arrow.bottom { 1238margin-bottom: -4px; 1239border-top: 1px solid rgba(0, 0, 0, 0.1); 1240-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } 1241menu > arrow:hover, 1242.menu > arrow:hover { 1243background-image: image(alpha(currentColor, 0.15)); 1244color: rgba(0, 0, 0, 0.8); } 1245menu > arrow:disabled, 1246.menu > arrow:disabled { 1247border-color: transparent; 1248background-color: transparent; 1249color: transparent; } 1250menu separator, 1251.menu separator { 1252margin: 4px 0; } 1253 1254menuitem accelerator { 1255color: alpha(currentColor, 0.6); } 1256menuitem check:dir(ltr), 1257menuitem radio:dir(ltr) { 1258margin-right: -8px; 1259margin-left: -16px; } 1260menuitem check:dir(rtl), 1261menuitem radio:dir(rtl) { 1262margin-right: -16px; 1263margin-left: -8px; } 1264 1265.csd.popup { 1266border-radius: 2px; } 1267 1268/*************** 1269* Popovers * 1270***************/ 1271popover.background { 1272transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 1273padding: 0; 1274box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); 1275background-color: #FAFAFA; } 1276popover.background:backdrop { 1277box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } 1278popover.background, .csd popover.background { 1279border-style: solid; 1280border-width: 1px; 1281border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.3); 1282border-radius: 3px; } 1283popover.background > list, 1284popover.background > .view, 1285popover.background > iconview, 1286popover.background > toolbar { 1287border-style: none; 1288box-shadow: none; 1289background-color: transparent; } 1290popover.background separator { 1291margin: 4px 0; } 1292popover.background list separator { 1293margin: 0; } 1294 1295/************* 1296* Notebooks * 1297*************/ 1298notebook > header { 1299border-width: 1px; 1300border-color: rgba(0, 0, 0, 0.1); 1301background-color: #F5F5F5; 1302background-clip: border-box; } 1303notebook > header.top { 1304border-bottom-style: solid; } 1305notebook > header.top > tabs { 1306margin-bottom: -1px; } 1307notebook > header.top > tabs > tab:hover { 1308box-shadow: inset 0 -2px alpha(currentColor, 0.3); } 1309notebook > header.top > tabs > tab:checked { 1310box-shadow: inset 0 -2px #42A5F5; } 1311notebook > header.bottom { 1312border-top-style: solid; } 1313notebook > header.bottom > tabs { 1314margin-top: -1px; } 1315notebook > header.bottom > tabs > tab:hover { 1316box-shadow: inset 0 2px alpha(currentColor, 0.3); } 1317notebook > header.bottom > tabs > tab:checked { 1318box-shadow: inset 0 2px #42A5F5; } 1319notebook > header.left { 1320border-right-style: solid; } 1321notebook > header.left > tabs { 1322margin-right: -1px; } 1323notebook > header.left > tabs > tab:hover { 1324box-shadow: inset -2px 0 alpha(currentColor, 0.3); } 1325notebook > header.left > tabs > tab:checked { 1326box-shadow: inset -2px 0 #42A5F5; } 1327notebook > header.right { 1328border-left-style: solid; } 1329notebook > header.right > tabs { 1330margin-left: -1px; } 1331notebook > header.right > tabs > tab:hover { 1332box-shadow: inset 2px 0 alpha(currentColor, 0.3); } 1333notebook > header.right > tabs > tab:checked { 1334box-shadow: inset 2px 0 #42A5F5; } 1335notebook > header.top > tabs > arrow { 1336border-top-style: none; } 1337notebook > header.bottom > tabs > arrow { 1338border-bottom-style: none; } 1339notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { 1340padding-left: 4px; 1341padding-right: 4px; } 1342notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { 1343margin-left: -8px; 1344-gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } 1345notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { 1346margin-right: -8px; 1347-gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } 1348notebook > header.left > tabs > arrow { 1349border-left-style: none; } 1350notebook > header.right > tabs > arrow { 1351border-right-style: none; } 1352notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { 1353padding-top: 4px; 1354padding-bottom: 4px; } 1355notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { 1356margin-top: -8px; 1357-gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } 1358notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { 1359margin-bottom: -8px; 1360-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } 1361notebook > header > tabs > arrow { 1362min-height: 16px; 1363min-width: 16px; 1364border-radius: 0; } 1365notebook > header tab { 1366transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; 1367min-height: 24px; 1368min-width: 24px; 1369padding: 6px 12px; 1370outline-offset: -6px; 1371border-width: 1px; 1372border-color: transparent; 1373color: rgba(0, 0, 0, 0.6); 1374font-weight: 500; } 1375notebook > header tab:hover { 1376color: rgba(0, 0, 0, 0.8); } 1377notebook > header tab:hover.reorderable-page { 1378border-color: rgba(0, 0, 0, 0.1); 1379background-color: #fafafa; } 1380notebook > header tab:disabled { 1381color: rgba(0, 0, 0, 0.24); } 1382notebook > header tab:checked { 1383animation: tab_ripple_effect 0.9s cubic-bezier(0, 0, 0.2, 1); 1384color: rgba(0, 0, 0, 0.8); } 1385notebook > header tab:checked:disabled { 1386color: rgba(0, 0, 0, 0.32); } 1387notebook > header tab:checked.reorderable-page { 1388border-color: rgba(0, 0, 0, 0.1); 1389background-color: #FFFFFF; } 1390notebook > header tab button.flat { 1391min-width: 24px; 1392min-height: 24px; 1393padding: 0; } 1394notebook > header tab button.flat:last-child { 1395margin-left: 6px; 1396margin-right: -6px; } 1397notebook > header tab button.flat:first-child { 1398margin-left: -6px; 1399margin-right: 6px; } 1400notebook > header.top tabs, notebook > header.bottom tabs { 1401padding-left: 8px; 1402padding-right: 8px; } 1403notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { 1404margin-left: 0; } 1405notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { 1406margin-right: 0; } 1407notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { 1408margin: 0 -1px; 1409border-style: none solid; } 1410notebook > header.left tabs, notebook > header.right tabs { 1411padding-top: 8px; 1412padding-bottom: 8px; } 1413notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { 1414margin-top: 0; } 1415notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { 1416margin-bottom: 0; } 1417notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { 1418margin: -1px 0; 1419border-style: solid none; } 1420notebook > stack:not(:only-child) { 1421background-color: #FFFFFF; } 1422 1423/************** 1424* Scrollbars * 1425**************/ 1426scrollbar { 1427transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; 1428background-color: #FFFFFF; 1429background-clip: padding-box; } 1430* { 1431-GtkScrollbar-has-backward-stepper: false; 1432-GtkScrollbar-has-forward-stepper: false; } 1433scrollbar.top { 1434border-bottom: 1px solid rgba(0, 0, 0, 0.1); } 1435scrollbar.bottom { 1436border-top: 1px solid rgba(0, 0, 0, 0.1); } 1437scrollbar.left { 1438border-right: 1px solid rgba(0, 0, 0, 0.1); } 1439scrollbar.right { 1440border-left: 1px solid rgba(0, 0, 0, 0.1); } 1441scrollbar slider { 1442transition: all 0.2s cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0; 1443min-width: 8px; 1444min-height: 8px; 1445border: 4px solid transparent; 1446border-radius: 100px; 1447background-clip: padding-box; 1448background-color: rgba(0, 0, 0, 0.48); } 1449scrollbar slider:hover { 1450background-color: rgba(0, 0, 0, 0.6); } 1451scrollbar slider:active { 1452background-color: rgba(0, 0, 0, 0.8); } 1453scrollbar slider:disabled { 1454background-color: rgba(0, 0, 0, 0.192); } 1455scrollbar.fine-tune slider { 1456transition: all 0.2s cubic-bezier(0, 0, 0.2, 1), margin 0, border-width 0, min-width 0, min-height 0; 1457min-width: 4px; 1458min-height: 4px; } 1459scrollbar.fine-tune.horizontal slider { 1460margin: 2px 0; } 1461scrollbar.fine-tune.vertical slider { 1462margin: 0 2px; } 1463scrollbar.overlay-indicator:not(.dragging):not(.hovering) { 1464border-color: transparent; 1465background-color: transparent; } 1466scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider { 1467min-width: 4px; 1468min-height: 4px; 1469margin: 2px; 1470border: 2px solid rgba(255, 255, 255, 0.3); } 1471scrollbar.overlay-indicator:not(.dragging):not(.hovering) button { 1472min-width: 4px; 1473min-height: 4px; 1474margin: 2px; 1475border: 2px solid rgba(255, 255, 255, 0.3); 1476border-radius: 100px; 1477background-color: rgba(0, 0, 0, 0.48); 1478background-clip: padding-box; 1479-gtk-icon-source: none; } 1480scrollbar.overlay-indicator:not(.dragging):not(.hovering) button:disabled { 1481background-color: rgba(0, 0, 0, 0.192); } 1482scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider { 1483min-width: 24px; } 1484scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button { 1485min-width: 8px; } 1486scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider { 1487min-height: 24px; } 1488scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button { 1489min-height: 8px; } 1490scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { 1491background-color: rgba(255, 255, 255, 0.9); } 1492scrollbar.horizontal slider { 1493min-width: 24px; } 1494scrollbar.vertical slider { 1495min-height: 24px; } 1496scrollbar button { 1497min-width: 16px; 1498min-height: 16px; 1499padding: 0; 1500border-radius: 0; } 1501scrollbar.vertical button.down { 1502-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } 1503scrollbar.vertical button.up { 1504-gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } 1505scrollbar.horizontal button.down { 1506-gtk-icon-source: -gtk-icontheme("pan-right-symbolic"); } 1507scrollbar.horizontal button.up { 1508-gtk-icon-source: -gtk-icontheme("pan-left-symbolic"); } 1509 1510/********** 1511* Switch * 1512**********/ 1513switch { 1514transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; 1515margin: 6px 0; 1516border: 4px solid transparent; 1517border-radius: 100px; 1518background-color: alpha(currentColor, 0.3); 1519background-clip: padding-box; 1520font-size: 0; } 1521switch:disabled { 1522color: rgba(0, 0, 0, 0.32); } 1523switch:checked { 1524background-color: rgba(255, 64, 129, 0.5); } 1525switch:checked:disabled { 1526background-color: rgba(255, 64, 129, 0.2); 1527color: rgba(0, 0, 0, 0.32); } 1528switch slider { 1529transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 1530border-image: none; 1531box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 1532background-color: #FFFFFF; 1533color: rgba(0, 0, 0, 0.8); 1534transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, margin 0; 1535min-width: 24px; 1536min-height: 24px; 1537margin: -4px 0 -4px -4px; 1538-gtk-outline-radius: 100px; 1539border-radius: 100px; } 1540switch:hover slider { 1541border-image: none; 1542box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); } 1543switch:disabled slider { 1544box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 1545background-color: #fafafa; 1546color: rgba(0, 0, 0, 0.32); } 1547switch:checked slider { 1548transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, margin 0, background-image 0, background-color 0 0.3s; 1549animation: needs_attention 0.3s cubic-bezier(0, 0, 0.2, 1); 1550margin: -4px -4px -4px 0; 1551background-color: #FF4081; 1552color: #FFFFFF; } 1553switch:checked:disabled slider { 1554animation: none; } 1555 1556/************************* 1557* Check and Radio items * 1558*************************/ 1559.view.content-view.check:not(list), iconview.content-view.check:not(list) { 1560-gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 1561-gtk-icon-source: -gtk-scaled(url("assets/checkbox-selectionmode.png"), url("assets/checkbox-selectionmode@2.png")); 1562margin: 8px; 1563background-color: transparent; } 1564 1565.view.content-view.check:hover:not(list), iconview.content-view.check:hover:not(list) { 1566-gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 1567-gtk-icon-source: -gtk-scaled(url("assets/checkbox-hover-selectionmode.png"), url("assets/checkbox-hover-selectionmode@2.png")); 1568margin: 8px; 1569background-color: transparent; } 1570 1571.view.content-view.check:checked:not(list), iconview.content-view.check:checked:not(list) { 1572-gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 1573-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-selectionmode.png"), url("assets/checkbox-checked-selectionmode@2.png")); 1574margin: 8px; 1575background-color: transparent; } 1576 1577.view.content-view.check:checked:hover:not(list), iconview.content-view.check:checked:hover:not(list) { 1578-gtk-icon-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 1579-gtk-icon-source: -gtk-scaled(url("assets/checkbox-checked-hover-selectionmode.png"), url("assets/checkbox-checked-hover-selectionmode@2.png")); 1580margin: 8px; 1581background-color: transparent; } 1582 1583checkbutton.text-button, 1584radiobutton.text-button { 1585padding: 2px; 1586outline-offset: 0; } 1587checkbutton.text-button label:not(:only-child), 1588radiobutton.text-button label:not(:only-child) { 1589margin: 0 4px; } 1590 1591check, 1592radio { 1593min-height: 24px; 1594min-width: 24px; 1595margin: -12px; 1596padding: 12px; } 1597check:checked, check:checked:disabled, 1598radio:checked, 1599radio:checked:disabled { 1600background-color: transparent; } 1601check:checked, check:indeterminate, 1602radio:checked, 1603radio:indeterminate { 1604color: #FF4081; } 1605check:checked:disabled, check:indeterminate:disabled, 1606radio:checked:disabled, 1607radio:indeterminate:disabled { 1608color: rgba(255, 64, 129, 0.4); } 1609row check:not(:checked):not(:indeterminate), row 1610radio:not(:checked):not(:indeterminate) { 1611color: alpha(currentColor, 0.75); } 1612row check:not(:checked):not(:indeterminate):hover, row check:not(:checked):not(:indeterminate):active, row 1613radio:not(:checked):not(:indeterminate):hover, row 1614radio:not(:checked):not(:indeterminate):active { 1615color: currentColor; } 1616menu menuitem check, menu menuitem 1617radio { 1618transition: none; 1619margin: -16px; } 1620menu menuitem check:not(:checked):not(:indeterminate), menu menuitem 1621radio:not(:checked):not(:indeterminate) { 1622color: alpha(currentColor, 0.6); } 1623menu menuitem check, menu menuitem check:hover, menu menuitem check:disabled, menu menuitem 1624radio, menu menuitem 1625radio:hover, menu menuitem 1626radio:disabled { 1627background-image: none; } 1628 1629check { 1630-gtk-icon-source: image(-gtk-recolor(url("assets/check-unchecked-symbolic.svg")), -gtk-recolor(url("assets/check-unchecked-symbolic.png"))); } 1631check:checked { 1632-gtk-icon-source: image(-gtk-recolor(url("assets/check-checked-symbolic.svg")), -gtk-recolor(url("assets/check-checked-symbolic.png"))); } 1633check:indeterminate { 1634-gtk-icon-source: image(-gtk-recolor(url("assets/check-dash-symbolic.svg")), -gtk-recolor(url("assets/check-dash-symbolic.png"))); } 1635 1636radio { 1637border-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(#FF4081), to(transparent)) 24/24px; } 1638radio { 1639-gtk-icon-source: image(-gtk-recolor(url("assets/radio-unchecked-symbolic.svg")), -gtk-recolor(url("assets/radio-unchecked-symbolic.png"))); } 1640radio:indeterminate { 1641-gtk-icon-source: image(-gtk-recolor(url("assets/radio-dash-symbolic.svg")), -gtk-recolor(url("assets/radio-dash-symbolic.png"))); } 1642radio:checked { 1643border-image: -gtk-gradient(radial, center center, 0, center center, 0.10417, to(#FF4081), to(transparent)) 24/24px; } 1644radio:checked:disabled { 1645border-image: -gtk-gradient(radial, center center, 0, center center, 0.10417, to(rgba(255, 64, 129, 0.4)), to(transparent)) 24/24px; } 1646radio:indeterminate:checked { 1647border-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(#FF4081), to(transparent)) 24/24px; } 1648 1649@keyframes check_check { 1650from { 1651-gtk-icon-transform: rotate(90deg); } 1652to { 1653-gtk-icon-transform: unset; } } 1654@keyframes check_radio { 1655from { 1656border-image: -gtk-gradient(radial, center center, 0, center center, 0.001, to(#FF4081), to(transparent)) 24/24px; } 1657to { 1658border-image: -gtk-gradient(radial, center center, 0, center center, 0.10417, to(#FF4081), to(transparent)) 24/24px; } } 1659@keyframes check_indeterminate { 1660from { 1661-gtk-icon-transform: unset; } 166250% { 1663-gtk-icon-transform: scale(0, 1); } 1664to { 1665-gtk-icon-transform: unset; } } 1666modelbutton.flat check:not(:indeterminate):checked, 1667.menuitem.button.flat check:not(:indeterminate):checked, 1668check:not(:indeterminate):checked { 1669animation: check_check 0.3s cubic-bezier(0.4, 0, 0.2, 1); } 1670 1671check:not(:indeterminate):checked:active { 1672animation: check_check 0.3s cubic-bezier(0.4, 0, 0.2, 1), flat_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1) forwards; } 1673 1674modelbutton.flat check:indeterminate:checked, modelbutton.flat radio:indeterminate:checked, 1675.menuitem.button.flat check:indeterminate:checked, 1676.menuitem.button.flat radio:indeterminate:checked, 1677check:indeterminate:checked, radio:indeterminate:checked { 1678animation: check_indeterminate 0.3s cubic-bezier(0.4, 0, 0.2, 1); } 1679 1680check:indeterminate:checked:active, radio:indeterminate:checked:active { 1681animation: check_indeterminate 0.3s cubic-bezier(0.4, 0, 0.2, 1), flat_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1) forwards; } 1682 1683menu menuitem check:not(:indeterminate):checked, 1684menu menuitem radio:not(:indeterminate):checked, 1685menu menuitem check:indeterminate:checked, 1686menu menuitem radio:indeterminate:checked { 1687animation: none; } 1688 1689treeview.view check, 1690treeview.view radio { 1691padding: 0; } 1692treeview.view check:checked:hover, treeview.view check:selected:checked:hover, 1693treeview.view radio:checked:hover, 1694treeview.view radio:selected:checked:hover { 1695background-image: none; } 1696treeview.view check, 1697treeview.view radio { 1698color: rgba(0, 0, 0, 0.6); } 1699treeview.view check:hover, treeview.view check:active, 1700treeview.view radio:hover, 1701treeview.view radio:active { 1702color: rgba(0, 0, 0, 0.8); } 1703treeview.view check:disabled, 1704treeview.view radio:disabled { 1705color: rgba(0, 0, 0, 0.24); } 1706treeview.view check:checked, treeview.view check:indeterminate, 1707treeview.view radio:checked, 1708treeview.view radio:indeterminate { 1709color: #FF4081; } 1710treeview.view check:checked:disabled, treeview.view check:indeterminate:disabled, 1711treeview.view radio:checked:disabled, 1712treeview.view radio:indeterminate:disabled { 1713color: rgba(255, 64, 129, 0.4); } 1714treeview.view check:selected, 1715treeview.view radio:selected { 1716color: rgba(255, 255, 255, 0.75); } 1717treeview.view check:selected:hover, treeview.view check:selected:active, 1718treeview.view radio:selected:hover, 1719treeview.view radio:selected:active { 1720color: #FFFFFF; } 1721treeview.view check:selected:disabled, 1722treeview.view radio:selected:disabled { 1723color: rgba(255, 255, 255, 0.3); } 1724treeview.view check:selected:checked, treeview.view check:selected:indeterminate, 1725treeview.view radio:selected:checked, 1726treeview.view radio:selected:indeterminate { 1727color: #FF4081; } 1728treeview.view check:selected:checked:disabled, treeview.view check:selected:indeterminate:disabled, 1729treeview.view radio:selected:checked:disabled, 1730treeview.view radio:selected:indeterminate:disabled { 1731color: rgba(255, 64, 129, 0.4); } 1732 1733treeview.view radio:checked { 1734-gtk-icon-source: image(-gtk-recolor(url("assets/radio-checked-symbolic.svg")), -gtk-recolor(url("assets/radio-checked-symbolic.png"))); 1735border-image: none; } 1736 1737/************ 1738* GtkScale * 1739************/ 1740scale { 1741min-height: 12px; 1742min-width: 12px; 1743padding: 12px; } 1744scale * { 1745transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; } 1746scale slider { 1747min-height: 24px; 1748min-width: 24px; 1749margin: -10px; } 1750scale trough { 1751outline-offset: 2px; 1752background-color: alpha(currentColor, 0.3); } 1753scale trough:disabled { 1754color: rgba(0, 0, 0, 0.32); } 1755scale highlight { 1756background-color: #FF4081; } 1757scale highlight:disabled { 1758background-color: transparent; } 1759scale fill { 1760background-color: alpha(currentColor, 0.3); } 1761scale fill:disabled { 1762background-color: transparent; } 1763scale slider { 1764transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 1765background-repeat: no-repeat; 1766background-position: center; 1767background-size: calc(100% - 8px); } 1768scale slider { 1769background-image: -gtk-scaled(url("assets/slider.png"), url("assets/slider@2.png")); } 1770scale slider:disabled { 1771background-image: -gtk-scaled(url("assets/slider-insensitive.png"), url("assets/slider-insensitive@2.png")); } 1772scale slider:hover { 1773background-size: calc(100% - 4px); } 1774scale slider:active { 1775background-size: calc(100% - 0px); } 1776scale.fine-tune slider { 1777background-size: calc(100% - 12px); } 1778scale value { 1779color: alpha(currentColor, 0.6); } 1780scale marks { 1781color: alpha(currentColor, 0.3); } 1782scale marks.top { 1783margin-bottom: 8px; 1784margin-top: -16px; } 1785scale marks.bottom { 1786margin-top: 8px; 1787margin-bottom: -16px; } 1788scale marks.top { 1789margin-right: 8px; 1790margin-left: -16px; } 1791scale marks.bottom { 1792margin-left: 8px; 1793margin-right: -16px; } 1794scale.horizontal indicator { 1795min-height: 8px; 1796min-width: 1px; } 1797scale.vertical indicator { 1798min-height: 1px; 1799min-width: 8px; } 1800scale.color.horizontal slider, 1801scale.horizontal contents:last-child:not(:only-child) > trough > slider { 1802min-height: 30px; 1803min-width: 24px; 1804margin-top: -16px; 1805background-position: center calc(100% - 4px); } 1806scale.color.horizontal slider, 1807scale.horizontal contents:last-child:not(:only-child) > trough > slider { 1808background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above.png"), url("assets/slider-horz-scale-has-marks-above@2.png")); } 1809scale.color.horizontal slider:hover, 1810scale.horizontal contents:last-child:not(:only-child) > trough > slider:hover { 1811background-position: center calc(100% - 2px); } 1812scale.color.horizontal slider:active, 1813scale.horizontal contents:last-child:not(:only-child) > trough > slider:active { 1814background-position: center calc(100% - 0px); } 1815scale.color.fine-tune.horizontal slider, scale.horizontal.fine-tune contents:last-child:not(:only-child) > trough > slider { 1816background-position: center calc(100% - 6px); } 1817scale.color.horizontal slider, 1818scale.horizontal contents:last-child:not(:only-child) > trough > slider { 1819min-height: 30px; 1820min-width: 24px; 1821margin-top: -16px; 1822background-position: center calc(100% - 4px); } 1823scale.color.horizontal slider:disabled, 1824scale.horizontal contents:last-child:not(:only-child) > trough > slider:disabled { 1825background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-insensitive.png"), url("assets/slider-horz-scale-has-marks-above-insensitive@2.png")); } 1826scale.color.horizontal slider:hover, 1827scale.horizontal contents:last-child:not(:only-child) > trough > slider:hover { 1828background-position: center calc(100% - 2px); } 1829scale.color.horizontal slider:active, 1830scale.horizontal contents:last-child:not(:only-child) > trough > slider:active { 1831background-position: center calc(100% - 0px); } 1832scale.color.fine-tune.horizontal slider, scale.horizontal.fine-tune contents:last-child:not(:only-child) > trough > slider { 1833background-position: center calc(100% - 6px); } 1834scale.horizontal contents:first-child:not(:only-child) > trough > slider { 1835min-height: 30px; 1836min-width: 24px; 1837margin-bottom: -16px; 1838background-position: center calc(4px); } 1839scale.horizontal contents:first-child:not(:only-child) > trough > slider { 1840background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below.png"), url("assets/slider-horz-scale-has-marks-below@2.png")); } 1841scale.horizontal contents:first-child:not(:only-child) > trough > slider:hover { 1842background-position: center calc(2px); } 1843scale.horizontal contents:first-child:not(:only-child) > trough > slider:active { 1844background-position: center calc(0px); } 1845scale.horizontal.fine-tune contents:first-child:not(:only-child) > trough > slider { 1846background-position: center calc(6px); } 1847scale.horizontal contents:first-child:not(:only-child) > trough > slider { 1848min-height: 30px; 1849min-width: 24px; 1850margin-bottom: -16px; 1851background-position: center calc(4px); } 1852scale.horizontal contents:first-child:not(:only-child) > trough > slider:disabled { 1853background-image: -gtk-scaled(url("assets/slider-horz-scale-has-marks-below-insensitive.png"), url("assets/slider-horz-scale-has-marks-below-insensitive@2.png")); } 1854scale.horizontal contents:first-child:not(:only-child) > trough > slider:hover { 1855background-position: center calc(2px); } 1856scale.horizontal contents:first-child:not(:only-child) > trough > slider:active { 1857background-position: center calc(0px); } 1858scale.horizontal.fine-tune contents:first-child:not(:only-child) > trough > slider { 1859background-position: center calc(6px); } 1860scale.color.vertical:dir(rtl) slider, 1861scale.vertical contents:last-child:not(:only-child) > trough > slider { 1862min-height: 24px; 1863min-width: 30px; 1864margin-left: -16px; 1865background-position: calc(4px) center; } 1866scale.color.vertical:dir(rtl) slider, 1867scale.vertical contents:last-child:not(:only-child) > trough > slider { 1868background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above.png"), url("assets/slider-vert-scale-has-marks-above@2.png")); } 1869scale.color.vertical:dir(rtl) slider:hover, 1870scale.vertical contents:last-child:not(:only-child) > trough > slider:hover { 1871background-position: calc(2px) center; } 1872scale.color.vertical:dir(rtl) slider:active, 1873scale.vertical contents:last-child:not(:only-child) > trough > slider:active { 1874background-position: calc(0px) center; } 1875scale.color.fine-tune.vertical:dir(rtl) slider, scale.vertical.fine-tune contents:last-child:not(:only-child) > trough > slider { 1876background-position: calc(6px) center; } 1877scale.color.vertical:dir(rtl) slider, 1878scale.vertical contents:last-child:not(:only-child) > trough > slider { 1879min-height: 24px; 1880min-width: 30px; 1881margin-left: -16px; 1882background-position: calc(4px) center; } 1883scale.color.vertical:dir(rtl) slider:disabled, 1884scale.vertical contents:last-child:not(:only-child) > trough > slider:disabled { 1885background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-above-insensitive.png"), url("assets/slider-vert-scale-has-marks-above-insensitive@2.png")); } 1886scale.color.vertical:dir(rtl) slider:hover, 1887scale.vertical contents:last-child:not(:only-child) > trough > slider:hover { 1888background-position: calc(2px) center; } 1889scale.color.vertical:dir(rtl) slider:active, 1890scale.vertical contents:last-child:not(:only-child) > trough > slider:active { 1891background-position: calc(0px) center; } 1892scale.color.fine-tune.vertical:dir(rtl) slider, scale.vertical.fine-tune contents:last-child:not(:only-child) > trough > slider { 1893background-position: calc(6px) center; } 1894scale.color.vertical:dir(ltr) slider, 1895scale.vertical contents:first-child:not(:only-child) > trough > slider { 1896min-height: 24px; 1897min-width: 30px; 1898margin-right: -16px; 1899background-position: calc(100% - 4px) center; } 1900scale.color.vertical:dir(ltr) slider, 1901scale.vertical contents:first-child:not(:only-child) > trough > slider { 1902background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below.png"), url("assets/slider-vert-scale-has-marks-below@2.png")); } 1903scale.color.vertical:dir(ltr) slider:hover, 1904scale.vertical contents:first-child:not(:only-child) > trough > slider:hover { 1905background-position: calc(100% - 2px) center; } 1906scale.color.vertical:dir(ltr) slider:active, 1907scale.vertical contents:first-child:not(:only-child) > trough > slider:active { 1908background-position: calc(100% - 0px) center; } 1909scale.color.fine-tune.vertical:dir(ltr) slider, scale.vertical.fine-tune contents:first-child:not(:only-child) > trough > slider { 1910background-position: calc(100% - 6px) center; } 1911scale.color.vertical:dir(ltr) slider, 1912scale.vertical contents:first-child:not(:only-child) > trough > slider { 1913min-height: 24px; 1914min-width: 30px; 1915margin-right: -16px; 1916background-position: calc(100% - 4px) center; } 1917scale.color.vertical:dir(ltr) slider:disabled, 1918scale.vertical contents:first-child:not(:only-child) > trough > slider:disabled { 1919background-image: -gtk-scaled(url("assets/slider-vert-scale-has-marks-below-insensitive.png"), url("assets/slider-vert-scale-has-marks-below-insensitive@2.png")); } 1920scale.color.vertical:dir(ltr) slider:hover, 1921scale.vertical contents:first-child:not(:only-child) > trough > slider:hover { 1922background-position: calc(100% - 2px) center; } 1923scale.color.vertical:dir(ltr) slider:active, 1924scale.vertical contents:first-child:not(:only-child) > trough > slider:active { 1925background-position: calc(100% - 0px) center; } 1926scale.color.fine-tune.vertical:dir(ltr) slider, scale.vertical.fine-tune contents:first-child:not(:only-child) > trough > slider { 1927background-position: calc(100% - 6px) center; } 1928scale.color { 1929min-height: 0; 1930min-width: 0; } 1931scale.color.horizontal { 1932padding: 0 0 12px 0; } 1933scale.color.horizontal trough { 1934padding-bottom: 4px; } 1935scale.color.horizontal slider { 1936margin-bottom: -14px; 1937margin-top: 0; } 1938scale.color.vertical:dir(ltr) { 1939padding: 0 0 0 12px; } 1940scale.color.vertical:dir(ltr) trough { 1941padding-left: 4px; } 1942scale.color.vertical:dir(ltr) slider { 1943margin-left: -14px; 1944margin-right: 0; } 1945scale.color.vertical:dir(rtl) { 1946padding: 0 12px 0 0; } 1947scale.color.vertical:dir(rtl) trough { 1948padding-right: 4px; } 1949scale.color.vertical:dir(rtl) slider { 1950margin-right: -14px; 1951margin-left: 0; } 1952 1953/***************** 1954* Progress bars * 1955*****************/ 1956progressbar { 1957color: rgba(0, 0, 0, 0.48); 1958font-size: smaller; } 1959progressbar.horizontal trough, 1960progressbar.horizontal progress { 1961min-height: 4px; } 1962progressbar.vertical trough, 1963progressbar.vertical progress { 1964min-width: 4px; } 1965progressbar trough { 1966background-color: rgba(66, 165, 245, 0.3); } 1967progressbar progress { 1968background-color: #42A5F5; } 1969 1970/************* 1971* Level Bar * 1972*************/ 1973levelbar block { 1974min-width: 36px; 1975min-height: 4px; } 1976levelbar.vertical block { 1977min-width: 4px; 1978min-height: 36px; } 1979levelbar trough { 1980padding: 2px; 1981border-radius: 2px; 1982transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 1983border-image: none; 1984box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 1985background-color: #FFFFFF; 1986color: rgba(0, 0, 0, 0.8); } 1987levelbar trough:disabled { 1988box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); 1989background-color: #fafafa; 1990color: rgba(0, 0, 0, 0.32); } 1991levelbar.horizontal.discrete block { 1992margin: 0 1px; } 1993levelbar.vertical.discrete block { 1994margin: 1px 0; } 1995levelbar.horizontal.discrete trough { 1996padding: 2px 1px; } 1997levelbar.vertical.discrete trough { 1998padding: 1px 2px; } 1999levelbar block.low { 2000background-color: #FF6D00; } 2001levelbar block.high, levelbar block:not(.empty) { 2002background-color: #42A5F5; } 2003levelbar block.full { 2004background-color: #00C853; } 2005levelbar block.empty { 2006background-color: alpha(currentColor, 0.3); 2007color: rgba(0, 0, 0, 0.32); } 2008 2009/**************** 2010* Print dialog * 2011*****************/ 2012printdialog paper { 2013padding: 0; 2014border: 1px solid rgba(0, 0, 0, 0.1); 2015background: #FFFFFF; 2016color: rgba(0, 0, 0, 0.8); } 2017printdialog .dialog-action-box { 2018margin: 12px; } 2019 2020/********** 2021* Frames * 2022**********/ 2023frame > border, 2024.frame { 2025margin: 0; 2026padding: 0; 2027border: 1px solid rgba(0, 0, 0, 0.1); 2028border-radius: 0; 2029box-shadow: none; } 2030frame > border.flat, 2031.frame.flat { 2032border-style: none; } 2033 2034actionbar > revealer > box { 2035padding: 6px; 2036border-top: 1px solid rgba(0, 0, 0, 0.1); } 2037 2038scrolledwindow viewport.frame { 2039border-style: none; } 2040scrolledwindow overshoot.top { 2041background-image: -gtk-gradient(radial, center top, 0, center top, 0.75, to(rgba(64, 196, 255, 0.3)), to(transparent)); 2042background-repeat: no-repeat; 2043background-position: center top; 2044background-color: transparent; 2045border: none; 2046box-shadow: none; } 2047scrolledwindow overshoot.bottom { 2048background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.75, to(rgba(64, 196, 255, 0.3)), to(transparent)); 2049background-repeat: no-repeat; 2050background-position: center bottom; 2051background-color: transparent; 2052border: none; 2053box-shadow: none; } 2054scrolledwindow overshoot.left { 2055background-image: -gtk-gradient(radial, left center, 0, left center, 0.75, to(rgba(64, 196, 255, 0.3)), to(transparent)); 2056background-repeat: no-repeat; 2057background-position: left center; 2058background-color: transparent; 2059border: none; 2060box-shadow: none; } 2061scrolledwindow overshoot.right { 2062background-image: -gtk-gradient(radial, right center, 0, right center, 0.75, to(rgba(64, 196, 255, 0.3)), to(transparent)); 2063background-repeat: no-repeat; 2064background-position: right center; 2065background-color: transparent; 2066border: none; 2067box-shadow: none; } 2068scrolledwindow undershoot.top { 2069background-color: transparent; 2070background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.24) 50%); 2071padding-top: 1px; 2072background-size: 12px 1px; 2073background-repeat: repeat-x; 2074background-origin: content-box; 2075background-position: left top; } 2076scrolledwindow undershoot.bottom { 2077background-color: transparent; 2078background-image: linear-gradient(to left, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.24) 50%); 2079padding-bottom: 1px; 2080background-size: 12px 1px; 2081background-repeat: repeat-x; 2082background-origin: content-box; 2083background-position: left bottom; } 2084scrolledwindow undershoot.left { 2085background-color: transparent; 2086background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.24) 50%); 2087padding-left: 1px; 2088background-size: 1px 12px; 2089background-repeat: repeat-y; 2090background-origin: content-box; 2091background-position: left top; } 2092scrolledwindow undershoot.right { 2093background-color: transparent; 2094background-image: linear-gradient(to top, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0.24) 50%); 2095padding-right: 1px; 2096background-size: 1px 12px; 2097background-repeat: repeat-y; 2098background-origin: content-box; 2099background-position: right top; } 2100scrolledwindow junction { 2101border-style: solid none none solid; 2102border-width: 1px; 2103border-color: rgba(0, 0, 0, 0.1); 2104background-color: #FFFFFF; } 2105scrolledwindow junction:dir(rtl) { 2106border-style: solid solid none none; } 2107 2108separator { 2109min-width: 1px; 2110min-height: 1px; 2111background: rgba(0, 0, 0, 0.1); } 2112 2113/********* 2114* Lists * 2115*********/ 2116list { 2117border-color: rgba(0, 0, 0, 0.1); 2118background-color: #FFFFFF; } 2119list row { 2120padding: 2px; } 2121 2122row { 2123transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; } 2124row:hover { 2125transition: none; } 2126row.activatable, .view, iconview, treeview.view header button { 2127background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0) 100%, transparent 0%), image(alpha(currentColor, 0)); } 2128row.activatable:hover, .view:hover, iconview:hover, treeview.view header button:hover { 2129background-image: radial-gradient(circle farthest-corner at center, alpha(currentColor, 0) 100%, transparent 0%), image(alpha(currentColor, 0.05)); } 2130row.activatable.has-open-popup, .has-open-popup.view, iconview.has-open-popup, treeview.view header button.has-open-popup, row.activatable:active, .view:active, iconview:active, treeview.view header button:active { 2131transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, background-image 0; 2132animation: row_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1) forwards; } 2133 2134/********************* 2135* App Notifications * 2136*********************/ 2137.app-notification, 2138.app-notification.frame { 2139margin: 8px; } 2140.app-notification border, 2141.app-notification.frame border { 2142border: none; } 2143 2144/************* 2145* Expanders * 2146*************/ 2147expander arrow { 2148transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 2149min-width: 16px; 2150min-height: 16px; 2151-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); 2152-gtk-icon-transform: rotate(-90deg); 2153color: rgba(0, 0, 0, 0.6); } 2154expander arrow:dir(rtl) { 2155-gtk-icon-transform: rotate(90deg); } 2156expander arrow:checked { 2157-gtk-icon-transform: unset; } 2158expander arrow:hover, expander arrow:active { 2159color: rgba(0, 0, 0, 0.8); } 2160expander arrow:disabled { 2161color: rgba(0, 0, 0, 0.24); } 2162expander arrow:selected { 2163color: rgba(255, 255, 255, 0.75); } 2164expander arrow:selected:hover, expander arrow:selected:active { 2165color: #FFFFFF; } 2166expander arrow:selected:disabled { 2167color: rgba(255, 255, 255, 0.3); } 2168 2169/************ 2170* Calendar * 2171***********/ 2172calendar { 2173padding: 1px; 2174border: 1px solid rgba(0, 0, 0, 0.1); 2175color: rgba(0, 0, 0, 0.8); } 2176calendar:disabled { 2177color: rgba(0, 0, 0, 0.32); } 2178calendar:selected { 2179border-radius: 3px; } 2180calendar.header { 2181border-style: none none solid; 2182border-radius: 0; } 2183calendar.highlight { 2184color: alpha(currentColor, 0.6); 2185font-weight: 500; } 2186calendar:indeterminate { 2187color: alpha(currentColor, 0.4); } 2188 2189/*********** 2190* Dialogs * 2191***********/ 2192messagedialog.background { 2193background-color: #FAFAFA; } 2194messagedialog .titlebar { 2195min-height: 24px; 2196border-style: none; 2197box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); 2198background-color: #FAFAFA; } 2199messagedialog.csd.background { 2200border-bottom-left-radius: 2px; 2201border-bottom-right-radius: 2px; } 2202messagedialog.csd .dialog-action-area button { 2203padding: 8px 16px; 2204border-top: 1px solid rgba(0, 0, 0, 0.1); 2205border-radius: 0; } 2206messagedialog.csd .dialog-action-area button:first-child { 2207border-bottom-left-radius: 2px; } 2208messagedialog.csd .dialog-action-area button:last-child { 2209border-bottom-right-radius: 2px; } 2210 2211filechooser .dialog-action-box { 2212border-top: 1px solid rgba(0, 0, 0, 0.1); } 2213filechooser #pathbarbox { 2214border-bottom: 1px solid rgba(0, 0, 0, 0.1); } 2215 2216filechooserbutton:drop(active) { 2217box-shadow: none; } 2218 2219/*********** 2220* Sidebar * 2221***********/ 2222.sidebar { 2223border-style: none; 2224background-color: #FAFAFA; } 2225stacksidebar.sidebar:dir(ltr) list, stacksidebar.sidebar.left list, stacksidebar.sidebar.left:dir(rtl) list, .sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { 2226border-right: 1px solid rgba(0, 0, 0, 0.1); 2227border-left-style: none; } 2228stacksidebar.sidebar:dir(rtl) list 2229.sidebar:dir(rtl), stacksidebar.sidebar.right list 2230.sidebar:dir(rtl), .sidebar.right { 2231border-left: 1px solid rgba(0, 0, 0, 0.1); 2232border-right-style: none; } 2233.sidebar list { 2234background-color: transparent; } 2235paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { 2236border-style: none; } 2237 2238stacksidebar row { 2239padding: 10px 4px; } 2240stacksidebar row > label { 2241padding-left: 6px; 2242padding-right: 6px; } 2243 2244/**************** 2245* File chooser * 2246****************/ 2247placessidebar > viewport.frame { 2248border-style: none; } 2249placessidebar row { 2250min-height: 32px; 2251padding: 0; } 2252placessidebar row > revealer { 2253padding: 0 12px; } 2254placessidebar row:selected { 2255color: #FFFFFF; } 2256placessidebar row:disabled { 2257color: rgba(0, 0, 0, 0.32); } 2258placessidebar row image.sidebar-icon { 2259opacity: 0.6; } 2260placessidebar row image.sidebar-icon:dir(ltr) { 2261padding-right: 8px; } 2262placessidebar row image.sidebar-icon:dir(rtl) { 2263padding-left: 8px; } 2264placessidebar row label.sidebar-label:dir(ltr) { 2265padding-right: 2px; } 2266placessidebar row label.sidebar-label:dir(rtl) { 2267padding-left: 2px; } 2268button.sidebar-button { 2269min-height: 24px; 2270min-width: 24px; 2271margin-top: 0; 2272margin-bottom: 0; 2273padding: 0; 2274border-radius: 100%; 2275-gtk-outline-radius: 100%; } 2276placessidebar row.sidebar-placeholder-row { 2277min-height: 2px; 2278padding: 0 8px; 2279background-image: image(#FF4081); 2280background-clip: content-box; } 2281placessidebar row.sidebar-new-bookmark-row { 2282color: #FF4081; } 2283placessidebar row:drop(active):not(:disabled) { 2284box-shadow: inset 0 0 0 2px #FF4081; } 2285 2286placesview .server-list-button > image { 2287-gtk-icon-transform: rotate(0turn); } 2288placesview .server-list-button:checked > image { 2289-gtk-icon-transform: rotate(-0.5turn); } 2290placesview > actionbar > revealer > box > label { 2291padding-left: 8px; 2292padding-right: 8px; } 2293 2294/********* 2295* Paned * 2296*********/ 2297paned > separator { 2298min-width: 1px; 2299min-height: 1px; 2300-gtk-icon-source: none; 2301border-style: none; 2302background-color: transparent; 2303background-image: image(rgba(0, 0, 0, 0.1)); 2304background-size: 1px 1px; } 2305paned > separator.wide { 2306min-width: 6px; 2307min-height: 6px; 2308background-color: #F5F5F5; 2309background-image: image(rgba(0, 0, 0, 0.1)), image(rgba(0, 0, 0, 0.1)); 2310background-size: 1px 1px, 1px 1px; } 2311paned.horizontal > separator { 2312background-repeat: repeat-y; } 2313paned.horizontal > separator:dir(ltr) { 2314margin: 0 -8px 0 0; 2315padding: 0 8px 0 0; 2316background-position: left; } 2317paned.horizontal > separator:dir(rtl) { 2318margin: 0 0 0 -8px; 2319padding: 0 0 0 8px; 2320background-position: right; } 2321paned.horizontal > separator.wide { 2322margin: 0; 2323padding: 0; 2324background-repeat: repeat-y, repeat-y; 2325background-position: left, right; } 2326paned.vertical > separator { 2327margin: 0 0 -8px 0; 2328padding: 0 0 8px 0; 2329background-repeat: repeat-x; 2330background-position: top; } 2331paned.vertical > separator.wide { 2332margin: 0; 2333padding: 0; 2334background-repeat: repeat-x, repeat-x; 2335background-position: bottom, top; } 2336 2337/************** 2338* GtkInfoBar * 2339**************/ 2340infobar { 2341border-style: none; } 2342 2343.info { 2344background-color: #66BB6A; } 2345 2346.question { 2347background-color: #42A5F5; } 2348 2349.warning { 2350background-color: #FFA726; } 2351 2352.error { 2353background-color: #EF5350; } 2354 2355.info, 2356.question, 2357.warning, 2358.error { 2359color: #FFFFFF; } 2360 2361/************ 2362* Tooltips * 2363************/ 2364tooltip { 2365border-radius: 2px; 2366box-shadow: none; } 2367tooltip.background { 2368background-color: rgba(255, 255, 255, 0.9); } 2369tooltip decoration { 2370background-color: transparent; } 2371tooltip label { 2372min-height: 20px; 2373padding: 2px 2px; } 2374tooltip * { 2375padding: 0; 2376background-color: transparent; 2377color: inherit; } 2378 2379/***************** 2380* Color Chooser * 2381*****************/ 2382colorswatch.top { 2383border-top-left-radius: 2.5px; 2384border-top-right-radius: 2.5px; } 2385colorswatch.top overlay { 2386border-top-left-radius: 2px; 2387border-top-right-radius: 2px; } 2388colorswatch.bottom { 2389border-bottom-left-radius: 2.5px; 2390border-bottom-right-radius: 2.5px; } 2391colorswatch.bottom overlay { 2392border-bottom-left-radius: 2px; 2393border-bottom-right-radius: 2px; } 2394colorswatch.left, colorswatch:first-child:not(.top) { 2395border-top-left-radius: 2.5px; 2396border-bottom-left-radius: 2.5px; } 2397colorswatch.left overlay, colorswatch:first-child:not(.top) overlay { 2398border-top-left-radius: 2px; 2399border-bottom-left-radius: 2px; } 2400colorswatch.right, colorswatch:last-child:not(.bottom) { 2401border-top-right-radius: 2.5px; 2402border-bottom-right-radius: 2.5px; } 2403colorswatch.right overlay, colorswatch:last-child:not(.bottom) overlay { 2404border-top-right-radius: 2px; 2405border-bottom-right-radius: 2px; } 2406colorswatch.dark overlay { 2407color: white; } 2408colorswatch.light overlay { 2409color: rgba(0, 0, 0, 0.8); } 2410colorswatch.dark { 2411color: white; } 2412colorswatch.light { 2413color: rgba(0, 0, 0, 0.8); } 2414colorswatch:drop(active) { 2415box-shadow: none; } 2416colorswatch:drop(active).light overlay { 2417box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), 0 0 0 2px #FF4081; } 2418colorswatch:drop(active).dark overlay { 2419box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), 0 0 0 2px #FF4081; } 2420colorswatch overlay { 2421transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 2422box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } 2423colorswatch overlay:hover { 2424box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); } 2425colorswatch#add-color-button { 2426border-radius: 2px 2px 0 0; 2427color: white; } 2428colorswatch#add-color-button:only-child { 2429border-radius: 2px; } 2430colorswatch#add-color-button overlay { 2431background-image: linear-gradient(to right, #EF5350 25%, #FFA726 25%, #FFA726 50%, #66BB6A 50%, #66BB6A 75%, #42A5F5 75%); 2432color: white; } 2433colorswatch:disabled { 2434opacity: 0.4; } 2435colorswatch:disabled overlay { 2436box-shadow: none; } 2437colorswatch#editor-color-sample { 2438border-radius: 2.5px; } 2439colorswatch#editor-color-sample overlay { 2440border-radius: 2px; } 2441 2442colorchooser .popover.osd { 2443transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 2444border-radius: 2px; 2445box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); 2446background-color: #FFFFFF; } 2447colorchooser .popover.osd:backdrop { 2448box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } 2449 2450/******** 2451* Misc * 2452********/ 2453.content-view { 2454background-color: #F5F5F5; } 2455 2456/********************** 2457* Window Decorations * 2458*********************/ 2459decoration { 2460transition: box-shadow 0.2s cubic-bezier(0, 0, 0.2, 1); 2461border-radius: 2px 2px 0 0; 2462box-shadow: 0 14px 14px rgba(0, 0, 0, 0.25), 0 10px 5px rgba(0, 0, 0, 0.22), 0 16px 16px transparent; 2463margin: 8px; } 2464decoration:backdrop { 2465box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23), 0 16px 16px transparent; } 2466.maximized decoration, .fullscreen decoration, .tiled decoration { 2467border-radius: 0; } 2468.popup decoration { 2469box-shadow: none; } 2470.ssd decoration { 2471box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16); } 2472.csd.popup decoration { 2473border-radius: 2px; 2474box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); } 2475tooltip.csd decoration { 2476border-radius: 2px; 2477box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16), 0 3px 3px rgba(0, 0, 0, 0.23); } 2478messagedialog.csd decoration { 2479border-radius: 2px; } 2480.solid-csd decoration { 2481margin: 0; 2482padding: 4px; 2483border-radius: 0; 2484box-shadow: inset 0 0 0 3px #455A64, inset 0 1px rgba(255, 255, 255, 0.2); 2485background-color: rgba(0, 0, 0, 0.1); } 2486 2487.view:selected, iconview:selected, .view text selection, iconview text selection, 2488textview text selection, flowbox flowboxchild:selected, spinbutton:not(.vertical) selection, notebook > stack:not(:only-child) revealer entry selection, 2489notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) selection, 2490entry selection, modelbutton.flat:selected, 2491.menuitem.button.flat:selected, row:selected, calendar:selected { 2492background-color: #42A5F5; } 2493row:selected label, label:selected, .view:selected, iconview:selected, .view text selection, iconview text selection, 2494textview text selection, flowbox flowboxchild:selected, spinbutton:not(.vertical) selection, notebook > stack:not(:only-child) revealer entry selection, 2495notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) selection, 2496entry selection, modelbutton.flat:selected, 2497.menuitem.button.flat:selected, row:selected, calendar:selected { 2498color: #FFFFFF; } 2499row:selected label:disabled, label:disabled:selected, .view:disabled:selected, iconview:disabled:selected, .view text selection:disabled, iconview text selection:disabled, 2500textview text selection:disabled, flowbox flowboxchild:disabled:selected, label:disabled selection, spinbutton:not(.vertical) selection:disabled, notebook > stack:not(:only-child) revealer entry selection:disabled, 2501notebook > stack:not(:only-child) revealer spinbutton:not(.vertical) selection:disabled, 2502entry selection:disabled, modelbutton.flat:disabled:selected, 2503.menuitem.button.flat:disabled:selected, row:disabled:selected, calendar:disabled:selected { 2504color: rgba(255, 255, 255, 0.4); } 2505 2506.monospace { 2507font-family: monospace; } 2508 2509/********************** 2510* Touch Copy & Paste * 2511*********************/ 2512cursor-handle { 2513border-radius: 100px; 2514background-color: #FF4081; 2515background-image: none; } 2516cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) { 2517padding-left: 6px; 2518border-top-right-radius: 0; } 2519cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) { 2520padding-right: 6px; 2521border-top-left-radius: 0; } 2522cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) { 2523-GtkWidget-text-handle-width: 24; 2524-GtkWidget-text-handle-height: 30; 2525-gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above.png"), url("assets/slider-horz-scale-has-marks-above@2.png")); } 2526 2527.context-menu { 2528font: initial; } 2529 2530button.circular { 2531border-radius: 100px; 2532-gtk-outline-radius: 100px; } 2533button.circular label { 2534padding: 0; } 2535 2536.keycap { 2537min-width: 12px; 2538min-height: 26px; 2539margin-top: 2px; 2540padding-bottom: 2px; 2541padding-left: 8px; 2542padding-right: 8px; 2543border: solid 1px rgba(0, 0, 0, 0.1); 2544border-radius: 3px; 2545box-shadow: inset 0 -2px rgba(0, 0, 0, 0.1); 2546background-color: #FFFFFF; 2547color: rgba(0, 0, 0, 0.8); 2548font-size: smaller; } 2549 2550*:drop(active) { 2551transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0; 2552box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24), inset 0 0 0 2px #FF4081; 2553caret-color: #FF4081; } 2554 2555stackswitcher button.text-button { 2556min-width: 100px; } 2557 2558stackswitcher button.circular, 2559stackswitcher button.text-button.circular { 2560min-width: 36px; 2561min-height: 36px; 2562padding: 0; } 2563 2564.floating-bar { 2565min-height: 32px; 2566padding: 0; 2567border-style: solid solid none; 2568border-width: 1px; 2569border-color: rgba(0, 0, 0, 0.1); 2570border-radius: 3px 3px 0 0; 2571background-color: #FFFFFF; 2572background-clip: padding-box; 2573transition: all 0.3s cubic-bezier(0, 0, 0.2, 1), color 0, border-width 0; } 2574.floating-bar.left { 2575margin-right: 7px; 2576border-left-style: none; 2577border-top-left-radius: 0; } 2578.floating-bar.right { 2579margin-left: 7px; 2580border-right-style: none; 2581border-top-right-radius: 0; } 2582.floating-bar button { 2583min-height: 24px; 2584min-width: 24px; 2585margin: 4px; 2586padding: 0; } 2587 2588/************ 2589* Nautilus * 2590************/ 2591.nautilus-window, 2592.nautilus-window notebook, 2593.nautilus-window notebook > stack { 2594background: #FFFFFF; } 2595 2596.nautilus-desktop-window, 2597.nautilus-desktop-window notebook, 2598.nautilus-desktop-window notebook > stack { 2599background: transparent; } 2600 2601.nautilus-desktop.nautilus-canvas-item { 2602color: #FFFFFF; 2603text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } 2604 2605.nautilus-desktop.nautilus-canvas-item:selected { 2606text-shadow: none; } 2607 2608@keyframes needs_attention_keyframes { 26090% { 2610background-color: transparent; } 261150% { 2612background-color: alpha(currentColor, 0.3); } 2613100% { 2614background-color: transparent; } } 2615.nautilus-operations-button-needs-attention { 2616color: #FF4081; 2617animation: needs_attention_keyframes 2s cubic-bezier(0.4, 0, 0.2, 1); } 2618 2619.nautilus-operations-button-needs-attention-multiple { 2620color: #FF4081; 2621animation: needs_attention_keyframes 2s cubic-bezier(0.4, 0, 0.2, 1); 2622animation-iteration-count: 2; } 2623 2624.disk-space-display.unknown { 2625background-color: #FF6D00; } 2626 2627.disk-space-display.used { 2628background-color: #42A5F5; } 2629 2630.disk-space-display.free { 2631background-color: alpha(currentColor, 0.3); 2632color: rgba(0, 0, 0, 0.32); } 2633 2634.documents-entry-tag { 2635margin: 3px -2px 3px 8px; 2636padding: 0 8px; 2637border-radius: 100px; 2638box-shadow: none; 2639background-color: #42A5F5; 2640color: #FFFFFF; } 2641.documents-entry-tag:hover { 2642box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } 2643 2644.documents-entry-tag.button { 2645margin: 0 -2px; 2646padding: 4px; 2647border-radius: 100px; 2648box-shadow: none; 2649color: rgba(255, 255, 255, 0.75); } 2650.documents-entry-tag.button:hover, .documents-entry-tag.button:active { 2651color: #FFFFFF; } 2652 2653.nautilus-window searchbar { 2654border-top: 1px solid rgba(0, 0, 0, 0.1); } 2655 2656.nautilus-window .searchbar-container { 2657margin-top: -1px; } 2658 2659/********* 2660* gedit * 2661*********/ 2662/* Only normal state is handle */ 2663.open-document-selector-name-label { 2664font-weight: bold; } 2665 2666/* Only normal state is handle */ 2667.open-document-selector-path-label { 2668color: alpha(currentColor, 0.6); 2669font-size: smaller; } 2670 2671.gedit-document-panel { 2672background-color: #FAFAFA; } 2673 2674.gedit-document-panel-group-row, 2675.gedit-document-panel-group-row:hover { 2676border-top: 1px solid alpha(currentColor, 0.3); } 2677 2678.gedit-document-panel-group-row:first-child, 2679.gedit-document-panel-group-row:first-child:hover { 2680border-top: 0px; } 2681 2682/* Try to look as the notebook tab close button */ 2683.gedit-document-panel row button.flat { 2684min-height: 24px; 2685min-width: 24px; 2686padding: 0; 2687margin-top: 8px; 2688margin-bottom: 8px; } 2689 2690statusbar { 2691border-top: 1px solid rgba(0, 0, 0, 0.1); } 2692 2693.gedit-search-slider { 2694margin: 4px 4px 8px; } 2695.gedit-search-slider .gedit-search-entry-occurrences-tag { 2696all: unset; 2697padding: 0 4px; 2698color: alpha(currentColor, 0.6); } 2699.gedit-search-slider entry:dir(ltr) { 2700margin-right: -72px; 2701padding-right: 80px; } 2702.gedit-search-slider entry:dir(ltr) .gedit-search-entry-occurrences-tag { 2703margin-right: -8px; } 2704.gedit-search-slider entry:dir(rtl) { 2705margin-left: -72px; 2706padding-left: 80px; } 2707.gedit-search-slider entry:dir(rtl) .gedit-search-entry-occurrences-tag { 2708margin-left: -8px; } 2709 2710.gedit-search-slider .linked:not(.vertical) > entry, 2711notebook > stack:not(:only-child) revealer .gedit-search-slider .linked:not(.vertical) > entry { 2712border-radius: 2px; } 2713 2714/*********** 2715* Firefox * 2716***********/ 2717menubar { 2718color: rgba(255, 255, 255, 0.75); } 2719menubar:hover { 2720color: #FFFFFF; } 2721 2722separator { 2723color: rgba(0, 0, 0, 0.1); } 2724 2725/* FIXME: not working */ 2726window.background > widget > check, 2727window.background > widget > radio { 2728margin: 0; 2729padding: 0; } 2730 2731window.background > widget > radio:checked { 2732-gtk-icon-source: image(-gtk-recolor(url("assets/radio-checked-symbolic.svg")), -gtk-recolor(url("assets/radio-checked-symbolic.png"))); 2733border-image: none; } 2734 2735/*********** 2736* Synapse * 2737***********/ 2738box > widget > widget:selected { 2739background-color: #42A5F5; } 2740 2741/* GTK NAMED COLORS 2742---------------- 2743use responsibly! */ 2744/* 2745widget text/foreground color */ 2746@define-color theme_fg_color rgba(0, 0, 0, 0.8); 2747/* 2748text color for entries, views and content in general */ 2749@define-color theme_text_color rgba(0, 0, 0, 0.8); 2750/* 2751widget base background color */ 2752@define-color theme_bg_color #F5F5F5; 2753/* 2754text widgets and the like base background color */ 2755@define-color theme_base_color #FFFFFF; 2756/* 2757base background color of selections */ 2758@define-color theme_selected_bg_color #42A5F5; 2759/* 2760text/foreground color of selections */ 2761@define-color theme_selected_fg_color #FFFFFF; 2762/* 2763base background color of insensitive widgets */ 2764@define-color insensitive_bg_color #F5F5F5; 2765/* 2766text foreground color of insensitive widgets */ 2767@define-color insensitive_fg_color rgba(0, 0, 0, 0.32); 2768/* 2769insensitive text widgets and the like base background color */ 2770@define-color insensitive_base_color #fafafa; 2771/* 2772widget text/foreground color on backdrop windows */ 2773@define-color theme_unfocused_fg_color rgba(0, 0, 0, 0.8); 2774/* 2775text color for entries, views and content in general on backdrop windows */ 2776@define-color theme_unfocused_text_color rgba(0, 0, 0, 0.8); 2777/* 2778widget base background color on backdrop windows */ 2779@define-color theme_unfocused_bg_color #F5F5F5; 2780/* 2781text widgets and the like base background color on backdrop windows */ 2782@define-color theme_unfocused_base_color #FFFFFF; 2783/* 2784base background color of selections on backdrop windows */ 2785@define-color theme_unfocused_selected_bg_color #42A5F5; 2786/* 2787text/foreground color of selections on backdrop windows */ 2788@define-color theme_unfocused_selected_fg_color #FFFFFF; 2789/* 2790insensitive color on backdrop windows*/ 2791@define-color unfocused_insensitive_color rgba(0, 0, 0, 0.32); 2792/* 2793widgets main borders color */ 2794@define-color borders rgba(0, 0, 0, 0.1); 2795/* 2796widgets main borders color on backdrop windows */ 2797@define-color unfocused_borders rgba(0, 0, 0, 0.1); 2798/* 2799these are pretty self explicative */ 2800@define-color warning_color #FF6D00; 2801@define-color error_color #DD2C00; 2802@define-color success_color #00C853; 2803@define-color content_view_bg #FFFFFF; 2804