numix-gtk-theme/gtk-3.0/scss/_infobar.scss

41 lines
721 B
SCSS
Raw Normal View History

2014-12-08 18:28:57 +00:00
@import "functions";
@import "global";
@import "button";
2014-12-08 18:28:57 +00:00
/*********
! Infobar
**********/
@include exports("infobar") {
GtkInfoBar {
border: none;
2014-12-08 18:28:57 +00:00
$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 ),
);
2014-12-08 18:28:57 +00:00
@each $type, $colors in $types {
$fg_color: nth($colors, 1);
$bg_color: nth($colors, 2);
2014-12-08 18:28:57 +00:00
&.#{$type} {
2014-12-14 12:22:13 +00:00
@include linear-gradient($bg_color);
border: 1px solid shade($bg_color, 0.8);
color: $fg_color;
2014-12-08 18:28:57 +00:00
.button {
@include button($bg_color, $fg_color);
2014-12-08 18:28:57 +00:00
&.close { @extend %close_button; }
}
2014-12-08 18:28:57 +00:00
}
}
}
}