From a8ddb5d8e40547675e7eeee73a1685d98e9dcf1d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Jul 2017 18:20:40 +0100 Subject: rebase Redcore gtk theme on Numix --- .../gtk-3.20/scss/widgets/_infobar.scss | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Redcore-nighttime/gtk-3.20/scss/widgets/_infobar.scss (limited to 'Redcore-nighttime/gtk-3.20/scss/widgets/_infobar.scss') diff --git a/Redcore-nighttime/gtk-3.20/scss/widgets/_infobar.scss b/Redcore-nighttime/gtk-3.20/scss/widgets/_infobar.scss new file mode 100644 index 0000000..bf82db2 --- /dev/null +++ b/Redcore-nighttime/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; } + } + } + } + } +} -- cgit v1.2.3