Adding key during update
[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;
45550c73 6 margin-top: 20px;
c3d0938e 7
f216765b 8 @include screen-md-up {
c3d0938e
AE
9 padding: 10px 20px;
10 }
11
f216765b 12 @include screen-sm-down {
c3d0938e
AE
13 padding: 10px;
14 }
b8eab696
AE
15}
16
17.error {
ed8c9052
AE
18 background-color: $wcfStatusErrorBackground;
19 border-color: $wcfStatusErrorBorder;
20 color: $wcfStatusErrorText;
21af3b32
MW
21
22 a {
23 color: $wcfStatusErrorLink;
24
25 &:hover {
26 color: $wcfStatusErrorLinkActive;
27 }
28 }
b8eab696
AE
29}
30
31.info {
ed8c9052
AE
32 background-color: $wcfStatusInfoBackground;
33 border-color: $wcfStatusInfoBorder;
34 color: $wcfStatusInfoText;
21af3b32
MW
35
36 a {
37 color: $wcfStatusInfoLink;
38
39 &:hover {
40 color: $wcfStatusInfoLinkActive;
41 }
42 }
45433290
AE
43}
44
45.success {
ed8c9052
AE
46 background-color: $wcfStatusSuccessBackground;
47 border-color: $wcfStatusSuccessBorder;
48 color: $wcfStatusSuccessText;
21af3b32
MW
49
50 a {
51 color: $wcfStatusSuccessLink;
52
53 &:hover {
54 color: $wcfStatusSuccessLinkActive;
55 }
56 }
ed8c9052
AE
57}
58
59.warning {
60 background-color: $wcfStatusWarningBackground;
61 border-color: $wcfStatusWarningBorder;
62 color: $wcfStatusWarningText;
21af3b32
MW
63
64 a {
65 color: $wcfStatusWarningLink;
66
67 &:hover {
68 color: $wcfStatusWarningLinkActive;
69 }
70 }
45433290
AE
71}
72
59ab4d0f
MS
73.innerError,
74.innerInfo {
45433290
AE
75 display: table;
76 line-height: 1.5;
77 margin-top: 8px;
78 padding: 5px 10px;
79 position: relative;
59ab4d0f 80
45433290
AE
81 /* pointer */
82 &::before {
83 border: 6px solid transparent;
45433290
AE
84 border-top-width: 0;
85 content: "";
86 display: inline-block;
87 left: 10px;
88 position: absolute;
89 top: -6px;
90 z-index: 101;
91 }
92}
59ab4d0f
MS
93
94/* inline errors */
95.innerError {
96 background-color: rgb(242, 222, 222);
97 color: rgb(169, 68, 66);
98
99 &::before {
100 border-bottom-color: rgb(242, 222, 222);
101 }
21af3b32
MW
102
103 a {
104 color: $wcfStatusErrorLink;
105
106 &:hover {
107 color: $wcfStatusErrorLinkActive;
108 }
109 }
59ab4d0f
MS
110}
111
ab008a95
MW
112/* sticky footer notices */
113.pageFooterStickyNotice {
5bbcc306 114 bottom: 0;
5bbcc306 115 left: 0;
5bbcc306 116 right: 0;
ab008a95 117 position: fixed;
ab008a95
MW
118
119 .error,
120 .info,
121 .success,
122 .warning {
123 border-left-width: 0;
124 border-top-width: 1px;
125 border-top-style: solid;
126 margin-top: 0;
6444e726
MW
127 padding: 10px 0;
128
129 @include screen-sm-down {
130 @include wcfFontSmall;
131 }
132 }
133
134 .cookiePolicyNotice {
135 .layoutBoundary {
136 display: flex;
137 align-items: center;
138
139 @include screen-sm-down {
140 flex-wrap: wrap;
141 }
142 }
143
144 .cookiePolicyNoticeText {
145 flex: 1 1 auto;
146
147 @include screen-sm-down {
148 flex-basis: 100%;
149 margin-bottom: 5px;
150 }
151 }
152
153 .cookiePolicyNoticeMoreInformation,
154 .cookiePolicyNoticeDismiss {
155 flex: 0 0 auto;
156 }
157
158 .cookiePolicyNoticeDismiss {
159 margin-left: 5px;
160 }
c5dd767e 161 }
5bbcc306
AE
162}
163
59ab4d0f 164/* inline infos */
59ab4d0f
MS
165.innerInfo {
166 background-color: $wcfStatusInfoBackground;
167 color: $wcfStatusInfoText;
168
169 &::before {
170 border-bottom-color: $wcfStatusInfoBorder;
171 }
21af3b32
MW
172
173 a {
174 color: $wcfStatusInfoLink;
175
176 &:hover {
177 color: $wcfStatusInfoLinkActive;
178 }
179 }
59ab4d0f 180}