2021-03-22 13:48:48 +00:00
|
|
|
|
@tailwind base;
|
|
|
|
|
@tailwind components;
|
|
|
|
|
@tailwind utilities;
|
2023-04-13 18:26:31 +00:00
|
|
|
|
/**
|
|
|
|
|
* Add css variables here as well for light mode in addition to tailwind.config to avoid FOUC
|
|
|
|
|
*/
|
2023-04-05 18:14:46 +00:00
|
|
|
|
:root {
|
|
|
|
|
/* background */
|
|
|
|
|
|
|
|
|
|
--cal-bg-emphasis: #e5e7eb;
|
|
|
|
|
--cal-bg: white;
|
|
|
|
|
--cal-bg-subtle: #f3f4f6;
|
|
|
|
|
--cal-bg-muted: #f9fafb;
|
|
|
|
|
--cal-bg-inverted: #111827;
|
|
|
|
|
|
|
|
|
|
/* background -> components*/
|
|
|
|
|
--cal-bg-info: #dee9fc;
|
|
|
|
|
--cal-bg-success: #e2fbe8;
|
|
|
|
|
--cal-bg-attention: #fceed8;
|
|
|
|
|
--cal-bg-error: #f9e3e2;
|
|
|
|
|
|
|
|
|
|
/* Borders */
|
|
|
|
|
--cal-border-emphasis: #9ca3af;
|
|
|
|
|
--cal-border: #d1d5db;
|
|
|
|
|
--cal-border-subtle: #e5e7eb;
|
2023-04-13 18:26:31 +00:00
|
|
|
|
--cal-border-booker: #e5e7eb;
|
2023-04-05 18:14:46 +00:00
|
|
|
|
--cal-border-muted: #f3f4f6;
|
|
|
|
|
|
|
|
|
|
/* Content/Text */
|
|
|
|
|
--cal-text-emphasis: #111827;
|
|
|
|
|
--cal-text: #374151;
|
|
|
|
|
--cal-text-subtle: #6b7280;
|
|
|
|
|
--cal-text-muted: #9ca3af;
|
|
|
|
|
--cal-text-inverted: white;
|
|
|
|
|
|
|
|
|
|
/* Content/Text -> components */
|
|
|
|
|
--cal-text-info: #253985;
|
|
|
|
|
--cal-text-success: #285231;
|
|
|
|
|
--cal-text-attention: #73321b;
|
|
|
|
|
--cal-text-error: #752522;
|
|
|
|
|
|
|
|
|
|
/* Brand shinanigans
|
|
|
|
|
-> These will be computed for the users theme at runtime.
|
|
|
|
|
*/
|
|
|
|
|
--cal-brand: #111827;
|
|
|
|
|
--cal-brand-emphasis: #101010;
|
|
|
|
|
--cal-brand-text: white;
|
|
|
|
|
}
|
|
|
|
|
.dark {
|
|
|
|
|
/* background */
|
|
|
|
|
|
|
|
|
|
--cal-bg-emphasis: #2b2b2b;
|
|
|
|
|
--cal-bg: #101010;
|
|
|
|
|
--cal-bg-subtle: #2b2b2b;
|
|
|
|
|
--cal-bg-muted: #1c1c1c;
|
|
|
|
|
--cal-bg-inverted: #f3f4f6;
|
|
|
|
|
|
|
|
|
|
/* background -> components*/
|
|
|
|
|
--cal-bg-info: #dee9fc;
|
|
|
|
|
--cal-bg-success: #e2fbe8;
|
|
|
|
|
--cal-bg-attention: #fceed8;
|
|
|
|
|
--cal-bg-error: #f9e3e2;
|
|
|
|
|
|
|
|
|
|
/* Borders */
|
|
|
|
|
--cal-border-emphasis: #575757;
|
|
|
|
|
--cal-border: #444444;
|
|
|
|
|
--cal-border-subtle: #2b2b2b;
|
2023-04-13 18:26:31 +00:00
|
|
|
|
--cal-border-booker: #2b2b2b;
|
2023-04-05 18:14:46 +00:00
|
|
|
|
--cal-border-muted: #1c1c1c;
|
|
|
|
|
|
|
|
|
|
/* Content/Text */
|
|
|
|
|
--cal-text-emphasis: #f3f4f6;
|
|
|
|
|
--cal-text: #d6d6d6;
|
|
|
|
|
--cal-text-subtle: #A5a5a5;
|
|
|
|
|
--cal-text-muted: #575757;
|
|
|
|
|
--cal-text-inverted: #101010;
|
|
|
|
|
|
|
|
|
|
/* Content/Text -> components */
|
|
|
|
|
--cal-text-info: #253985;
|
|
|
|
|
--cal-text-success: #285231;
|
|
|
|
|
--cal-text-attention: #73321b;
|
|
|
|
|
--cal-text-error: #752522;
|
|
|
|
|
|
|
|
|
|
/* Brand shenanigans
|
|
|
|
|
-> These will be computed for the users theme at runtime.
|
|
|
|
|
*/
|
|
|
|
|
--cal-brand: #111827;
|
|
|
|
|
--cal-brand-emphasis: #101010;
|
|
|
|
|
--cal-brand-text: black;
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-13 10:41:12 +00:00
|
|
|
|
::-moz-selection {
|
|
|
|
|
color: var(--cal-brand-text);
|
|
|
|
|
background: var(--cal-brand);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
|
color: var(--cal-brand-text);
|
|
|
|
|
background: var(--cal-brand);
|
2023-04-05 18:14:46 +00:00
|
|
|
|
}
|
2022-11-04 15:40:46 +00:00
|
|
|
|
|
2022-07-27 02:24:00 +00:00
|
|
|
|
body {
|
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-05 18:14:46 +00:00
|
|
|
|
|
2021-11-16 08:51:46 +00:00
|
|
|
|
|
2022-08-08 19:39:51 +00:00
|
|
|
|
/*
|
|
|
|
|
Desktop App specific CSS
|
|
|
|
|
https://docs.todesktop.com/
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* disable user selection on buttons, links and images on desktop app */
|
|
|
|
|
html.todesktop button,
|
|
|
|
|
html.todesktop a,
|
2022-09-07 15:01:33 +00:00
|
|
|
|
html.todesktop img,
|
2023-04-05 18:14:46 +00:00
|
|
|
|
html.todesktop header {
|
2022-08-08 19:39:51 +00:00
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-khtml-user-select: none;
|
|
|
|
|
-moz-user-select: none;
|
|
|
|
|
-ms-user-select: none;
|
|
|
|
|
user-select: none;
|
2022-08-17 20:50:25 +00:00
|
|
|
|
cursor: default !important;
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-24 20:18:42 +00:00
|
|
|
|
html.todesktop,
|
2023-04-05 18:14:46 +00:00
|
|
|
|
html.todesktop div {
|
2022-08-17 20:50:25 +00:00
|
|
|
|
cursor: default !important;
|
2022-08-08 19:39:51 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* make header draggable on desktop app */
|
2023-04-05 18:14:46 +00:00
|
|
|
|
html.todesktop header {
|
2022-08-08 19:39:51 +00:00
|
|
|
|
-webkit-app-region: drag;
|
|
|
|
|
}
|
2023-04-05 18:14:46 +00:00
|
|
|
|
html.todesktop header button {
|
2022-08-08 19:39:51 +00:00
|
|
|
|
-webkit-app-region: no-drag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.todesktop .logo {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.desktop-only {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.todesktop .desktop-only {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.todesktop .desktop-hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.todesktop header {
|
2022-09-07 15:01:33 +00:00
|
|
|
|
margin-top: -14px;
|
2022-08-08 19:39:51 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.todesktop header nav {
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-07 15:01:33 +00:00
|
|
|
|
html.todesktop aside {
|
2023-04-05 18:14:46 +00:00
|
|
|
|
margin: 0px -6px;
|
2022-09-07 15:01:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
2023-04-22 19:52:50 +00:00
|
|
|
|
html.todesktop-platform-darwin .desktop-transparent{
|
2022-09-07 15:01:33 +00:00
|
|
|
|
background: transparent !important;
|
|
|
|
|
border: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-22 19:52:50 +00:00
|
|
|
|
html.todesktop-platform-darwin.dark main.bg-default{
|
2023-04-13 10:59:09 +00:00
|
|
|
|
background: rgba(0,0,0,0.6) !important
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-22 19:52:50 +00:00
|
|
|
|
html.todesktop-platform-darwin.light main.bg-default{
|
2023-04-13 10:59:09 +00:00
|
|
|
|
background: rgba(255,255,255,0.8) !important
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
2022-09-07 15:01:33 +00:00
|
|
|
|
html.todesktop aside a {
|
|
|
|
|
height: 28px;
|
|
|
|
|
padding: 0px 8px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #383438 !important
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.todesktop nav a:hover{
|
|
|
|
|
background-color: inherit !important
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.todesktop nav a[aria-current="page"]{
|
|
|
|
|
background: rgba(0, 0, 0, 0.1) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.todesktop nav a svg{
|
|
|
|
|
color: #0272F7 !important
|
2023-04-13 10:59:09 +00:00
|
|
|
|
} */
|
2022-09-07 15:01:33 +00:00
|
|
|
|
|
2022-06-09 10:46:03 +00:00
|
|
|
|
/*
|
|
|
|
|
Adds Utility to hide scrollbar to tailwind
|
|
|
|
|
https://github.com/tailwindlabs/tailwindcss/discussions/2394
|
|
|
|
|
https://github.com/tailwindlabs/tailwindcss/pull/5732
|
|
|
|
|
*/
|
|
|
|
|
@layer utilities {
|
2023-04-16 22:22:10 +00:00
|
|
|
|
@layer responsive {
|
2022-06-09 10:46:03 +00:00
|
|
|
|
/* Chrome, Safari and Opera */
|
|
|
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-scrollbar {
|
2022-07-15 16:39:11 +00:00
|
|
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
|
|
|
scrollbar-width: none; /* Firefox */
|
2022-06-09 10:46:03 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-05 21:16:25 +00:00
|
|
|
|
/*
|
2022-04-14 14:58:23 +00:00
|
|
|
|
* Override the default tailwindcss-forms styling (default is: 'colors.blue.600')
|
2022-05-05 21:16:25 +00:00
|
|
|
|
* @see: https://github.com/tailwindlabs/tailwindcss-forms/issues/14#issuecomment-1005376006
|
2022-04-14 14:58:23 +00:00
|
|
|
|
*/
|
2022-04-14 21:25:24 +00:00
|
|
|
|
[type="text"]:focus,
|
|
|
|
|
[type="email"]:focus,
|
|
|
|
|
[type="url"]:focus,
|
|
|
|
|
[type="password"]:focus,
|
|
|
|
|
[type="number"]:focus,
|
|
|
|
|
[type="date"]:focus,
|
|
|
|
|
[type="datetime-local"]:focus,
|
|
|
|
|
[type="month"]:focus,
|
|
|
|
|
[type="search"]:focus,
|
|
|
|
|
[type="tel"]:focus,
|
|
|
|
|
[type="checkbox"]:focus,
|
|
|
|
|
[type="radio"]:focus,
|
|
|
|
|
[type="time"]:focus,
|
|
|
|
|
[type="week"]:focus,
|
2022-04-14 14:58:23 +00:00
|
|
|
|
[multiple]:focus,
|
|
|
|
|
textarea:focus,
|
|
|
|
|
select:focus {
|
|
|
|
|
--tw-ring-color: var(--brand-color);
|
|
|
|
|
border-color: var(--brand-color);
|
|
|
|
|
}
|
2023-04-10 16:12:15 +00:00
|
|
|
|
|
2022-04-14 14:58:23 +00:00
|
|
|
|
|
2023-03-06 16:44:31 +00:00
|
|
|
|
@layer components {
|
2023-04-05 18:14:46 +00:00
|
|
|
|
.scroll-bar {
|
|
|
|
|
@apply scrollbar-thin scrollbar-thumb-rounded-md dark:scrollbar-thumb-darkgray-300 scrollbar-thumb-gray-300 scrollbar-track-transparent;
|
2023-03-06 16:44:31 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2022-03-17 16:48:23 +00:00
|
|
|
|
}
|
2023-04-05 18:14:46 +00:00
|
|
|
|
|
2022-09-06 22:58:16 +00:00
|
|
|
|
/* TODO: avoid global specific css */
|
|
|
|
|
/* button[role="switch"][data-state="checked"] span {
|
2022-09-30 09:12:22 +00:00
|
|
|
|
transform: translateX(16px);
|
2022-09-06 22:58:16 +00:00
|
|
|
|
} */
|
2022-03-17 16:48:23 +00:00
|
|
|
|
|
2022-09-05 15:34:03 +00:00
|
|
|
|
|
2021-06-20 09:57:33 +00:00
|
|
|
|
@layer components {
|
2021-09-22 21:23:19 +00:00
|
|
|
|
/* slider */
|
|
|
|
|
.slider {
|
2022-02-09 00:05:13 +00:00
|
|
|
|
@apply relative flex h-4 w-40 select-none items-center;
|
2021-09-22 21:23:19 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slider > .slider-track {
|
2023-01-20 22:04:58 +00:00
|
|
|
|
@apply relative h-1 flex-grow rounded-md bg-gray-400;
|
2021-09-22 21:23:19 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slider .slider-range {
|
2023-01-20 22:04:58 +00:00
|
|
|
|
@apply absolute h-full rounded-full bg-gray-700;
|
2021-09-22 21:23:19 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slider .slider-thumb {
|
2023-01-20 22:04:58 +00:00
|
|
|
|
@apply block h-3 w-3 cursor-pointer rounded-full bg-gray-700 transition-all;
|
2021-09-22 21:23:19 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slider .slider-thumb:hover {
|
2023-01-20 22:04:58 +00:00
|
|
|
|
@apply bg-gray-600;
|
2021-09-22 21:23:19 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slider .slider-thumb:focus {
|
|
|
|
|
box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.2);
|
|
|
|
|
}
|
2021-06-20 09:57:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
2022-03-15 22:46:14 +00:00
|
|
|
|
/* hide chat bubble on mobile */
|
2021-09-22 18:36:13 +00:00
|
|
|
|
@media only screen and (max-width: 768px) {
|
2022-03-18 15:09:13 +00:00
|
|
|
|
/* Intercom FAB*/
|
2022-03-15 22:46:14 +00:00
|
|
|
|
#launcher {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
2022-03-18 15:09:13 +00:00
|
|
|
|
|
|
|
|
|
/* Zendesk FAB*/
|
2022-03-15 22:46:14 +00:00
|
|
|
|
div[role="presentation"] > iframe {
|
2021-09-22 21:23:19 +00:00
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
2022-03-18 15:09:13 +00:00
|
|
|
|
|
|
|
|
|
/* Helpscout FAB*/
|
|
|
|
|
.BeaconFabButtonFrame {
|
|
|
|
|
margin-left: -30px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
bottom: 28px !important;
|
|
|
|
|
z-index: 1058 !important;
|
|
|
|
|
}
|
2021-08-08 21:44:11 +00:00
|
|
|
|
}
|
|
|
|
|
|
2023-04-05 18:14:46 +00:00
|
|
|
|
/* TODO: implement styling for react-multi-email */
|
2021-08-05 04:33:08 +00:00
|
|
|
|
|
2021-08-02 15:24:01 +00:00
|
|
|
|
/* !important to override react-dates */
|
2021-09-22 21:23:19 +00:00
|
|
|
|
.DateRangePickerInput__withBorder {
|
|
|
|
|
border: 0 !important;
|
2021-08-02 15:24:01 +00:00
|
|
|
|
}
|
2021-09-22 21:23:19 +00:00
|
|
|
|
.DateInput_input {
|
|
|
|
|
border: 1px solid #d1d5db !important;
|
2021-08-02 15:24:01 +00:00
|
|
|
|
border-radius: 2px !important;
|
|
|
|
|
font-size: inherit !important;
|
|
|
|
|
font-weight: inherit !important;
|
|
|
|
|
color: #000;
|
|
|
|
|
padding: 11px 11px 9px !important;
|
|
|
|
|
line-height: 16px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-22 21:23:19 +00:00
|
|
|
|
.DateInput_input__focused {
|
2021-08-02 15:24:01 +00:00
|
|
|
|
border: 2px solid #000 !important;
|
|
|
|
|
border-radius: 2px !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
padding: 10px 10px 9px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-22 21:23:19 +00:00
|
|
|
|
.DateRangePickerInput_arrow {
|
|
|
|
|
padding: 0px 10px;
|
2021-08-02 15:24:01 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-20 09:57:33 +00:00
|
|
|
|
.loader {
|
2021-08-02 14:10:24 +00:00
|
|
|
|
display: block;
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
margin: 60px auto;
|
|
|
|
|
position: relative;
|
2021-08-04 19:39:59 +00:00
|
|
|
|
border-width: 4px;
|
|
|
|
|
border-style: solid;
|
2021-08-02 14:10:24 +00:00
|
|
|
|
animation: loader 2s infinite ease;
|
2021-06-20 09:57:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
.loader-inner {
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 100%;
|
|
|
|
|
animation: loader-inner 2s infinite ease-in;
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-06 18:16:32 +00:00
|
|
|
|
.no-ring-inset {
|
|
|
|
|
--tw-ring-inset: unset;
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
@keyframes loader {
|
|
|
|
|
0% {
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
|
}
|
2021-08-25 10:18:37 +00:00
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
25% {
|
|
|
|
|
transform: rotate(180deg);
|
|
|
|
|
}
|
2021-08-25 10:18:37 +00:00
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
50% {
|
|
|
|
|
transform: rotate(180deg);
|
|
|
|
|
}
|
2021-08-25 10:18:37 +00:00
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
75% {
|
|
|
|
|
transform: rotate(360deg);
|
|
|
|
|
}
|
2021-08-25 10:18:37 +00:00
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
100% {
|
|
|
|
|
transform: rotate(360deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes loader-inner {
|
|
|
|
|
0% {
|
|
|
|
|
height: 0%;
|
|
|
|
|
}
|
2021-08-25 10:18:37 +00:00
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
25% {
|
|
|
|
|
height: 0%;
|
|
|
|
|
}
|
2021-08-25 10:18:37 +00:00
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
50% {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2021-08-25 10:18:37 +00:00
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
75% {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2021-08-25 10:18:37 +00:00
|
|
|
|
|
2021-08-02 14:10:24 +00:00
|
|
|
|
100% {
|
|
|
|
|
height: 0%;
|
|
|
|
|
}
|
2021-06-20 09:57:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
2023-04-05 18:14:46 +00:00
|
|
|
|
.text-inverted-important {
|
2021-09-22 21:23:19 +00:00
|
|
|
|
color: white !important;
|
2021-03-10 10:02:39 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-03-22 13:48:48 +00:00
|
|
|
|
@layer utilities {
|
2021-09-22 21:23:19 +00:00
|
|
|
|
.transition-max-width {
|
|
|
|
|
-webkit-transition-property: max-width;
|
|
|
|
|
transition-property: max-width;
|
|
|
|
|
}
|
2021-05-11 14:49:00 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#timeZone input:focus {
|
2021-09-22 21:23:19 +00:00
|
|
|
|
box-shadow: none;
|
2021-06-14 18:53:20 +00:00
|
|
|
|
}
|
|
|
|
|
|
2021-12-09 23:51:30 +00:00
|
|
|
|
/* react-date-picker forces a border upon us, cast it away */
|
|
|
|
|
.react-date-picker__wrapper {
|
|
|
|
|
border: none !important;
|
|
|
|
|
}
|
2022-04-29 17:17:34 +00:00
|
|
|
|
|
2022-12-14 17:30:55 +00:00
|
|
|
|
.react-date-picker__inputGroup__input {
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2022-04-29 17:17:34 +00:00
|
|
|
|
/* animations */
|
2022-07-15 16:39:11 +00:00
|
|
|
|
.slideInBottom {
|
|
|
|
|
animation-duration: 0.3s;
|
2022-04-29 17:17:34 +00:00
|
|
|
|
animation-fill-mode: both;
|
2022-07-15 16:39:11 +00:00
|
|
|
|
animation-name: slideInBottom;
|
2022-04-29 17:17:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes slideInBottom {
|
2022-07-27 02:24:00 +00:00
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(30%);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
}
|
2022-04-29 17:17:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* animations */
|
2022-07-15 16:39:11 +00:00
|
|
|
|
.slideInTop {
|
|
|
|
|
animation-duration: 0.3s;
|
2022-04-29 17:17:34 +00:00
|
|
|
|
animation-fill-mode: both;
|
2022-07-15 16:39:11 +00:00
|
|
|
|
animation-name: slideInTop;
|
2022-04-29 17:17:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes slideInTop {
|
2022-07-27 02:24:00 +00:00
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(-20%);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
pointer-events: auto;
|
|
|
|
|
transform: translateY(0%);
|
|
|
|
|
}
|
2022-04-29 17:17:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
2022-07-15 16:39:11 +00:00
|
|
|
|
.fadeIn {
|
|
|
|
|
animation-duration: 0.3s;
|
2022-04-29 17:17:34 +00:00
|
|
|
|
animation-fill-mode: both;
|
|
|
|
|
animation-name: fadeIn;
|
|
|
|
|
animation-timing-function: ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes fadeIn {
|
2022-07-15 16:39:11 +00:00
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-30 09:12:22 +00:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Makes sure h-screen works on mobile Safari. By default h-screen
|
|
|
|
|
* does not take into account the height of the address bar, causing
|
|
|
|
|
* weird behaviour when scrolling — sometimes the height will be correct
|
|
|
|
|
* and sometimes it won't, depending on whether the address bar is
|
|
|
|
|
* in 'collapsed' state or not.
|
|
|
|
|
* @see: https://benborgers.com/posts/tailwind-h-screen
|
|
|
|
|
*/
|
|
|
|
|
@supports (-webkit-touch-callout: none) {
|
|
|
|
|
.h-screen {
|
|
|
|
|
height: -webkit-fill-available;
|
|
|
|
|
}
|
2022-11-30 20:51:44 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
::-webkit-search-cancel-button {
|
|
|
|
|
-webkit-appearance: none;
|
2023-01-12 16:57:43 +00:00
|
|
|
|
}
|
2023-03-28 23:24:57 +00:00
|
|
|
|
|
|
|
|
|
|