-
Notifications
You must be signed in to change notification settings - Fork 0
/
osstyle.sass
215 lines (178 loc) · 3.64 KB
/
osstyle.sass
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
215
$taskbarSize: 50px
.fullsize
position: absolute
left: 0
bottom: 0
right: 0
top: 0
#screen
background: rgb(0,38,255)
background: linear-gradient(164deg, rgba(0,38,255,1) 0%, rgba(87,0,233,1) 50%, rgba(194,0,198,1) 100%)
overflow: hidden
.taskbar
position: absolute
left: 0
bottom: 0
right: 0
height: $taskbarSize
//background: rgb(55,72,87)
//background: linear-gradient(90deg, rgba(55,72,87,1) 0%, rgba(56,59,89,1) 50%, rgba(68,47,66,1) 100%)
backdrop-filter: blur(5px)
background: rgba(0, 0, 0, 0.2)
display: flex
z-index: 99999
#homebutton
width: $taskbarSize
height: $taskbarSize
//position: absolute
//left: 0
//bottom: 0
//background: url("assets/img/logo_basic.png")
background: rgba(0, 0, 0, 0.2) url("assets/img/logo_basic.png")
background-size: cover
transition: 0.05s ease-in
#homebutton:hover
background: rgba(0, 0, 0, 0.4) url("assets/img/logo_basic.png")
background-size: cover
#homebutton:active
background: rgba(0, 0, 0, 0.3) url("assets/img/logo_basic.png")
background-size: cover
#homemenu
position: absolute
left: 0
bottom: $taskbarSize
width: 300px
height: 500px
backdrop-filter: blur(5px)
background: rgba(0, 0, 0, 0.6)
z-index: 99999
p
padding-top: 20px
text-align: center
#allwindows
flex-grow: 1
overflow-y: auto
#datetime
width: 100px
text-align: center
user-select: none
margin: auto
font-size: 14px
#time
margin-bottom: 1px
margin-top: -2px // Some visual alignment
.hidden
display: none !important
.homemenufooter
position: absolute
bottom: 0
right: 0
left: 0
height: 50px
background: black
.infobutton
width: 35px
height: 35px
border-radius: 100px
border: 1px solid white
right: 7px
top: 7px
position: absolute
cursor: pointer
user-select: none
background: rgba(255, 255, 255, 0)
transition: 0.05s ease-in
.infobutton:hover
background: rgba(255, 255, 255, 0.2)
.infobutton:active
background: rgba(255, 255, 255, 0.1)
.centered
position: absolute
left: 50%
top: 50%
transform: translate(-50%, -50%)
#desktopicons
display: inline-flex
flex-direction: column
flex-wrap: wrap
height: 100%
.icon
width: 100px
height: 100px
display: flex
flex-direction: column
padding: 5px
.picture
width: 100%
height: 100%
background-repeat: no-repeat
background-position: center
background-size: contain
p
width: 100%
text-align: center
user-select: none
.icon:hover
background: rgba(0, 0, 0, 0.15)
.icon:active
background: rgba(0, 0, 0, 0.1)
// Windows
.window
position: absolute
top: 0
left: 0
width: 500px
height: 300px
background: rgba(0, 0, 0, 0.5)
// TODO
border: 1px solid black // TODO
backdrop-filter: blur(5px)
.titlebar
width: 100%
height: 30px
background: black // TODO
display: flex
box-sizing: border-box
user-select: none
cursor: move
.title
flex-grow: 1
margin: auto auto auto 5px
.buttons
margin: auto
.close
width: 20px
height: 20px
margin: 5px
border-radius: 100px
background: red
cursor: pointer
.window-content
width: 100%
height: 100%
box-sizing: border-box
padding: 5px
// Info page
.info-logo
width: 200px
height: 270px
background-image: url('assets/img/logo_basic.png')
background-size: cover
background-repeat: no-repeat
background-position: center
.info-flex
display: inline-flex
justify-content: space-between
position: absolute
top: 30px
bottom: 0
left: 0
right: 0
.info-content
margin: auto 10px auto 0
flex-grow: 1
display: flex
flex-direction: column
text-align: center
gap: 10px
user-select: none