-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvanilla_ui.css
176 lines (176 loc) · 3.61 KB
/
vanilla_ui.css
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
/*
Vanilla UI for Minecraft Bedrock Scripting API v0.0.1
Created by ReimarPB
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
*/
@font-face {
font-family:"Minecraftia";
src:url("fonts/Minecraftia.ttf");
}
body {
height:100%;
justify-content:center;
align-items:center;
}
.minecraft-container {
font-size:16px;
color:#4C4C4C;
font-family:"Minecraftia";
position:fixed;
background-color:#C6C6C6;
padding:7px;
padding-top:none;
box-shadow:
/* Right & bottom */
4px 0 #555,
6px 0 black,
0 4px #555,
0 6px black,
/* Left & top */
-4px 0 white,
-6px 0 black,
0 -4px white,
0 -6px black,
/* Corner right bottom */
4px 2px #555,
2px 4px #555,
2px 6px black,
6px 2px black,
4px 4px black,
/* Corner top right */
2px -2px #C6C6C6,
4px -2px black,
2px -4px black,
/* Corner top left */
-4px -2px white,
-2px -4px white,
-2px -6px black,
-6px -2px black,
-4px -4px black,
/* Corner bottom left */
-2px 2px #C6C6C6,
-4px 2px black,
-2px 4px black;
}
.minecraft-container-dark {
display:flex;
flex-direction:column;
line-height:100px;
color:white;
margin-top:5px;
background-color:#6B6B6B;
padding:5px 7px 5px 7px;
box-shadow:
/* Right & bottom */
2px 2px white,
2px 0 white,
0 2px white,
/* Left & top */
-2px -2px #393939,
-2px 0 #393939,
0 -2px #393939,
/* Corner top right */
2px -2px #6B6B6B,
/* Corner bottom left */
-2px 2px #6B6B6B;
}
.minecraft-container-dark > * {
margin-top:10px;
margin-bottom:10px;
}
.minecraft-button {
color:#4C4C4C;
font-family:"Minecraftia";
background-color:#C6C6C6;
padding:12px;
margin:5px 0 5px 0;
width:100%;
text-align:center;
box-shadow:
/* Right & bottom */
2px 2px #555,
2px 0 #555,
0 2px #555,
/* Left & top */
-2px -2px white,
-2px 0 white,
0 -2px white,
/* Corner top right */
2px -2px #C6C6C6,
/* Corner bottom left */
-2px 2px #C6C6C6,
/* Border */
4px 4px black,
0 4px black,
4px 0 black,
-4px -4px black,
0 -4px black,
-4px 0 black,
4px -4px black,
-4px 4px black;
}
.minecraft-button:hover {
color:white;
background-color:#43A01C;
box-shadow:
/* Right & bottom */
2px 2px #037300,
2px 0 #037300,
0 2px #037300,
/* Left & top */
-2px -2px #37D61E,
-2px 0 #37D61E,
0 -2px #37D61E,
/* Corner top right */
2px -2px #43A01C,
/* Corner bottom left */
-2px 2px #43A01C,
/* Border */
4px 4px white,
0 4px white,
4px 0 white,
-4px -4px white,
0 -4px white,
-4px 0 white,
4px -4px white,
-4px 4px white;
}
.minecraft-input {
font-family:"Minecraftia";
padding:10px 5px 0 5px;
width:100%;
height:50px;
background-color:#6B6B6B;
border:none;
border-top:2px solid #444;
border-bottom:2px solid #B0B0B0;
box-shadow:
2px 2px black,
0 2px black,
2px 0 black,
-2px -2px black,
0 -2px black,
-2px 0 black,
2px -2px black,
-2px 2px black;
}
.minecraft-input:hover {
box-shadow:
2px 2px white,
0 2px white,
2px 0 white,
-2px -2px white,
0 -2px white,
-2px 0 white,
2px -2px white,
-2px 2px white;
}
.minecraft-close-button {
position:absolute;
right:2px;
top:2px;
padding:0 8px 5px 10px;
}
.minecraft-close-button:hover {
background-color:#AEAEAE;
}