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