diff --git a/Assets/Assets/WM.css b/Assets/Assets/WM.css index 5c4be55..267c8be 100644 --- a/Assets/Assets/WM.css +++ b/Assets/Assets/WM.css @@ -30,7 +30,7 @@ Body { Margin: 0; Padding: 0; - Overflow-Y: Hidden; + Overflow: Hidden; Overflow-Wrap: Break-Word; } @@ -127,7 +127,7 @@ Body { .TaskBarRight { Position: Absolute; Bottom: 0; - Right: 0; + Right: Calc(Var(--TaskBarHeight) - 4px); /* Accomodate show desktop icon */ Height: Calc(Var(--TaskBarHeight) / 6 * 5); /* Try to vertically center the text lol */ } @@ -135,7 +135,7 @@ Body { .CheckToggle { Position: Fixed; Opacity: 0; - Visibility: Hidden; + /*Visibility: Hidden;*/ } .CheckLabel:Before { Content: '🔼'; @@ -149,14 +149,6 @@ Body { } /**** -------------------------------------------- ****/ -#Desktop { - Position: Absolute; - Top: 0px; - Left: 0px; - Width: 100vw; - Height: 100vh; -} - .Absolute-↙, .Absolute-↙️ { Position: Absolute; Bottom: 0px; @@ -175,7 +167,9 @@ Body { .NoSelect, .TitleBarContent, .TaskBar, -#TitlesWindow { +#Desktop, +#TitlesWindow, #FeedWindow, +#DesktopCheck, #DesktopCheck ~ Label { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; @@ -264,6 +258,13 @@ Body { Overflow: Hidden; } +#Desktop { + Position: Absolute; + Top: 0px; + Left: 0px; + Width: 100vw; + Height: 100vh; +} #DesktopButtons { Bottom: Calc(Var(--TaskBarHeight) + Var(--WindowMargin)); Left: Calc(Var(--WindowMargin) * 2); @@ -272,5 +273,36 @@ Body { Z-Index: 192 !Important; } -/*--------------------------------------------------------*/ -/* Todo: Add show desktop button 🪬 */ \ No newline at end of file +#DesktopCheck { + /* -4px to leave a bit of padding */ + Width: Calc(Var(--TaskBarHeight) - 4px); + Height: Calc(Var(--TaskBarHeight) - 4px); +} +#DesktopCheck ~ Label { + Height: Var(--TaskBarHeight); +} +#DesktopCheck, #DesktopCheck ~ Label { + Position: Absolute; + Bottom: 0 !Important; + Right: 0px; + Z-Index: 320 !Important; + /* Emoji is taller than normal letters, so make it smaller */ + Font-Size: Calc(Var(--TaskBarHeight) - 8px); + Line-Height: Var(--TaskBarHeight); +} + +#DesktopCheck ~ Label > Span { + Display: Inline-Block; + /* To get PERFECT vertical align */ + /*Padding-Bottom: 4px; + Line-Height: Calc(Var(--TaskBarHeight) - 2px);*/ +} +#DesktopCheck:Checked ~ Label > Span { + Background-Color: Var(--TitleBarBackground); +} +#DesktopCheck:Checked ~ .Window { + Display: None; + Visibility: Hidden; +} + +/*--------------------------------------------------------*/ \ No newline at end of file diff --git a/Scripts/Deploy.Tor.sh b/Scripts/Deploy.Tor.sh index 62945a4..bb6514d 100755 --- a/Scripts/Deploy.Tor.sh +++ b/Scripts/Deploy.Tor.sh @@ -4,3 +4,4 @@ python3 ../staticoso/Source/Build.py \ --SiteDomain="http://sitoctt2fxjvx3lc2iqqef2aeulflprjaasv2xl4zi7sxxbmvjy5b5yd.onion" \ --FolderRoots="{'*':'/', 'Assets':'/sitoctt-assets'}" \ --NoScripts=True +./Scripts/Prepare.NoStyle.sh diff --git a/Templates/WM.html b/Templates/WM.html index e86029c..07ecb7d 100644 --- a/Templates/WM.html +++ b/Templates/WM.html @@ -21,14 +21,17 @@ -  

sitoctt2022

 
+  

sitoctt2022

 
+ + +
-    Ultimi Post    📣 +    Ultimi Post    📣
@@ -40,7 +43,7 @@
-       ✏️ +       ✏️
@@ -52,7 +55,7 @@
-    Sezioni    📑 +    Sezioni    📑
@@ -65,6 +68,7 @@
+