From cdbaa39b97a37d1bb6ba7d889aedce80a17156f5 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 19 Oct 2023 11:29:08 -0600 Subject: [PATCH] Manualy make modular --- modular/accessible_styles/italics_+_bold.css | 4 +--- modular/base.css | 3 +-- modular/collapsing_members/dynamic.css | 7 ++++++- modular/collapsing_members/on.css | 7 ++++++- modular/font/terminus.css | 15 +++++---------- modular/font/the_funny.css | 6 ++---- .../font/the_funny_(alternate_monospace).css | 6 ++---- modular/font/unifont.css | 18 ++++++------------ modular/stylings/windows_classic.css | 4 +--- modular/voice_rings.css | 3 +-- 10 files changed, 31 insertions(+), 42 deletions(-) diff --git a/modular/accessible_styles/italics_+_bold.css b/modular/accessible_styles/italics_+_bold.css index c1b77f7..ecf1261 100644 --- a/modular/accessible_styles/italics_+_bold.css +++ b/modular/accessible_styles/italics_+_bold.css @@ -9,7 +9,5 @@ em { span[data-slate-leaf="true"][class*="bold-"], strong { font-weight: 400; - text-shadow: - 0.1px 0.1px, - -0.1px -0.1px; + text-shadow: 0.1px 0.1px, -0.1px -0.1px; } diff --git a/modular/base.css b/modular/base.css index 4a72a0e..20a6277 100644 --- a/modular/base.css +++ b/modular/base.css @@ -186,8 +186,7 @@ [class*="modal-"][class*="root-"] { background-color: var(--background-primary); - box-shadow: - var(--deprecated-card-bg) 0px 0px 0px 1px, + box-shadow: var(--deprecated-card-bg) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 2px 10px 0px; } diff --git a/modular/collapsing_members/dynamic.css b/modular/collapsing_members/dynamic.css index b37af61..d73fc1d 100644 --- a/modular/collapsing_members/dynamic.css +++ b/modular/collapsing_members/dynamic.css @@ -1,19 +1,24 @@ @media (width < 1300px) { [class^="chat-"] > [class^="content-"] - > [class^="container-"] + > [class^="container-"]:nth-child(2) > [class^="membersWrap-"], + [class^="chat-"] > [class^="content-"] > [class^="container-"]:nth-child(2), [class^="chat-"] > [class^="content-"] > [class^="membersWrap-"] { width: 50px !important; min-width: 50px !important; } + [class^="chat-"] + > [class^="content-"] + > [class^="container-"]:nth-child(2):hover, [class^="chat-"] > [class^="content-"] > [class^="container-"]:hover > [class^="membersWrap-"], [class^="chat-"] > [class^="content-"] > [class^="membersWrap-"]:hover { width: 240px !important; + min-width: 240px !important; } [class^="chat-"] diff --git a/modular/collapsing_members/on.css b/modular/collapsing_members/on.css index 480a627..1dbc0ea 100644 --- a/modular/collapsing_members/on.css +++ b/modular/collapsing_members/on.css @@ -1,18 +1,23 @@ [class^="chat-"] > [class^="content-"] - > [class^="container-"] + > [class^="container-"]:nth-child(2) > [class^="membersWrap-"], +[class^="chat-"] > [class^="content-"] > [class^="container-"]:nth-child(2), [class^="chat-"] > [class^="content-"] > [class^="membersWrap-"] { width: 50px !important; min-width: 50px !important; } +[class^="chat-"] + > [class^="content-"] + > [class^="container-"]:nth-child(2):hover, [class^="chat-"] > [class^="content-"] > [class^="container-"]:hover > [class^="membersWrap-"], [class^="chat-"] > [class^="content-"] > [class^="membersWrap-"]:hover { width: 240px !important; + min-width: 240px !important; } [class^="chat-"] diff --git a/modular/font/terminus.css b/modular/font/terminus.css index ade0c67..958b7d9 100644 --- a/modular/font/terminus.css +++ b/modular/font/terminus.css @@ -1,7 +1,6 @@ @font-face { font-family: "Unifont"; - src: - local("Unifont"), + src: local("Unifont"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/unifont-14.0.01.ttf) format("truetype"); font-weight: normal; @@ -10,8 +9,7 @@ @font-face { font-family: "Terminus (TTF)"; - src: - local("Terminus (TTF)"), + src: local("Terminus (TTF)"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/TerminusTTF-4.47.0.ttf) format("truetype"); font-weight: normal; @@ -19,8 +17,7 @@ } @font-face { font-family: "Terminus (TTF)"; - src: - local("Terminus (TTF)"), + src: local("Terminus (TTF)"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/TerminusTTF-Bold-4.47.0.ttf) format("truetype"); font-weight: bold; @@ -28,8 +25,7 @@ } @font-face { font-family: "Terminus (TTF)"; - src: - local("Terminus (TTF)"), + src: local("Terminus (TTF)"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/TerminusTTF-Bold%20Italic-4.47.0.ttf) format("truetype"); font-weight: bold; @@ -37,8 +33,7 @@ } @font-face { font-family: "Terminus (TTF)"; - src: - local("Terminus (TTF)"), + src: local("Terminus (TTF)"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/TerminusTTF-Italic-4.47.0.ttf) format("truetype"); font-weight: normal; diff --git a/modular/font/the_funny.css b/modular/font/the_funny.css index e661b80..8a70ba6 100644 --- a/modular/font/the_funny.css +++ b/modular/font/the_funny.css @@ -1,7 +1,6 @@ @font-face { font-family: "Pointfree"; - src: - local("Pointfree"), + src: local("Pointfree"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/pointfree.ttf) format("truetype"); font-weight: normal; @@ -10,8 +9,7 @@ @font-face { font-family: "Untyped"; - src: - local("Untyped"), + src: local("Untyped"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/untyped.ttf) format("truetype"); font-weight: normal; diff --git a/modular/font/the_funny_(alternate_monospace).css b/modular/font/the_funny_(alternate_monospace).css index 2f2ad9a..c2ef868 100644 --- a/modular/font/the_funny_(alternate_monospace).css +++ b/modular/font/the_funny_(alternate_monospace).css @@ -1,7 +1,6 @@ @font-face { font-family: "Untyped"; - src: - local("Untyped"), + src: local("Untyped"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/untyped.ttf) format("truetype"); font-weight: normal; @@ -10,8 +9,7 @@ @font-face { font-family: "Pointfree"; - src: - local("Pointfree"), + src: local("Pointfree"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/pointfree.ttf) format("truetype"); font-weight: normal; diff --git a/modular/font/unifont.css b/modular/font/unifont.css index b739d48..a0a857b 100644 --- a/modular/font/unifont.css +++ b/modular/font/unifont.css @@ -1,7 +1,6 @@ @font-face { font-family: "Unifont"; - src: - local("Unifont"), + src: local("Unifont"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/unifont-14.0.01.ttf) format("truetype"); font-weight: normal; @@ -10,8 +9,7 @@ @font-face { font-family: "Unifont"; - src: - local("Unifont"), + src: local("Unifont"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/unifont-14.0.01.ttf) format("truetype"); font-weight: normal; @@ -20,8 +18,7 @@ @font-face { font-family: "Terminus (TTF)"; - src: - local("Terminus (TTF)"), + src: local("Terminus (TTF)"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/TerminusTTF-4.47.0.ttf) format("truetype"); font-weight: normal; @@ -29,8 +26,7 @@ } @font-face { font-family: "Terminus (TTF)"; - src: - local("Terminus (TTF)"), + src: local("Terminus (TTF)"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/TerminusTTF-Bold-4.47.0.ttf) format("truetype"); font-weight: bold; @@ -38,8 +34,7 @@ } @font-face { font-family: "Terminus (TTF)"; - src: - local("Terminus (TTF)"), + src: local("Terminus (TTF)"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/TerminusTTF-Bold%20Italic-4.47.0.ttf) format("truetype"); font-weight: bold; @@ -47,8 +42,7 @@ } @font-face { font-family: "Terminus (TTF)"; - src: - local("Terminus (TTF)"), + src: local("Terminus (TTF)"), url(https://cynosphere.gitlab.io/Customizations/discord/assets/TerminusTTF-Italic-4.47.0.ttf) format("truetype"); font-weight: normal; diff --git a/modular/stylings/windows_classic.css b/modular/stylings/windows_classic.css index f5705af..fd52594 100644 --- a/modular/stylings/windows_classic.css +++ b/modular/stylings/windows_classic.css @@ -415,9 +415,7 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"])) [class^="scroller-"]::-webkit-scrollbar-button:single-button:active, [class*="scrollerBase-"]::-webkit-scrollbar-button:single-button:active { - box-shadow: - inset 1px 1px var(--secondary), - inset -1px -1px var(--secondary); + box-shadow: inset 1px 1px var(--secondary), inset -1px -1px var(--secondary); } [class^="scroller-"]:not( [class*="thin-"] diff --git a/modular/voice_rings.css b/modular/voice_rings.css index e381e0f..6035965 100644 --- a/modular/voice_rings.css +++ b/modular/voice_rings.css @@ -1,7 +1,6 @@ [class*="avatarSpeaking-"], [class^="avatar-"][class*="speaking-"] { - box-shadow: - 0 0 0 2px var(--status-online, var(--status-green-600)), + box-shadow: 0 0 0 2px var(--status-online, var(--status-green-600)), 0 0 0 3px var(--background-secondary) !important; }