ToolJet/docs/src/css/custom.css

317 lines
9.4 KiB
CSS
Raw Normal View History

2021-04-23 12:54:49 +00:00
/* stylelint-disable docusaurus/copyright-header */
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
2022-12-14 10:47:40 +00:00
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap');
2021-04-23 12:54:49 +00:00
:root {
2022-01-27 05:43:10 +00:00
--ifm-color-primary: #4d72fa;
2021-04-23 12:54:49 +00:00
--ifm-color-primary-dark: rgb(33, 175, 144);
--ifm-color-primary-darker: rgb(31, 165, 136);
--ifm-color-primary-darkest: rgb(26, 136, 112);
--ifm-color-primary-light: rgb(70, 203, 174);
--ifm-color-primary-lighter: rgb(102, 212, 189);
--ifm-color-primary-lightest: rgb(146, 224, 208);
--ifm-code-font-size: 95%;
--ifm-menu-color-active: #3E63DD;
2022-12-14 10:47:40 +00:00
--ifm-font-family-base: 'IBM Plex Sans';
2021-05-24 14:15:40 +00:00
--tblr-blue: #206bc4;
--tblr-azure: #4299e1;
--tblr-indigo: #4263eb;
--tblr-purple: #ae3ec9;
--tblr-pink: #d6336c;
--tblr-red: #d63939;
--tblr-orange: #f76707;
--tblr-yellow: #f59f00;
--tblr-lime: #74b816;
--tblr-green: #2fb344;
--tblr-teal: #0ca678;
--tblr-cyan: #17a2b8;
--tblr-primary: #206bc4;
--tblr-secondary: #656d77;
--tblr-success: #2fb344;
--tblr-info: #4299e1;
--tblr-warning: #f76707;
--tblr-danger: #d63939;
--tblr-light: #f4f6fa;
--tblr-dark: #232e3c;
--tblr-font-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
--tblr-font-monospace: null, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
2021-05-24 14:15:40 +00:00
--tblr-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
--doc-sidebar-width: 250px !important;
--ifm-link-color: #3e63dd;
--ifm-menu-color-background-active: #f0f4ff;
--ifm-link-menu-color-background-hover: #f0f4ff;
}
/* .markdown h1 {
margin-left: 10%;
margin-right: 10%;
} */
.menu__link--sublist-caret:after {
background: var(--ifm-menu-link-sublist-icon) 50% / 1rem 1rem;
}
.menu__caret:before {
background: var(--ifm-menu-link-sublist-icon) 50% / 1rem 1rem !important;
}
.badge--primary {
margin-bottom: 1rem;
}
article {
padding-left: 7%;
padding-right: 7%;
}
.menu__caret {
size: small;
}
p {
line-height: 180%;
2021-05-24 14:15:40 +00:00
}
.admonition {
font-family: var(--tblr-font-sans-serif);
font-weight: 400;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent;
letter-spacing: 0;
text-rendering: optimizeLegibility;
font-feature-settings: "liga" 0;
-webkit-font-smoothing: antialiased;
--tblr-gutter-y: 0;
--tblr-gutter-x: 2rem;
word-wrap: break-word;
font-size: .875rem;
line-height: 1.4285714;
color: #232e3c;
box-sizing: border-box;
position: relative;
padding: 1rem 1rem;
margin-bottom: 1rem;
border-radius: 4px;
background: #fff;
border: 1px solid rgba(101, 109, 119, .16);
box-shadow: rgba(35, 46, 60, .04) 0 2px 4px 0;
2021-05-24 14:15:40 +00:00
border-left: .25rem solid var(--tblr-alert-color);
}
.admonition-heading {
display: none;
2021-05-24 14:15:40 +00:00
}
.admonition-tip {
--tblr-alert-color: #2fb344;
}
.admonition-info {
--tblr-alert-color: #4299e1;
}
.screenshot-full {
2021-05-24 14:15:40 +00:00
border: 1px solid #dadde1;
2021-04-23 12:54:49 +00:00
}
.docusaurus-highlight-code-line {
background-color: rgb(72, 77, 91);
display: block;
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
}
.navbar__link {
color: var(--ifm-color-primary);
}
.navbar__link:hover {
text-decoration: underline;
}
svg[class^='iconExternalLink'] {
display: none;
}
/*
2021-04-23 15:21:16 +00:00
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
2021-04-23 12:54:49 +00:00
body {
font-family: 'Roboto', sans-serif;
2021-04-23 17:59:01 +00:00
} */
2021-04-23 15:21:16 +00:00
@media screen and (max-width: 996px) {
:root {
--ifm-font-size-base: 18px;
}
2021-04-23 15:21:16 +00:00
article header h1 {
font-size: 1.5rem !important;
}
article h2 {
font-size: 1.2rem !important;
}
2021-04-23 15:21:16 +00:00
.hero .hero__title {
font-size: 2.5rem;
}
}
@media screen and (min-width: 997px) {
:root {
2022-12-14 10:47:40 +00:00
--ifm-font-size-base: 16px;
2021-04-23 15:21:16 +00:00
}
article h1 {
2022-12-14 10:47:40 +00:00
font-size: 40px !important;
2021-04-23 15:21:16 +00:00
}
article h2 {
2021-04-23 15:21:16 +00:00
font-size: 1.5rem !important;
}
}
.menu__list {
2021-05-01 14:13:10 +00:00
font-size: 0.8rem;
2021-04-23 15:21:16 +00:00
}
img {
max-width: 100%;
max-height: 100%;
}
2021-04-23 15:21:16 +00:00
.menu__link--sublist:after {
2021-05-01 14:13:10 +00:00
padding-top: 0.3rem;
height: 0.6rem;
width: 0.75rem;
2021-04-23 15:21:16 +00:00
}
2021-04-29 05:51:06 +00:00
.hero--primary {
--ifm-hero-background-color: #00bcd4;
2021-05-01 14:13:10 +00:00
}
.navbar__logo {
height: 25px;
}
/* strong {
2022-01-27 05:43:10 +00:00
color: #4d72fa;
} */
2021-05-26 10:03:06 +00:00
.alert a {
color: inherit;
}
.menu {
overflow: hidden;
}
.menu:hover {
overflow-y: auto;
}
.navbar-social-link:hover {
opacity: 0.6;
}
.navbar-social-link::before {
content: '';
width: 24px;
height: 24px;
display: flex;
background-repeat: no-repeat;
}
.navbar-github-logo::before {
2022-12-30 06:48:15 +00:00
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23181717' aria-hidden='true' viewBox='0 -2 28 28' version='1.1' data-view-component='true' %3E%3Cpath fill-rule='evenodd' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12' %3E%3C/path%3E%3C/svg%3E");
}
[data-theme='dark'] .navbar-github-logo::before {
2022-12-30 06:48:15 +00:00
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' aria-hidden='true' viewBox='0 -2 28 28' version='1.1' data-view-component='true' %3E%3Cpath fill-rule='evenodd' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12' %3E%3C/path%3E%3C/svg%3E");
}
.navbar-slack-logo::before {
2022-12-30 06:48:15 +00:00
background-image: url("https://cdn.worldvectorlogo.com/logos/slack-new-logo.svg");
width: 20px;
height: 20px;
}
[data-theme='dark'] .navbar-slack-logo::before {
2022-12-30 06:48:15 +00:00
background-image: url("https://cdn.worldvectorlogo.com/logos/slack-new-logo.svg");
width: 20px;
height: 20px;
}
.navbar-twitter-logo::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 512 512' aria-hidden='true'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z' %3E%3C/path%3E%3C/svg%3E");
}
[data-theme='dark'] .navbar-twitter-logo::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 512 512' aria-hidden='true'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z' %3E%3C/path%3E%3C/svg%3E");
}
[data-theme='light'] .DocSearch {
/* --docsearch-primary-color: var(--ifm-color-primary); */
/* --docsearch-text-color: var(--ifm-font-color-base); */
--docsearch-muted-color: var(--ifm-color-secondary-darkest);
--docsearch-container-background: rgba(94, 100, 112, 0.7);
/* Modal */
--docsearch-modal-background: var(--ifm-color-secondary-lighter);
/* Search box */
--docsearch-searchbox-background: var(--ifm-color-secondary);
--docsearch-searchbox-focus-background: var(--ifm-color-white);
/* Hit */
--docsearch-hit-color: var(--ifm-font-color-base);
--docsearch-hit-active-color: var(--ifm-color-white);
--docsearch-hit-background: var(--ifm-color-white);
/* Footer */
--docsearch-footer-background: var(--ifm-color-white);
}
[data-theme='dark'] .DocSearch {
--docsearch-text-color: var(--ifm-font-color-base);
--docsearch-muted-color: var(--ifm-color-secondary-darkest);
--docsearch-container-background: rgba(47, 55, 69, 0.7);
/* Modal */
--docsearch-modal-background: var(--ifm-background-color);
/* Search box */
--docsearch-searchbox-background: var(--ifm-background-color);
--docsearch-searchbox-focus-background: var(--ifm-color-black);
/* Hit */
--docsearch-hit-color: var(--ifm-font-color-base);
--docsearch-hit-active-color: var(--ifm-color-white);
--docsearch-hit-background: var(--ifm-color-emphasis-100);
/* Footer */
--docsearch-footer-background: var(--ifm-background-surface-color);
--docsearch-key-gradient: linear-gradient(-26.5deg,
var(--ifm-color-emphasis-200) 0%,
var(--ifm-color-emphasis-100) 100%);
}
2022-12-29 09:39:58 +00:00
.DocSearch-Button {
border-radius: 5px !important;
}
.DocSearch-Search-Icon {
height: 13px;
width: 13px;
}
2023-09-29 04:49:32 +00:00
.DocSearch-Button-Placeholder {
font-size: 0.85rem
}
@media screen and (min-width: 768px) {
.DocSearch-Button-Container {
min-width: 200px;
/* Fixes #3856 */
}
}