123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /*********
- * Common *
- *********/
- @function gtkalpha($c,$a) {
- @return unquote("alpha(#{$c},#{$a})");
- }
- $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
- $asset_suffix: if($variant=='dark', '-dark', '');
- $backdrop_transition: 200ms ease-out;
- $button_transition: all 200ms $ease-out-quad;
- * {
- padding: 0;
- -GtkToolButton-icon-spacing: 4;
- -GtkTextView-error-underline-color: $error_color;
- // The size for scrollbars. The slider is 2px smaller, but we keep it
- // up so that the whole area is sensitive to button presses for the
- // slider. The stepper button is larger in both directions, the slider
- // only in the width
- -GtkScrolledWindow-scrollbar-spacing: 0;
- -GtkToolItemGroup-expander-size: 11;
- -GtkWidget-text-handle-width: 20;
- -GtkWidget-text-handle-height: 24;
- -GtkDialog-button-spacing: 4;
- -GtkDialog-action-area-border: 0;
- // We use the outline properties to signal the focus properties
- // to the adwaita engine: using real CSS properties is faster,
- // and we don't use any outlines for now.
- outline-color: transparentize($fg_color, 0.7);
- outline-style: dashed;
- outline-offset: -3px;
- outline-width: 1px;
- -gtk-outline-radius: 2px;
- -gtk-secondary-caret-color: $selected_bg_color;
- }
|