1+ @import url (
'https://fonts.googleapis.com/css2?family=Inter:[email protected] &display=swap' );
2+
13: root {
24 --util-menu-height : 2rem ;
35 --taskbar-margin : 0.5rem ;
6+
7+ --body-font-family : "Inter" , -apple-system, BlinkMacSystemFont, 'Segoe UI' , 'Roboto' , 'Oxygen' ,
8+ 'Ubuntu' , 'Cantarell' , 'Fira Sans' , 'Droid Sans' , 'Helvetica Neue' , sans-serif;
49}
510
11+ /* TASKBAR */
12+
613.ProzillaOS-Taskbar {
714 --taskbar-opacity : 0.1 ;
815
124131 transform : translateY (-100px );
125132}
126133
134+ /* DESKTOP */
135+
127136.ProzillaOS-Desktop .ProzillaOS-DirectoryList {
128137 margin-top : var (--util-menu-height );
129- }
138+ }
139+
140+ /* WINDOWS */
141+
142+ .ProzillaOS-WindowsView {
143+ margin-top : var (--util-menu-height );
144+ }
145+
146+ .ProzillaOS-WindowHeader {
147+ --window-icon-margin : 0.5rem ;
148+
149+ flex-direction : row-reverse;
150+ justify-content : flex-end;
151+ gap : 0.25rem ;
152+ }
153+
154+ .ProzillaOS-WindowIcon {
155+ display : none;
156+ }
157+
158+ .ProzillaOS-WindowTitle {
159+ position : absolute;
160+ left : 50% ;
161+ transform : translateX (calc (-50% - var (--window-icon-margin )));
162+ }
163+
164+ .ProzillaOS-WindowHeader > button {
165+ --height : 1rem ;
166+ --icon-opacity : 0 ;
167+
168+ display : flex;
169+ justify-content : center;
170+ align-items : center;
171+ border-radius : 9999px ;
172+ margin : 0 ;
173+ padding : 0.2rem ;
174+ height : var (--height );
175+ color : var (--background-color-0 );
176+ border : 1px solid var (--header-button-hover-color );
177+ }
178+
179+ .ProzillaOS-WindowHeader > button : hover ,
180+ .ProzillaOS-WindowHeader > button : focus-visible {
181+ --icon-opacity : 1 ;
182+ background-color : var (--header-button-hover-color ) !important ;
183+ }
184+
185+ .ProzillaOS-WindowHeader > button # close-window {
186+ --header-button-hover-color : var (--red-1 );
187+ background-color : var (--red-0 );
188+ }
189+
190+ .ProzillaOS-WindowHeader > button # maximize-window {
191+ --header-button-hover-color : var (--green-1 );
192+ background-color : var (--green-0 );
193+ order : -1 ;
194+ }
195+
196+ .ProzillaOS-WindowHeader > button # minimize-window {
197+ --header-button-hover-color : var (--yellow-1 );
198+ background-color : var (--yellow-0 );
199+ }
200+
201+ .ProzillaOS-WindowHeader > button > svg {
202+ opacity : var (--icon-opacity );
203+ color : var (--background-color-0 );
204+ transition : opacity 200ms ease-in-out;
205+ }
206+
207+ .ProzillaOS-WindowHeader > button > svg * {
208+ color : inherit;
209+ fill : currentColor;
210+ }
0 commit comments