aboutsummaryrefslogtreecommitdiff
path: root/Neutron-trunk/resources/css/alerts.css
blob: 12dc0fd61b285e57cc578cac16bdbc48e34ac2f7 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/* Toast message */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 99999999999999999999;
    left: 0;
    bottom: 0;
    width: 100%;
    width: calc(100% - 32px);
}

#snackbar.snackbar_show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 4.5s;
    animation: fadein 0.5s, fadeout 0.5s 4.5s;
}

@-webkit-keyframes fadein {
    from {bottom: -30px; opacity: 0;}
    to {bottom: 0px; opacity: 1;}
}
  
@keyframes fadein {
    from {bottom: -30px; opacity: 0;}
    to {bottom: 0px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 0px; opacity: 1;}
    to {bottom: -30px; opacity: 0;}
}
  
@keyframes fadeout {
    from {bottom: 0px; opacity: 1;}
    to {bottom: -30px; opacity: 0;}
}

/* Legacy dialogs */
pjse-placeholder {
    z-index: 99999999999999999999;
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    filter: blur(0);
}

pjse-window {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    display: block;
}

pjse-window-inner {
    background: white;
    color: black;
    padding: 10px 15px;
    border-radius: 10px;
    display: inline-block;
    text-align: left;
    padding-bottom: 20px;
    box-shadow: 1px 1px 12px black;
}

pjse-title {
    color: black;
    display: block;
    margin: 10px 0px;
    font-size: 16px;
    font-weight: bold;
}

pjse-message {
    color: black;
}

pjse-close {
    display: block;
    text-align: right;
}

pjse-close > span {
    text-align: right;
    color: #0bc7e8;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    background: transparent;
    transition: background 200ms;
    cursor: pointer;
}

pjse-close > span:hover {
    background: #0be1e83b;
}

pjse-close > span:active {
    background: #0bb4e862;
}

.pjse-blurry {
    filter: blur(5px);
}