Added box for page comments
[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;
521b8808 6 margin-top: 20px;
c3d0938e
AE
7
8 @include large-screen-only {
9 padding: 10px 20px;
10 }
11
12 @include small-screen-only {
13 padding: 10px;
14 }
b8eab696
AE
15}
16
17.error {
ed8c9052
AE
18 background-color: $wcfStatusErrorBackground;
19 border-color: $wcfStatusErrorBorder;
20 color: $wcfStatusErrorText;
b8eab696
AE
21}
22
23.info {
ed8c9052
AE
24 background-color: $wcfStatusInfoBackground;
25 border-color: $wcfStatusInfoBorder;
26 color: $wcfStatusInfoText;
45433290
AE
27}
28
29.success {
ed8c9052
AE
30 background-color: $wcfStatusSuccessBackground;
31 border-color: $wcfStatusSuccessBorder;
32 color: $wcfStatusSuccessText;
33}
34
35.warning {
36 background-color: $wcfStatusWarningBackground;
37 border-color: $wcfStatusWarningBorder;
38 color: $wcfStatusWarningText;
45433290
AE
39}
40
59ab4d0f
MS
41.innerError,
42.innerInfo {
45433290
AE
43 display: table;
44 line-height: 1.5;
45 margin-top: 8px;
46 padding: 5px 10px;
47 position: relative;
59ab4d0f 48
45433290
AE
49 /* pointer */
50 &::before {
51 border: 6px solid transparent;
45433290
AE
52 border-top-width: 0;
53 content: "";
54 display: inline-block;
55 left: 10px;
56 position: absolute;
57 top: -6px;
58 z-index: 101;
59 }
60}
59ab4d0f
MS
61
62/* inline errors */
63.innerError {
64 background-color: rgb(242, 222, 222);
65 color: rgb(169, 68, 66);
66
67 &::before {
68 border-bottom-color: rgb(242, 222, 222);
69 }
70}
71
72/* inline infos */
73/* TODO: use other colors */
74.innerInfo {
75 background-color: $wcfStatusInfoBackground;
76 color: $wcfStatusInfoText;
77
78 &::before {
79 border-bottom-color: $wcfStatusInfoBorder;
80 }
81}