sitoctt/Assets/Assets/WM.css

137 lines
2.8 KiB
CSS
Raw Normal View History

2022-08-28 00:21:04 +02:00
/*--------------------------------------------------------*
* Globale *
2022-08-28 00:21:04 +02:00
*--------------------------------------------------------*/
:Root {
--WindowPadding: 4px;
2022-08-28 00:21:04 +02:00
--TitleBarHeight: 28px;
--TitleBarForeground: #FFFFFF;
--TitleBarBackground: #2A0A3A;
--TaskBarForeground: #FFFFFF;
--TaskBarBackground: #2A0A3A;
2022-08-28 00:21:04 +02:00
--TaskBarHeight: 36px;
}
* {
Box-Sizing: Border-Box;
}
2022-08-28 00:21:04 +02:00
Body {
Margin: 0;
Padding: 0;
Overflow-Y: Hidden;
Background-Image: url(/home/octt/Dev/sitoctt-assets/public/Media/Backgrounds/Circles-Purple.png);
Background-Repeat: Repeat;
2022-08-28 00:21:04 +02:00
}
/*--------------------------------------------------------*/
2022-08-28 00:21:04 +02:00
/*--------------------------------------------------------*
* Window Manager *
*--------------------------------------------------------*/
.Window {
Margin: Var(--WindowPadding);
Border: Solid 3px Var(--TitleBarBackground);
2022-08-28 00:21:04 +02:00
Color: #000000;
Background: #EEE0FF;
2022-08-28 00:21:04 +02:00
}
.WindowContent {
Min-Width: 100%;
Padding: Var(--WindowPadding);
Overflow-Y: Auto;
}
.Window:Hover {
Z-Index: 128 !important;
}
.TitleBar {
Padding: Var(--WindowPadding);
Color: Var(--TitleBarForeground);
Background: Var(--TitleBarBackground);
2022-08-28 00:21:04 +02:00
Text-Align: Center;
Vertical-Align: Top;
Max-Height: Var(--TitleBarHeight);
}
.TitleBar > span:nth-child(1) {
2022-08-28 00:21:04 +02:00
Float: Left;
}
.TitleBar > span:nth-child(3) {
2022-08-28 00:21:04 +02:00
Float: Right;
}
.TaskBar {
Width: 100%;
Color: Var(--TaskBarForeground);
Background: Var(--TaskBarBackground);
2022-08-28 00:21:04 +02:00
Position: Fixed;
Bottom: 0px;
Padding: Var(--WindowPadding);
Min-Height: Var(--TaskBarHeight);
2022-08-28 00:21:04 +02:00
Max-Height: Var(--TaskBarHeight);
Z-Index: 256;
}
.TaskBar > Details > Div {
Position: Fixed;
Left: 0px;
Bottom: Var(--TaskBarHeight);
Padding: Var(--WindowPadding);
Color: Var(--TaskBarForeground);
Background: Var(--TaskBarBackground);
}
2022-08-28 00:21:04 +02:00
.MenuButton {
Display: Inline-Block;
Height: 100%;
2022-08-28 00:21:04 +02:00
}
/*--------------------------------------------------------*/
/*--------------------------------------------------------*
* Fritto Misto - Andrebbe ordinato *
*--------------------------------------------------------*/
/* No selezione */
.NoSelect,
.TitleBar,
.TaskBar,
#TitlesWindow {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
User-Select: none;
2022-08-28 00:21:04 +02:00
}
#MainWindow {
Max-Width: 80vw;
2022-08-28 00:21:04 +02:00
Position: Absolute;
Top: 12px;
Right: 12px;
Max-Height: 90vh;
2022-08-28 00:21:04 +02:00
Z-Index: 16;
}
#MainWindow > .WindowContent {
Max-Height: Calc(90vh - Calc(Var(--TitleBarHeight) * 2) - Var(--WindowPadding));
2022-08-28 00:21:04 +02:00
}
#TitlesWindow {
Max-Width: 60vw;
2022-08-28 00:21:04 +02:00
Position: Absolute;
Top: 80px;
Left: 12px;
Max-Height: 60vh;
2022-08-28 00:21:04 +02:00
Z-Index: 8;
}
#TitlesWindow > .WindowContent {
Max-Height: Calc(60vh - Calc(Var(--TitleBarHeight) * 2) - Var(--WindowPadding));
2022-08-28 00:21:04 +02:00
}
/*--------------------------------------------------------*/