mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-11-15 19:40:25 +00:00
deploy: ac68b0b941
This commit is contained in:
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