Files
supabase/www/styles/index.css
T
2021-08-21 12:45:11 +07:00

215 lines
6.8 KiB
CSS

@tailwind base;
/* Write your own custom base styles here */
/* Start purging... */
@tailwind components;
/* Stop purging. */
/* Write you own custom component styles here */
/* Start purging... */
@tailwind utilities;
/* Stop purging. */
/* Your own custom utilities */
@font-face {
font-family: 'custom-font';
src: url(/new/fonts/custom/CustomFont-Book.woff2) format('woff2'),
url(/new/fonts/custom/CustomFont-Book.woff) format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'custom-font';
src: url(/new/fonts/custom/CustomFont-Medium.woff2) format('woff2'),
url(/new/fonts/custom/CustomFont-Medium.woff) format('woff');
font-weight: 500;
font-style: normal;
}
/*
Typography
*/
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 16px;
}
h1,
h2 {
line-height: 1.2 !important;
}
@media only screen and (max-width: 960px) {
h1 {
font-size: 2.2rem !important;
}
h2 {
font-size: 2rem !important;
}
}
@media only screen and (max-width: 720px) {
h1 {
font-size: 2rem !important;
}
h2 {
font-size: 1.8rem !important;
}
}
@media only screen and (max-width: 520px) {
h1 {
font-size: 1.8rem !important;
}
h2 {
font-size: 1.6rem !important;
}
}
p {
margin-bottom: 16px;
}
.sbui-border-fix select {
@apply border-solid;
border-width: 1px;
}
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.section--masked {
/* overflow: hidden; */
}
.section--bg-masked {
position: absolute;
width: 100%;
height: 100%;
/* overflow: visible; */
}
.section--bg {
@apply bg-gray-50 dark:bg-gray-800;
position: relative;
height: 100%;
width: 100%;
top: 0;
left: 0;
transform-origin: 100% 0;
transform: skewY(-2deg);
overflow: hidden;
/* transform-origin: var(--sectionTransformOrigin);
transform: skewY(var(--sectionAngle));
background: var(--backgroundColor);
overflow:
hidden; */
}
.section-container {
position: relative;
/* z-index: 1; */
/* display: flex;
justify-content: center; */
}
/* Database page */
.dashboard-tabs div[role='seperator'] {
@apply border border-gray-50 dark:border-gray-700;
}
a {
@apply hover:text-black dark:hover:text-white;
}
.sbui-tabs--alt div[role='tablist'] .sbui-btn-primary {
@apply bg-gray-800 text-white dark:bg-gray-600 dark:text-white;
text-shadow: none;
font-weight: 400;
}
.sbui-tabs--alt div[role='tablist'] .sbui-btn-text {
@apply dark:text-gray-400;
font-weight: 400;
shadow: none;
}
.sbui-tabs--underline-alt div[role='tablist'] .sbui-tab-button-underline--active {
@apply border-gray-900 dark:border-white;
}
/* override position of tabs */
.dashboard-tabs > div > div > div > div {
justify-content: center;
}
/* Auth page */
/* .auth-container > div:nth-child(2) {
width: 420px;
} */
.auth-container {
@apply rounded;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23edebf0' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.dark .auth-container {
background-color: #181818;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23313131' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v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9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.dark .header--light {
display: none;
}
.header--dark {
display: none;
}
.dark .header--dark {
display: block;
}
table {
margin-top: 1em;
border-collapse: collapse;
}
table .thead--plans th {
@apply py-4;
position: sticky;
border-collapse: separate;
top: 0;
z-index: 5;
}
.pricing-table__product-row {
/* @apply py-4; */
position: sticky;
border-collapse: separate;
top: 0;
z-index: 5;
}
/*
th {
border-right: 5px solid red;
background: white;
background-clip: padding-box;
}
*/
.sbui-typography-container thead {
@apply text-gray-500 dark:text-gray-200;
}