Commit | Line | Data |
---|---|---|
6da35219 AE |
1 | .notificationSettings { |
2 | margin-top: 30px; | |
3 | } | |
4 | ||
5 | .notificationSettingsCategory, | |
6 | .notificationSettingsItem { | |
7 | display: flex; | |
8 | } | |
9 | ||
10 | .notificationSettingsCategory { | |
11 | border-bottom: 2px solid currentColor; | |
1a75e228 | 12 | color: var(--wcfTabularBoxHeadline); |
6da35219 AE |
13 | font-weight: 600; |
14 | padding: 5px 0; | |
15 | } | |
16 | ||
17 | .notificationSettingsItem { | |
18 | align-items: center; | |
19 | padding: 5px 0; | |
20 | } | |
21 | ||
22 | .notificationSettingsItem:not(:last-child) { | |
1a75e228 | 23 | border-bottom: 1px solid var(--wcfContentBorderInner); |
6da35219 AE |
24 | } |
25 | ||
26 | .notificationSettingsEvent { | |
27 | flex: 1 auto; | |
8a52619a | 28 | |
6da35219 AE |
29 | > label { |
30 | cursor: pointer; | |
8cd03922 MW |
31 | display: block; |
32 | } | |
33 | } | |
34 | ||
35 | .notificationSettingsEvent:hover + .notificationSettingsState, | |
36 | .notificationSettingsState > label:hover { | |
71ceb49d | 37 | fa-icon { |
8cd03922 | 38 | transform: scale(1.2); |
6da35219 AE |
39 | } |
40 | } | |
41 | ||
42 | .notificationSettingsState { | |
43 | align-items: center; | |
44 | display: flex; | |
45 | flex: 0 0 34px; | |
46 | justify-content: center; | |
8a52619a | 47 | |
6da35219 AE |
48 | @include screen-sm-up { |
49 | margin: 0 20px; | |
50 | } | |
8a52619a | 51 | |
6da35219 AE |
52 | @include screen-xs { |
53 | margin: 0 10px; | |
54 | } | |
8a52619a | 55 | |
71ceb49d AE |
56 | label { |
57 | cursor: pointer; | |
58 | } | |
59 | ||
6da35219 AE |
60 | input[type="checkbox"] { |
61 | opacity: 0; | |
62 | position: absolute; | |
63 | z-index: -1; | |
8a52619a | 64 | |
518625d3 | 65 | &:focus-visible ~ .icon { |
6da35219 AE |
66 | transform: scale(1.2); |
67 | } | |
8a52619a | 68 | |
71ceb49d | 69 | &:not(:checked) + fa-icon[name="bell"] { |
6da35219 AE |
70 | display: none; |
71 | } | |
8a52619a | 72 | |
71ceb49d | 73 | &:checked ~ fa-icon[name="bell-slash"] { |
6da35219 AE |
74 | display: none; |
75 | } | |
76 | } | |
71ceb49d AE |
77 | |
78 | fa-icon[name="bell"] { | |
79 | color: rgba(0, 153, 0, 1); | |
80 | } | |
81 | ||
82 | fa-icon[name="bell-slash"] { | |
83 | color: rgba(204, 0, 0, 1); | |
84 | } | |
6da35219 AE |
85 | } |
86 | ||
87 | .notificationSettingsEmail { | |
88 | align-items: center; | |
89 | display: flex; | |
0d5cf237 | 90 | flex: 0 0 50px; |
6da35219 AE |
91 | justify-content: flex-end; |
92 | } | |
93 | .notificationSettingsEmailType { | |
94 | align-items: center; | |
95 | display: flex; | |
8a52619a | 96 | |
f662c8e9 AE |
97 | &.disabled fa-icon { |
98 | color: var(--wcfContentDimmedText) !important; | |
8a723bf2 | 99 | } |
71ceb49d AE |
100 | |
101 | fa-icon[name="xmark"] { | |
102 | color: rgba(204, 0, 0, 1); | |
103 | } | |
104 | ||
105 | fa-icon[name="bolt"], | |
106 | fa-icon[name="clock"] { | |
107 | color: rgba(0, 153, 0, 1); | |
108 | } | |
6da35219 | 109 | } |