Move widgets to separate folder

This commit is contained in:
Satyajit Sahoo
2014-12-20 01:14:22 +05:30
parent aab802efc3
commit 585d4e491d
20 changed files with 23 additions and 84 deletions
+38
View File
@@ -0,0 +1,38 @@
@import "button";
/*********
! Infobar
**********/
@include exports("infobar") {
GtkInfoBar {
border: none;
$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} {
@include linear-gradient($bg_color);
border: 1px solid shade($bg_color, 0.8);
color: $fg_color;
.button {
@include button($bg_color, $fg_color);
&.close { @extend %close_button; }
}
}
}
}
}