2024-12-11 16:55:58 +02:00
|
|
|
/*
|
|
|
|
* We load Inter in Ember admin, so loading it explicitly here makes the final rendering
|
|
|
|
* in Storybook match the final rendering when embedded in Ember
|
|
|
|
*/
|
|
|
|
@font-face {
|
|
|
|
font-family: "Inter";
|
|
|
|
src: url("./Inter.ttf") format("truetype-variations");
|
|
|
|
font-weight: 100 900;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
font-size: 62.5%;
|
|
|
|
line-height: 1.5;
|
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
}
|
|
|
|
|
2024-12-12 12:47:26 +02:00
|
|
|
html,
|
|
|
|
body,
|
|
|
|
#root {
|
2024-12-11 16:55:58 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
letter-spacing: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sbdocs-wrapper {
|
|
|
|
padding: 3vmin !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sbdocs-wrapper .sbdocs-content {
|
|
|
|
max-width: 1320px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc {
|
|
|
|
max-width: 740px;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc,
|
|
|
|
.sb-doc a,
|
|
|
|
.sb-doc h1,
|
|
|
|
.sb-doc h2,
|
|
|
|
.sb-doc h3,
|
|
|
|
.sb-doc h4,
|
|
|
|
.sb-doc h5,
|
|
|
|
.sb-doc h6,
|
|
|
|
.sb-doc p,
|
|
|
|
.sb-doc ul li,
|
|
|
|
.sbdocs-title,
|
|
|
|
.sb-doc ol li {
|
|
|
|
font-family: Inter, sans-serif !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc a {
|
2024-12-12 12:47:26 +02:00
|
|
|
color: #394047 !important;
|
|
|
|
text-decoration: underline !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc a:hover {
|
|
|
|
opacity: 0.85;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc h1 {
|
2024-12-12 12:47:26 +02:00
|
|
|
font-size: 36px !important;
|
2024-12-11 16:55:58 +02:00
|
|
|
letter-spacing: -0.04em !important;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc h2 {
|
|
|
|
margin-top: 40px !important;
|
2024-12-12 12:47:26 +02:00
|
|
|
font-size: 24px;
|
2024-12-11 16:55:58 +02:00
|
|
|
border: none;
|
|
|
|
margin-bottom: 2px;
|
2024-12-12 12:47:26 +02:00
|
|
|
letter-spacing: -0.02em !important;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc h3 {
|
|
|
|
margin-top: 40px !important;
|
|
|
|
margin-bottom: 4px !important;
|
2024-12-12 12:47:26 +02:00
|
|
|
font-size: 18px;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc h4 {
|
|
|
|
margin: 0 0 4px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc p,
|
|
|
|
.sb-doc div,
|
|
|
|
.sb-doc ul li,
|
|
|
|
.sb-doc ol li {
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc ul li,
|
|
|
|
.sb-doc ol li {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc h2 + p,
|
|
|
|
.sb-doc h3 + p {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc img,
|
|
|
|
.sb-wide img {
|
|
|
|
margin-top: 40px !important;
|
|
|
|
margin-bottom: 40px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc img.small {
|
|
|
|
max-width: 520px;
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc p.excerpt {
|
|
|
|
font-size: 19px;
|
|
|
|
letter-spacing: -0.02em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .highlight {
|
|
|
|
padding: 12px 20px;
|
|
|
|
border-radius: 4px;
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #ebeef0;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .highlight.purple {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #f0e9fa;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .highlight.purple a {
|
2024-12-12 12:47:26 +02:00
|
|
|
color: #8e42ff;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Welcome */
|
|
|
|
.sb-doc img.main-image {
|
|
|
|
margin-top: -2vmin !important;
|
|
|
|
margin-left: -44px;
|
|
|
|
margin-right: -32px;
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
max-width: unset;
|
|
|
|
width: calc(100% + 64px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .main-structure-container {
|
|
|
|
display: flex;
|
|
|
|
gap: 32px;
|
|
|
|
margin: 32px 0 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .main-structure-container div {
|
|
|
|
flex-basis: 33%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .main-structure-container div p {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .main-structure-container img {
|
|
|
|
margin: 12px 0 !important;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .main-structure-container div h4 {
|
2024-12-12 12:47:26 +02:00
|
|
|
border-bottom: 1px solid #ebeef0;
|
2024-12-11 16:55:58 +02:00
|
|
|
padding-bottom: 8px !important;
|
|
|
|
margin-bottom: 8px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-doc .main-structure-container div p {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 13.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Colors */
|
|
|
|
.color-grid {
|
|
|
|
display: flex;
|
|
|
|
gap: 20px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-grid div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
padding: 12px;
|
|
|
|
border-radius: 4px;
|
2024-12-12 12:47:26 +02:00
|
|
|
border: 1px solid #ebeef0;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.color-grid .swatch {
|
|
|
|
display: block;
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #efefef;
|
2024-12-11 16:55:58 +02:00
|
|
|
border-radius: 100%;
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.swatch.green {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #30cf43;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.swatch.black {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #15171a;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.swatch.white {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #ffffff;
|
|
|
|
border: 1px solid #ebeef0;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.swatch.lime {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #b5ff18;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
.swatch.blue {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #14b8ff;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
.swatch.purple {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #8e42ff;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
.swatch.pink {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #fb2d8d;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
.swatch.yellow {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #ffb41f;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
.swatch.red {
|
2024-12-12 12:47:26 +02:00
|
|
|
background: #f50b23;
|
2024-12-11 16:55:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Icons */
|
|
|
|
|
|
|
|
.sb-doc .streamline {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 240px;
|
|
|
|
gap: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sbdocs-a {
|
2024-12-12 12:47:26 +02:00
|
|
|
color: #394047 !important;
|
|
|
|
text-decoration: underline !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-icon-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
|
|
gap: 16px;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-icon {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
padding: 8px;
|
|
|
|
border: 1px solid #efefef;
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sb-icon:hover {
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prismjs div {
|
|
|
|
font-size: 13px !important;
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.docblock-source {
|
|
|
|
border-radius: 7px !important;
|
|
|
|
border: none !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
background: #15171a !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.docblock-source div {
|
|
|
|
background: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.docblock-source button {
|
|
|
|
background: #394047 !important;
|
|
|
|
border: none;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sbdocs a.button {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 6px 13px !important;
|
|
|
|
background: #15171a;
|
|
|
|
text-decoration: none !important;
|
|
|
|
font-size: 13px;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: #fff !important;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sbdocs li > ul {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sbdocs hr {
|
|
|
|
margin: 40px 0;
|
|
|
|
}
|
2024-12-19 12:01:08 +01:00
|
|
|
|
|
|
|
.docs-story .shade {
|
|
|
|
overflow: unset;
|
|
|
|
}
|