Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_alert.scss « components « sass « assets - github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 68827ac68e565eb162a716a3dd47bc8407cb37be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.alert {
    padding: 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.125rem;

    @include themify($themes) {
        &-info {
            background-color: rgba(215, 238, 249, 0.4);
            color: themed('body-color');

            &[data-dir="rtl"] {
                border-right: 5px solid #bbdefb;
            }

            &[data-dir="ltr"] {
                border-left: 5px solid #bbdefb;
            }
        }

        &-success {
            background-color: rgba(217, 239, 214, 0.4);
            color: themed('body-color');

            &[data-dir="rtl"] {
                border-right: 5px solid #c8e6c9;
            }

            &[data-dir="ltr"] {
                border-left: 5px solid #c8e6c9;
            }
        }

        &-warning {
            background-color: rgba(255, 249, 196, 0.4);
            color: themed('body-color');

            &[data-dir="rtl"] {
                border-right: 5px solid #ffeb3b;
            }

            &[data-dir="ltr"] {
                border-left: 5px solid #ffeb3b;
            }
        }

        &-danger {
            background-color: rgba(245, 221, 221, 0.4);
            color: themed('body-color');

            &[data-dir="rtl"] {
                border-right: 5px solid #ffcdd2;
            }

            &[data-dir="ltr"] {
                border-left: 5px solid #ffcdd2;
            }
        }
    }
}