[Gtk-3.18][Gtk-3.20]Fix info,warning,question and error classes

This makes them available globally. Now gedit searchbar will turn red if the search items are not found!
pull/496/head
Khurshid Alam 2016-06-18 13:35:11 +05:30
parent a173892e7d
commit e43efdc90f
2 changed files with 34 additions and 34 deletions

View File

@ -8,6 +8,7 @@
@include exports("infobar") {
GtkInfoBar {
border: 0;
}
$types: (
info: ($info_fg_color, $info_bg_color),
@ -21,18 +22,17 @@
$fg_color: nth($colors, 1);
$bg_color: nth($colors, 2);
&.#{$type} {
.#{$type} {
@include linear-gradient($bg_color);
border: 1px solid shade($bg_color, .8);
color: $fg_color;
.button {
button {
@include button($bg_color, $fg_color);
&.close { @extend %close_button; }
}
}
}
}
}

View File

@ -8,6 +8,7 @@
@include exports("infobar") {
infobar {
border: 0;
}
$types: (
info: ($info_fg_color, $info_bg_color),
@ -21,7 +22,7 @@
$fg_color: nth($colors, 1);
$bg_color: nth($colors, 2);
&.#{$type} {
.#{$type} {
@include linear-gradient($bg_color);
border: 1px solid shade($bg_color, .8);
@ -34,5 +35,4 @@
}
}
}
}
}