~ozonos/ozon-gtk-theme/master

« back to all changes in this revision

Viewing changes to gtk-3.0/scss/widgets/_infobar.scss

  • Committer: Satyajit Sahoo
  • Date: 2015-05-22 16:28:34 UTC
  • Revision ID: git-v1:f6ead24b69fe7c0a411b920131b84a9313ec7d43
Change indentation to spaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
**********/
7
7
 
8
8
@include exports("infobar") {
9
 
        GtkInfoBar {
10
 
                border: none;
11
 
 
12
 
                $types: (
13
 
                        info: ( $info_fg_color, $info_bg_color ),
14
 
                        warning: ( $warning_fg_color, $warning_bg_color ),
15
 
                        question: ( $question_fg_color, $question_bg_color ),
16
 
                        error: ( $error_fg_color, $error_bg_color ),
17
 
                );
18
 
 
19
 
 
20
 
                @each $type, $colors in $types {
21
 
                        $fg_color: nth($colors, 1);
22
 
                        $bg_color: nth($colors, 2);
23
 
 
24
 
                        &.#{$type} {
25
 
                                @include linear-gradient($bg_color);
26
 
 
27
 
                                border: 1px solid shade($bg_color, 0.8);
28
 
                                color: $fg_color;
29
 
 
30
 
                                .button {
31
 
                                        @include button($bg_color, $fg_color);
32
 
 
33
 
                                        &.close { @extend %close_button; }
34
 
                                }
35
 
                        }
36
 
                }
37
 
        }
 
9
    GtkInfoBar {
 
10
        border: none;
 
11
 
 
12
        $types: (
 
13
            info: ( $info_fg_color, $info_bg_color ),
 
14
            warning: ( $warning_fg_color, $warning_bg_color ),
 
15
            question: ( $question_fg_color, $question_bg_color ),
 
16
            error: ( $error_fg_color, $error_bg_color ),
 
17
        );
 
18
 
 
19
 
 
20
        @each $type, $colors in $types {
 
21
            $fg_color: nth($colors, 1);
 
22
            $bg_color: nth($colors, 2);
 
23
 
 
24
            &.#{$type} {
 
25
                @include linear-gradient($bg_color);
 
26
 
 
27
                border: 1px solid shade($bg_color, 0.8);
 
28
                color: $fg_color;
 
29
 
 
30
                .button {
 
31
                    @include button($bg_color, $fg_color);
 
32
 
 
33
                    &.close { @extend %close_button; }
 
34
                }
 
35
            }
 
36
        }
 
37
    }
38
38
}