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