Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
FogNetwork
GitHub Repository: FogNetwork/Tsunami
Path: blob/main/public/games/files/webretro/assets/jswindow.css
1034 views
1
body {
2
overflow: hidden;
3
}
4
5
.window {
6
resize: both;
7
overflow: hidden;
8
position: absolute;
9
border: 2px solid darkgrey;
10
margin: 0px;
11
background-color: #DDD;
12
cursor: default;
13
min-width: 20px;
14
min-height: 20px;
15
padding: 0px;
16
z-index: 1000;
17
}
18
19
.windowbar {
20
font-family: sans-serif;
21
user-select: none;
22
width: calc(100% - 4px);
23
padding: 2px;
24
height: 16px;
25
line-height: 16px;
26
color: black;
27
background-color: lightblue;
28
background-image: url("bar.png");
29
font-size: 12px;
30
border-bottom: 2px solid darkgrey;
31
overflow: hidden;
32
}
33
34
.windowicon, .windowtitle, .windowclose {
35
display: inline-block;
36
}
37
38
.windowicon {
39
background-repeat: no-repeat;
40
background-position: center;
41
background-size: contain;
42
width: 16px;
43
height: 16px;
44
position: absolute;
45
top: 2px;
46
left: 2px;
47
}
48
49
.windowtitle {
50
position: relative;
51
}
52
53
.windowicon+.windowtitle {
54
left: 18px;
55
}
56
57
.windowclose {
58
position: absolute;
59
top: 2px;
60
right: 2px;
61
width: 14px;
62
height: 14px;
63
line-height: 14px;
64
text-align: center;
65
background-color: tomato;
66
border: 1px outset lightgray;
67
}
68
69
.windowclose:active {
70
border-style: inset;
71
}
72
73
.windowcontent {
74
width: 100%;
75
height: calc(100% - 22px);
76
overflow: auto;
77
}
78