Updating minified JavaScript files
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / ui / alert.scss
CommitLineData
b8eab696 1.error,
45433290 2.info,
ed8c9052
AE
3.success,
4.warning {
5 border-left: 5px solid transparent;
b8eab696 6 padding: 10px 20px;
521b8808 7 margin-top: 20px;
b8eab696
AE
8}
9
10.error {
ed8c9052
AE
11 background-color: $wcfStatusErrorBackground;
12 border-color: $wcfStatusErrorBorder;
13 color: $wcfStatusErrorText;
b8eab696
AE
14}
15
16.info {
ed8c9052
AE
17 background-color: $wcfStatusInfoBackground;
18 border-color: $wcfStatusInfoBorder;
19 color: $wcfStatusInfoText;
45433290
AE
20}
21
22.success {
ed8c9052
AE
23 background-color: $wcfStatusSuccessBackground;
24 border-color: $wcfStatusSuccessBorder;
25 color: $wcfStatusSuccessText;
26}
27
28.warning {
29 background-color: $wcfStatusWarningBackground;
30 border-color: $wcfStatusWarningBorder;
31 color: $wcfStatusWarningText;
45433290
AE
32}
33
59ab4d0f
MS
34.innerError,
35.innerInfo {
45433290
AE
36 display: table;
37 line-height: 1.5;
38 margin-top: 8px;
39 padding: 5px 10px;
40 position: relative;
59ab4d0f 41
45433290
AE
42 /* pointer */
43 &::before {
44 border: 6px solid transparent;
45433290
AE
45 border-top-width: 0;
46 content: "";
47 display: inline-block;
48 left: 10px;
49 position: absolute;
50 top: -6px;
51 z-index: 101;
52 }
53}
59ab4d0f
MS
54
55/* inline errors */
56.innerError {
57 background-color: rgb(242, 222, 222);
58 color: rgb(169, 68, 66);
59
60 &::before {
61 border-bottom-color: rgb(242, 222, 222);
62 }
63}
64
65/* inline infos */
66/* TODO: use other colors */
67.innerInfo {
68 background-color: $wcfStatusInfoBackground;
69 color: $wcfStatusInfoText;
70
71 &::before {
72 border-bottom-color: $wcfStatusInfoBorder;
73 }
74}