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; | |
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 | ||
ab008a95 MW |
72 | /* sticky footer notices */ |
73 | .pageFooterStickyNotice { | |
5bbcc306 | 74 | bottom: 0; |
5bbcc306 | 75 | left: 0; |
5bbcc306 | 76 | right: 0; |
ab008a95 | 77 | position: fixed; |
ab008a95 MW |
78 | |
79 | .error, | |
80 | .info, | |
81 | .success, | |
82 | .warning { | |
83 | border-left-width: 0; | |
84 | border-top-width: 1px; | |
85 | border-top-style: solid; | |
86 | margin-top: 0; | |
6444e726 MW |
87 | padding: 10px 0; |
88 | ||
89 | @include screen-sm-down { | |
90 | @include wcfFontSmall; | |
91 | } | |
92 | } | |
93 | ||
94 | .cookiePolicyNotice { | |
95 | .layoutBoundary { | |
96 | display: flex; | |
97 | align-items: center; | |
98 | ||
99 | @include screen-sm-down { | |
100 | flex-wrap: wrap; | |
101 | } | |
102 | } | |
103 | ||
104 | .cookiePolicyNoticeText { | |
105 | flex: 1 1 auto; | |
106 | ||
107 | @include screen-sm-down { | |
108 | flex-basis: 100%; | |
109 | margin-bottom: 5px; | |
110 | } | |
111 | } | |
112 | ||
113 | .cookiePolicyNoticeMoreInformation, | |
114 | .cookiePolicyNoticeDismiss { | |
115 | flex: 0 0 auto; | |
116 | } | |
117 | ||
118 | .cookiePolicyNoticeDismiss { | |
119 | margin-left: 5px; | |
120 | } | |
c5dd767e | 121 | } |
5bbcc306 AE |
122 | } |
123 | ||
59ab4d0f | 124 | /* inline infos */ |
59ab4d0f MS |
125 | .innerInfo { |
126 | background-color: $wcfStatusInfoBackground; | |
127 | color: $wcfStatusInfoText; | |
128 | ||
129 | &::before { | |
130 | border-bottom-color: $wcfStatusInfoBorder; | |
131 | } | |
132 | } |