NODEDC_TASKMANAGER/plane-src/apps/web/styles/globals.css

377 lines
9.5 KiB
CSS

@import "@plane/tailwind-config/index.css";
@import "@plane/editor/styles";
@import "@plane/propel/styles/react-day-picker.css";
@import "./power-k.css";
@import "./emoji.css";
@plugin "@tailwindcss/typography";
/* stickies and editor colors */
:root {
/* text colors */
--editor-colors-gray-text: #5c5e63;
--editor-colors-peach-text: #ff5b59;
--editor-colors-pink-text: #f65385;
--editor-colors-orange-text: #fd9038;
--editor-colors-green-text: #0fc27b;
--editor-colors-light-blue-text: #17bee9;
--editor-colors-dark-blue-text: #266df0;
--editor-colors-purple-text: #9162f9;
/* end text colors */
/* background colors */
--editor-colors-gray-background: #d6d6d8;
--editor-colors-peach-background: #ffd5d7;
--editor-colors-pink-background: #fdd4e3;
--editor-colors-orange-background: #ffe3cd;
--editor-colors-green-background: #c3f0de;
--editor-colors-light-blue-background: #c5eff9;
--editor-colors-dark-blue-background: #c9dafb;
--editor-colors-purple-background: #e3d8fd;
/* end background colors */
}
/* background colors */
[data-theme*="light"] {
--editor-colors-gray-background: #d6d6d8;
--editor-colors-peach-background: #ffd5d7;
--editor-colors-pink-background: #fdd4e3;
--editor-colors-orange-background: #ffe3cd;
--editor-colors-green-background: #c3f0de;
--editor-colors-light-blue-background: #c5eff9;
--editor-colors-dark-blue-background: #c9dafb;
--editor-colors-purple-background: #e3d8fd;
}
[data-theme*="dark"] {
--editor-colors-gray-background: #404144;
--editor-colors-peach-background: #593032;
--editor-colors-pink-background: #562e3d;
--editor-colors-orange-background: #583e2a;
--editor-colors-green-background: #1d4a3b;
--editor-colors-light-blue-background: #1f495c;
--editor-colors-dark-blue-background: #223558;
--editor-colors-purple-background: #3d325a;
}
/* end background colors */
.shadow-custom {
box-shadow: 2px 2px 8px 2px rgba(234, 231, 250, 0.3); /* Convert #EAE7FA4D to rgba */
}
/* backdrop filter */
.backdrop-blur-custom {
@apply backdrop-filter blur-[9px];
}
.epr-search-container > input {
@apply bg-surface-2! text-primary!;
border: none !important;
}
.epr-search-container > input::placeholder {
@apply text-placeholder!;
}
.epr-search-container > .epr-icn-search {
@apply text-placeholder!;
}
/* Lock icon animations */
@keyframes textSlideIn {
0% {
opacity: 0;
transform: translateX(-8px);
max-width: 0px;
}
40% {
opacity: 0.7;
max-width: 60px;
}
100% {
opacity: 1;
transform: translateX(0);
max-width: 60px;
}
}
@keyframes textFadeOut {
0% {
opacity: 1;
transform: translateX(0);
}
100% {
opacity: 0;
transform: translateX(8px);
}
}
@keyframes lockIconAnimation {
0% {
transform: rotate(-5deg) scale(1);
}
25% {
transform: rotate(0deg) scale(1.15);
}
50% {
transform: rotate(5deg) scale(1.08);
}
100% {
transform: rotate(0deg) scale(1);
}
}
@keyframes unlockIconAnimation {
0% {
transform: rotate(0deg) scale(1);
}
40% {
transform: rotate(-8deg) scale(1.15);
}
80% {
transform: rotate(3deg) scale(1.05);
}
100% {
transform: rotate(0deg) scale(1);
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.animate-text-slide-in {
animation: textSlideIn 400ms ease-out forwards;
}
.animate-text-fade-out {
animation: textFadeOut 600ms ease-in 300ms forwards;
}
.animate-lock-icon {
animation: lockIconAnimation 600ms ease-out forwards;
}
.animate-unlock-icon {
animation: unlockIconAnimation 600ms ease-out forwards;
}
.animate-fade-out {
animation: fadeOut 500ms ease-in 100ms forwards;
}
@keyframes highlight {
0% {
background-color: var(--background-color-layer-2);
border-radius: 4px;
}
100% {
background-color: transparent;
border-radius: 4px;
}
}
/* Progress Bar Styles */
:root {
--bprogress-color: var(--background-color-accent-primary);
--bprogress-height: 2.5px !important;
}
.bprogress {
pointer-events: none;
}
.bprogress .bar {
background: linear-gradient(
90deg,
--alpha(var(--background-color-accent-primary) / 80%) 0%,
--alpha(var(--background-color-accent-primary) / 100%) 100%
) !important;
will-change: width, opacity;
}
.bprogress .peg {
display: block;
box-shadow:
0 0 8px --alpha(var(--background-color-accent-primary) / 60%),
0 0 4px --alpha(var(--background-color-accent-primary) / 40%) !important;
will-change: transform, opacity;
}
@layer components {
.nodedc-glass-sidebar {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.018) 100%),
rgba(7, 7, 9, 0.84);
backdrop-filter: blur(40px);
border-right: 1px solid rgba(255, 255, 255, 0.08);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.03),
0 18px 48px rgba(0, 0, 0, 0.26);
}
.nodedc-glass-modal {
box-shadow:
0 20px 56px rgba(0, 0, 0, 0.34),
0 4px 16px rgba(0, 0, 0, 0.18);
}
.nodedc-glass-surface {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%),
rgba(9, 9, 12, 0.88);
@apply border border-subtle/70 backdrop-blur-2xl;
-webkit-backdrop-filter: blur(40px);
backdrop-filter: blur(40px);
box-shadow:
0 20px 56px rgba(0, 0, 0, 0.34),
0 4px 16px rgba(0, 0, 0, 0.18);
}
.nodedc-glass-popup-surface {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.012) 100%),
rgba(8, 8, 11, 0.9);
border: 0 !important;
outline: none !important;
-webkit-backdrop-filter: blur(44px);
backdrop-filter: blur(44px);
box-shadow:
0 22px 60px rgba(0, 0, 0, 0.36),
0 6px 18px rgba(0, 0, 0, 0.2);
}
.nodedc-glass-modal [data-slot="button"],
.nodedc-glass-modal [data-slot="icon-button"] {
border: none !important;
box-shadow: none !important;
outline: none !important;
border-radius: 1.25rem !important;
backdrop-filter: blur(12px);
}
.nodedc-glass-modal [data-slot="button"] {
min-height: 2.5rem;
padding-inline: 0.95rem;
}
.nodedc-glass-modal [data-slot="icon-button"] {
min-height: 2.5rem;
min-width: 2.5rem;
}
.nodedc-glass-modal button:focus-visible,
.nodedc-glass-modal [role="button"]:focus-visible {
outline: none !important;
box-shadow: none !important;
}
.nodedc-modal-field {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%),
rgba(255, 255, 255, 0.028);
border: 1px solid transparent;
border-radius: 1.25rem;
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
box-shadow: none;
outline: none !important;
transition:
background 160ms ease,
opacity 160ms ease;
}
.nodedc-modal-field:hover,
.nodedc-modal-field:focus-within {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.016) 100%),
rgba(255, 255, 255, 0.04);
}
.nodedc-modal-input {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%),
rgba(255, 255, 255, 0.028) !important;
border: 1px solid transparent !important;
border-radius: 1.25rem !important;
box-shadow: none !important;
outline: none !important;
}
.nodedc-modal-input:focus,
.nodedc-modal-input:focus-visible {
box-shadow: none !important;
outline: none !important;
}
.nodedc-modal-editor {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.012) 100%),
rgba(255, 255, 255, 0.028) !important;
border: 1px solid transparent !important;
border-radius: 1.5rem !important;
overflow: hidden;
box-shadow: none !important;
}
.nodedc-modal-editor .ProseMirror {
min-height: 10.5rem;
padding: 1rem 1.25rem 1.25rem !important;
outline: none !important;
}
.nodedc-modal-editor .ProseMirror p.is-editor-empty:first-child::before {
color: rgba(255, 255, 255, 0.42) !important;
}
.nodedc-dropdown-surface {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%),
rgba(8, 8, 11, 0.9);
@apply rounded-[1.25rem] px-3 py-3 text-12 outline-none;
border: 0 !important;
-webkit-backdrop-filter: blur(44px);
backdrop-filter: blur(44px);
box-shadow:
0 22px 60px rgba(0, 0, 0, 0.36),
0 6px 18px rgba(0, 0, 0, 0.2);
}
.nodedc-dropdown-search {
@apply flex items-center gap-1.5 rounded-[0.95rem] border-0 bg-white/5 px-3 py-2 outline-none;
}
.nodedc-dropdown-search input {
@apply w-full bg-transparent py-0 text-12 text-secondary placeholder:text-placeholder outline-none focus:outline-none;
}
.nodedc-dropdown-option {
@apply flex w-full items-center justify-between gap-2 truncate rounded-[0.9rem] px-2 py-2 text-secondary select-none outline-none transition-colors;
}
.nodedc-dropdown-option:hover {
@apply bg-white/6;
}
.nodedc-calendar-shell {
@apply rounded-[1.1rem] border-0 bg-transparent p-1 shadow-none outline-none;
}
.nodedc-calendar-shell .rdp-root,
.nodedc-calendar-shell .rdp-months,
.nodedc-calendar-shell .rdp-month {
@apply bg-transparent;
}
.nodedc-calendar-shell .rdp-day_button,
.nodedc-calendar-shell .rdp-button_previous,
.nodedc-calendar-shell .rdp-button_next,
.nodedc-calendar-shell .rdp-dropdown_root {
border: 0 !important;
box-shadow: none !important;
outline: none !important;
border-radius: 0.95rem !important;
}
}