summaryrefslogtreecommitdiffstats
path: root/afb-client/bower_components/angular-ui-notification/src/angular-ui-notification.less
blob: 5b66b0156de3967a7e5bd27c596575efa0b2048d (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
@import "../bower_components/bootstrap/less/variables.less";
@import "../bower_components/bootstrap/less/mixins.less";


.ui-notification {
    position: fixed;
    z-index: 9999;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    width: 300px;
    color: @btn-primary-color;
    background: @brand-primary;
    .transition(all ease 0.5s);
    &.killed {
        opacity: 0;
        .transition(opacity ease 1s);
    }
    & > h3 {
        display: block;
        margin: 10px 10px 0 10px;
        padding: 0 0 5px 0;
        text-align: left;
        font-size: @font-size-base;
        font-weight: bold;
        border-bottom: 1px solid fadeout(@btn-primary-color, 70%);
    }
    & a {
        color: @btn-primary-color;
        &:hover {
            text-decoration: underline;
        }
    }
    & > .message {
        margin: 10px 10px 10px 10px;
    }
    &.warning {
        color: @btn-warning-color;
        background: @brand-warning;
    }
    &.error {
        color: @btn-danger-color;
        background: @brand-danger;
    }
    &.success {
        color: @btn-success-color;
        background: @brand-success;
    }
    &.info {
        color: @btn-info-color;
        background: @brand-info;
    }
    &:hover {
        opacity: 0.7;
    }
}