Commit | Line | Data |
---|---|---|
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; |
d5d76f67 | 118 | z-index: 600; |
ab008a95 MW |
119 | |
120 | .error, | |
121 | .info, | |
122 | .success, | |
123 | .warning { | |
124 | border-left-width: 0; | |
125 | border-top-width: 1px; | |
126 | border-top-style: solid; | |
127 | margin-top: 0; | |
6444e726 MW |
128 | padding: 10px 0; |
129 | ||
130 | @include screen-sm-down { | |
131 | @include wcfFontSmall; | |
132 | } | |
133 | } | |
134 | ||
135 | .cookiePolicyNotice { | |
136 | .layoutBoundary { | |
137 | display: flex; | |
138 | align-items: center; | |
139 | ||
140 | @include screen-sm-down { | |
141 | flex-wrap: wrap; | |
142 | } | |
143 | } | |
144 | ||
145 | .cookiePolicyNoticeText { | |
146 | flex: 1 1 auto; | |
147 | ||
148 | @include screen-sm-down { | |
149 | flex-basis: 100%; | |
150 | margin-bottom: 5px; | |
151 | } | |
152 | } | |
153 | ||
154 | .cookiePolicyNoticeMoreInformation, | |
155 | .cookiePolicyNoticeDismiss { | |
156 | flex: 0 0 auto; | |
157 | } | |
158 | ||
159 | .cookiePolicyNoticeDismiss { | |
160 | margin-left: 5px; | |
161 | } | |
c5dd767e | 162 | } |
5bbcc306 AE |
163 | } |
164 | ||
59ab4d0f | 165 | /* inline infos */ |
59ab4d0f MS |
166 | .innerInfo { |
167 | background-color: $wcfStatusInfoBackground; | |
168 | color: $wcfStatusInfoText; | |
169 | ||
170 | &::before { | |
171 | border-bottom-color: $wcfStatusInfoBorder; | |
172 | } | |
21af3b32 MW |
173 | |
174 | a { | |
175 | color: $wcfStatusInfoLink; | |
176 | ||
177 | &:hover { | |
178 | color: $wcfStatusInfoLinkActive; | |
179 | } | |
180 | } | |
59ab4d0f | 181 | } |