diff options
author | Jesús <heckyel@hyperbola.info> | 2019-08-23 23:50:54 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-08-23 23:50:54 -0500 |
commit | 033f79d5f73c0e3a15976e57fcf71c7d2e0aa79b (patch) | |
tree | d9351e6999294f3ed005e821695c3d081fe0b537 /src/gtk-3.20/scss/widgets/_infobar.scss | |
download | librix-033f79d5f73c0e3a15976e57fcf71c7d2e0aa79b.tar.lz librix-033f79d5f73c0e3a15976e57fcf71c7d2e0aa79b.tar.xz librix-033f79d5f73c0e3a15976e57fcf71c7d2e0aa79b.zip |
first commit
Diffstat (limited to 'src/gtk-3.20/scss/widgets/_infobar.scss')
-rw-r--r-- | src/gtk-3.20/scss/widgets/_infobar.scss | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/gtk-3.20/scss/widgets/_infobar.scss b/src/gtk-3.20/scss/widgets/_infobar.scss new file mode 100644 index 0000000..bf82db2 --- /dev/null +++ b/src/gtk-3.20/scss/widgets/_infobar.scss @@ -0,0 +1,41 @@ +@import "button"; + + +/********* + ! Infobar +**********/ + +@include exports("infobar") { + infobar { + border: 0; + + $types: ( + info: ($info_fg_color, $info_bg_color), + warning: ($warning_fg_color, $warning_bg_color), + question: ($question_fg_color, $question_bg_color), + error: ($error_fg_color, $error_bg_color), + ); + + @each $type, $colors in $types { + $fg_color: nth($colors, 1); + $bg_color: nth($colors, 2); + + &.#{$type} { + &, &:backdrop { // Backdrop button fix: https://github.com/numixproject/numix-gtk-theme/issues/544 + @include linear-gradient($bg_color); + + border: 1px solid shade($bg_color, .8); + caret-color: currentColor; + + label, & { color: $fg_color; } + } + + button { + @include button($bg_color, $fg_color); + + &.close { @extend %close_button; } + } + } + } + } +} |