-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEditor_win95.css
214 lines (175 loc) · 3.63 KB
/
Editor_win95.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
@font-face
{
font-family: MsSansSerif;
src: url("MsSansSerif.ttf") ;/*format("opentype");*/
}
/* this was global/desktop styling, but can just apply to window */
.PopGuiWindow
{
color: #000; /* text colour */
/* current closest I can get to original */
font-family: MsSansSerif, courier;
font-smooth: never;
-webkit-font-smoothing : none;
font-size: 11px;
image-rendering: pixelated;
background: #0cc; /* desktop */
margin: 0px;
padding: 0px;
}
.PopGuiWindow
{
/* 2 borders on a window! */
border-top: 1px #ccc solid;
border-left: 1px #ccc solid;
border-bottom: 1px #000 solid;
border-right: 1px #000 solid;
/* x offset, y offset, blur radius, spread radius, colour */
box-shadow: inset 1px 1px 0px 0px #fff, inset -1px -1px 0px 0px #888;
padding: 3px; /* this gets ignored if child is positioned with absolute, so add margin */
background: #ccc;
xposition: absolute;
position: relative;
xleft: 10px;
xtop: 20px;
}
.PopGuiIconView
{
/* embossed border */
/* 2 borders on a window! */
border-bottom: 1px #fff solid;
border-right: 1px #fff solid;
border-top: 1px #888 solid;
border-left: 1px #888 solid;
/* x offset, y offset, blur radius, spread radius, colour */
box-shadow: inset -1px -1px 0px 0px #ccc, inset 1px 1px 0px 0px #000;
display: flex;
flex-wrap: wrap;
/* as we're absolute, the padding from above needs to be put as margin */
margin: 3px;
/* title bar offset as we're absolute :/ would be good to take away need for absolute */
top: 20px !important; /* important to override the .style set in code */
background: #fff;
}
.PopGuiIconView#Desktop
{
border: none;
box-shadow: none;
background: transparent;
}
.PopGuiTitleBar:before
{
xxcontent: attr(id);
content: attr(content);
overflow: hidden;
position: absolute;
top: 3px;
left: 3px;
}
.PopGuiTitleBar
{
background: #00c;
padding: 3px;
color: #fff;
xmargin-bottom: 2px;
/*
gr: this is all blurry atm, can't make it pixel-bold :/
also, the weight doesn't do anything at 11px
font-size: 12px;
font-weight: 900;
*/
display: flex;
}
.PopGuiTitleBar .PopGuiTitleIcon
{
display: none;
width: 16px;
xheight: 16px;
}
.PopGuiTitleBar .PopGuiTitleText
{
flex-grow: 99;
}
.PopGuiTitleBar .PopGuiButton
{
background: #ccc;
border-top: 1px #fff solid;
border-left: 1px #fff solid;
border-bottom: 1px #000 solid;
border-right: 1px #000 solid;
/* x offset, y offset, blur radius, spread radius, colour */
box-shadow: inset -1px -1px 0px 0px #888, inset 1px 1px 0px 0px #ccc;
color: #000;
width: 10px;
height: 10px;
text-align: center;
vertical-align: middle;
margin-left: 2px;
/* swap this for wingdings */
font-size: 8px;
font-weight: bold;
}
.PopGuiIcon
{
display: flex;
justify-content: center;
position: relative;
width: 82px;
height: 62px;
margin: 6px;
}
.PopGuiIcon:hover .PopGuiIconImage,
.PopGuiIconImage:hover
{
filter: url(#BlueFilter);
}
.PopGuiIconImage
{
position: absolute;
top: 0px;
left: 25px;
width: 32px;
height: 32px;
}
.PopGuiIconLabel
{
xbackground:red;
display:block;
position: absolute;
top: 36px;
padding: 2px;
}
.PopGuiIconLabel:before
{
content: attr(content);
xxoverflow: hidden;
position: absolute;
xtop: 3px;
xleft: 4px;
width: 100%;
text-align: center;
}
.PopGuiIcon:hover .PopGuiIconLabel,
.PopGuiIconLabel:hover
{
background: #00C;
border: dotted 1px #FF0;
color: #fff;
}
.PopGuiMenuBar
{
display: flex;
}
.PopGuiMenuBar .PopGuiMenuItem:first-letter
{
text-decoration: underline;
}
.PopGuiMenuBar .PopGuiMenuItem
{
padding: 4px 4px 4px 6px;
}
.PopGuiMenuBar .PopGuiMenuItem:hover
{
background-color: #00C;
color: #fff;
}