summaryrefslogtreecommitdiff
path: root/Redcore-nighttime/gtk-3.0/scss/widgets/_infobar.scss
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-07-18 18:20:40 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-07-18 18:20:40 +0100
commita8ddb5d8e40547675e7eeee73a1685d98e9dcf1d (patch)
tree01c147bff11033474dd0b25e9847f5fe8a204bf1 /Redcore-nighttime/gtk-3.0/scss/widgets/_infobar.scss
parent51afec664aa937c421d042b0e48e7e9fc4c5d217 (diff)
rebase Redcore gtk theme on Numix
Diffstat (limited to 'Redcore-nighttime/gtk-3.0/scss/widgets/_infobar.scss')
-rw-r--r--Redcore-nighttime/gtk-3.0/scss/widgets/_infobar.scss38
1 files changed, 38 insertions, 0 deletions
diff --git a/Redcore-nighttime/gtk-3.0/scss/widgets/_infobar.scss b/Redcore-nighttime/gtk-3.0/scss/widgets/_infobar.scss
new file mode 100644
index 0000000..6f5865b
--- /dev/null
+++ b/Redcore-nighttime/gtk-3.0/scss/widgets/_infobar.scss
@@ -0,0 +1,38 @@
+@import "button";
+
+
+/*********
+ ! Infobar
+**********/
+
+@include exports("infobar") {
+ GtkInfoBar {
+ 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} {
+ @include linear-gradient($bg_color);
+
+ border: 1px solid shade($bg_color, .8);
+ color: $fg_color;
+
+ .button {
+ @include button($bg_color, $fg_color);
+
+ &.close { @extend %close_button; }
+ }
+ }
+ }
+}