updates on the changes and fix on the all the pages
This commit is contained in:
@@ -925,50 +925,14 @@ body.dai-docked .astryx-layout-content {
|
||||
padding-inline: 2px;
|
||||
}
|
||||
/* --------------------------------------------------------------------------
|
||||
Trigger (lives in the app TopNav)
|
||||
The trigger's styles lived here and are gone with it.
|
||||
|
||||
`.dai-trigger` / `.dai-trigger-mark` styled DoormileAI/index.jsx, a trigger
|
||||
button component that nothing rendered — AdminLayout has always declared
|
||||
its own button in JSX with Tailwind classes. Component and CSS removed
|
||||
together so neither is left looking like the thing that controls the
|
||||
header button. To change that button, edit AdminLayout.
|
||||
-------------------------------------------------------------------------- */
|
||||
.dai-trigger {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0;
|
||||
border-radius: 5px;
|
||||
border: 1px solid transparent;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
transition:
|
||||
background-color 140ms ease,
|
||||
border-color 140ms ease,
|
||||
transform 140ms ease;
|
||||
}
|
||||
/* 30px box × 1.5 cancels the mark's transparent padding, so the visible D is
|
||||
30px inside the 40px button. */
|
||||
.dai-trigger-mark {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
max-width: none;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
transform: scale(1.5);
|
||||
}
|
||||
.dai-trigger:hover {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.dai-trigger:active {
|
||||
transform: scale(0.94);
|
||||
}
|
||||
.dai-trigger:focus-visible {
|
||||
outline: 2px solid var(--dai-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.dai-trigger[data-active='true'] {
|
||||
background: rgba(0, 0, 0, 0.07);
|
||||
border-color: rgba(0, 0, 0, 0.14);
|
||||
}
|
||||
/* --------------------------------------------------------------------------
|
||||
Responsive
|
||||
-------------------------------------------------------------------------- */
|
||||
@@ -1025,8 +989,7 @@ body.dai-docked .astryx-layout-content {
|
||||
.dai-typing span,
|
||||
.dai-shimmer,
|
||||
.dai-suggestion,
|
||||
.dai-send,
|
||||
.dai-trigger {
|
||||
.dai-send {
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user