From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- .../Durango/ServiceConfig/HelpDocument/snapped.css | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Minecraft.Client/Durango/ServiceConfig/HelpDocument/snapped.css (limited to 'Minecraft.Client/Durango/ServiceConfig/HelpDocument/snapped.css') diff --git a/Minecraft.Client/Durango/ServiceConfig/HelpDocument/snapped.css b/Minecraft.Client/Durango/ServiceConfig/HelpDocument/snapped.css new file mode 100644 index 00000000..8cf81af4 --- /dev/null +++ b/Minecraft.Client/Durango/ServiceConfig/HelpDocument/snapped.css @@ -0,0 +1,53 @@ +body +{ + width: 480px; +} + +.contentPanel .articleTitle +{ + height: 3.75em; + width: 100%; + overflow: hidden; + margin-top:12px; +} + +/*if the element is a main menu or a sub menu hide the placeholder element to the right*/ +.helpMenu .helpContent +{ + display: none; +} + +nav.contentPanel +{ + padding: 64px 64px 64px 28px; +} + +/*if in snapped we need to modify the positioning scheme to allow us to insert the contents between existing nav elements*/ +article .helpContent +{ + height: 616px; + overflow: hidden; + background-color: transparent; + padding: 0 0 0 28px; + position: absolute; + left: 0px; + top: 10em; + column-width: 424px; +} + +article .contentPanel +{ + height: 100%; +} + +article .contentPanel .panelButtons +{ + left: 28px; /* safe region area on the right side: 480 - 28 - 386 ~ 64px */ +} + +/*in snapped the safe area is on the right so these need to be different than in main.css*/ +.helpMenu li a +{ + margin:16px -22px 0 -22px; + padding:0 56px 0 22px; +} -- cgit v1.2.3