|
@@ -2,38 +2,78 @@
|
|
/* Light */
|
|
/* Light */
|
|
--light-color-background: #f2f4f8;
|
|
--light-color-background: #f2f4f8;
|
|
--light-color-background-secondary: #eff0f1;
|
|
--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-icon-background: var(--light-color-background);
|
|
--light-color-accent: #c5c7c9;
|
|
--light-color-accent: #c5c7c9;
|
|
|
|
+ --light-color-active-menu-item: var(--light-color-accent);
|
|
--light-color-text: #222;
|
|
--light-color-text: #222;
|
|
- --light-color-text-aside: #707070;
|
|
|
|
- --light-color-link: #4da6ff;
|
|
|
|
- --light-color-ts: #db1373;
|
|
|
|
- --light-color-ts-interface: #139d2c;
|
|
|
|
- --light-color-ts-enum: #9c891a;
|
|
|
|
- --light-color-ts-class: #2484e5;
|
|
|
|
|
|
+ --light-color-text-aside: #6e6e6e;
|
|
|
|
+ --light-color-link: #1f70c2;
|
|
|
|
+
|
|
|
|
+ --light-color-ts-project: #b111c9;
|
|
|
|
+ --light-color-ts-module: var(--light-color-ts-project);
|
|
|
|
+ --light-color-ts-namespace: var(--light-color-ts-project);
|
|
|
|
+ --light-color-ts-enum: #7e6f15;
|
|
|
|
+ --light-color-ts-enum-member: var(--light-color-ts-enum);
|
|
|
|
+ --light-color-ts-variable: #4760ec;
|
|
--light-color-ts-function: #572be7;
|
|
--light-color-ts-function: #572be7;
|
|
- --light-color-ts-namespace: #b111c9;
|
|
|
|
- --light-color-ts-private: #707070;
|
|
|
|
- --light-color-ts-variable: #4d68ff;
|
|
|
|
|
|
+ --light-color-ts-class: #1f70c2;
|
|
|
|
+ --light-color-ts-interface: #108024;
|
|
|
|
+ --light-color-ts-constructor: var(--light-color-ts-class);
|
|
|
|
+ --light-color-ts-property: var(--light-color-ts-variable);
|
|
|
|
+ --light-color-ts-method: var(--light-color-ts-function);
|
|
|
|
+ --light-color-ts-call-signature: var(--light-color-ts-method);
|
|
|
|
+ --light-color-ts-index-signature: var(--light-color-ts-property);
|
|
|
|
+ --light-color-ts-constructor-signature: var(--light-color-ts-constructor);
|
|
|
|
+ --light-color-ts-parameter: var(--light-color-ts-variable);
|
|
|
|
+ /* type literal not included as links will never be generated to it */
|
|
|
|
+ --light-color-ts-type-parameter: var(--light-color-ts-type-alias);
|
|
|
|
+ --light-color-ts-accessor: var(--light-color-ts-property);
|
|
|
|
+ --light-color-ts-get-signature: var(--light-color-ts-accessor);
|
|
|
|
+ --light-color-ts-set-signature: var(--light-color-ts-accessor);
|
|
|
|
+ --light-color-ts-type-alias: #d51270;
|
|
|
|
+ /* reference not included as links will be colored with the kind that it points to */
|
|
|
|
+
|
|
--light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
|
|
--light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
|
|
--light-color-scheme: light;
|
|
--light-color-scheme: light;
|
|
|
|
|
|
/* Dark */
|
|
/* Dark */
|
|
--dark-color-background: #2b2e33;
|
|
--dark-color-background: #2b2e33;
|
|
--dark-color-background-secondary: #1e2024;
|
|
--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-icon-background: var(--dark-color-background-secondary);
|
|
--dark-color-accent: #9096a2;
|
|
--dark-color-accent: #9096a2;
|
|
|
|
+ --dark-color-active-menu-item: #5d5d6a;
|
|
--dark-color-text: #f5f5f5;
|
|
--dark-color-text: #f5f5f5;
|
|
--dark-color-text-aside: #dddddd;
|
|
--dark-color-text-aside: #dddddd;
|
|
--dark-color-link: #00aff4;
|
|
--dark-color-link: #00aff4;
|
|
- --dark-color-ts: #ff6492;
|
|
|
|
- --dark-color-ts-interface: #6cff87;
|
|
|
|
|
|
+
|
|
|
|
+ --dark-color-ts-project: #e358ff;
|
|
|
|
+ --dark-color-ts-module: var(--dark-color-ts-project);
|
|
|
|
+ --dark-color-ts-namespace: var(--dark-color-ts-project);
|
|
--dark-color-ts-enum: #f4d93e;
|
|
--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-ts-variable: #4d68ff;
|
|
|
|
|
|
+ --dark-color-ts-enum-member: var(--dark-color-ts-enum);
|
|
|
|
+ --dark-color-ts-variable: #798dff;
|
|
|
|
+ --dark-color-ts-function: #a280ff;
|
|
|
|
+ --dark-color-ts-class: #8ac4ff;
|
|
|
|
+ --dark-color-ts-interface: #6cff87;
|
|
|
|
+ --dark-color-ts-constructor: var(--dark-color-ts-class);
|
|
|
|
+ --dark-color-ts-property: var(--dark-color-ts-variable);
|
|
|
|
+ --dark-color-ts-method: var(--dark-color-ts-function);
|
|
|
|
+ --dark-color-ts-call-signature: var(--dark-color-ts-method);
|
|
|
|
+ --dark-color-ts-index-signature: var(--dark-color-ts-property);
|
|
|
|
+ --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
|
|
|
|
+ --dark-color-ts-parameter: var(--dark-color-ts-variable);
|
|
|
|
+ /* type literal not included as links will never be generated to it */
|
|
|
|
+ --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias);
|
|
|
|
+ --dark-color-ts-accessor: var(--dark-color-ts-property);
|
|
|
|
+ --dark-color-ts-get-signature: var(--dark-color-ts-accessor);
|
|
|
|
+ --dark-color-ts-set-signature: var(--dark-color-ts-accessor);
|
|
|
|
+ --dark-color-ts-type-alias: #ff6492;
|
|
|
|
+ /* reference not included as links will be colored with the kind that it points to */
|
|
|
|
+
|
|
--dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
|
|
--dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>");
|
|
--dark-color-scheme: dark;
|
|
--dark-color-scheme: dark;
|
|
}
|
|
}
|
|
@@ -42,19 +82,38 @@
|
|
:root {
|
|
:root {
|
|
--color-background: var(--light-color-background);
|
|
--color-background: var(--light-color-background);
|
|
--color-background-secondary: var(--light-color-background-secondary);
|
|
--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-icon-background: var(--light-color-icon-background);
|
|
--color-accent: var(--light-color-accent);
|
|
--color-accent: var(--light-color-accent);
|
|
|
|
+ --color-active-menu-item: var(--light-color-active-menu-item);
|
|
--color-text: var(--light-color-text);
|
|
--color-text: var(--light-color-text);
|
|
--color-text-aside: var(--light-color-text-aside);
|
|
--color-text-aside: var(--light-color-text-aside);
|
|
--color-link: var(--light-color-link);
|
|
--color-link: var(--light-color-link);
|
|
- --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-module: var(--light-color-ts-module);
|
|
--color-ts-namespace: var(--light-color-ts-namespace);
|
|
--color-ts-namespace: var(--light-color-ts-namespace);
|
|
- --color-ts-private: var(--light-color-ts-private);
|
|
|
|
|
|
+ --color-ts-enum: var(--light-color-ts-enum);
|
|
|
|
+ --color-ts-enum-member: var(--light-color-ts-enum-member);
|
|
--color-ts-variable: var(--light-color-ts-variable);
|
|
--color-ts-variable: var(--light-color-ts-variable);
|
|
|
|
+ --color-ts-function: var(--light-color-ts-function);
|
|
|
|
+ --color-ts-class: var(--light-color-ts-class);
|
|
|
|
+ --color-ts-interface: var(--light-color-ts-interface);
|
|
|
|
+ --color-ts-constructor: var(--light-color-ts-constructor);
|
|
|
|
+ --color-ts-property: var(--light-color-ts-property);
|
|
|
|
+ --color-ts-method: var(--light-color-ts-method);
|
|
|
|
+ --color-ts-call-signature: var(--light-color-ts-call-signature);
|
|
|
|
+ --color-ts-index-signature: var(--light-color-ts-index-signature);
|
|
|
|
+ --color-ts-constructor-signature: var(
|
|
|
|
+ --light-color-ts-constructor-signature
|
|
|
|
+ );
|
|
|
|
+ --color-ts-parameter: var(--light-color-ts-parameter);
|
|
|
|
+ --color-ts-type-parameter: var(--light-color-ts-type-parameter);
|
|
|
|
+ --color-ts-accessor: var(--light-color-ts-accessor);
|
|
|
|
+ --color-ts-get-signature: var(--light-color-ts-get-signature);
|
|
|
|
+ --color-ts-set-signature: var(--light-color-ts-set-signature);
|
|
|
|
+ --color-ts-type-alias: var(--light-color-ts-type-alias);
|
|
|
|
+
|
|
--external-icon: var(--light-external-icon);
|
|
--external-icon: var(--light-external-icon);
|
|
--color-scheme: var(--light-color-scheme);
|
|
--color-scheme: var(--light-color-scheme);
|
|
}
|
|
}
|
|
@@ -64,19 +123,38 @@
|
|
:root {
|
|
:root {
|
|
--color-background: var(--dark-color-background);
|
|
--color-background: var(--dark-color-background);
|
|
--color-background-secondary: var(--dark-color-background-secondary);
|
|
--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-icon-background: var(--dark-color-icon-background);
|
|
--color-accent: var(--dark-color-accent);
|
|
--color-accent: var(--dark-color-accent);
|
|
|
|
+ --color-active-menu-item: var(--dark-color-active-menu-item);
|
|
--color-text: var(--dark-color-text);
|
|
--color-text: var(--dark-color-text);
|
|
--color-text-aside: var(--dark-color-text-aside);
|
|
--color-text-aside: var(--dark-color-text-aside);
|
|
--color-link: var(--dark-color-link);
|
|
--color-link: var(--dark-color-link);
|
|
- --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-module: var(--dark-color-ts-module);
|
|
--color-ts-namespace: var(--dark-color-ts-namespace);
|
|
--color-ts-namespace: var(--dark-color-ts-namespace);
|
|
- --color-ts-private: var(--dark-color-ts-private);
|
|
|
|
|
|
+ --color-ts-enum: var(--dark-color-ts-enum);
|
|
|
|
+ --color-ts-enum-member: var(--dark-color-ts-enum-member);
|
|
--color-ts-variable: var(--dark-color-ts-variable);
|
|
--color-ts-variable: var(--dark-color-ts-variable);
|
|
|
|
+ --color-ts-function: var(--dark-color-ts-function);
|
|
|
|
+ --color-ts-class: var(--dark-color-ts-class);
|
|
|
|
+ --color-ts-interface: var(--dark-color-ts-interface);
|
|
|
|
+ --color-ts-constructor: var(--dark-color-ts-constructor);
|
|
|
|
+ --color-ts-property: var(--dark-color-ts-property);
|
|
|
|
+ --color-ts-method: var(--dark-color-ts-method);
|
|
|
|
+ --color-ts-call-signature: var(--dark-color-ts-call-signature);
|
|
|
|
+ --color-ts-index-signature: var(--dark-color-ts-index-signature);
|
|
|
|
+ --color-ts-constructor-signature: var(
|
|
|
|
+ --dark-color-ts-constructor-signature
|
|
|
|
+ );
|
|
|
|
+ --color-ts-parameter: var(--dark-color-ts-parameter);
|
|
|
|
+ --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
|
|
|
|
+ --color-ts-accessor: var(--dark-color-ts-accessor);
|
|
|
|
+ --color-ts-get-signature: var(--dark-color-ts-get-signature);
|
|
|
|
+ --color-ts-set-signature: var(--dark-color-ts-set-signature);
|
|
|
|
+ --color-ts-type-alias: var(--dark-color-ts-type-alias);
|
|
|
|
+
|
|
--external-icon: var(--dark-external-icon);
|
|
--external-icon: var(--dark-external-icon);
|
|
--color-scheme: var(--dark-color-scheme);
|
|
--color-scheme: var(--dark-color-scheme);
|
|
}
|
|
}
|
|
@@ -93,19 +171,38 @@ body {
|
|
:root[data-theme="light"] {
|
|
:root[data-theme="light"] {
|
|
--color-background: var(--light-color-background);
|
|
--color-background: var(--light-color-background);
|
|
--color-background-secondary: var(--light-color-background-secondary);
|
|
--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-icon-background: var(--light-color-icon-background);
|
|
--color-accent: var(--light-color-accent);
|
|
--color-accent: var(--light-color-accent);
|
|
|
|
+ --color-active-menu-item: var(--light-color-active-menu-item);
|
|
--color-text: var(--light-color-text);
|
|
--color-text: var(--light-color-text);
|
|
--color-text-aside: var(--light-color-text-aside);
|
|
--color-text-aside: var(--light-color-text-aside);
|
|
--color-link: var(--light-color-link);
|
|
--color-link: var(--light-color-link);
|
|
- --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-module: var(--light-color-ts-module);
|
|
--color-ts-namespace: var(--light-color-ts-namespace);
|
|
--color-ts-namespace: var(--light-color-ts-namespace);
|
|
- --color-ts-private: var(--light-color-ts-private);
|
|
|
|
|
|
+ --color-ts-enum: var(--light-color-ts-enum);
|
|
|
|
+ --color-ts-enum-member: var(--light-color-ts-enum-member);
|
|
--color-ts-variable: var(--light-color-ts-variable);
|
|
--color-ts-variable: var(--light-color-ts-variable);
|
|
|
|
+ --color-ts-function: var(--light-color-ts-function);
|
|
|
|
+ --color-ts-class: var(--light-color-ts-class);
|
|
|
|
+ --color-ts-interface: var(--light-color-ts-interface);
|
|
|
|
+ --color-ts-constructor: var(--light-color-ts-constructor);
|
|
|
|
+ --color-ts-property: var(--light-color-ts-property);
|
|
|
|
+ --color-ts-method: var(--light-color-ts-method);
|
|
|
|
+ --color-ts-call-signature: var(--light-color-ts-call-signature);
|
|
|
|
+ --color-ts-index-signature: var(--light-color-ts-index-signature);
|
|
|
|
+ --color-ts-constructor-signature: var(
|
|
|
|
+ --light-color-ts-constructor-signature
|
|
|
|
+ );
|
|
|
|
+ --color-ts-parameter: var(--light-color-ts-parameter);
|
|
|
|
+ --color-ts-type-parameter: var(--light-color-ts-type-parameter);
|
|
|
|
+ --color-ts-accessor: var(--light-color-ts-accessor);
|
|
|
|
+ --color-ts-get-signature: var(--light-color-ts-get-signature);
|
|
|
|
+ --color-ts-set-signature: var(--light-color-ts-set-signature);
|
|
|
|
+ --color-ts-type-alias: var(--light-color-ts-type-alias);
|
|
|
|
+
|
|
--external-icon: var(--light-external-icon);
|
|
--external-icon: var(--light-external-icon);
|
|
--color-scheme: var(--light-color-scheme);
|
|
--color-scheme: var(--light-color-scheme);
|
|
}
|
|
}
|
|
@@ -113,23 +210,47 @@ body {
|
|
:root[data-theme="dark"] {
|
|
:root[data-theme="dark"] {
|
|
--color-background: var(--dark-color-background);
|
|
--color-background: var(--dark-color-background);
|
|
--color-background-secondary: var(--dark-color-background-secondary);
|
|
--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-icon-background: var(--dark-color-icon-background);
|
|
--color-accent: var(--dark-color-accent);
|
|
--color-accent: var(--dark-color-accent);
|
|
|
|
+ --color-active-menu-item: var(--dark-color-active-menu-item);
|
|
--color-text: var(--dark-color-text);
|
|
--color-text: var(--dark-color-text);
|
|
--color-text-aside: var(--dark-color-text-aside);
|
|
--color-text-aside: var(--dark-color-text-aside);
|
|
--color-link: var(--dark-color-link);
|
|
--color-link: var(--dark-color-link);
|
|
- --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-module: var(--dark-color-ts-module);
|
|
--color-ts-namespace: var(--dark-color-ts-namespace);
|
|
--color-ts-namespace: var(--dark-color-ts-namespace);
|
|
- --color-ts-private: var(--dark-color-ts-private);
|
|
|
|
|
|
+ --color-ts-enum: var(--dark-color-ts-enum);
|
|
|
|
+ --color-ts-enum-member: var(--dark-color-ts-enum-member);
|
|
--color-ts-variable: var(--dark-color-ts-variable);
|
|
--color-ts-variable: var(--dark-color-ts-variable);
|
|
|
|
+ --color-ts-function: var(--dark-color-ts-function);
|
|
|
|
+ --color-ts-class: var(--dark-color-ts-class);
|
|
|
|
+ --color-ts-interface: var(--dark-color-ts-interface);
|
|
|
|
+ --color-ts-constructor: var(--dark-color-ts-constructor);
|
|
|
|
+ --color-ts-property: var(--dark-color-ts-property);
|
|
|
|
+ --color-ts-method: var(--dark-color-ts-method);
|
|
|
|
+ --color-ts-call-signature: var(--dark-color-ts-call-signature);
|
|
|
|
+ --color-ts-index-signature: var(--dark-color-ts-index-signature);
|
|
|
|
+ --color-ts-constructor-signature: var(
|
|
|
|
+ --dark-color-ts-constructor-signature
|
|
|
|
+ );
|
|
|
|
+ --color-ts-parameter: var(--dark-color-ts-parameter);
|
|
|
|
+ --color-ts-type-parameter: var(--dark-color-ts-type-parameter);
|
|
|
|
+ --color-ts-accessor: var(--dark-color-ts-accessor);
|
|
|
|
+ --color-ts-get-signature: var(--dark-color-ts-get-signature);
|
|
|
|
+ --color-ts-set-signature: var(--dark-color-ts-set-signature);
|
|
|
|
+ --color-ts-type-alias: var(--dark-color-ts-type-alias);
|
|
|
|
+
|
|
--external-icon: var(--dark-external-icon);
|
|
--external-icon: var(--dark-external-icon);
|
|
--color-scheme: var(--dark-color-scheme);
|
|
--color-scheme: var(--dark-color-scheme);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.always-visible,
|
|
|
|
+.always-visible .tsd-signatures {
|
|
|
|
+ display: inherit !important;
|
|
|
|
+}
|
|
|
|
+
|
|
h1,
|
|
h1,
|
|
h2,
|
|
h2,
|
|
h3,
|
|
h3,
|
|
@@ -139,6 +260,16 @@ h6 {
|
|
line-height: 1.2;
|
|
line-height: 1.2;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+h1 > a,
|
|
|
|
+h2 > a,
|
|
|
|
+h3 > a,
|
|
|
|
+h4 > a,
|
|
|
|
+h5 > a,
|
|
|
|
+h6 > a {
|
|
|
|
+ text-decoration: none;
|
|
|
|
+ color: var(--color-text);
|
|
|
|
+}
|
|
|
|
+
|
|
h1 {
|
|
h1 {
|
|
font-size: 1.875rem;
|
|
font-size: 1.875rem;
|
|
margin: 0.67rem 0;
|
|
margin: 0.67rem 0;
|
|
@@ -173,12 +304,6 @@ h6 {
|
|
text-transform: uppercase;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
|
|
-pre {
|
|
|
|
- white-space: pre;
|
|
|
|
- white-space: pre-wrap;
|
|
|
|
- word-wrap: break-word;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
dl,
|
|
dl,
|
|
menu,
|
|
menu,
|
|
ol,
|
|
ol,
|
|
@@ -191,26 +316,10 @@ dd {
|
|
}
|
|
}
|
|
|
|
|
|
.container {
|
|
.container {
|
|
- max-width: 1600px;
|
|
|
|
|
|
+ max-width: 1700px;
|
|
padding: 0 2rem;
|
|
padding: 0 2rem;
|
|
}
|
|
}
|
|
|
|
|
|
-@media (min-width: 640px) {
|
|
|
|
- .container {
|
|
|
|
- padding: 0 4rem;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-@media (min-width: 1200px) {
|
|
|
|
- .container {
|
|
|
|
- padding: 0 8rem;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-@media (min-width: 1600px) {
|
|
|
|
- .container {
|
|
|
|
- padding: 0 12rem;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/* Footer */
|
|
/* Footer */
|
|
.tsd-generator {
|
|
.tsd-generator {
|
|
border-top: 1px solid var(--color-accent);
|
|
border-top: 1px solid var(--color-accent);
|
|
@@ -226,26 +335,9 @@ dd {
|
|
}
|
|
}
|
|
|
|
|
|
.container-main {
|
|
.container-main {
|
|
- display: flex;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- position: relative;
|
|
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
-}
|
|
|
|
-
|
|
|
|
-.col-4,
|
|
|
|
-.col-8 {
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- float: left;
|
|
|
|
- padding: 2rem 1rem;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-.col-4 {
|
|
|
|
- flex: 0 0 25%;
|
|
|
|
-}
|
|
|
|
-.col-8 {
|
|
|
|
- flex: 1 0;
|
|
|
|
- flex-wrap: wrap;
|
|
|
|
- padding-left: 0;
|
|
|
|
|
|
+ /* toolbar, footer, margin */
|
|
|
|
+ min-height: calc(100vh - 41px - 56px - 4rem);
|
|
}
|
|
}
|
|
|
|
|
|
@keyframes fade-in {
|
|
@keyframes fade-in {
|
|
@@ -288,22 +380,6 @@ dd {
|
|
opacity: 0;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-@keyframes shift-to-left {
|
|
|
|
- from {
|
|
|
|
- transform: translate(0, 0);
|
|
|
|
- }
|
|
|
|
- to {
|
|
|
|
- transform: translate(-25%, 0);
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-@keyframes unshift-to-left {
|
|
|
|
- from {
|
|
|
|
- transform: translate(-25%, 0);
|
|
|
|
- }
|
|
|
|
- to {
|
|
|
|
- transform: translate(0, 0);
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
@keyframes pop-in-from-right {
|
|
@keyframes pop-in-from-right {
|
|
from {
|
|
from {
|
|
transform: translate(100%, 0);
|
|
transform: translate(100%, 0);
|
|
@@ -352,13 +428,29 @@ pre {
|
|
}
|
|
}
|
|
|
|
|
|
pre {
|
|
pre {
|
|
|
|
+ position: relative;
|
|
|
|
+ white-space: pre;
|
|
|
|
+ white-space: pre-wrap;
|
|
|
|
+ word-wrap: break-word;
|
|
padding: 10px;
|
|
padding: 10px;
|
|
- border: 0.1em solid var(--color-accent);
|
|
|
|
|
|
+ border: 1px solid var(--color-accent);
|
|
}
|
|
}
|
|
pre code {
|
|
pre code {
|
|
padding: 0;
|
|
padding: 0;
|
|
font-size: 100%;
|
|
font-size: 100%;
|
|
}
|
|
}
|
|
|
|
+pre > button {
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 10px;
|
|
|
|
+ right: 10px;
|
|
|
|
+ opacity: 0;
|
|
|
|
+ transition: opacity 0.1s;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+}
|
|
|
|
+pre:hover > button,
|
|
|
|
+pre > button.visible {
|
|
|
|
+ opacity: 1;
|
|
|
|
+}
|
|
|
|
|
|
blockquote {
|
|
blockquote {
|
|
margin: 1em 0;
|
|
margin: 1em 0;
|
|
@@ -374,13 +466,12 @@ blockquote {
|
|
padding: 0 0 0 20px;
|
|
padding: 0 0 0 20px;
|
|
margin: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
-.tsd-typography h4,
|
|
|
|
.tsd-typography .tsd-index-panel h3,
|
|
.tsd-typography .tsd-index-panel h3,
|
|
.tsd-index-panel .tsd-typography h3,
|
|
.tsd-index-panel .tsd-typography h3,
|
|
|
|
+.tsd-typography h4,
|
|
.tsd-typography h5,
|
|
.tsd-typography h5,
|
|
.tsd-typography h6 {
|
|
.tsd-typography h6 {
|
|
font-size: 1em;
|
|
font-size: 1em;
|
|
- margin: 0;
|
|
|
|
}
|
|
}
|
|
.tsd-typography h5,
|
|
.tsd-typography h5,
|
|
.tsd-typography h6 {
|
|
.tsd-typography h6 {
|
|
@@ -391,91 +482,18 @@ blockquote {
|
|
.tsd-typography ol {
|
|
.tsd-typography ol {
|
|
margin: 1em 0;
|
|
margin: 1em 0;
|
|
}
|
|
}
|
|
-
|
|
|
|
-@media (max-width: 1024px) {
|
|
|
|
- html .col-content {
|
|
|
|
- float: none;
|
|
|
|
- max-width: 100%;
|
|
|
|
- width: 100%;
|
|
|
|
- padding-top: 3rem;
|
|
|
|
- }
|
|
|
|
- html .col-menu {
|
|
|
|
- position: fixed !important;
|
|
|
|
- overflow-y: auto;
|
|
|
|
- -webkit-overflow-scrolling: touch;
|
|
|
|
- z-index: 1024;
|
|
|
|
- top: 0 !important;
|
|
|
|
- bottom: 0 !important;
|
|
|
|
- left: auto !important;
|
|
|
|
- right: 0 !important;
|
|
|
|
- padding: 1.5rem 1.5rem 0 0;
|
|
|
|
- max-width: 25rem;
|
|
|
|
- visibility: hidden;
|
|
|
|
- background-color: var(--color-background);
|
|
|
|
- transform: translate(100%, 0);
|
|
|
|
- }
|
|
|
|
- html .col-menu > *:last-child {
|
|
|
|
- padding-bottom: 20px;
|
|
|
|
- }
|
|
|
|
- html .overlay {
|
|
|
|
- content: "";
|
|
|
|
- display: block;
|
|
|
|
- position: fixed;
|
|
|
|
- z-index: 1023;
|
|
|
|
- top: 0;
|
|
|
|
- left: 0;
|
|
|
|
- right: 0;
|
|
|
|
- bottom: 0;
|
|
|
|
- background-color: rgba(0, 0, 0, 0.75);
|
|
|
|
- visibility: hidden;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .to-has-menu .overlay {
|
|
|
|
- animation: fade-in 0.4s;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .to-has-menu :is(header, footer, .col-content) {
|
|
|
|
- animation: shift-to-left 0.4s;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .to-has-menu .col-menu {
|
|
|
|
- animation: pop-in-from-right 0.4s;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .from-has-menu .overlay {
|
|
|
|
- animation: fade-out 0.4s;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .from-has-menu :is(header, footer, .col-content) {
|
|
|
|
- animation: unshift-to-left 0.4s;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .from-has-menu .col-menu {
|
|
|
|
- animation: pop-out-to-right 0.4s;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .has-menu body {
|
|
|
|
- overflow: hidden;
|
|
|
|
- }
|
|
|
|
- .has-menu .overlay {
|
|
|
|
- visibility: visible;
|
|
|
|
- }
|
|
|
|
- .has-menu :is(header, footer, .col-content) {
|
|
|
|
- transform: translate(-25%, 0);
|
|
|
|
- }
|
|
|
|
- .has-menu .col-menu {
|
|
|
|
- visibility: visible;
|
|
|
|
- transform: translate(0, 0);
|
|
|
|
- display: grid;
|
|
|
|
- align-items: center;
|
|
|
|
- grid-template-rows: auto 1fr;
|
|
|
|
- grid-gap: 1.5rem;
|
|
|
|
- max-height: 100vh;
|
|
|
|
- padding: 1rem 2rem;
|
|
|
|
- }
|
|
|
|
- .has-menu .tsd-navigation {
|
|
|
|
- max-height: 100%;
|
|
|
|
- }
|
|
|
|
|
|
+.tsd-typography table {
|
|
|
|
+ border-collapse: collapse;
|
|
|
|
+ border: none;
|
|
|
|
+}
|
|
|
|
+.tsd-typography td,
|
|
|
|
+.tsd-typography th {
|
|
|
|
+ padding: 6px 13px;
|
|
|
|
+ border: 1px solid var(--color-accent);
|
|
|
|
+}
|
|
|
|
+.tsd-typography thead,
|
|
|
|
+.tsd-typography tr:nth-child(even) {
|
|
|
|
+ background-color: var(--color-background-secondary);
|
|
}
|
|
}
|
|
|
|
|
|
.tsd-breadcrumb {
|
|
.tsd-breadcrumb {
|
|
@@ -656,43 +674,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
-o-page-break-inside: avoid;
|
|
-o-page-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
}
|
|
}
|
|
-.tsd-index-panel a,
|
|
|
|
-.tsd-index-panel a.tsd-parent-kind-module {
|
|
|
|
- color: var(--color-ts);
|
|
|
|
-}
|
|
|
|
-.tsd-index-panel a.tsd-parent-kind-interface {
|
|
|
|
- color: var(--color-ts-interface);
|
|
|
|
-}
|
|
|
|
-.tsd-index-panel a.tsd-parent-kind-enum {
|
|
|
|
- color: var(--color-ts-enum);
|
|
|
|
-}
|
|
|
|
-.tsd-index-panel a.tsd-parent-kind-class {
|
|
|
|
- color: var(--color-ts-class);
|
|
|
|
-}
|
|
|
|
-.tsd-index-panel a.tsd-kind-module {
|
|
|
|
- color: var(--color-ts-namespace);
|
|
|
|
-}
|
|
|
|
-.tsd-index-panel a.tsd-kind-interface {
|
|
|
|
- color: var(--color-ts-interface);
|
|
|
|
-}
|
|
|
|
-.tsd-index-panel a.tsd-kind-enum {
|
|
|
|
- color: var(--color-ts-enum);
|
|
|
|
-}
|
|
|
|
-.tsd-index-panel a.tsd-kind-class {
|
|
|
|
- color: var(--color-ts-class);
|
|
|
|
-}
|
|
|
|
-.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 {
|
|
.tsd-flag {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
@@ -707,7 +688,7 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
}
|
|
}
|
|
|
|
|
|
.tsd-anchor {
|
|
.tsd-anchor {
|
|
- position: absolute;
|
|
|
|
|
|
+ position: relative;
|
|
top: -100px;
|
|
top: -100px;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -721,108 +702,64 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
border-bottom: none;
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
-.tsd-member [data-tsd-kind] {
|
|
|
|
- color: var(--color-ts);
|
|
|
|
-}
|
|
|
|
-.tsd-member [data-tsd-kind="Interface"] {
|
|
|
|
- color: var(--color-ts-interface);
|
|
|
|
-}
|
|
|
|
-.tsd-member [data-tsd-kind="Enum"] {
|
|
|
|
- color: var(--color-ts-enum);
|
|
|
|
-}
|
|
|
|
-.tsd-member [data-tsd-kind="Class"] {
|
|
|
|
- color: var(--color-ts-class);
|
|
|
|
|
|
+
|
|
|
|
+.tsd-navigation.settings {
|
|
|
|
+ margin: 1rem 0;
|
|
}
|
|
}
|
|
-.tsd-member [data-tsd-kind="Private"] {
|
|
|
|
- color: var(--color-ts-private);
|
|
|
|
|
|
+.tsd-navigation > a,
|
|
|
|
+.tsd-navigation .tsd-accordion-summary {
|
|
|
|
+ width: calc(100% - 0.5rem);
|
|
}
|
|
}
|
|
-
|
|
|
|
-.tsd-navigation a {
|
|
|
|
- display: block;
|
|
|
|
- margin: 0.4rem 0;
|
|
|
|
- border-left: 2px solid transparent;
|
|
|
|
|
|
+.tsd-navigation a,
|
|
|
|
+.tsd-navigation summary > span,
|
|
|
|
+.tsd-page-navigation a {
|
|
|
|
+ display: inline-flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ padding: 0.25rem;
|
|
color: var(--color-text);
|
|
color: var(--color-text);
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
- transition: border-left-color 0.1s;
|
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+}
|
|
|
|
+.tsd-navigation a.current,
|
|
|
|
+.tsd-page-navigation a.current {
|
|
|
|
+ background: var(--color-active-menu-item);
|
|
}
|
|
}
|
|
-.tsd-navigation a:hover {
|
|
|
|
|
|
+.tsd-navigation a:hover,
|
|
|
|
+.tsd-page-navigation a:hover {
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
-.tsd-navigation ul {
|
|
|
|
- margin: 0;
|
|
|
|
|
|
+.tsd-navigation ul,
|
|
|
|
+.tsd-page-navigation ul {
|
|
|
|
+ margin-top: 0;
|
|
|
|
+ margin-bottom: 0;
|
|
padding: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
list-style: none;
|
|
}
|
|
}
|
|
-.tsd-navigation li {
|
|
|
|
|
|
+.tsd-navigation li,
|
|
|
|
+.tsd-page-navigation li {
|
|
padding: 0;
|
|
padding: 0;
|
|
|
|
+ max-width: 100%;
|
|
}
|
|
}
|
|
-
|
|
|
|
-.tsd-navigation.primary .tsd-accordion-details > ul {
|
|
|
|
- margin-top: 0.75rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.primary a {
|
|
|
|
- padding: 0.75rem 0.5rem;
|
|
|
|
- margin: 0;
|
|
|
|
|
|
+.tsd-nested-navigation {
|
|
|
|
+ margin-left: 3rem;
|
|
}
|
|
}
|
|
-.tsd-navigation.primary ul li a {
|
|
|
|
- margin-left: 0.5rem;
|
|
|
|
|
|
+.tsd-nested-navigation > li > details {
|
|
|
|
+ margin-left: -1.5rem;
|
|
}
|
|
}
|
|
-.tsd-navigation.primary ul li li a {
|
|
|
|
|
|
+.tsd-small-nested-navigation {
|
|
margin-left: 1.5rem;
|
|
margin-left: 1.5rem;
|
|
}
|
|
}
|
|
-.tsd-navigation.primary ul li li li a {
|
|
|
|
- margin-left: 2.5rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.primary ul li li li li a {
|
|
|
|
- margin-left: 3.5rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.primary ul li li li li li a {
|
|
|
|
- margin-left: 4.5rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.primary ul li li li li li li a {
|
|
|
|
- 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 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-small-nested-navigation > li > details {
|
|
|
|
+ margin-left: -1.5rem;
|
|
}
|
|
}
|
|
|
|
|
|
-.tsd-navigation.secondary.tsd-navigation--toolbar-hide {
|
|
|
|
- max-height: calc(100vh - 1rem);
|
|
|
|
- top: 0.5rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.secondary > ul {
|
|
|
|
- display: inline;
|
|
|
|
- padding-right: 0.5rem;
|
|
|
|
- transition: opacity 0.2s;
|
|
|
|
|
|
+.tsd-nested-navigation > li > a,
|
|
|
|
+.tsd-nested-navigation > li > span {
|
|
|
|
+ width: calc(100% - 1.75rem - 0.5rem);
|
|
}
|
|
}
|
|
-.tsd-navigation.secondary ul li a {
|
|
|
|
- padding-left: 0;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.secondary ul li li a {
|
|
|
|
- padding-left: 1.1rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.secondary ul li li li a {
|
|
|
|
- padding-left: 2.2rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.secondary ul li li li li a {
|
|
|
|
- padding-left: 3.3rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.secondary ul li li li li li a {
|
|
|
|
- padding-left: 4.4rem;
|
|
|
|
-}
|
|
|
|
-.tsd-navigation.secondary ul li li li li li li a {
|
|
|
|
- padding-left: 5.5rem;
|
|
|
|
|
|
+
|
|
|
|
+.tsd-page-navigation ul {
|
|
|
|
+ padding-left: 1.75rem;
|
|
}
|
|
}
|
|
|
|
|
|
#tsd-sidebar-links a {
|
|
#tsd-sidebar-links a {
|
|
@@ -835,41 +772,40 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
}
|
|
}
|
|
|
|
|
|
a.tsd-index-link {
|
|
a.tsd-index-link {
|
|
- margin: 0.25rem 0;
|
|
|
|
|
|
+ padding: 0.25rem 0 !important;
|
|
font-size: 1rem;
|
|
font-size: 1rem;
|
|
line-height: 1.25rem;
|
|
line-height: 1.25rem;
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
+ color: var(--color-text);
|
|
}
|
|
}
|
|
-.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;
|
|
|
|
|
|
+.tsd-accordion-summary {
|
|
|
|
+ list-style-type: none; /* hide marker on non-safari */
|
|
|
|
+ outline: none; /* broken on safari, so just hide it */
|
|
|
|
+}
|
|
|
|
+.tsd-accordion-summary::-webkit-details-marker {
|
|
|
|
+ display: none; /* hide marker on safari */
|
|
|
|
+}
|
|
|
|
+.tsd-accordion-summary,
|
|
|
|
+.tsd-accordion-summary a {
|
|
user-select: none;
|
|
user-select: none;
|
|
-moz-user-select: none;
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
-ms-user-select: none;
|
|
-}
|
|
|
|
-.tsd-accordion-summary {
|
|
|
|
- display: block;
|
|
|
|
|
|
+
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
+.tsd-accordion-summary a {
|
|
|
|
+ width: calc(100% - 1.5rem);
|
|
|
|
+}
|
|
.tsd-accordion-summary > * {
|
|
.tsd-accordion-summary > * {
|
|
margin-top: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
padding-top: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 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-accordion .tsd-accordion-summary > svg {
|
|
|
|
+ margin-left: 0.25rem;
|
|
}
|
|
}
|
|
.tsd-index-content > :not(:first-child) {
|
|
.tsd-index-content > :not(:first-child) {
|
|
margin-top: 0.75rem;
|
|
margin-top: 0.75rem;
|
|
@@ -894,34 +830,6 @@ a.tsd-index-link {
|
|
margin-right: 0.8rem;
|
|
margin-right: 0.8rem;
|
|
}
|
|
}
|
|
|
|
|
|
-@media (min-width: 1024px) {
|
|
|
|
- .col-content {
|
|
|
|
- margin: 2rem auto;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .menu-sticky-wrap {
|
|
|
|
- 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 {
|
|
.tsd-panel {
|
|
margin-bottom: 2.5rem;
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
}
|
|
@@ -1002,8 +910,9 @@ a.tsd-index-link {
|
|
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
|
|
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
|
|
}
|
|
}
|
|
#tsd-search .results li {
|
|
#tsd-search .results li {
|
|
- padding: 0 10px;
|
|
|
|
background-color: var(--color-background);
|
|
background-color: var(--color-background);
|
|
|
|
+ line-height: initial;
|
|
|
|
+ padding: 4px;
|
|
}
|
|
}
|
|
#tsd-search .results li:nth-child(even) {
|
|
#tsd-search .results li:nth-child(even) {
|
|
background-color: var(--color-background-secondary);
|
|
background-color: var(--color-background-secondary);
|
|
@@ -1011,12 +920,15 @@ a.tsd-index-link {
|
|
#tsd-search .results li.state {
|
|
#tsd-search .results li.state {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|
|
-#tsd-search .results li.current,
|
|
|
|
-#tsd-search .results li:hover {
|
|
|
|
|
|
+#tsd-search .results li.current:not(.no-results),
|
|
|
|
+#tsd-search .results li:hover:not(.no-results) {
|
|
background-color: var(--color-accent);
|
|
background-color: var(--color-accent);
|
|
}
|
|
}
|
|
#tsd-search .results a {
|
|
#tsd-search .results a {
|
|
- display: block;
|
|
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ padding: 0.25rem;
|
|
|
|
+ box-sizing: border-box;
|
|
}
|
|
}
|
|
#tsd-search .results a:before {
|
|
#tsd-search .results a:before {
|
|
top: 10px;
|
|
top: 10px;
|
|
@@ -1127,7 +1039,7 @@ ul.tsd-type-parameter-list h5 {
|
|
}
|
|
}
|
|
|
|
|
|
.tsd-page-toolbar {
|
|
.tsd-page-toolbar {
|
|
- position: fixed;
|
|
|
|
|
|
+ position: sticky;
|
|
z-index: 1;
|
|
z-index: 1;
|
|
top: 0;
|
|
top: 0;
|
|
left: 0;
|
|
left: 0;
|
|
@@ -1167,16 +1079,14 @@ ul.tsd-type-parameter-list h5 {
|
|
padding: 12px 0;
|
|
padding: 12px 0;
|
|
}
|
|
}
|
|
|
|
|
|
-.tsd-page-toolbar--hide {
|
|
|
|
- transform: translateY(-100%);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.tsd-widget {
|
|
.tsd-widget {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
opacity: 0.8;
|
|
opacity: 0.8;
|
|
height: 40px;
|
|
height: 40px;
|
|
- transition: opacity 0.1s, background-color 0.2s;
|
|
|
|
|
|
+ transition:
|
|
|
|
+ opacity 0.1s,
|
|
|
|
+ background-color 0.2s;
|
|
vertical-align: bottom;
|
|
vertical-align: bottom;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
@@ -1198,12 +1108,6 @@ ul.tsd-type-parameter-list h5 {
|
|
.tsd-widget.menu {
|
|
.tsd-widget.menu {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|
|
-@media (max-width: 1024px) {
|
|
|
|
- .tsd-widget.options,
|
|
|
|
- .tsd-widget.menu {
|
|
|
|
- display: inline-block;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
input[type="checkbox"] + .tsd-widget:before {
|
|
input[type="checkbox"] + .tsd-widget:before {
|
|
background-position: -120px 0;
|
|
background-position: -120px 0;
|
|
}
|
|
}
|
|
@@ -1234,7 +1138,85 @@ img {
|
|
}
|
|
}
|
|
|
|
|
|
.deprecated {
|
|
.deprecated {
|
|
- text-decoration: line-through;
|
|
|
|
|
|
+ text-decoration: line-through !important;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.warning {
|
|
|
|
+ padding: 1rem;
|
|
|
|
+ color: var(--color-warning-text);
|
|
|
|
+ background: var(--color-background-warning);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.tsd-kind-project {
|
|
|
|
+ color: var(--color-ts-project);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-module {
|
|
|
|
+ color: var(--color-ts-module);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-namespace {
|
|
|
|
+ color: var(--color-ts-namespace);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-enum {
|
|
|
|
+ color: var(--color-ts-enum);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-enum-member {
|
|
|
|
+ color: var(--color-ts-enum-member);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-variable {
|
|
|
|
+ color: var(--color-ts-variable);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-function {
|
|
|
|
+ color: var(--color-ts-function);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-class {
|
|
|
|
+ color: var(--color-ts-class);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-interface {
|
|
|
|
+ color: var(--color-ts-interface);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-constructor {
|
|
|
|
+ color: var(--color-ts-constructor);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-property {
|
|
|
|
+ color: var(--color-ts-property);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-method {
|
|
|
|
+ color: var(--color-ts-method);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-call-signature {
|
|
|
|
+ color: var(--color-ts-call-signature);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-index-signature {
|
|
|
|
+ color: var(--color-ts-index-signature);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-constructor-signature {
|
|
|
|
+ color: var(--color-ts-constructor-signature);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-parameter {
|
|
|
|
+ color: var(--color-ts-parameter);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-type-literal {
|
|
|
|
+ color: var(--color-ts-type-literal);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-type-parameter {
|
|
|
|
+ color: var(--color-ts-type-parameter);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-accessor {
|
|
|
|
+ color: var(--color-ts-accessor);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-get-signature {
|
|
|
|
+ color: var(--color-ts-get-signature);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-set-signature {
|
|
|
|
+ color: var(--color-ts-set-signature);
|
|
|
|
+}
|
|
|
|
+.tsd-kind-type-alias {
|
|
|
|
+ color: var(--color-ts-type-alias);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* if we have a kind icon, don't color the text by kind */
|
|
|
|
+.tsd-kind-icon ~ span {
|
|
|
|
+ color: var(--color-text);
|
|
}
|
|
}
|
|
|
|
|
|
* {
|
|
* {
|
|
@@ -1255,3 +1237,147 @@ img {
|
|
border-radius: 999rem;
|
|
border-radius: 999rem;
|
|
border: 0.25rem solid var(--color-icon-background);
|
|
border: 0.25rem solid var(--color-icon-background);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+/* mobile */
|
|
|
|
+@media (max-width: 769px) {
|
|
|
|
+ .tsd-widget.options,
|
|
|
|
+ .tsd-widget.menu {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .container-main {
|
|
|
|
+ display: flex;
|
|
|
|
+ }
|
|
|
|
+ html .col-content {
|
|
|
|
+ float: none;
|
|
|
|
+ max-width: 100%;
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+ html .col-sidebar {
|
|
|
|
+ position: fixed !important;
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+ -webkit-overflow-scrolling: touch;
|
|
|
|
+ z-index: 1024;
|
|
|
|
+ top: 0 !important;
|
|
|
|
+ bottom: 0 !important;
|
|
|
|
+ left: auto !important;
|
|
|
|
+ right: 0 !important;
|
|
|
|
+ padding: 1.5rem 1.5rem 0 0;
|
|
|
|
+ width: 75vw;
|
|
|
|
+ visibility: hidden;
|
|
|
|
+ background-color: var(--color-background);
|
|
|
|
+ transform: translate(100%, 0);
|
|
|
|
+ }
|
|
|
|
+ html .col-sidebar > *:last-child {
|
|
|
|
+ padding-bottom: 20px;
|
|
|
|
+ }
|
|
|
|
+ html .overlay {
|
|
|
|
+ content: "";
|
|
|
|
+ display: block;
|
|
|
|
+ position: fixed;
|
|
|
|
+ z-index: 1023;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ background-color: rgba(0, 0, 0, 0.75);
|
|
|
|
+ visibility: hidden;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .to-has-menu .overlay {
|
|
|
|
+ animation: fade-in 0.4s;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .to-has-menu .col-sidebar {
|
|
|
|
+ animation: pop-in-from-right 0.4s;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .from-has-menu .overlay {
|
|
|
|
+ animation: fade-out 0.4s;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .from-has-menu .col-sidebar {
|
|
|
|
+ animation: pop-out-to-right 0.4s;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .has-menu body {
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ }
|
|
|
|
+ .has-menu .overlay {
|
|
|
|
+ visibility: visible;
|
|
|
|
+ }
|
|
|
|
+ .has-menu .col-sidebar {
|
|
|
|
+ visibility: visible;
|
|
|
|
+ transform: translate(0, 0);
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ gap: 1.5rem;
|
|
|
|
+ max-height: 100vh;
|
|
|
|
+ padding: 1rem 2rem;
|
|
|
|
+ }
|
|
|
|
+ .has-menu .tsd-navigation {
|
|
|
|
+ max-height: 100%;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* one sidebar */
|
|
|
|
+@media (min-width: 770px) {
|
|
|
|
+ .container-main {
|
|
|
|
+ display: grid;
|
|
|
|
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
|
|
|
|
+ grid-template-areas: "sidebar content";
|
|
|
|
+ margin: 2rem auto;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .col-sidebar {
|
|
|
|
+ grid-area: sidebar;
|
|
|
|
+ }
|
|
|
|
+ .col-content {
|
|
|
|
+ grid-area: content;
|
|
|
|
+ padding: 0 1rem;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+@media (min-width: 770px) and (max-width: 1399px) {
|
|
|
|
+ .col-sidebar {
|
|
|
|
+ max-height: calc(100vh - 2rem - 42px);
|
|
|
|
+ overflow: auto;
|
|
|
|
+ position: sticky;
|
|
|
|
+ top: 42px;
|
|
|
|
+ padding-top: 1rem;
|
|
|
|
+ }
|
|
|
|
+ .site-menu {
|
|
|
|
+ margin-top: 1rem;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* two sidebars */
|
|
|
|
+@media (min-width: 1200px) {
|
|
|
|
+ .container-main {
|
|
|
|
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem);
|
|
|
|
+ grid-template-areas: "sidebar content toc";
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .col-sidebar {
|
|
|
|
+ display: contents;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .page-menu {
|
|
|
|
+ grid-area: toc;
|
|
|
|
+ padding-left: 1rem;
|
|
|
|
+ }
|
|
|
|
+ .site-menu {
|
|
|
|
+ grid-area: sidebar;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .site-menu {
|
|
|
|
+ margin-top: 1rem 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .page-menu,
|
|
|
|
+ .site-menu {
|
|
|
|
+ max-height: calc(100vh - 2rem - 42px);
|
|
|
|
+ overflow: auto;
|
|
|
|
+ position: sticky;
|
|
|
|
+ top: 42px;
|
|
|
|
+ }
|
|
|
|
+}
|