aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/application/_flash.scss
blob: c3737964b5b9b38cdd5adb4639733d7e88878d74 (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
/*
  FLASH
*/

#flashes {
    position: absolute;
    bottom: 2rem;
    right: 0;
    margin: 0 auto;
    width: 50%;
    min-width: 24rem;
    max-width: 64rem;
    max-height: 10rem;
    overflow: auto;
    padding: 0.25rem;
    z-index: 500;

    > span {
        display: block;
        padding: 0.5rem;
    }

    .alert {
        background-color: var(--danger-medium);
    }
    .notice {
        background-color: var(--highlight-low);
    }
}