2014-12-08 19:12:07 +00:00
|
|
|
@import "button";
|
2014-12-08 18:28:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*********
|
|
|
|
! Infobar
|
|
|
|
**********/
|
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
@include exports("infobar") {
|
2015-08-06 19:39:22 +00:00
|
|
|
GtkInfoBar {
|
2015-08-06 23:10:35 +00:00
|
|
|
border: 0;
|
2014-12-08 18:28:57 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
$types: (
|
2015-08-06 23:29:32 +00:00
|
|
|
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),
|
2015-08-06 19:39:22 +00:00
|
|
|
);
|
2014-12-08 18:28:57 +00:00
|
|
|
|
|
|
|
|
2015-08-06 19:39:22 +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
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&.#{$type} {
|
|
|
|
@include linear-gradient($bg_color);
|
2014-12-14 12:22:13 +00:00
|
|
|
|
2015-08-06 23:10:35 +00:00
|
|
|
border: 1px solid shade($bg_color, .8);
|
2015-08-06 19:39:22 +00:00
|
|
|
color: $fg_color;
|
2014-12-08 18:28:57 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
.button {
|
|
|
|
@include button($bg_color, $fg_color);
|
2014-12-08 18:28:57 +00:00
|
|
|
|
2015-08-06 19:39:22 +00:00
|
|
|
&.close { @extend %close_button; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-08 18:28:57 +00:00
|
|
|
}
|