File tree Expand file tree Collapse file tree 4 files changed +67
-0
lines changed Expand file tree Collapse file tree 4 files changed +67
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,15 @@ <h1 class="page-title">Specifying JavaScript.</h1>
31
31
</ section >
32
32
</ main >
33
33
34
+ < div class ="popup ">
35
+ < input type ="checkbox " id ="one " class ="hidden " name ="ossm ">
36
+ < label for ="one " class ="alert-message ">
37
+ < strong > Attention</ strong > This site is in < strong > beta</ strong > ! We are
38
+ looking for feedback. Please add issues to our < a
39
+ href ="https://github.com/tc39/tc39-web-draft/issues " target ="_blank "> github page</ a > !!
40
+ < span class ="close "> ×</ span >
41
+ </ label >
42
+ </ div >
34
43
< img src ="https://d3nrsflo8ae6b5.cloudfront.net/1x1.png " alt ="pixel " />
35
44
</ body >
36
45
</ html >
Original file line number Diff line number Diff line change
1
+ .popup {
2
+ position : fixed ;
3
+ bottom : 0 ;
4
+ left : 0 ;
5
+ width : 100% ;
6
+ }
7
+
8
+ input [type = checkbox ] + label {
9
+ position :relative ;
10
+ }
11
+
12
+ input [type = checkbox ]:checked + label {
13
+ animation : closing 0.3s forwards ease-in-out ,
14
+ moving 0.3s forwards ease-in-out ;
15
+ }
16
+
17
+ .close {
18
+ float :right ;
19
+ color : #b94b45 ;
20
+ cursor : hand ;
21
+ }
22
+
23
+ .alert-message {
24
+ background-color : black ;
25
+ border : 1px solid rgba (#34495e , 0.25 );
26
+ color : #b94b45 ;
27
+ border-radius : 3px ;
28
+ line-height :30px ;
29
+ position : absolute ;
30
+ top : 0 ; left : 0 ;
31
+ display :block ;
32
+ width :100% ;
33
+ padding : 12px ;
34
+ box-sizing : border-box ;
35
+ color : rgba (255 , 255 , 255 , .9 );
36
+ box-shadow : 0px 10px 50px rgba (0 ,0 ,0 ,.6 );
37
+ background : black ;
38
+ }
39
+
40
+ @keyframes closing {
41
+ from {
42
+ opacity : 1 ;
43
+ }
44
+ to {
45
+ opacity : 0 ;
46
+ }
47
+ }
48
+
49
+ @keyframes moving {
50
+ 0%, 90% { top : 0 ; left : 0 ; }
51
+ 100% { top : -100px ; left : 0 ; }
52
+ }
Original file line number Diff line number Diff line change
1
+ .hidden {
2
+ display :none ;
3
+ }
4
+
Original file line number Diff line number Diff line change 9
9
@import " logo-box" ;
10
10
@import " page-header" ;
11
11
@import " page-menu" ;
12
+ @import " popup" ;
13
+ @import " utils" ;
You can’t perform that action at this time.
0 commit comments