ToolJet/docs/src/css/custom.css

221 lines
5.3 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. */
: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%;
2022-01-27 05:43:10 +00:00
--ifm-menu-color-active: #4d72fa;
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));
}
.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 {
--ifm-font-size-base: 17px;
}
article h1 {
2021-04-23 15:21:16 +00:00
font-size: 2rem !important;
}
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
}
.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-24 14:15:40 +00:00
}
2021-05-26 10:03:06 +00:00
.alert a {
color: inherit;
}
.menu {
overflow: hidden;
}
.menu:hover {
overflow-y: auto;
}
[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%);
}
@media screen and (min-width: 768px) {
.DocSearch-Button-Container {
min-width: 200px;
/* Fixes #3856 */
}
}