X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fassets%2Fstyle.css;h=496e66f21b2dee0da0ac1231be3f699f863ea2ab;hb=a9d9ea34ae4621d0babc235b10614c7c8c37d88b;hp=28f90b673c4028ef89768f7cf09a07d159518236;hpb=24c3fcb499d1594f698611fd10219de01993071e;p=poolifier.git
diff --git a/docs/assets/style.css b/docs/assets/style.css
index 28f90b67..496e66f2 100644
--- a/docs/assets/style.css
+++ b/docs/assets/style.css
@@ -1,186 +1,193 @@
-@import url("./icons.css");
-
:root {
/* Light */
- --light-color-background: #fcfcfc;
- --light-color-secondary-background: #fff;
+ --light-color-background: #f2f4f8;
+ --light-color-background-secondary: #eff0f1;
+ --light-color-warning-text: #222;
+ --light-color-background-warning: #e6e600;
+ --light-color-icon-background: var(--light-color-background);
+ --light-color-accent: #c5c7c9;
--light-color-text: #222;
--light-color-text-aside: #707070;
--light-color-link: #4da6ff;
- --light-color-menu-divider: #eee;
- --light-color-menu-divider-focus: #000;
- --light-color-menu-label: #707070;
- --light-color-panel: var(--light-color-secondary-background);
- --light-color-panel-divider: #eee;
- --light-color-comment-tag: #707070;
- --light-color-comment-tag-text: #fff;
- --light-color-ts: #9600ff;
- --light-color-ts-interface: #647f1b;
- --light-color-ts-enum: #937210;
- --light-color-ts-class: #0672de;
+ --light-color-ts: #db1373;
+ --light-color-ts-interface: #139d2c;
+ --light-color-ts-enum: #9c891a;
+ --light-color-ts-class: #2484e5;
+ --light-color-ts-function: #572be7;
+ --light-color-ts-namespace: #b111c9;
--light-color-ts-private: #707070;
- --light-color-toolbar: #fff;
- --light-color-toolbar-text: #333;
- --light-icon-filter: invert(0);
+ --light-color-ts-variable: #4d68ff;
--light-external-icon: url("data:image/svg+xml;utf8,");
+ --light-color-scheme: light;
/* Dark */
- --dark-color-background: #36393f;
- --dark-color-secondary-background: #2f3136;
- --dark-color-text: #ffffff;
- --dark-color-text-aside: #e6e4e4;
+ --dark-color-background: #2b2e33;
+ --dark-color-background-secondary: #1e2024;
+ --dark-color-background-warning: #bebe00;
+ --dark-color-warning-text: #222;
+ --dark-color-icon-background: var(--dark-color-background-secondary);
+ --dark-color-accent: #9096a2;
+ --dark-color-text: #f5f5f5;
+ --dark-color-text-aside: #dddddd;
--dark-color-link: #00aff4;
- --dark-color-menu-divider: #eee;
- --dark-color-menu-divider-focus: #000;
- --dark-color-menu-label: #707070;
- --dark-color-panel: var(--dark-color-secondary-background);
- --dark-color-panel-divider: #818181;
- --dark-color-comment-tag: #dcddde;
- --dark-color-comment-tag-text: #2f3136;
- --dark-color-ts: #c97dff;
- --dark-color-ts-interface: #9cbe3c;
- --dark-color-ts-enum: #d6ab29;
- --dark-color-ts-class: #3695f3;
+ --dark-color-ts: #ff6492;
+ --dark-color-ts-interface: #6cff87;
+ --dark-color-ts-enum: #f4d93e;
+ --dark-color-ts-class: #61b0ff;
+ --dark-color-ts-function: #9772ff;
+ --dark-color-ts-namespace: #e14dff;
--dark-color-ts-private: #e2e2e2;
- --dark-color-toolbar: #34373c;
- --dark-color-toolbar-text: #ffffff;
- --dark-icon-filter: invert(1);
+ --dark-color-ts-variable: #4d68ff;
--dark-external-icon: url("data:image/svg+xml;utf8,");
+ --dark-color-scheme: dark;
}
@media (prefers-color-scheme: light) {
:root {
--color-background: var(--light-color-background);
- --color-secondary-background: var(--light-color-secondary-background);
+ --color-background-secondary: var(--light-color-background-secondary);
+ --color-background-warning: var(--light-color-background-warning);
+ --color-warning-text: var(--light-color-warning-text);
+ --color-icon-background: var(--light-color-icon-background);
+ --color-accent: var(--light-color-accent);
--color-text: var(--light-color-text);
--color-text-aside: var(--light-color-text-aside);
--color-link: var(--light-color-link);
- --color-menu-divider: var(--light-color-menu-divider);
- --color-menu-divider-focus: var(--light-color-menu-divider-focus);
- --color-menu-label: var(--light-color-menu-label);
- --color-panel: var(--light-color-panel);
- --color-panel-divider: var(--light-color-panel-divider);
- --color-comment-tag: var(--light-color-comment-tag);
- --color-comment-tag-text: var(--light-color-comment-tag-text);
--color-ts: var(--light-color-ts);
--color-ts-interface: var(--light-color-ts-interface);
--color-ts-enum: var(--light-color-ts-enum);
--color-ts-class: var(--light-color-ts-class);
+ --color-ts-function: var(--light-color-ts-function);
+ --color-ts-namespace: var(--light-color-ts-namespace);
--color-ts-private: var(--light-color-ts-private);
- --color-toolbar: var(--light-color-toolbar);
- --color-toolbar-text: var(--light-color-toolbar-text);
- --icon-filter: var(--light-icon-filter);
+ --color-ts-variable: var(--light-color-ts-variable);
--external-icon: var(--light-external-icon);
+ --color-scheme: var(--light-color-scheme);
}
}
@media (prefers-color-scheme: dark) {
:root {
--color-background: var(--dark-color-background);
- --color-secondary-background: var(--dark-color-secondary-background);
+ --color-background-secondary: var(--dark-color-background-secondary);
+ --color-background-warning: var(--dark-color-background-warning);
+ --color-warning-text: var(--dark-color-warning-text);
+ --color-icon-background: var(--dark-color-icon-background);
+ --color-accent: var(--dark-color-accent);
--color-text: var(--dark-color-text);
--color-text-aside: var(--dark-color-text-aside);
--color-link: var(--dark-color-link);
- --color-menu-divider: var(--dark-color-menu-divider);
- --color-menu-divider-focus: var(--dark-color-menu-divider-focus);
- --color-menu-label: var(--dark-color-menu-label);
- --color-panel: var(--dark-color-panel);
- --color-panel-divider: var(--dark-color-panel-divider);
- --color-comment-tag: var(--dark-color-comment-tag);
- --color-comment-tag-text: var(--dark-color-comment-tag-text);
--color-ts: var(--dark-color-ts);
--color-ts-interface: var(--dark-color-ts-interface);
--color-ts-enum: var(--dark-color-ts-enum);
--color-ts-class: var(--dark-color-ts-class);
+ --color-ts-function: var(--dark-color-ts-function);
+ --color-ts-namespace: var(--dark-color-ts-namespace);
--color-ts-private: var(--dark-color-ts-private);
- --color-toolbar: var(--dark-color-toolbar);
- --color-toolbar-text: var(--dark-color-toolbar-text);
- --icon-filter: var(--dark-icon-filter);
+ --color-ts-variable: var(--dark-color-ts-variable);
--external-icon: var(--dark-external-icon);
+ --color-scheme: var(--dark-color-scheme);
}
}
+html {
+ color-scheme: var(--color-scheme);
+}
+
body {
margin: 0;
}
-body.light {
+:root[data-theme="light"] {
--color-background: var(--light-color-background);
- --color-secondary-background: var(--light-color-secondary-background);
+ --color-background-secondary: var(--light-color-background-secondary);
+ --color-background-warning: var(--light-color-background-warning);
+ --color-warning-text: var(--light-color-warning-text);
+ --color-icon-background: var(--light-color-icon-background);
+ --color-accent: var(--light-color-accent);
--color-text: var(--light-color-text);
--color-text-aside: var(--light-color-text-aside);
--color-link: var(--light-color-link);
- --color-menu-divider: var(--light-color-menu-divider);
- --color-menu-divider-focus: var(--light-color-menu-divider-focus);
- --color-menu-label: var(--light-color-menu-label);
- --color-panel: var(--light-color-panel);
- --color-panel-divider: var(--light-color-panel-divider);
- --color-comment-tag: var(--light-color-comment-tag);
- --color-comment-tag-text: var(--light-color-comment-tag-text);
--color-ts: var(--light-color-ts);
--color-ts-interface: var(--light-color-ts-interface);
--color-ts-enum: var(--light-color-ts-enum);
--color-ts-class: var(--light-color-ts-class);
+ --color-ts-function: var(--light-color-ts-function);
+ --color-ts-namespace: var(--light-color-ts-namespace);
--color-ts-private: var(--light-color-ts-private);
- --color-toolbar: var(--light-color-toolbar);
- --color-toolbar-text: var(--light-color-toolbar-text);
- --icon-filter: var(--light-icon-filter);
+ --color-ts-variable: var(--light-color-ts-variable);
--external-icon: var(--light-external-icon);
+ --color-scheme: var(--light-color-scheme);
}
-body.dark {
+:root[data-theme="dark"] {
--color-background: var(--dark-color-background);
- --color-secondary-background: var(--dark-color-secondary-background);
+ --color-background-secondary: var(--dark-color-background-secondary);
+ --color-background-warning: var(--dark-color-background-warning);
+ --color-warning-text: var(--dark-color-warning-text);
+ --color-icon-background: var(--dark-color-icon-background);
+ --color-accent: var(--dark-color-accent);
--color-text: var(--dark-color-text);
--color-text-aside: var(--dark-color-text-aside);
--color-link: var(--dark-color-link);
- --color-menu-divider: var(--dark-color-menu-divider);
- --color-menu-divider-focus: var(--dark-color-menu-divider-focus);
- --color-menu-label: var(--dark-color-menu-label);
- --color-panel: var(--dark-color-panel);
- --color-panel-divider: var(--dark-color-panel-divider);
- --color-comment-tag: var(--dark-color-comment-tag);
- --color-comment-tag-text: var(--dark-color-comment-tag-text);
--color-ts: var(--dark-color-ts);
--color-ts-interface: var(--dark-color-ts-interface);
--color-ts-enum: var(--dark-color-ts-enum);
--color-ts-class: var(--dark-color-ts-class);
+ --color-ts-function: var(--dark-color-ts-function);
+ --color-ts-namespace: var(--dark-color-ts-namespace);
--color-ts-private: var(--dark-color-ts-private);
- --color-toolbar: var(--dark-color-toolbar);
- --color-toolbar-text: var(--dark-color-toolbar-text);
- --icon-filter: var(--dark-icon-filter);
+ --color-ts-variable: var(--dark-color-ts-variable);
--external-icon: var(--dark-external-icon);
+ --color-scheme: var(--dark-color-scheme);
+}
+
+.always-visible,
+.always-visible .tsd-signatures {
+ display: inherit !important;
+}
+
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ line-height: 1.2;
}
h1 {
- font-size: 2em;
- margin: 0.67em 0;
+ font-size: 1.875rem;
+ margin: 0.67rem 0;
}
h2 {
- font-size: 1.5em;
- margin: 0.83em 0;
+ font-size: 1.5rem;
+ margin: 0.83rem 0;
}
h3 {
- font-size: 1.17em;
- margin: 1em 0;
+ font-size: 1.25rem;
+ margin: 1rem 0;
}
-h4,
-.tsd-index-panel h3 {
- font-size: 1em;
- margin: 1.33em 0;
+h4 {
+ font-size: 1.05rem;
+ margin: 1.33rem 0;
}
h5 {
- font-size: 0.83em;
- margin: 1.67em 0;
+ font-size: 1rem;
+ margin: 1.5rem 0;
}
h6 {
- font-size: 0.67em;
- margin: 2.33em 0;
+ font-size: 0.875rem;
+ margin: 2.33rem 0;
+}
+
+.uppercase {
+ text-transform: uppercase;
}
pre {
@@ -201,74 +208,61 @@ dd {
}
.container {
- max-width: 1200px;
- margin: 0 auto;
- padding: 0 40px;
+ max-width: 1600px;
+ padding: 0 2rem;
+}
+
+@media (min-width: 640px) {
+ .container {
+ padding: 0 4rem;
+ }
}
-@media (max-width: 640px) {
+@media (min-width: 1200px) {
.container {
- padding: 0 20px;
+ padding: 0 8rem;
+ }
+}
+@media (min-width: 1600px) {
+ .container {
+ padding: 0 12rem;
}
}
-.container-main {
- padding-bottom: 200px;
+/* Footer */
+.tsd-generator {
+ border-top: 1px solid var(--color-accent);
+ padding-top: 1rem;
+ padding-bottom: 1rem;
+ max-height: 3.5rem;
+}
+
+.tsd-generator > p {
+ margin-top: 0;
+ margin-bottom: 0;
+ padding: 0 1rem;
}
-.row {
+.container-main {
display: flex;
+ justify-content: space-between;
position: relative;
- margin: 0 -10px;
-}
-.row:after {
- visibility: hidden;
- display: block;
- content: "";
- clear: both;
- height: 0;
+ margin: 0 auto;
}
.col-4,
.col-8 {
box-sizing: border-box;
float: left;
- padding: 0 10px;
+ padding: 2rem 1rem;
}
.col-4 {
- width: 33.3333333333%;
+ flex: 0 0 25%;
}
.col-8 {
- width: 66.6666666667%;
-}
-
-ul.tsd-descriptions > li > :first-child,
-.tsd-panel > :first-child,
-.col-8 > :first-child,
-.col-4 > :first-child,
-ul.tsd-descriptions > li > :first-child > :first-child,
-.tsd-panel > :first-child > :first-child,
-.col-8 > :first-child > :first-child,
-.col-4 > :first-child > :first-child,
-ul.tsd-descriptions > li > :first-child > :first-child > :first-child,
-.tsd-panel > :first-child > :first-child > :first-child,
-.col-8 > :first-child > :first-child > :first-child,
-.col-4 > :first-child > :first-child > :first-child {
- margin-top: 0;
-}
-ul.tsd-descriptions > li > :last-child,
-.tsd-panel > :last-child,
-.col-8 > :last-child,
-.col-4 > :last-child,
-ul.tsd-descriptions > li > :last-child > :last-child,
-.tsd-panel > :last-child > :last-child,
-.col-8 > :last-child > :last-child,
-.col-4 > :last-child > :last-child,
-ul.tsd-descriptions > li > :last-child > :last-child > :last-child,
-.tsd-panel > :last-child > :last-child > :last-child,
-.col-8 > :last-child > :last-child > :last-child,
-.col-4 > :last-child > :last-child > :last-child {
- margin-bottom: 0;
+ flex: 1 0;
+ flex-wrap: wrap;
+ padding-left: 0;
}
@keyframes fade-in {
@@ -370,11 +364,13 @@ pre {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
padding: 0.2em;
margin: 0;
- font-size: 14px;
+ font-size: 0.875rem;
+ border-radius: 0.8em;
}
pre {
padding: 10px;
+ border: 0.1em solid var(--color-accent);
}
pre code {
padding: 0;
@@ -413,36 +409,26 @@ blockquote {
margin: 1em 0;
}
-@media (min-width: 901px) and (max-width: 1024px) {
- html .col-content {
- width: 72%;
- }
- html .col-menu {
- width: 28%;
- }
- html .tsd-navigation {
- padding-left: 10px;
- }
-}
-@media (max-width: 900px) {
+@media (max-width: 1024px) {
html .col-content {
float: none;
+ max-width: 100%;
width: 100%;
+ padding-top: 3rem;
}
html .col-menu {
position: fixed !important;
- overflow: auto;
+ overflow-y: auto;
-webkit-overflow-scrolling: touch;
z-index: 1024;
top: 0 !important;
bottom: 0 !important;
left: auto !important;
right: 0 !important;
- width: 100%;
- padding: 20px 20px 0 0;
- max-width: 450px;
+ padding: 1.5rem 1.5rem 0 0;
+ max-width: 25rem;
visibility: hidden;
- background-color: var(--color-panel);
+ background-color: var(--color-background);
transform: translate(100%, 0);
}
html .col-menu > *:last-child {
@@ -497,25 +483,17 @@ blockquote {
.has-menu .col-menu {
visibility: visible;
transform: translate(0, 0);
- display: grid;
- grid-template-rows: auto 1fr;
+ display: flex;
+ flex-direction: column;
+ gap: 1.5rem;
max-height: 100vh;
+ padding: 1rem 2rem;
}
.has-menu .tsd-navigation {
max-height: 100%;
}
}
-.tsd-page-title {
- padding: 70px 0 20px 0;
- margin: 0 0 40px 0;
- background: var(--color-panel);
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
-}
-.tsd-page-title h1 {
- margin: 0;
-}
-
.tsd-breadcrumb {
margin: 0;
padding: 0;
@@ -535,32 +513,44 @@ blockquote {
content: " / ";
}
-dl.tsd-comment-tags {
+.tsd-comment-tags {
+ display: flex;
+ flex-direction: column;
+}
+dl.tsd-comment-tag-group {
+ display: flex;
+ align-items: center;
overflow: hidden;
+ margin: 0.5em 0;
}
-dl.tsd-comment-tags dt {
- float: left;
- padding: 1px 5px;
- margin: 0 10px 0 0;
- border-radius: 4px;
- border: 1px solid var(--color-comment-tag);
- color: var(--color-comment-tag);
- font-size: 0.8em;
+dl.tsd-comment-tag-group dt {
+ display: flex;
+ margin-right: 0.5em;
+ font-size: 0.875em;
font-weight: normal;
}
-dl.tsd-comment-tags dd {
- margin: 0 0 10px 0;
+dl.tsd-comment-tag-group dd {
+ margin: 0;
+}
+code.tsd-tag {
+ padding: 0.25em 0.4em;
+ border: 0.1em solid var(--color-accent);
+ margin-right: 0.25em;
+ font-size: 70%;
}
-dl.tsd-comment-tags dd:before,
-dl.tsd-comment-tags dd:after {
- display: table;
+h1 code.tsd-tag:first-of-type {
+ margin-left: 0.25em;
+}
+
+dl.tsd-comment-tag-group dd:before,
+dl.tsd-comment-tag-group dd:after {
content: " ";
}
-dl.tsd-comment-tags dd pre,
-dl.tsd-comment-tags dd:after {
+dl.tsd-comment-tag-group dd pre,
+dl.tsd-comment-tag-group dd:after {
clear: both;
}
-dl.tsd-comment-tags p {
+dl.tsd-comment-tag-group p {
margin: 0;
}
@@ -573,153 +563,109 @@ dl.tsd-comment-tags p {
margin-bottom: 0;
}
-.toggle-protected .tsd-is-private {
- display: none;
-}
-
-.toggle-public .tsd-is-private,
-.toggle-public .tsd-is-protected,
-.toggle-public .tsd-is-private-protected {
- display: none;
+.tsd-filter-visibility h4 {
+ font-size: 1rem;
+ padding-top: 0.75rem;
+ padding-bottom: 0.5rem;
+ margin: 0;
}
-
-.toggle-inherited .tsd-is-inherited {
- display: none;
+.tsd-filter-item:not(:last-child) {
+ margin-bottom: 0.5rem;
}
-
-.toggle-externals .tsd-is-external {
- display: none;
+.tsd-filter-input {
+ display: flex;
+ width: fit-content;
+ width: -moz-fit-content;
+ align-items: center;
+ user-select: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ cursor: pointer;
}
-
-#tsd-filter {
- position: relative;
- display: inline-block;
- height: 40px;
- vertical-align: bottom;
+.tsd-filter-input input[type="checkbox"] {
+ cursor: pointer;
+ position: absolute;
+ width: 1.5em;
+ height: 1.5em;
+ opacity: 0;
}
-.no-filter #tsd-filter {
- display: none;
+.tsd-filter-input input[type="checkbox"]:disabled {
+ pointer-events: none;
}
-#tsd-filter .tsd-filter-group {
- display: inline-block;
- height: 40px;
- vertical-align: bottom;
- white-space: nowrap;
+.tsd-filter-input svg {
+ cursor: pointer;
+ width: 1.5em;
+ height: 1.5em;
+ margin-right: 0.5em;
+ border-radius: 0.33em;
+ /* Leaving this at full opacity breaks event listeners on Firefox.
+ Don't remove unless you know what you're doing. */
+ opacity: 0.99;
}
-#tsd-filter input {
- display: none;
+.tsd-filter-input input[type="checkbox"]:focus + svg {
+ transform: scale(0.95);
}
-@media (max-width: 900px) {
- #tsd-filter .tsd-filter-group {
- display: block;
- position: absolute;
- top: 40px;
- right: 20px;
- height: auto;
- background-color: var(--color-panel);
- visibility: hidden;
- transform: translate(50%, 0);
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
- }
- .has-options #tsd-filter .tsd-filter-group {
- visibility: visible;
- }
- .to-has-options #tsd-filter .tsd-filter-group {
- animation: fade-in 0.2s;
- }
- .from-has-options #tsd-filter .tsd-filter-group {
- animation: fade-out 0.2s;
- }
- #tsd-filter label,
- #tsd-filter .tsd-select {
- display: block;
- padding-right: 20px;
- }
+.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg {
+ transform: scale(1);
}
-
-footer {
- border-top: 1px solid var(--color-panel-divider);
- background-color: var(--color-panel);
+.tsd-checkbox-background {
+ fill: var(--color-accent);
}
-footer:after {
- content: "";
- display: table;
+input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
+ stroke: var(--color-text);
}
-footer.with-border-bottom {
- border-bottom: 1px solid var(--color-panel-divider);
+.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background {
+ fill: var(--color-background);
+ stroke: var(--color-accent);
+ stroke-width: 0.25rem;
}
-footer .tsd-legend-group {
- font-size: 0;
+.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark {
+ stroke: var(--color-accent);
}
-footer .tsd-legend {
- display: inline-block;
- width: 25%;
- padding: 0;
- font-size: 16px;
- list-style: none;
- line-height: 1.333em;
- vertical-align: top;
+
+.tsd-theme-toggle {
+ padding-top: 0.75rem;
}
-@media (max-width: 900px) {
- footer .tsd-legend {
- width: 50%;
- }
+.tsd-theme-toggle > h4 {
+ display: inline;
+ vertical-align: middle;
+ margin-right: 0.75rem;
}
.tsd-hierarchy {
list-style: square;
- padding: 0 0 0 20px;
margin: 0;
}
.tsd-hierarchy .target {
font-weight: bold;
}
-.tsd-index-panel .tsd-index-content {
- margin-bottom: -30px !important;
-}
-.tsd-index-panel .tsd-index-section {
- margin-bottom: 30px !important;
-}
-.tsd-index-panel h3 {
- margin: 0 -20px 10px -20px;
- padding: 0 20px 10px 20px;
- border-bottom: 1px solid var(--color-panel-divider);
-}
-.tsd-index-panel ul.tsd-index-list {
- -webkit-column-count: 3;
- -moz-column-count: 3;
- -ms-column-count: 3;
- -o-column-count: 3;
- column-count: 3;
- -webkit-column-gap: 20px;
- -moz-column-gap: 20px;
- -ms-column-gap: 20px;
- -o-column-gap: 20px;
- column-gap: 20px;
- padding: 0;
+.tsd-panel-group.tsd-index-group {
+ margin-bottom: 0;
+}
+.tsd-index-panel .tsd-index-list {
list-style: none;
line-height: 1.333em;
-}
-@media (max-width: 900px) {
- .tsd-index-panel ul.tsd-index-list {
- -webkit-column-count: 1;
- -moz-column-count: 1;
- -ms-column-count: 1;
- -o-column-count: 1;
- column-count: 1;
+ margin: 0;
+ padding: 0.25rem 0 0 0;
+ overflow: hidden;
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ column-gap: 1rem;
+ grid-template-rows: auto;
+}
+@media (max-width: 1024px) {
+ .tsd-index-panel .tsd-index-list {
+ grid-template-columns: repeat(2, 1fr);
}
}
-@media (min-width: 901px) and (max-width: 1024px) {
- .tsd-index-panel ul.tsd-index-list {
- -webkit-column-count: 2;
- -moz-column-count: 2;
- -ms-column-count: 2;
- -o-column-count: 2;
- column-count: 2;
+@media (max-width: 768px) {
+ .tsd-index-panel .tsd-index-list {
+ grid-template-columns: repeat(1, 1fr);
}
}
-.tsd-index-panel ul.tsd-index-list li {
+.tsd-index-panel .tsd-index-list li {
-webkit-page-break-inside: avoid;
-moz-page-break-inside: avoid;
-ms-page-break-inside: avoid;
@@ -727,42 +673,52 @@ footer .tsd-legend {
page-break-inside: avoid;
}
.tsd-index-panel a,
-.tsd-index-panel .tsd-parent-kind-module a {
+.tsd-index-panel a.tsd-parent-kind-module {
color: var(--color-ts);
}
-.tsd-index-panel .tsd-parent-kind-interface a {
+.tsd-index-panel a.tsd-parent-kind-interface {
color: var(--color-ts-interface);
}
-.tsd-index-panel .tsd-parent-kind-enum a {
+.tsd-index-panel a.tsd-parent-kind-enum {
color: var(--color-ts-enum);
}
-.tsd-index-panel .tsd-parent-kind-class a {
+.tsd-index-panel a.tsd-parent-kind-class {
color: var(--color-ts-class);
}
-.tsd-index-panel .tsd-kind-module a {
- color: var(--color-ts);
+.tsd-index-panel a.tsd-kind-module {
+ color: var(--color-ts-namespace);
}
-.tsd-index-panel .tsd-kind-interface a {
+.tsd-index-panel a.tsd-kind-interface {
color: var(--color-ts-interface);
}
-.tsd-index-panel .tsd-kind-enum a {
+.tsd-index-panel a.tsd-kind-enum {
color: var(--color-ts-enum);
}
-.tsd-index-panel .tsd-kind-class a {
+.tsd-index-panel a.tsd-kind-class {
color: var(--color-ts-class);
}
-.tsd-index-panel .tsd-is-private a {
+.tsd-index-panel a.tsd-kind-function {
+ color: var(--color-ts-function);
+}
+.tsd-index-panel a.tsd-kind-namespace {
+ color: var(--color-ts-namespace);
+}
+.tsd-index-panel a.tsd-kind-variable {
+ color: var(--color-ts-variable);
+}
+.tsd-index-panel a.tsd-is-private {
color: var(--color-ts-private);
}
.tsd-flag {
display: inline-block;
- padding: 1px 5px;
+ padding: 0.25em 0.4em;
border-radius: 4px;
color: var(--color-comment-tag-text);
background-color: var(--color-comment-tag);
text-indent: 0;
- font-size: 14px;
+ font-size: 75%;
+ line-height: 1;
font-weight: normal;
}
@@ -775,6 +731,8 @@ footer .tsd-legend {
position: relative;
}
.tsd-member .tsd-anchor + h3 {
+ display: flex;
+ align-items: center;
margin-top: 0;
margin-bottom: 0;
border-bottom: none;
@@ -795,13 +753,9 @@ footer .tsd-legend {
color: var(--color-ts-private);
}
-.tsd-navigation {
- margin: 0 0 0 40px;
-}
.tsd-navigation a {
display: block;
- padding-top: 2px;
- padding-bottom: 2px;
+ margin: 0.4rem 0;
border-left: 2px solid transparent;
color: var(--color-text);
text-decoration: none;
@@ -819,110 +773,176 @@ footer .tsd-legend {
padding: 0;
}
-.tsd-navigation.primary {
- padding-bottom: 40px;
+.tsd-navigation.primary .tsd-accordion-details > ul {
+ margin-top: 0.75rem;
}
.tsd-navigation.primary a {
- display: block;
- padding-top: 6px;
- padding-bottom: 6px;
+ padding: 0.75rem 0.5rem;
+ margin: 0;
}
.tsd-navigation.primary ul li a {
- padding-left: 5px;
+ margin-left: 0.5rem;
}
.tsd-navigation.primary ul li li a {
- padding-left: 25px;
+ margin-left: 1.5rem;
}
.tsd-navigation.primary ul li li li a {
- padding-left: 45px;
+ margin-left: 2.5rem;
}
.tsd-navigation.primary ul li li li li a {
- padding-left: 65px;
+ margin-left: 3.5rem;
}
.tsd-navigation.primary ul li li li li li a {
- padding-left: 85px;
+ margin-left: 4.5rem;
}
.tsd-navigation.primary ul li li li li li li a {
- padding-left: 105px;
-}
-.tsd-navigation.primary > ul {
- border-bottom: 1px solid var(--color-panel-divider);
-}
-.tsd-navigation.primary li {
- border-top: 1px solid var(--color-panel-divider);
+ margin-left: 5.5rem;
}
.tsd-navigation.primary li.current > a {
+ border-left: 0.15rem var(--color-text) solid;
+}
+.tsd-navigation.primary li.selected > a {
font-weight: bold;
+ border-left: 0.2rem var(--color-text) solid;
}
-.tsd-navigation.primary li.label span {
- display: block;
- padding: 20px 0 6px 5px;
- color: var(--color-menu-label);
+.tsd-navigation.primary ul li a:hover {
+ border-left: 0.2rem var(--color-text-aside) solid;
}
.tsd-navigation.primary li.globals + li > span,
.tsd-navigation.primary li.globals + li > a {
padding-top: 20px;
}
-.tsd-navigation.secondary {
- max-height: calc(100vh - 1rem - 40px);
- overflow: auto;
- position: sticky;
- top: calc(0.5rem + 40px);
- transition: 0.3s;
-}
.tsd-navigation.secondary.tsd-navigation--toolbar-hide {
max-height: calc(100vh - 1rem);
top: 0.5rem;
}
-.tsd-navigation.secondary ul {
+.tsd-navigation.secondary > ul {
+ display: inline;
+ padding-right: 0.5rem;
transition: opacity 0.2s;
}
.tsd-navigation.secondary ul li a {
- padding-left: 25px;
+ padding-left: 0;
}
.tsd-navigation.secondary ul li li a {
- padding-left: 45px;
+ padding-left: 1.1rem;
}
.tsd-navigation.secondary ul li li li a {
- padding-left: 65px;
+ padding-left: 2.2rem;
}
.tsd-navigation.secondary ul li li li li a {
- padding-left: 85px;
+ padding-left: 3.3rem;
}
.tsd-navigation.secondary ul li li li li li a {
- padding-left: 105px;
+ padding-left: 4.4rem;
}
.tsd-navigation.secondary ul li li li li li li a {
- padding-left: 125px;
+ padding-left: 5.5rem;
}
-.tsd-navigation.secondary ul.current a {
- border-left-color: var(--color-panel-divider);
+
+#tsd-sidebar-links a {
+ margin-top: 0;
+ margin-bottom: 0.5rem;
+ line-height: 1.25rem;
}
-.tsd-navigation.secondary li.focus > a,
-.tsd-navigation.secondary ul.current li.focus > a {
- border-left-color: var(--color-menu-divider-focus);
+#tsd-sidebar-links a:last-of-type {
+ margin-bottom: 0;
}
-.tsd-navigation.secondary li.current {
- margin-top: 20px;
- margin-bottom: 20px;
- border-left-color: var(--color-panel-divider);
+
+a.tsd-index-link {
+ margin: 0.25rem 0;
+ font-size: 1rem;
+ line-height: 1.25rem;
+ display: inline-flex;
+ align-items: center;
+}
+.tsd-accordion-summary > h1,
+.tsd-accordion-summary > h2,
+.tsd-accordion-summary > h3,
+.tsd-accordion-summary > h4,
+.tsd-accordion-summary > h5 {
+ display: inline-flex;
+ align-items: center;
+ vertical-align: middle;
+ margin-bottom: 0;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -ms-user-select: none;
}
-.tsd-navigation.secondary li.current > a {
- font-weight: bold;
+.tsd-accordion-summary {
+ display: block;
+ cursor: pointer;
+}
+.tsd-accordion-summary > * {
+ margin-top: 0;
+ margin-bottom: 0;
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.tsd-accordion-summary::-webkit-details-marker {
+ display: none;
+}
+.tsd-index-accordion .tsd-accordion-summary svg {
+ margin-right: 0.25rem;
+}
+.tsd-index-content > :not(:first-child) {
+ margin-top: 0.75rem;
+}
+.tsd-index-heading {
+ margin-top: 1.5rem;
+ margin-bottom: 0.75rem;
}
-@media (min-width: 901px) {
+.tsd-kind-icon {
+ margin-right: 0.5rem;
+ width: 1.25rem;
+ height: 1.25rem;
+ min-width: 1.25rem;
+ min-height: 1.25rem;
+}
+.tsd-kind-icon path {
+ transform-origin: center;
+ transform: scale(1.1);
+}
+.tsd-signature > .tsd-kind-icon {
+ margin-right: 0.8rem;
+}
+
+@media (min-width: 1025px) {
+ .col-content {
+ margin: 2rem auto;
+ }
+
.menu-sticky-wrap {
- position: static;
+ position: sticky;
+ height: calc(100vh - 2rem);
+ top: 4rem;
+ right: 0;
+ padding: 0 1.5rem;
+ padding-top: 1rem;
+ margin-top: 3rem;
+ transition: 0.3s ease-in-out;
+ transition-property: top, padding-top, padding, height;
+ overflow-y: auto;
+ }
+ .col-menu {
+ border-left: 1px solid var(--color-accent);
+ }
+ .col-menu--hide {
+ top: 1rem;
+ }
+ .col-menu .tsd-navigation:not(:last-child) {
+ padding-bottom: 1.75rem;
}
}
.tsd-panel {
- margin: 20px 0;
- padding: 20px;
- background-color: var(--color-panel);
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
+ margin-bottom: 2.5rem;
+}
+.tsd-panel.tsd-member {
+ margin-bottom: 4rem;
}
.tsd-panel:empty {
display: none;
@@ -930,48 +950,24 @@ footer .tsd-legend {
.tsd-panel > h1,
.tsd-panel > h2,
.tsd-panel > h3 {
- margin: 1.5em -20px 10px -20px;
- padding: 0 20px 10px 20px;
- border-bottom: 1px solid var(--color-panel-divider);
+ margin: 1.5rem -1.5rem 0.75rem -1.5rem;
+ padding: 0 1.5rem 0.75rem 1.5rem;
}
.tsd-panel > h1.tsd-before-signature,
.tsd-panel > h2.tsd-before-signature,
.tsd-panel > h3.tsd-before-signature {
margin-bottom: 0;
- border-bottom: 0;
-}
-.tsd-panel table {
- display: block;
- width: 100%;
- overflow: auto;
- margin-top: 10px;
- word-break: normal;
- word-break: keep-all;
- border-collapse: collapse;
-}
-.tsd-panel table th {
- font-weight: bold;
-}
-.tsd-panel table th,
-.tsd-panel table td {
- padding: 6px 13px;
- border: 1px solid var(--color-panel-divider);
-}
-.tsd-panel table tr {
- background: var(--color-background);
-}
-.tsd-panel table tr:nth-child(even) {
- background: var(--color-secondary-background);
+ border-bottom: none;
}
.tsd-panel-group {
- margin: 60px 0;
+ margin: 4rem 0;
}
-.tsd-panel-group > h1,
-.tsd-panel-group > h2,
-.tsd-panel-group > h3 {
- padding-left: 20px;
- padding-right: 20px;
+.tsd-panel-group.tsd-index-group {
+ margin: 2rem 0;
+}
+.tsd-panel-group.tsd-index-group details {
+ margin: 2rem 0;
}
#tsd-search {
@@ -985,8 +981,8 @@ footer .tsd-legend {
position: absolute;
left: 0;
top: 0;
- right: 40px;
- height: 40px;
+ right: 2.5rem;
+ height: 100%;
}
#tsd-search .field input {
box-sizing: border-box;
@@ -1007,7 +1003,8 @@ footer .tsd-legend {
right: -40px;
}
#tsd-search .field input,
-#tsd-search .title {
+#tsd-search .title,
+#tsd-toolbar-links a {
transition: opacity 0.2s;
}
#tsd-search .results {
@@ -1025,14 +1022,14 @@ footer .tsd-legend {
background-color: var(--color-background);
}
#tsd-search .results li:nth-child(even) {
- background-color: var(--color-panel);
+ background-color: var(--color-background-secondary);
}
#tsd-search .results li.state {
display: none;
}
#tsd-search .results li.current,
#tsd-search .results li:hover {
- background-color: var(--color-panel-divider);
+ background-color: var(--color-accent);
}
#tsd-search .results a {
display: block;
@@ -1045,13 +1042,14 @@ footer .tsd-legend {
font-weight: normal;
}
#tsd-search.has-focus {
- background-color: var(--color-panel-divider);
+ background-color: var(--color-accent);
}
#tsd-search.has-focus .field input {
top: 0;
opacity: 1;
}
-#tsd-search.has-focus .title {
+#tsd-search.has-focus .title,
+#tsd-search.has-focus #tsd-toolbar-links a {
z-index: 0;
opacity: 0;
}
@@ -1065,32 +1063,30 @@ footer .tsd-legend {
display: block;
}
+#tsd-toolbar-links {
+ position: absolute;
+ top: 0;
+ right: 2rem;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: flex-end;
+}
+#tsd-toolbar-links a {
+ margin-left: 1.5rem;
+}
+#tsd-toolbar-links a:hover {
+ text-decoration: underline;
+}
+
.tsd-signature {
- margin: 0 0 1em 0;
- padding: 10px;
- border: 1px solid var(--color-panel-divider);
+ margin: 0 0 1rem 0;
+ padding: 1rem 0.5rem;
+ border: 1px solid var(--color-accent);
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: 14px;
overflow-x: auto;
}
-.tsd-signature.tsd-kind-icon {
- padding-left: 30px;
-}
-.tsd-signature.tsd-kind-icon:before {
- top: 10px;
- left: 10px;
-}
-.tsd-panel > .tsd-signature {
- margin-left: -20px;
- margin-right: -20px;
- border-width: 1px 0;
-}
-.tsd-panel > .tsd-signature.tsd-kind-icon {
- padding-left: 40px;
-}
-.tsd-panel > .tsd-signature.tsd-kind-icon:before {
- left: 20px;
-}
.tsd-signature-symbol {
color: var(--color-text-aside);
@@ -1105,104 +1101,42 @@ footer .tsd-legend {
.tsd-signatures {
padding: 0;
margin: 0 0 1em 0;
- border: 1px solid var(--color-panel-divider);
+ list-style-type: none;
}
.tsd-signatures .tsd-signature {
margin: 0;
- border-width: 1px 0 0 0;
- transition: background-color 0.1s;
-}
-.tsd-signatures .tsd-signature:first-child {
- border-top-width: 0;
-}
-.tsd-signatures .tsd-signature.current {
- background-color: var(--color-panel-divider);
-}
-.tsd-signatures.active > .tsd-signature {
- cursor: pointer;
-}
-.tsd-panel > .tsd-signatures {
- margin-left: -20px;
- margin-right: -20px;
+ border-color: var(--color-accent);
border-width: 1px 0;
+ transition: background-color 0.1s;
}
-.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon {
- padding-left: 40px;
-}
-.tsd-panel > .tsd-signatures .tsd-signature.tsd-kind-icon:before {
- left: 20px;
-}
-.tsd-panel > a.anchor + .tsd-signatures {
- border-top-width: 0;
- margin-top: -20px;
-}
-
-ul.tsd-descriptions {
- position: relative;
- overflow: hidden;
- padding: 0;
- list-style: none;
-}
-ul.tsd-descriptions.active > .tsd-description {
- display: none;
-}
-ul.tsd-descriptions.active > .tsd-description.current {
- display: block;
-}
-ul.tsd-descriptions.active > .tsd-description.fade-in {
- animation: fade-in-delayed 0.3s;
-}
-ul.tsd-descriptions.active > .tsd-description.fade-out {
- animation: fade-out-delayed 0.3s;
- position: absolute;
- display: block;
- top: 0;
- left: 0;
- right: 0;
- opacity: 0;
- visibility: hidden;
-}
-ul.tsd-descriptions h4,
-ul.tsd-descriptions .tsd-index-panel h3,
-.tsd-index-panel ul.tsd-descriptions h3 {
- font-size: 16px;
- margin: 1em 0 0.5em 0;
+.tsd-description .tsd-signatures .tsd-signature {
+ border-width: 1px;
}
-ul.tsd-parameters,
-ul.tsd-type-parameters {
+ul.tsd-parameter-list,
+ul.tsd-type-parameter-list {
list-style: square;
margin: 0;
padding-left: 20px;
}
-ul.tsd-parameters > li.tsd-parameter-signature,
-ul.tsd-type-parameters > li.tsd-parameter-signature {
+ul.tsd-parameter-list > li.tsd-parameter-signature,
+ul.tsd-type-parameter-list > li.tsd-parameter-signature {
list-style: none;
margin-left: -20px;
}
-ul.tsd-parameters h5,
-ul.tsd-type-parameters h5 {
+ul.tsd-parameter-list h5,
+ul.tsd-type-parameter-list h5 {
font-size: 16px;
margin: 1em 0 0.5em 0;
}
-ul.tsd-parameters .tsd-comment,
-ul.tsd-type-parameters .tsd-comment {
- margin-top: -0.5em;
-}
-
.tsd-sources {
- font-size: 14px;
- color: var(--color-text-aside);
- margin: 0 0 1em 0;
+ margin-top: 1rem;
+ font-size: 0.875em;
}
.tsd-sources a {
color: var(--color-text-aside);
text-decoration: underline;
}
-.tsd-sources ul,
-.tsd-sources p {
- margin: 0 !important;
-}
.tsd-sources ul {
list-style: none;
padding: 0;
@@ -1214,14 +1148,13 @@ ul.tsd-type-parameters .tsd-comment {
top: 0;
left: 0;
width: 100%;
- height: 40px;
- color: var(--color-toolbar-text);
- background: var(--color-toolbar);
- border-bottom: 1px solid var(--color-panel-divider);
- transition: transform 0.3s linear;
+ color: var(--color-text);
+ background: var(--color-background-secondary);
+ border-bottom: 1px var(--color-accent) solid;
+ transition: transform 0.3s ease-in-out;
}
.tsd-page-toolbar a {
- color: var(--color-toolbar-text);
+ color: var(--color-text);
text-decoration: none;
}
.tsd-page-toolbar a.title {
@@ -1230,13 +1163,13 @@ ul.tsd-type-parameters .tsd-comment {
.tsd-page-toolbar a.title:hover {
text-decoration: underline;
}
-.tsd-page-toolbar .table-wrap {
- display: table;
- width: 100%;
- height: 40px;
+.tsd-page-toolbar .tsd-toolbar-contents {
+ display: flex;
+ justify-content: space-between;
+ height: 2.5rem;
+ margin: 0 auto;
}
.tsd-page-toolbar .table-cell {
- display: table-cell;
position: relative;
white-space: nowrap;
line-height: 40px;
@@ -1244,34 +1177,16 @@ ul.tsd-type-parameters .tsd-comment {
.tsd-page-toolbar .table-cell:first-child {
width: 100%;
}
+.tsd-page-toolbar .tsd-toolbar-icon {
+ box-sizing: border-box;
+ line-height: 0;
+ padding: 12px 0;
+}
.tsd-page-toolbar--hide {
transform: translateY(-100%);
}
-.tsd-select .tsd-select-list li:before,
-.tsd-select .tsd-select-label:before,
-.tsd-widget:before {
- content: "";
- display: inline-block;
- width: 40px;
- height: 40px;
- margin: 0 -8px 0 0;
- background-image: url(./widgets.png);
- background-repeat: no-repeat;
- text-indent: -1024px;
- vertical-align: bottom;
- filter: var(--icon-filter);
-}
-@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
- .tsd-select .tsd-select-list li:before,
- .tsd-select .tsd-select-label:before,
- .tsd-widget:before {
- background-image: url(./widgets@2x.png);
- background-size: 320px 40px;
- }
-}
-
.tsd-widget {
display: inline-block;
overflow: hidden;
@@ -1286,7 +1201,7 @@ ul.tsd-type-parameters .tsd-comment {
}
.tsd-widget.active {
opacity: 1;
- background-color: var(--color-panel-divider);
+ background-color: var(--color-accent);
}
.tsd-widget.no-caption {
width: 40px;
@@ -1294,20 +1209,12 @@ ul.tsd-type-parameters .tsd-comment {
.tsd-widget.no-caption:before {
margin: 0;
}
-.tsd-widget.search:before {
- background-position: 0 0;
-}
-.tsd-widget.menu:before {
- background-position: -40px 0;
-}
-.tsd-widget.options:before {
- background-position: -80px 0;
-}
+
.tsd-widget.options,
.tsd-widget.menu {
display: none;
}
-@media (max-width: 900px) {
+@media (max-width: 1024px) {
.tsd-widget.options,
.tsd-widget.menu {
display: inline-block;
@@ -1320,69 +1227,53 @@ input[type="checkbox"]:checked + .tsd-widget:before {
background-position: -160px 0;
}
-.tsd-select {
- position: relative;
- display: inline-block;
- height: 40px;
- transition: opacity 0.1s, background-color 0.2s;
- vertical-align: bottom;
- cursor: pointer;
-}
-.tsd-select .tsd-select-label {
- opacity: 0.6;
- transition: opacity 0.2s;
-}
-.tsd-select .tsd-select-label:before {
- background-position: -240px 0;
-}
-.tsd-select.active .tsd-select-label {
- opacity: 0.8;
+img {
+ max-width: 100%;
}
-.tsd-select.active .tsd-select-list {
- visibility: visible;
- opacity: 1;
- transition-delay: 0s;
+
+.tsd-anchor-icon {
+ display: inline-flex;
+ align-items: center;
+ margin-left: 0.5rem;
+ vertical-align: middle;
+ color: var(--color-text);
}
-.tsd-select .tsd-select-list {
- position: absolute;
+
+.tsd-anchor-icon svg {
+ width: 1em;
+ height: 1em;
visibility: hidden;
- top: 40px;
- left: 0;
- margin: 0;
- padding: 0;
- opacity: 0;
- list-style: none;
- box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
- transition: visibility 0s 0.2s, opacity 0.2s;
}
-.tsd-select .tsd-select-list li {
- padding: 0 20px 0 0;
- background-color: var(--color-background);
+
+.tsd-anchor-link:hover > .tsd-anchor-icon svg {
+ visibility: visible;
}
-.tsd-select .tsd-select-list li:before {
- background-position: 40px 0;
+
+.deprecated {
+ text-decoration: line-through;
}
-.tsd-select .tsd-select-list li:nth-child(even) {
- background-color: var(--color-panel);
+
+.warning {
+ padding: 1rem;
+ color: var(--color-warning-text);
+ background: var(--color-background-warning);
}
-.tsd-select .tsd-select-list li:hover {
- background-color: var(--color-panel-divider);
+
+* {
+ scrollbar-width: thin;
+ scrollbar-color: var(--color-accent) var(--color-icon-background);
}
-.tsd-select .tsd-select-list li.selected:before {
- background-position: -200px 0;
+
+*::-webkit-scrollbar {
+ width: 0.75rem;
}
-@media (max-width: 900px) {
- .tsd-select .tsd-select-list {
- top: 0;
- left: auto;
- right: 100%;
- margin-right: -5px;
- }
- .tsd-select .tsd-select-label:before {
- background-position: -280px 0;
- }
+
+*::-webkit-scrollbar-track {
+ background: var(--color-icon-background);
}
-img {
- max-width: 100%;
+*::-webkit-scrollbar-thumb {
+ background-color: var(--color-accent);
+ border-radius: 999rem;
+ border: 0.25rem solid var(--color-icon-background);
}