diff --git a/main.css b/main.css index 89c9ba1..0969d4e 100644 --- a/main.css +++ b/main.css @@ -21,7 +21,7 @@ :root { --zelda-border-light: #5f87dd; --zelda-border-dark: #1c2a49; - --zelda-bg: #2f487c; + --zelda-bg: #2f487c; --zelda-bg-hilite: #3f67cd; --zelda-file-button-width: calc(145px*var(--scaling-factor)); --zelda-button-width: calc(200px*var(--scaling-factor)); @@ -70,18 +70,19 @@ a:hover } .zelda-button { + font-family: Chiaro; color: white; cursor: pointer; font-size: var(--zelda-button-font-size); padding-top: calc(10px*var(--scaling-factor)); width: var(--zelda-button-width); - text-align: center; - background: linear-gradient( - 90deg, - var(--zelda-bg), - var(--zelda-bg-hilite) 30%, - var(--zelda-bg) 80%, - var(--zelda-bg-hilite) + text-align: center; + background: linear-gradient( + 90deg, + var(--zelda-bg), + var(--zelda-bg-hilite) 30%, + var(--zelda-bg) 80%, + var(--zelda-bg-hilite) ); } @@ -89,15 +90,15 @@ a:hover .zelda-file-box { position: relative; font-family: Chiaro; - color: white; - background: linear-gradient( - 120deg, - var(--zelda-bg) 10%, - var(--zelda-bg-hilite) 30%, - var(--zelda-bg-hilite) 40%, - var(--zelda-bg) 60%, - var(--zelda-bg-hilite) 80%, - var(--zelda-bg) + color: white; + background: linear-gradient( + 120deg, + var(--zelda-bg) 10%, + var(--zelda-bg-hilite) 30%, + var(--zelda-bg-hilite) 40%, + var(--zelda-bg) 60%, + var(--zelda-bg-hilite) 80%, + var(--zelda-bg) ); } @@ -146,9 +147,16 @@ a:hover .zelda-file-box-main { line-height: calc(5px*var(--scaling-factor)); width: 100%; + /* border-top-style: none; */ + /* border-top-left-radius: 0; */ + font-size: var(--zelda-content-font-size); +} + +/* First of its type under the filename box */ +:not(.zelda-file-box-main) + .zelda-file-box-main { border-top-style: none; border-top-left-radius: 0; - font-size: var(--zelda-content-font-size); + border-top-right-radius: 0; } .progress-value { diff --git a/test.css b/test.css new file mode 100644 index 0000000..5395dfc --- /dev/null +++ b/test.css @@ -0,0 +1,74 @@ +div#progressChart { + min-width: 310px; + height: 400px; + max-width: 800px; + margin: 0 auto; +} + + + +/* Zelda Accordion styles */ +.content-container { + /* border-radius: 8px; */ + /* overflow: hidden; */ /* Masks with the glowing if enabled */ + /* box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5); */ + } + +details { + z-index: 1; + margin: 0; + padding: 0; + /* transition: all 1s ease; */ +} + +details > summary { + list-style: none; +} + +details > summary::-webkit-details-marker { + display: none; + } + +/* Size glow to File button size (a less hacky way probably exists) */ + +summary .glow { + z-index: 2; + position: absolute; + top: 0; + left: 0; + width: var(--zelda-file-button-width); + height: calc(47px*var(--scaling-factor)); + border-radius: calc(4px*var(--scaling-factor)); + display: none; +} + +summary:hover .glow { + display: block; + transition:all 0.2s ease; + background: rgba(200, 200, 200, 0.5); + box-shadow: 0 0 20px rgba(200, 200, 200, .7); +} + +details:not([open]) hr { + opacity: 0; +} + +summary .zelda-file-box-filename { + /* border-bottom-width: 0px; */ + border-bottom-style: solid; +} + +details[open] .zelda-file-box-filename { + border-bottom-style: hidden; +} + +details[open] summary ~ * { + animation: fade-in .5s ease-in-out; +} + +@keyframes fade-in { + 0% {opacity: 0 } + 100% {opacity: 1 } +} + + diff --git a/test.html b/test.html new file mode 100644 index 0000000..35233cb --- /dev/null +++ b/test.html @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + Z64 + + + + +
+
+ +
+ +


+

ZRET Decompilation Status

+


+ +
+ +
+ +
+ +
+
+ +
File 1
+ +
Oot Mq Debug +
+
+
+
+ + +
+
+
+
+ +
+
+

Last Change:

+

Error

+
+
+
+

Total:

+

Error

+
+ +
+

Boot:

+

Error

+
+ +
+

Code:

+

Error

+
+ +
+

Overlays:

+

Error

+
+
+ +
+
+ +
+ +
Matching: No +
+
+ + +
+ +
+ +
+ +
+ +
+
+
File 2
+
Majora's Mask +
+
+
+
+ +
+
+
+
+
+
+

Last Change:

+

Error

+
+
+
+

Total:

+

Error +

+

+ +
+

Boot:

+

Error

+
+ +
+

Code:

+

Error

+
+ +
+

Overlays:

+

Error

+
+
+
+
+ +
+ +
Matching: No +
+
+
+ +
+ +
+
+ +
+
+
File 3
+
The Minish Cap +
+
+
+
+
+
+
+
+
+
+

Last Change:

+

Error

+
+
+
+

Code Decompilation:

+

Error +

+

+ +
+

Data Reconstruction:

+

Error

+
+
+
+
+ +
+ +
Matching: No +
+
+
+ + +
+ +
+
+ + + \ No newline at end of file