forked from ClearVision/ClearVision-v6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchannelNotice.scss
41 lines (41 loc) · 978 Bytes
/
channelNotice.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* CHANNEL NOTICE */
%channels %channelNotices {
%channelNotice {
position: relative;
background-color: rgba(0, 0, 0, 0.1);
background-size: 0;
}
}
%channelNotices {
%channelNotice {
&:after {
content: '';
position: absolute;
@include stretch;
@include bg($img: inherit, $pos: inherit, $size: auto, $rep: no-repeat);
opacity: 0.3;
filter: grayscale(1) brightness(1.5);
pointer-events: none;
}
%channelNoticeClose {
opacity: 0.3;
transition: all 0.15s ease-in-out;
&:hover {
opacity: 0.7;
}
}
%channelNoticeMessage {
color: hsla(0, 0%, 100%, 0.5);
%channelNoticeMessageButton {
background: hsla(0, 0%, 100%, 0.1);
border-color: transparent;
color: hsla(0, 0%, 100%, 0.7);
transition: all 0.15s ease-in-out;
&:hover {
background: hsla(0, 0%, 100%, 0.2);
color: #fff;
}
}
}
}
}