diff --git a/Assets/Assets/WM.css b/Assets/Assets/WM.css new file mode 100644 index 0000000..1c1d34e --- /dev/null +++ b/Assets/Assets/WM.css @@ -0,0 +1,108 @@ +/*--------------------------------------------------------* + * Costanti Globali * + *--------------------------------------------------------*/ + +:Root { + --WindowPadding: 4px; + --TitleBarHeight: 28px; + --TaskBarHeight: 36px; +} + +/*--------------------------------------------------------*/ + + + +Body { + Margin: 0; + Padding: 0; + Overflow-Y: Hidden; +} + + + +/*--------------------------------------------------------* + * Window Manager * + *--------------------------------------------------------*/ + +.Window { + Margin: Var(--WindowPadding); + Border: Solid 2px; + Color: #000000; + Background: #FFFFFF; +} +.WindowContent { + Min-Width: 100%; + Padding: Var(--WindowPadding); + Overflow-Y: Auto; +} +.Window:Hover { + Z-Index: 128 !important; +} + +.TitleBar { + Padding: Var(--WindowPadding); + Color: #FFFFFF; + Background: #000000; + Text-Align: Center; + Vertical-Align: Top; + Max-Height: Var(--TitleBarHeight); +} +.TitleBar span:nth-child(1) { + Float: Left; +} +.TitleBar span:nth-child(3) { + Float: Right; +} + +.TaskBar { + Width: 100%; + Color: #FFFFFF; + Background: #000000; + Position: Fixed; + Bottom: 0px; + Padding: Var(--WindowPadding); + Max-Height: Var(--TaskBarHeight); + Z-Index: 256; +} +.MenuButton { + Display: Inline-Block; + Min-Height: 100%; +} + +/*--------------------------------------------------------*/ + + + +/*--------------------------------------------------------* + * Fritto Misto - Andrebbe ordinato * + *--------------------------------------------------------*/ + +* { + Box-Sizing: Border-Box; +} + +#MainWindow { + Width: 80vw; + Position: Absolute; + Top: 16px; + Right: 16px; + Max-Height: 80vh; + Z-Index: 16; +} +#MainWindow > .WindowContent { + Max-Height: Calc(80vh - Calc(Var(--TitleBarHeight) * 2) - Var(--WindowPadding)); +} + +#TitlesWindow { + Width: 50vw; + Position: Absolute; + Top: 80px; + Left: 16px; + Max-Height: 50vh; + Z-Index: 8; +} +#TitlesWindow > .WindowContent { + Max-Height: Calc(50vh - Calc(Var(--TitleBarHeight) * 2) - Var(--WindowPadding)); +} + +/*--------------------------------------------------------*/ diff --git a/Scripts/Build.Termux.sh b/Scripts/Build.Termux.sh deleted file mode 100755 index a389963..0000000 --- a/Scripts/Build.Termux.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -# Why does Python-Markdown on Termux shit itself with local third-party extensions? - -python3 ../staticoso/Source/Build.py \ - --SiteDomain="https://sitoctt.octt.eu.org" \ - --FolderRoots="{'*':'https://octtspacc.gitlab.io'}" \ - --Minify="False" \ - --MarkdownExts="('attr_list', 'def_list', 'footnotes', 'md_in_html', 'tables')" diff --git a/Templates/WM.html b/Templates/WM.html new file mode 100644 index 0000000..64ca94e --- /dev/null +++ b/Templates/WM.html @@ -0,0 +1,47 @@ + + + + + + + + + + + [staticoso:Page:Title] - [staticoso:Site:Name] + + + + + + + + + + + + +
+
+ - ❌ [staticoso:Page:Title] 🔼 ⬜ +
+
+ [staticoso:Page:Content] +
+
+
+
+ - ❌ Sezioni 🔼 ⬜ +
+
+ [staticoso:Page:Chapters] +
+
+
+ [📚] Menu +
+ + + diff --git a/Templates/sitoctt.html b/Templates/sitoctt.html index 47dc0d9..0d9219f 100644 --- a/Templates/sitoctt.html +++ b/Templates/sitoctt.html @@ -70,8 +70,7 @@ [staticoso:StaticPart:Standard/BottomBox.html] -
-
+