IKHSAN
EN Read in EnglishID

opendesk

Publik
Branch
main
Commit terakhir
08d9f3328 Oktober 2026

index.css

Buka raw
@import "frappe-ui/style.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
  .prose-f {
    @apply break-normal max-w-none prose prose-code:break-all prose-code:whitespace-pre-wrap prose-img:border prose-img:rounded-6 prose-sm;
  }
  .prose-f * {
    unicode-bidi: plaintext;
  }
  .prose-f:not(.not-prose):not(.not-prose *) pre {
    background-color: var(--surface-gray-2);
    color: var(--ink-gray-9);
  }
  /* Editor content carries both prose systems: prose-f underlines links via
     text-decoration, prose-v3 via border-bottom. Keep only the prose-v3 line. */
  .prose-f.prose-v3 a {
    text-decoration: none;
  }
}

/* The caption field, hidden by its stable data attribute - the placeholder
   text it used to be keyed on has changed twice. */
.tiptap [data-media-text-field] {
  display: none !important;
}

html,
body {
  color: var(--ink-gray-9);
  background-color: var(--surface-base);
}

:root {
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
}

/* Dark mode shadows */
[data-theme="dark"] .shadow-sm,
[data-theme="dark"] .hover\:shadow-sm:hover,
[data-theme="dark"] .focus\:shadow-sm:focus {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12),
    0 1px 2px 0 rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .shadow,
[data-theme="dark"] .hover\:shadow:hover,
[data-theme="dark"] .focus\:shadow:focus {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12),
    0 2px 4px 0 rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .shadow-md,
[data-theme="dark"] .hover\:shadow-md:hover,
[data-theme="dark"] .focus\:shadow-md:focus {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.13),
    0 4px 10px -2px rgba(0, 0, 0, 0.65);
}
[data-theme="dark"] .shadow-lg,
[data-theme="dark"] .hover\:shadow-lg:hover,
[data-theme="dark"] .focus\:shadow-lg:focus {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.14),
    0 10px 24px -6px rgba(0, 0, 0, 0.7);
}
[data-theme="dark"] .shadow-xl,
[data-theme="dark"] .hover\:shadow-xl:hover,
[data-theme="dark"] .focus\:shadow-xl:focus {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.14),
    0 16px 32px -8px rgba(0, 0, 0, 0.75);
}
[data-theme="dark"] .shadow-2xl,
[data-theme="dark"] .hover\:shadow-2xl:hover,
[data-theme="dark"] .focus\:shadow-2xl:focus {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
    0 24px 48px -12px rgba(0, 0, 0, 0.8);
}
[data-theme="dark"] .shadow-inner {
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] hr {
  border-color: var(--outline-gray-2);
}

/* Modern slim scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--outline-gray-3) transparent;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--outline-gray-3);
  border-radius: 9999px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--outline-gray-4);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}


/* replied content css */
.replied-content .collapse {
    margin: 10px 0 10px 0;
    visibility: visible;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    height: 12px;
    line-height: 0.3;
    background: #e8eaed;
    width: 23px;
    justify-content: center;
    border-radius: 5px;
}
.replied-content .collapse:hover {
  background: #dadce0;
}
[data-theme="dark"] .replied-content .collapse {
  color: #e2e2e2;
  background: #424242;
}
[data-theme="dark"] .replied-content .collapse:hover {
  background: #525252;
}
.replied-content .collapse + input {
  display: none;
}
.replied-content .collapse + input + div {
  display: none;
}
.replied-content .collapse + input:checked + div {
  display: block;
}


/* transition fade css */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* Scroll-driven edge fade for scrollable dropdown groups.*/
@property --fade-bottom {
  syntax: "<length>";
  inherits: false;
  initial-value: 20px;
}

@keyframes scroll-fade {
  0% {
    --fade-bottom: 20px;
  }
  100% {
    --fade-bottom: 0px;
  }
}
byte
4.140
baris
179
Jenis
css
Commit terakhir
28 Oktober 2026