mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-09-08 17:49:44 +00:00
deploy: ac68b0b941
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/
|
||||
|
||||
/* Light weight */
|
||||
@@ -8,6 +8,7 @@
|
||||
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff') format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
/* Regular weight */
|
||||
@font-face {
|
||||
@@ -15,6 +16,7 @@
|
||||
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff') format('woff');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
/* SemiBold weight */
|
||||
@font-face {
|
||||
@@ -22,6 +24,7 @@
|
||||
src: url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2') format('woff2'), url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff') format('woff');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@supports (font-variation-settings: normal) {
|
||||
@@ -32,5 +35,6 @@
|
||||
url('https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff') format('woff-variations');
|
||||
font-weight: 100 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
}
|
||||
|
@@ -1,9 +1,9 @@
|
||||
/*
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/
|
||||
|
||||
:root {
|
||||
--dokka-logo-image-url: url('../images/logo-icon.svg');
|
||||
--dokka-logo-height: 50px;
|
||||
--dokka-logo-width: 50px;
|
||||
--dokka-logo-height: 28px;
|
||||
--dokka-logo-width: 28px;
|
||||
}
|
||||
|
205
styles/main.css
205
styles/main.css
@@ -1,87 +1,166 @@
|
||||
/*!
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/#pages-search{cursor:pointer;border:none;border-radius:50%;background:transparent;fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;padding:0;margin:0;font-size:0;line-height:0}.search-hotkey-popup{background-color:var(--background-color) !important;padding:4px}.popup-wrapper{min-width:calc(100% - 322px) !important;border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important;color:rgba(255,255,255,.8)}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (max-width: 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (max-width: 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*//*!
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*//*!
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/:root{--breakpoint-desktop-min: 900px;--breakpoint-tablet-max: 899px;--breakpoint-tablet-min: 440px;--breakpoint-mobile-max: 439px;--breakpoint-mobile-min: 360px}/*!
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/:root{--color-key-blue: rgb(48, 127, 255);--color-key-blue-50: rgb(48, 127, 255, 0.5);--color-background-nav: rgb(39, 40, 44);--color-background-nav-dt: rgb(50, 50, 55);--color-background-page: rgb(255, 255, 255);--color-background-page-dt: rgb(38, 38, 40);--color-background-footer: rgb(235, 235, 235);--color-background-footer-dt: rgb(50, 50, 55);--color-text: rgb(0, 0, 0);--color-text-dt: rgba(255, 255, 255, 0.96);--color-text-light: rgba(0, 0, 0, 0.7);--color-text-light-dt: rgba(255, 255, 255, 0.7);--color-w05: rgba(255, 255, 255, 0.05);--color-w08: rgba(255, 255, 255, 0.08);--color-w10: rgba(255, 255, 255, 0.1);--color-w16: rgba(255, 255, 255, 0.16);--color-w50: rgba(255, 255, 255, 0.5);--color-w70: rgba(255, 255, 255, 0.7);--color-w80: rgba(255, 255, 255, 0.8);--color-w100: rgba(255, 255, 255, 1);--color-b05: rgba(0, 0, 0, 0.05);--color-b08: rgba(0, 0, 0, 0.08);--color-b20: rgba(0, 0, 0, 0.2);--color-b50: rgba(0, 0, 0, 0.5);--color-b70: rgba(0, 0, 0, 0.7);--color-cd-punctuation: rgb(153, 153, 153);--color-cd-keyword: rgb(0, 51, 179);--color-cd-keyword-alternative: rgba(204, 120, 50);--color-cd-builtin: rgb(6, 125, 23);--color-cd-builtin-alternative: rgb(231, 191, 106);--color-cd-function: rgb(0, 98, 122);--color-cd-function-alternative: rgb(255, 198, 109);--color-cd-operator: rgb(154, 110, 58);--color-cd-operator-alternative: rgb(169, 183, 198);--color-cd-body: rgb(0, 0, 0);--color-cd-body-alternative: rgb(169, 183, 198);--color-generic: rgb(83, 157, 243);--color-jvm: rgb(77, 187, 95);--color-js: rgb(255, 199, 0);--color-wasm: rgb(255, 255, 255)}/*!
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/:root{--size-s1: 4px;--size-s2: 8px;--size-s3: 16px;--size-m1: 24px;--size-m2: 32px;--size-m3: 48px;--size-l1: 64px;--size-l2: 72px;--size-ta1: 40px;--size-ta2: 52px}/*!
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/:root{--font-family-default: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;--font-h1: 600 44px/44px var(--font-family-default);--font-h2: 600 32px/32px var(--font-family-default);--font-h3: 600 24px/24px var(--font-family-default);--font-h4: 600 16px/24px var(--font-family-default);--font-text-m: 400 16px/24px var(--font-family-default);--font-text-s: 400 14px/20px var(--font-family-default);--font-code: 400 16px/24px var(--font-family-mono)}/*!
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/:root{--hover-transition: background-color 200ms ease-in-out;--rotate-transition: transform 200ms ease-in-out}#pages-search{width:40px;height:40px;padding:0;cursor:pointer;border:none;border-radius:var(--size-s1);background:rgba(0,0,0,0);font-size:0}#pages-search:focus-visible{outline:var(--focus-outline)}@media(width < 900px){#pages-search{width:52px;height:52px}}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus]{display:inline-block;margin:0;padding:0;font-size:0;line-height:0;tab-index:1}.search-hotkey-popup{padding:4px;background-color:var(--background-color) !important}.popup-wrapper{min-width:636px !important;color:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:4px}.popup-wrapper input{height:40px;color:#fff;font-size:16px;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important;top:10px;right:6px}.popup-wrapper button[data-test=ring-input-clear] span{display:none}.popup-wrapper button[data-test=ring-input-clear]::after{content:"Clear"}@media screen and (width <= 759px){.popup-wrapper{min-width:100% !important}.search-hotkey-popup{display:none}}.template-wrapper{display:flex;overflow:hidden;flex-direction:column;height:auto;padding:4px 24px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.96);background:rgba(48,127,255,.3)}.template-title{display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:#fff;font-size:16px;font-weight:600;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-description{display:block;display:-webkit-box;overflow:hidden;white-space:normal;word-break:break-all;color:rgba(255,255,255,.7);font-size:14px;font-weight:normal;line-height:20px;justify-self:end;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media screen and (width <= 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}.template-title{font-size:14px;line-height:20px}.template-description{font-size:14px;line-height:20px}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important}div[data-test=ring-select-popup-filter]{padding-left:40px}span[data-test-custom=ring-select-popup-filter-icon]{top:11px;left:14px}span[data-test-custom=ring-select-popup-filter-icon] svg{width:18px !important;height:18px !important}div[data-test=ring-popup]{border-radius:0}
|
||||
/* stylelint-disable color-no-hex */
|
||||
|
||||
.light,
|
||||
:root {
|
||||
--ring-unit: 8px;
|
||||
|
||||
/* Element */
|
||||
--ring-line-color: #dfe5eb;
|
||||
--ring-dark-line-color: #475159;
|
||||
--ring-borders-color: #b8d1e5;
|
||||
--ring-dark-borders-color: #406380;
|
||||
--ring-icon-color: var(--ring-borders-color);
|
||||
--ring-icon-secondary-color: #999;
|
||||
--ring-border-disabled-color: #dbdbdb;
|
||||
--ring-icon-disabled-color: #bbb;
|
||||
--ring-border-hover-color: #80c6ff;
|
||||
--ring-dark-border-hover-color: #70b1e6;
|
||||
--ring-line-components: 223, 229, 235;
|
||||
--ring-line-color: rgb(var(--ring-line-components)); /* #dfe5eb */
|
||||
--ring-borders-components: 197, 209, 219;
|
||||
--ring-borders-color: rgb(var(--ring-borders-components)); /* #c5d1db */
|
||||
--ring-icon-components: 184, 209, 229;
|
||||
--ring-icon-color: rgb(var(--ring-icon-components)); /* #b8d1e5 */
|
||||
--ring-icon-secondary-components: 153, 153, 153;
|
||||
--ring-icon-secondary-color: rgb(var(--ring-icon-secondary-components)); /* #999 */
|
||||
--ring-border-disabled-components: 232, 232, 232;
|
||||
--ring-border-disabled-color: rgb(var(--ring-border-disabled-components)); /* #e8e8e8 */
|
||||
--ring-border-selected-disabled-components: 212, 212, 212;
|
||||
--ring-border-selected-disabled-color: rgb(var(--ring-border-selected-disabled-components)); /* #d4d4d4 */
|
||||
--ring-border-unselected-disabled-components: 232, 232, 232;
|
||||
--ring-border-unselected-disabled-color: rgb(var(--ring-border-unselected-disabled-components)); /* #e8e8e8 */ /* TODO remove in 6.0 */
|
||||
--ring-icon-disabled-components: 212, 212, 212;
|
||||
--ring-icon-disabled-color: rgb(var(--ring-icon-disabled-components)); /* #d4d4d4 */
|
||||
--ring-border-hover-components: 128, 198, 255;
|
||||
--ring-border-hover-color: rgb(var(--ring-border-hover-components)); /* #80c6ff */
|
||||
--ring-icon-hover-components: var(--ring-link-hover-color);
|
||||
--ring-icon-hover-color: var(--ring-link-hover-color);
|
||||
--ring-main-color: #008eff;
|
||||
--ring-main-hover-color: #007ee5;
|
||||
--ring-icon-error-color: #db5860;
|
||||
--ring-icon-warning-color: #eda200;
|
||||
--ring-icon-success-color: #59a869;
|
||||
--ring-pale-control-color: #cfdbe5;
|
||||
--ring-popup-border-components: 0, 42, 76;
|
||||
--ring-popup-border-color: rgba(var(--ring-popup-border-components), 0.1);
|
||||
--ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.15);
|
||||
--ring-main-components: 0, 128, 229;
|
||||
--ring-main-color: rgb(var(--ring-main-components)); /* #0080e5 */
|
||||
--ring-action-link-components: var(--ring-main-components);
|
||||
--ring-action-link-color: rgb(var(--ring-main-components)); /* #0080e5 */
|
||||
--ring-main-hover-components: 0, 112, 204;
|
||||
--ring-main-hover-color: rgb(var(--ring-main-hover-components)); /* #0070cc */
|
||||
--ring-icon-error-components: 219, 88, 96;
|
||||
--ring-icon-error-color: rgb(var(--ring-icon-error-components)); /* #db5860 */
|
||||
--ring-icon-warning-components: 237, 162, 0;
|
||||
--ring-icon-warning-color: rgb(var(--ring-icon-warning-components)); /* #eda200 */
|
||||
--ring-icon-success-components: 89, 168, 105;
|
||||
--ring-icon-success-color: rgb(var(--ring-icon-success-components)); /* #59a869 */
|
||||
--ring-pale-control-components: 207, 219, 229;
|
||||
--ring-pale-control-color: rgb(var(--ring-pale-control-components)); /* #cfdbe5 */
|
||||
--ring-popup-border-components: 0, 28, 54;
|
||||
--ring-popup-border-color: var(--ring-line-color);
|
||||
--ring-popup-shadow-components: rgba(var(--ring-popup-border-components), 0.1);
|
||||
--ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.1);
|
||||
--ring-popup-secondary-shadow-color: rgba(var(--ring-popup-border-components), 0.04);
|
||||
--ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);
|
||||
--ring-pinned-shadow-color: #737577;
|
||||
--ring-pinned-shadow-components: 115, 117, 119;
|
||||
--ring-pinned-shadow-color: rgb(var(--ring-pinned-shadow-components)); /* #737577 */
|
||||
--ring-button-danger-hover-components: var(--ring-icon-error-color);
|
||||
--ring-button-danger-hover-color: var(--ring-icon-error-color);
|
||||
--ring-button-primary-border-components: 0, 98, 178;
|
||||
--ring-button-primary-border-color: rgb(var(--ring-button-primary-border-components)); /* #0062b2 */
|
||||
--ring-popup-shadow: 0 2px 8px var(--ring-popup-shadow-color), 0 1px 2px var(--ring-popup-secondary-shadow-color);
|
||||
--ring-dialog-shadow: 0 4px 24px var(--ring-popup-shadow-color), 0 2px 6px var(--ring-popup-secondary-shadow-color);
|
||||
|
||||
/* Text */
|
||||
--ring-search-color: #669ecc;
|
||||
--ring-hint-color: #406380;
|
||||
--ring-link-color: #0f5b99;
|
||||
--ring-link-hover-color: #ff008c;
|
||||
--ring-error-color: #c22731;
|
||||
--ring-warning-color: #cc8b00;
|
||||
--ring-success-color: #1b8833;
|
||||
--ring-text-color: #1f2326;
|
||||
--ring-dark-text-color: #fff;
|
||||
--ring-search-components: 102, 158, 204;
|
||||
--ring-search-color: rgb(var(--ring-search-components)); /* #669ecc */
|
||||
--ring-hint-components: 64, 99, 128;
|
||||
--ring-hint-color: rgb(var(--ring-hint-components)); /* #406380 */
|
||||
--ring-link-components: 15, 91, 153;
|
||||
--ring-link-color: rgb(var(--ring-link-components)); /* #0f5b99 */
|
||||
--ring-link-hover-components: 255, 0, 140;
|
||||
--ring-link-hover-color: rgb(var(--ring-link-hover-components)); /* #ff008c */
|
||||
--ring-error-components: 169, 15, 26;
|
||||
--ring-error-color: rgb(var(--ring-error-components)); /* #a90f1a */
|
||||
--ring-warning-components: 178, 92, 0;
|
||||
--ring-warning-color: rgb(var(--ring-warning-components)); /* #b25c00 */
|
||||
--ring-success-components: 12, 117, 35;
|
||||
--ring-success-color: rgb(var(--ring-success-components)); /* #0c7523 */
|
||||
--ring-text-components: 31, 35, 38;
|
||||
--ring-text-color: rgb(var(--ring-text-components)); /* #1f2326 */
|
||||
--ring-active-text-color: var(--ring-text-color);
|
||||
--ring-white-text-components: 255, 255, 255;
|
||||
--ring-white-text-color: rgb(var(--ring-white-text-components)); /* #fff */
|
||||
--ring-heading-color: var(--ring-text-color);
|
||||
--ring-secondary-color: #737577;
|
||||
--ring-dark-secondary-color: #888;
|
||||
--ring-disabled-color: #999;
|
||||
--ring-dark-disabled-color: #444;
|
||||
--ring-dark-active-color: #ccc;
|
||||
--ring-secondary-components: 115, 117, 119;
|
||||
--ring-secondary-color: rgb(var(--ring-secondary-components)); /* #737577 */
|
||||
--ring-disabled-components: 153, 153, 153;
|
||||
--ring-disabled-color: rgb(var(--ring-disabled-components)); /* #999 */
|
||||
|
||||
/* Background */
|
||||
--ring-content-background-color: #fff;
|
||||
--ring-popup-background-color: #fff;
|
||||
--ring-sidebar-background-color: #f7f9fa;
|
||||
--ring-selected-background-color: #d4edff;
|
||||
--ring-hover-background-color: #ebf6ff;
|
||||
--ring-dark-selected-background-color: #002a4d;
|
||||
--ring-message-background-color: #111314;
|
||||
--ring-navigation-background-color: #000;
|
||||
--ring-tag-background-color: #e6ecf2;
|
||||
--ring-removed-background-color: #ffd5cb;
|
||||
--ring-warning-background-color: #faeccd;
|
||||
--ring-added-background-color: #bce8bb;
|
||||
--ring-content-background-components: 255, 255, 255;
|
||||
--ring-content-background-color: rgb(var(--ring-content-background-components)); /* #fff */
|
||||
--ring-popup-background-components: 255, 255, 255;
|
||||
--ring-popup-background-color: rgb(var(--ring-popup-background-components)); /* #fff */
|
||||
--ring-sidebar-background-components: 247, 249, 250;
|
||||
--ring-sidebar-background-color: rgb(var(--ring-sidebar-background-components)); /* #f7f9fa */
|
||||
--ring-selected-background-components: 212, 237, 255;
|
||||
--ring-selected-background-color: rgb(var(--ring-selected-background-components)); /* #d4edff */
|
||||
--ring-hover-background-components: 235, 246, 255;
|
||||
--ring-hover-background-color: rgb(var(--ring-hover-background-components)); /* #ebf6ff */
|
||||
--ring-navigation-background-components: 255, 255, 255;
|
||||
--ring-navigation-background-color: rgb(var(--ring-navigation-background-components)); /* #fff */
|
||||
--ring-tag-background-components: 230, 236, 242;
|
||||
--ring-tag-background-color: rgb(var(--ring-tag-background-components)); /* #e6ecf2 */
|
||||
--ring-tag-hover-background-components: 211, 218, 224;
|
||||
--ring-tag-hover-background-color: rgb(var(--ring-tag-hover-background-components)); /* #d3dae0 */
|
||||
--ring-removed-background-components: 255, 213, 203;
|
||||
--ring-removed-background-color: rgb(var(--ring-removed-background-components)); /* #ffd5cb */
|
||||
--ring-warning-background-components: 250, 236, 205;
|
||||
--ring-warning-background-color: rgb(var(--ring-warning-background-components)); /* #faeccd */
|
||||
--ring-added-background-components: 216, 240, 216;
|
||||
--ring-added-background-color: rgb(var(--ring-added-background-components)); /* #d8f0d8 */
|
||||
--ring-disabled-background-components: 245, 245, 245;
|
||||
--ring-disabled-background-color: rgb(var(--ring-disabled-background-components)); /* #f5f5f5 */
|
||||
--ring-disabled-selected-background-components: 232, 232, 232;
|
||||
--ring-disabled-selected-background-color: rgb(var(--ring-disabled-selected-background-components)); /* #e8e8e8 */
|
||||
--ring-button-danger-active-components: 255, 231, 232;
|
||||
--ring-button-danger-active-color: rgb(var(--ring-button-danger-active-components)); /* #ffe7e8 */
|
||||
--ring-button-loader-background-components: 51, 163, 255;
|
||||
--ring-button-loader-background: rgb(var(--ring-button-loader-background-components)); /* #33a3ff */
|
||||
--ring-button-primary-background-components: 26, 152, 255;
|
||||
--ring-button-primary-background-color: rgb(var(--ring-button-primary-background-components)); /* #1a98ff */
|
||||
--ring-table-loader-background-color: rgba(var(--ring-content-background-components), 0.5); /* #ffffff80 */
|
||||
|
||||
/* Code */
|
||||
--ring-code-background-color: var(--ring-content-background-color);
|
||||
--ring-code-color: #000;
|
||||
--ring-code-comment-color: #707070;
|
||||
--ring-code-meta-color: #707070;
|
||||
--ring-code-keyword-color: #000080;
|
||||
--ring-code-tag-background-color: #efefef;
|
||||
--ring-code-components: 0, 0, 0;
|
||||
--ring-code-color: rgb(var(--ring-code-components)); /* #000 */
|
||||
--ring-code-comment-components: 112, 112, 112;
|
||||
--ring-code-comment-color: rgb(var(--ring-code-comment-components)); /* #707070 */
|
||||
--ring-code-meta-components: 112, 112, 112;
|
||||
--ring-code-meta-color: rgb(var(--ring-code-meta-components)); /* #707070 */
|
||||
--ring-code-keyword-components: 0, 0, 128;
|
||||
--ring-code-keyword-color: rgb(var(--ring-code-keyword-components)); /* #000080 */
|
||||
--ring-code-tag-background-components: 239, 239, 239;
|
||||
--ring-code-tag-background-color: rgb(var(--ring-code-tag-background-components)); /* #efefef */
|
||||
--ring-code-tag-color: var(--ring-code-keyword-color);
|
||||
--ring-code-tag-font-weight: bold;
|
||||
--ring-code-field-color: #660e7a;
|
||||
--ring-code-attribute-color: #00f;
|
||||
--ring-code-field-components: 102, 14, 122;
|
||||
--ring-code-field-color: rgb(var(--ring-code-field-components)); /* #660e7a */
|
||||
--ring-code-attribute-components: 0, 0, 255;
|
||||
--ring-code-attribute-color: rgb(var(--ring-code-attribute-components)); /* #00f */
|
||||
--ring-code-number-color: var(--ring-code-attribute-color);
|
||||
--ring-code-string-color: #007a00;
|
||||
--ring-code-addition-color: #aadeaa;
|
||||
--ring-code-deletion-color: #c8c8c8;
|
||||
--ring-code-string-components: 0, 122, 0;
|
||||
--ring-code-string-color: rgb(var(--ring-code-string-components)); /* #007a00 */
|
||||
--ring-code-addition-components: 170, 222, 170;
|
||||
--ring-code-addition-color: rgb(var(--ring-code-addition-components)); /* #aadeaa */
|
||||
--ring-code-deletion-components: 200, 200, 200;
|
||||
--ring-code-deletion-color: rgb(var(--ring-code-deletion-components)); /* #c8c8c8 */
|
||||
|
||||
/* Metrics */
|
||||
--ring-border-radius: 3px;
|
||||
--ring-border-radius: 4px;
|
||||
--ring-border-radius-small: 2px;
|
||||
--ring-font-size-larger: 14px;
|
||||
--ring-font-size: 13px;
|
||||
--ring-font-size-larger: 15px;
|
||||
--ring-font-size: 14px;
|
||||
--ring-font-size-smaller: 12px;
|
||||
--ring-line-height-taller: 21px;
|
||||
--ring-line-height: 20px;
|
||||
@@ -116,9 +195,9 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*//*!
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/html,.app-root{height:100%}.search-root{margin:0;padding:0;background:var(--ring-content-background-color);font-family:var(--ring-font-family);font-size:var(--ring-font-size);line-height:var(--ring-line-height)}.search-content{z-index:8}
|
||||
|
||||
/*# sourceMappingURL=main.css.map*/
|
@@ -1,7 +1,3 @@
|
||||
/*
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Custom Dokka styles
|
||||
*/
|
||||
|
676
styles/style.css
676
styles/style.css
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
* Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||||
*/
|
||||
|
||||
@import url('./font-jb-sans-auto.css');
|
||||
@@ -8,7 +8,7 @@
|
||||
/* --- root styles --- */
|
||||
:root {
|
||||
--default-gray: #f4f4f4;
|
||||
--default-font-color: black;
|
||||
--default-font-color: rgb(0, 0, 0);
|
||||
--header-font-color: var(--default-font-color);
|
||||
|
||||
--breadcrumb-font-color: #637282;
|
||||
@@ -29,7 +29,7 @@
|
||||
--background-color: var(--default-white);
|
||||
--dark-mode-and-search-icon-color: var(--default-white);
|
||||
--color-dark: #27282c;
|
||||
--default-font-family: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,Roboto, Oxygen, Ubuntu,Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;
|
||||
--default-font-family: JetBrains Sans, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Arial, sans-serif;
|
||||
--default-monospace-font-family: JetBrains Mono, SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
|
||||
--default-font-size: 15px;
|
||||
--average-color: var(--color-dark);
|
||||
@@ -85,6 +85,7 @@ html, body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* /--- root styles --- */
|
||||
|
||||
/* --- global tags styles --- */
|
||||
@@ -179,6 +180,7 @@ tbody > tr {
|
||||
td:first-child {
|
||||
width: 20vw;
|
||||
}
|
||||
|
||||
/* /--- global tags styles --- */
|
||||
|
||||
/* --- utils classes --- */
|
||||
@@ -210,13 +212,14 @@ td:first-child {
|
||||
clear: both;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/* /--- utils classes --- */
|
||||
|
||||
/* ---dark theme --- */
|
||||
.theme-dark {
|
||||
--background-color: #27282c;
|
||||
--background-color: #262628;
|
||||
--color-dark: #3d3d41;
|
||||
--default-font-color: hsla(0, 0%, 100%, 0.8);
|
||||
--default-font-color: rgba(255, 255, 255, 0.96);
|
||||
--border-color: hsla(0, 0%, 100%, 0.2);
|
||||
--code-background: hsla(0, 0%, 100%, 0.05);
|
||||
--breadcrumb-font-color: #8c8c8e;
|
||||
@@ -237,6 +240,7 @@ td:first-child {
|
||||
|
||||
--sidemenu-section-active-color: var(--color-dark);
|
||||
}
|
||||
|
||||
/* /---dark theme --- */
|
||||
|
||||
.root {
|
||||
@@ -245,167 +249,6 @@ td:first-child {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* --- Navigation styles --- */
|
||||
.navigation {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
color: #fff;
|
||||
background-color: var(--color-dark);
|
||||
font-family: var(--default-font-family);
|
||||
letter-spacing: -0.1px;
|
||||
|
||||
/* Reset margin and use padding for border */
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
padding: 10px var(--horizontal-spacing-for-content);
|
||||
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
.navigation--inner {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.navigation--inner, .navigation-title {
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
.navigation-title, .filter-section {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navigation-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* --- Navigation MENU --- */
|
||||
.menu-toggle {
|
||||
color: var(--background-color);
|
||||
line-height: 0;
|
||||
font-size: 0;
|
||||
text-indent: -9999px;
|
||||
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin-right: 16px;
|
||||
outline: none;
|
||||
|
||||
transition: margin .2s ease-out;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
@media (min-width: 760px) {
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-toggle::before {
|
||||
display: block;
|
||||
content: '';
|
||||
background: url('../images/burger.svg') no-repeat center;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
/* /--- Navigation MENU --- */
|
||||
|
||||
.library-version {
|
||||
position: relative;
|
||||
top: -4px;
|
||||
margin-left: 3px;
|
||||
|
||||
color: rgba(255,255,255,.7);
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.filter-section {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.no-js .filter-section {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (min-width: 760px) {
|
||||
.filter-section {
|
||||
padding: 5px 0 5px;
|
||||
}
|
||||
}
|
||||
/* --- Navigation controls --- */
|
||||
.navigation-controls {
|
||||
display: flex;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
@media (min-width: 760px) {
|
||||
.navigation-controls {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.no-js .navigation-controls {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navigation-controls--btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
background-color: inherit;
|
||||
background-position: 50% 50%;
|
||||
padding: 0;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
transition: background-color 200ms ease-in-out;
|
||||
will-change: background-color;
|
||||
}
|
||||
|
||||
.navigation-controls--btn:hover {
|
||||
background-color: var(--white-10);
|
||||
}
|
||||
|
||||
.navigation-controls--theme {
|
||||
background-image: url("../images/theme-toggle.svg");
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
@media (max-width: 759px) {
|
||||
.navigation-controls--theme {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.navigation-controls--homepage {
|
||||
background-image: url("../images/homepage.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 24px 24px;
|
||||
}
|
||||
|
||||
@media (max-width: 759px) {
|
||||
.navigation-controls--homepage {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.navigation .platform-selector:not([data-active]) {
|
||||
color: #fff;
|
||||
}
|
||||
/* /--- Navigation controls --- */
|
||||
/* /--- Navigation styles --- */
|
||||
|
||||
/* --- Layout styles --- */
|
||||
|
||||
#container {
|
||||
@@ -414,7 +257,7 @@ td:first-child {
|
||||
min-height: 0; /* full height exclude header */
|
||||
}
|
||||
|
||||
#container > .sidebar, #container > #main {
|
||||
#container > #main {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -424,54 +267,6 @@ td:first-child {
|
||||
flex: 1 1 0; /* full width, but no affects for sidebar */
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
border-right: 1px solid var(--border-color);
|
||||
width: var(--sidebar-width);
|
||||
}
|
||||
|
||||
.no-js .sidebar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 759px) {
|
||||
#container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
box-sizing: border-box;
|
||||
background: var(--background-color);
|
||||
margin-left: calc(-1 * var(--sidebar-width));
|
||||
transition: margin .2s ease-out;
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
.sidebar.open {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.sidebar.open ~ #main .navigation-controls--search {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar.open ~ #main .menu-toggle {
|
||||
margin-left: var(--sidebar-width);
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar--inner {
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
line-height: 16px;
|
||||
padding-top: 22px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
/* /--- Layout styles --- */
|
||||
|
||||
/* --- Main Content styles --- */
|
||||
@@ -497,6 +292,7 @@ td:first-child {
|
||||
.main-content :is(h1, h2) {
|
||||
font-weight: 530;
|
||||
}
|
||||
|
||||
/* /--- Main Content styles --- */
|
||||
|
||||
/* /--- Breadcrumbs styles --- */
|
||||
@@ -513,58 +309,9 @@ td:first-child {
|
||||
.breadcrumbs .current {
|
||||
color: var(--default-font-color);
|
||||
}
|
||||
|
||||
/* /--- Breadcrumbs styles --- */
|
||||
|
||||
.tabs-section,
|
||||
.platform-hinted > .platform-bookmarks-row {
|
||||
margin-left: -8px;
|
||||
margin-right: -8px;
|
||||
}
|
||||
|
||||
.section-tab,
|
||||
.platform-hinted > .platform-bookmarks-row > .platform-bookmark {
|
||||
border: 0;
|
||||
padding: 11px 3px;
|
||||
margin: 0 8px;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
font-size: var(--default-font-size);
|
||||
background-color: transparent;
|
||||
color: var(--inactive-section-color);
|
||||
border-bottom: 1px solid var(--inactive-tab-border-color);
|
||||
}
|
||||
|
||||
.platform-hinted > .platform-bookmarks-row {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.no-js .platform-bookmarks-row + .sourceset-dependent-content {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.no-js .platform-bookmarks-row + .sourceset-dependent-content:last-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.section-tab:hover {
|
||||
color: var(--default-font-color);
|
||||
border-bottom: 2px solid var(--default-font-color);
|
||||
}
|
||||
|
||||
.section-tab[data-active=''] {
|
||||
color: var(--active-section-color);
|
||||
border-bottom: 2px solid var(--active-tab-border-color);
|
||||
}
|
||||
|
||||
.tabs-section-body > div {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.tabs-section-body .with-platform-tabs {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.cover > .platform-hinted {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
@@ -648,16 +395,6 @@ code.paragraph {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.overview > .navButton {
|
||||
position: absolute;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 2px 2px 2px 0;
|
||||
margin-right: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.strikethrough {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
@@ -797,168 +534,10 @@ code:not(.block) {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.sideMenuPart > .overview {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
user-select: none; /* there's a weird bug with text selection */
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.sideMenuPart a {
|
||||
display: block;
|
||||
align-items: center;
|
||||
color: var(--default-font-color);
|
||||
overflow: hidden;
|
||||
padding-left: 23px;
|
||||
}
|
||||
|
||||
.sideMenuPart a:hover {
|
||||
text-decoration: none;
|
||||
color: var(--default-font-color);
|
||||
}
|
||||
|
||||
.sideMenuPart > .overview:before {
|
||||
box-sizing: border-box;
|
||||
content: '';
|
||||
top: 0;
|
||||
width: var(--sidebar-width);
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.overview:hover:before {
|
||||
background-color: var(--navigation-highlight-color);
|
||||
}
|
||||
|
||||
#nav-submenu {
|
||||
padding-left: 24px;
|
||||
}
|
||||
|
||||
.sideMenuPart {
|
||||
padding-left: 12px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sideMenuPart.hidden > .overview .navButtonContent::before {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
.sideMenuPart > .overview .navButtonContent::before {
|
||||
content: '';
|
||||
|
||||
-webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%;
|
||||
mask: url("../images/arrow_down.svg") no-repeat 50% 50%;
|
||||
-webkit-mask-size: cover;
|
||||
mask-size: cover;
|
||||
background-color: var(--default-font-color);
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transform: rotate(90deg);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.sideMenuPart[data-active] > .overview .navButtonContent::before {
|
||||
background-color: var(--default-white);
|
||||
}
|
||||
|
||||
.sideMenuPart.hidden > .navButton .navButtonContent::after {
|
||||
content: '\02192';
|
||||
}
|
||||
|
||||
.sideMenuPart.hidden > .sideMenuPart {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.overview .nav-link-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 16px auto; /* first is the icon, then name */
|
||||
grid-gap: 6px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.nav-icon.class::before {
|
||||
content: url("../images/nav-icons/class.svg");
|
||||
}
|
||||
|
||||
.nav-icon.class-kt::before {
|
||||
content: url("../images/nav-icons/class-kotlin.svg");
|
||||
}
|
||||
|
||||
.nav-icon.function::before {
|
||||
content: url("../images/nav-icons/function.svg");
|
||||
}
|
||||
|
||||
.nav-icon.enum-class::before {
|
||||
content: url("../images/nav-icons/enum.svg");
|
||||
}
|
||||
|
||||
.nav-icon.enum-class-kt::before {
|
||||
content: url("../images/nav-icons/enum-kotlin.svg");
|
||||
}
|
||||
|
||||
.nav-icon.annotation-class::before {
|
||||
content: url("../images/nav-icons/annotation.svg");
|
||||
}
|
||||
|
||||
.nav-icon.annotation-class-kt::before {
|
||||
content: url("../images/nav-icons/annotation-kotlin.svg");
|
||||
}
|
||||
|
||||
.nav-icon.abstract-class::before {
|
||||
content: url("../images/nav-icons/abstract-class.svg");
|
||||
}
|
||||
|
||||
.nav-icon.abstract-class-kt::before {
|
||||
content: url("../images/nav-icons/abstract-class-kotlin.svg");
|
||||
}
|
||||
|
||||
.nav-icon.exception-class::before {
|
||||
content: url("../images/nav-icons/exception-class.svg");
|
||||
}
|
||||
|
||||
.nav-icon.interface::before {
|
||||
content: url("../images/nav-icons/interface.svg");
|
||||
}
|
||||
|
||||
.nav-icon.interface-kt::before {
|
||||
content: url("../images/nav-icons/interface-kotlin.svg");
|
||||
}
|
||||
|
||||
.nav-icon.object::before {
|
||||
content: url("../images/nav-icons/object.svg");
|
||||
}
|
||||
|
||||
.nav-icon.typealias-kt::before {
|
||||
content: url("../images/nav-icons/typealias-kotlin.svg");
|
||||
}
|
||||
|
||||
.nav-icon.val::before {
|
||||
content: url("../images/nav-icons/field-value.svg");
|
||||
}
|
||||
|
||||
.nav-icon.var::before {
|
||||
content: url("../images/nav-icons/field-variable.svg");
|
||||
}
|
||||
|
||||
.filtered > a, .filtered > .navButton {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.brief {
|
||||
white-space: pre-wrap;
|
||||
overflow: hidden;
|
||||
@@ -1006,7 +585,7 @@ h1.cover {
|
||||
.UnderCoverText table {
|
||||
display: block;
|
||||
word-break: normal;
|
||||
overflow: auto;
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1019,6 +598,8 @@ h1.cover {
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
transition: color .1s, border-color .1s;
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.main-content a:hover {
|
||||
@@ -1038,7 +619,7 @@ p.paragraph img {
|
||||
|
||||
.deprecation-content {
|
||||
margin: 20px 10px;
|
||||
border:1px solid var(--border-color);
|
||||
border: 1px solid var(--border-color);
|
||||
padding: 13px 15px 16px 15px;
|
||||
}
|
||||
|
||||
@@ -1073,88 +654,6 @@ p.paragraph img {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.platform-tags, .filter-section {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: -8px;
|
||||
margin-left: -4px;
|
||||
}
|
||||
|
||||
.platform-tag {
|
||||
--platform-tag-color: #bababb;
|
||||
border: 0 none;
|
||||
margin-right: 4px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
font-family: var(--default-font-family);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.platform-tag.js-like, .platform-tag.jvm-like, .platform-tag.wasm-like {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.filter-section .platform-tag {
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
padding: 2px 16px;
|
||||
}
|
||||
|
||||
.filter-section .platform-tag.jvm-like[data-active], .platform-tags .platform-tag.jvm-like {
|
||||
--platform-tag-color: #4dbb5f;
|
||||
}
|
||||
|
||||
.filter-section .platform-tag.js-like[data-active], .platform-tags .platform-tag.js-like {
|
||||
--platform-tag-color: #ffc700;
|
||||
}
|
||||
|
||||
.filter-section .platform-tag.native-like[data-active], .platform-tags .platform-tag.native-like {
|
||||
--platform-tag-color: #E082F3;
|
||||
}
|
||||
|
||||
.filter-section .platform-tag.wasm-like[data-active], .platform-tags .platform-tag.wasm-like {
|
||||
--platform-tag-color: #9585F9;
|
||||
}
|
||||
|
||||
.filter-section .platform-tag[data-active]:hover {
|
||||
color: #fff;
|
||||
background-color: rgba(186, 186, 187, .7);
|
||||
}
|
||||
|
||||
.filter-section .platform-tag:not([data-active]) {
|
||||
color: #fff;
|
||||
/* Safari doesn't work correctly for `outline` with `border-radius` */
|
||||
/* outline: 1px solid rgba(255,255,255,.6); */
|
||||
/* ...use `box-shadow` instead: */
|
||||
box-shadow: 0 0 0 1px rgb(255 255 255 / 60%);
|
||||
background-color: rgba(255,255,255,.05);
|
||||
}
|
||||
|
||||
.filter-section .platform-tag[data-active] {
|
||||
color: #19191c;
|
||||
background-color: var(--platform-tag-color);
|
||||
}
|
||||
|
||||
.platform-tags .platform-tag {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.platform-tags .platform-tag::before {
|
||||
display: inline-block;
|
||||
content: '';
|
||||
border-radius: 50%;
|
||||
background: var(--platform-tag-color);
|
||||
margin: 0 4px 0 8px;
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
td.content {
|
||||
padding-left: 24px;
|
||||
padding-top: 16px;
|
||||
@@ -1217,38 +716,6 @@ td.content {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.platform-hinted {
|
||||
flex: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.platform-hinted > .platform-bookmarks-row > .platform-bookmark {
|
||||
min-width: 64px;
|
||||
background: inherit;
|
||||
flex: none;
|
||||
order: 5;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.platform-hinted > .platform-bookmarks-row > .platform-bookmark:hover {
|
||||
color: var(--default-font-color);
|
||||
border-bottom: 2px solid var(--default-font-color);
|
||||
}
|
||||
|
||||
.platform-hinted > .platform-bookmarks-row > .platform-bookmark[data-active=''] {
|
||||
border-bottom: 2px solid var(--active-tab-border-color);
|
||||
color: var(--active-section-color);
|
||||
}
|
||||
|
||||
.no-js .platform-bookmarks-row, .no-js .tabs-section {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.js .platform-hinted > .content:not([data-active]),
|
||||
.js .tabs-section-body *[data-togglable]:not([data-active]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Work around an issue: https://github.com/JetBrains/kotlin-playground/issues/91
|
||||
Applies for main description blocks with platform tabs.
|
||||
Just in case of possible performance degradation it excluding tabs with briefs on classlike page */
|
||||
@@ -1302,14 +769,6 @@ Just in case of possible performance degradation it excluding tabs with briefs o
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.sideMenuPart[data-active] > .overview:before {
|
||||
background: var(--sidemenu-section-active-color);
|
||||
}
|
||||
|
||||
.sideMenuPart[data-active] > .overview > a {
|
||||
color: var(--default-white);
|
||||
}
|
||||
|
||||
.table {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -1357,6 +816,7 @@ Just in case of possible performance degradation it excluding tabs with briefs o
|
||||
.keyValue {
|
||||
grid-template-columns: 20% 80%;
|
||||
}
|
||||
|
||||
.keyValue > div:first-child {
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -1428,82 +888,50 @@ div.runnablesample {
|
||||
background-color: var(--footer-background);
|
||||
}
|
||||
|
||||
.footer span.go-to-top-icon {
|
||||
border-radius: 2em;
|
||||
padding: 11px 10px !important;
|
||||
.footer--button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
background-color: var(--footer-go-to-top-color);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
padding: 0;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
transition: background-color 200ms ease-in-out;
|
||||
will-change: background-color;
|
||||
}
|
||||
|
||||
.footer span.go-to-top-icon > a::before {
|
||||
content: url("../images/go-to-top-icon.svg");
|
||||
.footer--button:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.footer > span:first-child {
|
||||
.footer--button_go-to-top {
|
||||
background-image: url("../images/go-to-top-icon.svg");
|
||||
margin-left: var(--horizontal-spacing-for-content);
|
||||
padding-left: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.footer > span:last-child {
|
||||
margin-right: var(--horizontal-spacing-for-content);
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.footer > span {
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
.footer--link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: var(--breadcrumb-font-color);
|
||||
}
|
||||
|
||||
.footer span.go-to-top-icon > #go-to-top-link {
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.footer .padded-icon {
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
.footer .padded-icon::before {
|
||||
content: url("../images/footer-go-to-link.svg");
|
||||
}
|
||||
/* /--- footer --- */
|
||||
|
||||
/* Logo styles */
|
||||
:root {
|
||||
--dokka-logo-image-url: url('../images/logo-icon.svg');
|
||||
--dokka-logo-height: 50px;
|
||||
--dokka-logo-width: 50px;
|
||||
}
|
||||
|
||||
.library-name--link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
font-weight: 530;
|
||||
}
|
||||
|
||||
.library-name--link::before {
|
||||
.footer--link_external:after {
|
||||
content: '';
|
||||
background: var(--dokka-logo-image-url) center no-repeat;
|
||||
background-size: var(--dokka-logo-height) var(--dokka-logo-width);
|
||||
margin-right: 5px;
|
||||
width: var(--dokka-logo-height);
|
||||
height: var(--dokka-logo-width);
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin-left: 4px;
|
||||
margin-right: var(--horizontal-spacing-for-content);
|
||||
background-image: url("../images/footer-go-to-link.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
|
||||
@media (max-width: 759px) {
|
||||
.library-name--link::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
/* / Logo styles */
|
||||
|
||||
/*
|
||||
the hack to hide the headers inside tabs for a package page because each tab
|
||||
has only one header, and the header text is the same as the tab name, so no point in showing it
|
||||
*/
|
||||
.main-content[data-page-type="package"] .tabs-section-body h2 {
|
||||
display: none;
|
||||
}
|
||||
/* /--- footer --- */
|
||||
|
Reference in New Issue
Block a user