Skip to content

Commit e0965db

Browse files
committed
add splash
1 parent d7418a0 commit e0965db

File tree

3 files changed

+113
-0
lines changed

3 files changed

+113
-0
lines changed

resources/splash/compas-RV.jpg

9.94 MB
Loading

resources/splash/index.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<html>
2+
<header>
3+
<title>COMPAS RhinoVAULT</title>
4+
<link rel="stylesheet" href="styles.css">
5+
</header>
6+
7+
<body>
8+
<img id="background" src="compas-RV.jpg">
9+
<div id="content">
10+
11+
<div id="version"></div>
12+
13+
<div id="links">
14+
<a href="https://blockresearchgroup.gitbook.io/compas-fofin/" target="_blank">Gitbook Docs</a><br>
15+
<a href="https://github.com/BlockResearchGroup/compas-FoFin" target="_blank">Github Repo</a><br>
16+
</div>
17+
18+
<div id="terms">
19+
By using COMPAS RhinoVAULT, I agree with following <a href="https://blockresearchgroup.gitbook.io/compas-fofin/additional-information/legal-terms" target="_blank">Legal Terms</a>
20+
<div id="agree">
21+
<a id="yes" href="action://close">YES</a>
22+
/
23+
<a id="no" onclick="alert('Please Accept Terms & Conditions to continue.')" style="cursor: pointer;">NO</a>
24+
</div>
25+
</div>
26+
</div>
27+
28+
</body>
29+
30+
</html>

resources/splash/styles.css

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
body{
2+
font-family: Helvetica;
3+
color: lightgrey;
4+
margin: 0;
5+
padding: 0;
6+
font-size: x-small;
7+
font-weight: 100;
8+
overflow: hidden;
9+
}
10+
11+
img{
12+
position: absolute;
13+
left: 0;
14+
width: 100%;
15+
top: 0;
16+
z-index: -100;
17+
-webkit-app-region: drag;
18+
}
19+
20+
#content{
21+
/* margin: 3%; */
22+
/* line-height: 1.5; */
23+
width: 100%;
24+
height: 100%;
25+
}
26+
27+
28+
a:link{
29+
30+
-webkit-app-region: no-drag;
31+
color: lightgrey;
32+
text-decoration: none;
33+
}
34+
35+
a:visited{
36+
color: lightgrey;
37+
}
38+
39+
40+
#links{
41+
position: absolute;
42+
top: 60%;
43+
left: 8%;
44+
line-height: 1.5;
45+
/* margin-top: 30%; */
46+
}
47+
48+
#terms{
49+
position: absolute;
50+
top: 81%;
51+
left: 8%;
52+
font-size: xx-small;
53+
}
54+
55+
#terms a:link{
56+
color: lightgrey;
57+
text-decoration: underline;
58+
}
59+
60+
#exit{
61+
position: absolute;
62+
right: 3%;
63+
top: 3%;
64+
-webkit-app-region: no-drag;
65+
cursor: pointer;
66+
}
67+
68+
#agree{
69+
/* font-family: Arial; */
70+
font-size: large;
71+
font-weight: bolder;
72+
}
73+
74+
#agree a:link{
75+
text-decoration: none;
76+
}
77+
78+
79+
#version{
80+
position: fixed;
81+
left: 34%;
82+
top: 52%;
83+
}

0 commit comments

Comments
 (0)