Merge branch '5.2'
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / style / ui / notification.scss
CommitLineData
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;
12 color: $wcfTabularBoxHeadline;
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) {
23 border-bottom: 1px solid $wcfContentBorderInner;
24}
25
26.notificationSettingsEvent {
27 flex: 1 auto;
28
29 > label {
30 cursor: pointer;
31 }
32}
33
34.notificationSettingsState {
35 align-items: center;
36 display: flex;
37 flex: 0 0 34px;
38 justify-content: center;
39
40 @include screen-sm-up {
41 margin: 0 20px;
42 }
43
44 @include screen-xs {
45 margin: 0 10px;
46 }
47
48 input[type="checkbox"] {
49 opacity: 0;
50 position: absolute;
51 z-index: -1;
52
53 &.focus-visible:focus ~ .icon {
54 transform: scale(1.2);
55 }
56
57 &:not(:checked) + .fa-bell {
58 display: none;
59 }
60
61 &:checked ~ .fa-bell-slash {
62 display: none;
63 }
64 }
65}
66
67.notificationSettingsEmail {
68 align-items: center;
69 display: flex;
70 flex: 0 0 45px;
71 justify-content: flex-end;
72}
73.notificationSettingsEmailType {
74 align-items: center;
75 display: flex;
8a723bf2
AE
76
77 &.disabled {
78 filter: grayscale(1);
79 opacity: .75;
80 }
6da35219 81}