aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/application/_flash.scss
blob: f168e689247a981f65679320560b1b0e69231fa7 (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
/*
 * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
 *
 * SPDX-License-Identifier: LAL-1.3
 */

/*
  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);
    }
}