|
@@ -36,9 +36,37 @@
|
|
|
@apply rounded;
|
|
@apply rounded;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /* The logo link wraps a block level <img>, so as a plain inline element it has no inline box
|
|
|
|
|
+ of its own and the browser paints no focus ring on it at all. Giving it a box makes the
|
|
|
|
|
+ ring below visible without moving the logo. */
|
|
|
|
|
+ #bx-logo-container > a {
|
|
|
|
|
+ @apply inline-flex items-center align-middle rounded;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /* Public site only - Studio has its own .bx-std focus rings further down, and body.bx-std keeps
|
|
|
|
|
+ these off it. Anything focusable that is not a .bx-btn (those draw their own ring) would
|
|
|
|
|
+ otherwise fall back to the browser default ring, which Safari does not draw for links at all and
|
|
|
|
|
+ which Chrome tints with the OS accent colour - so the site showed blue rings on the menus and,
|
|
|
|
|
+ say, orange ones on the app tiles. One rule keeps every focus indicator identical. An outline is
|
|
|
|
|
+ used rather than a ring box-shadow because the toolbar's more-auto wrapper and the sidebar
|
|
|
|
|
+ scroller both clip overflow. */
|
|
|
|
|
+ body:not(.bx-std) a:not(.bx-btn):focus-visible,
|
|
|
|
|
+ body:not(.bx-std) button:not(.bx-btn):focus-visible,
|
|
|
|
|
+ body:not(.bx-std) summary:focus-visible,
|
|
|
|
|
+ body:not(.bx-std) [tabindex="0"]:focus-visible {
|
|
|
|
|
+ @apply outline outline-2 outline-offset-2 outline-blue-500 dark:outline-blue-400;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /* The main menu row is inside .bx-menu-more-auto-wrapper, which sets overflow:hidden, so an
|
|
|
|
|
+ offset outline would be clipped top and bottom - draw it on the border edge there. */
|
|
|
|
|
+ body:not(.bx-std) .bx-menu-more-auto-wrapper .bx-stl-mil:focus-visible,
|
|
|
|
|
+ body:not(.bx-std) .bx-menu-more-auto-wrapper .bx-stl-mil-sm:focus-visible {
|
|
|
|
|
+ @apply outline-offset-0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.bx-def-vanilla-html {
|
|
.bx-def-vanilla-html {
|
|
|
@apply prose dark:prose-invert;
|
|
@apply prose dark:prose-invert;
|
|
|
- @apply prose-a:text-blue-500 prose-a:font-medium prose-a:no-underline hover:prose-a:underline visited:prose-a:text-purple-500;
|
|
|
|
|
|
|
+ @apply prose-a:text-blue-600 dark:prose-a:text-blue-400 prose-a:font-medium prose-a:no-underline hover:prose-a:underline visited:prose-a:text-purple-700 dark:visited:prose-a:text-purple-400;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bx-def-vanilla-html.bx-def-vh-sm {
|
|
.bx-def-vanilla-html.bx-def-vh-sm {
|
|
@@ -62,7 +90,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bx-artificer .bx-menthion-link {
|
|
.bx-artificer .bx-menthion-link {
|
|
|
- @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
|
|
|
|
|
|
|
+ @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bx-artificer .bx-def-box-sizing {
|
|
.bx-artificer .bx-def-box-sizing {
|
|
@@ -487,7 +515,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bx-def-font-grayed {
|
|
.bx-def-font-grayed {
|
|
|
- @apply text-gray-700 dark:text-gray-500 text-opacity-60;
|
|
|
|
|
|
|
+ @apply text-gray-600 dark:text-gray-400;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bx-def-font-author,
|
|
.bx-def-font-author,
|
|
@@ -506,7 +534,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bx-artificer .bx-def-a-colored {
|
|
.bx-artificer .bx-def-a-colored {
|
|
|
- @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
|
|
|
|
|
|
|
+ @apply text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bx-std a.bx-def-font-meta,
|
|
.bx-std a.bx-def-font-meta,
|
|
@@ -792,6 +820,17 @@
|
|
|
@apply bg-gray-50 dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-400 dark:hover:text-gray-400 focus:ring-0 focus:ring-offset-0 shadow-none cursor-default !important;
|
|
@apply bg-gray-50 dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-400 dark:hover:text-gray-400 focus:ring-0 focus:ring-offset-0 shadow-none cursor-default !important;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /* Help tour (Shepherd): the vendored plugins_public/shepherd/css/shepherd.css paints the primary button #3288e6 with 75% white text (#cce1f9, 2.71:1) and is
|
|
|
|
|
+ regenerated by `yarn build:shepherd`, so the fix lives here. The selector names .shepherd-button-primary because Tailwind keeps a component rule only when its
|
|
|
|
|
+ selector contains a class it saw while scanning content (that class is in template/homepage_tour.html and modules/boonex/help_tours/template/tour.html).
|
|
|
|
|
+ Specificity (0,3,0) beats the vendor .shepherd-button (0,1,0) even though shepherd.css is loaded in a later bundle. */
|
|
|
|
|
+ .shepherd-element .shepherd-button.shepherd-button-primary {
|
|
|
|
|
+ @apply bg-blue-600 text-white;
|
|
|
|
|
+ }
|
|
|
|
|
+ .shepherd-element .shepherd-button.shepherd-button-primary:not(:disabled):hover {
|
|
|
|
|
+ @apply bg-blue-700 text-white;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/* Button sizes (height / corner radius): mini 28px/6px with the hit area extended to 44px, small 36px/8px, default 44px/10px, large 52px/12px, xlarge 60px/14px. */
|
|
/* Button sizes (height / corner radius): mini 28px/6px with the hit area extended to 44px, small 36px/8px, default 44px/10px, large 52px/12px, xlarge 60px/14px. */
|
|
|
.bx-btn.bx-btn-mini {
|
|
.bx-btn.bx-btn-mini {
|
|
|
@apply min-h-7 px-2.5 py-1 text-xs rounded-md;
|
|
@apply min-h-7 px-2.5 py-1 text-xs rounded-md;
|
|
@@ -825,7 +864,7 @@
|
|
|
.bx-artificer form a:not(.bx-btn),
|
|
.bx-artificer form a:not(.bx-btn),
|
|
|
.bx-artificer .sys-jf-agreement a:not(.bx-btn),
|
|
.bx-artificer .sys-jf-agreement a:not(.bx-btn),
|
|
|
.bx-artificer .sys-lf-agreement a:not(.bx-btn) {
|
|
.bx-artificer .sys-lf-agreement a:not(.bx-btn) {
|
|
|
- @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
|
|
|
|
|
|
|
+ @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.bx-artificer .bx-form-caption,
|
|
.bx-artificer .bx-form-caption,
|
|
@@ -1373,7 +1412,7 @@
|
|
|
.sys-ac-link .sys-action-counter {
|
|
.sys-ac-link .sys-action-counter {
|
|
|
@apply flex items-center;
|
|
@apply flex items-center;
|
|
|
@apply border-none;
|
|
@apply border-none;
|
|
|
- @apply text-gray-500 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300;
|
|
|
|
|
|
|
+ @apply text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300;
|
|
|
@apply rounded-full;
|
|
@apply rounded-full;
|
|
|
}
|
|
}
|
|
|
.sys-action-counter.sys-ac-only.sys-ac-link,
|
|
.sys-action-counter.sys-ac-only.sys-ac-link,
|