| 1 |
@import "tailwindcss" source(none) important; |
| 2 |
@import "../tailwind.css" source(none); |
| 3 |
@source "."; |
| 4 |
|
| 5 |
@layer components { |
| 6 |
.extendify-agent-markdown :is(h1, h2, h3, h4) { |
| 7 |
@apply font-sans! text-gray-900!; |
| 8 |
} |
| 9 |
.extendify-agent-markdown h1 { |
| 10 |
@apply mb-2! mt-0! text-2xl! font-bold!; |
| 11 |
} |
| 12 |
.extendify-agent-markdown h2 { |
| 13 |
@apply mb-2! mt-0! text-xl! font-semibold!; |
| 14 |
} |
| 15 |
.extendify-agent-markdown h3 { |
| 16 |
@apply mb-1! mt-0! text-lg! font-semibold!; |
| 17 |
} |
| 18 |
.extendify-agent-markdown h4 { |
| 19 |
@apply mb-0.5! mt-0! text-base! font-semibold!; |
| 20 |
} |
| 21 |
.extendify-agent-markdown p { |
| 22 |
@apply m-0! mb-2! text-sm! leading-relaxed! text-gray-900!; |
| 23 |
} |
| 24 |
.extendify-agent-markdown ul { |
| 25 |
@apply my-2! list-disc! pl-2! text-sm! text-gray-900!; |
| 26 |
} |
| 27 |
.extendify-agent-markdown ol { |
| 28 |
@apply my-2! list-decimal! pl-2! text-sm! text-gray-900!; |
| 29 |
} |
| 30 |
.extendify-agent-markdown li { |
| 31 |
@apply mb-1! text-sm! text-gray-900!; |
| 32 |
} |
| 33 |
.extendify-agent-markdown pre { |
| 34 |
@apply my-2! overflow-x-auto! rounded-sm! bg-gray-100! p-2! text-sm! text-gray-900!; |
| 35 |
white-space: pre; |
| 36 |
} |
| 37 |
.extendify-agent-markdown pre code { |
| 38 |
@apply bg-transparent! p-0! font-mono! text-xs! text-gray-900!; |
| 39 |
white-space: pre; |
| 40 |
} |
| 41 |
.extendify-agent-markdown blockquote { |
| 42 |
@apply my-2! border-l-4! border-gray-300! pl-4! text-sm! italic! text-gray-600!; |
| 43 |
} |
| 44 |
.extendify-agent-markdown a { |
| 45 |
@apply text-sm! text-blue-600! underline! transition-colors! hover:text-blue-800!; |
| 46 |
} |
| 47 |
} |
| 48 |
.extendify-gradient-animation { |
| 49 |
background-image: linear-gradient( |
| 50 |
to right, |
| 51 |
#fff 0%, |
| 52 |
#fff 20%, |
| 53 |
var(--ext-design-main, #2c39bd) 40%, |
| 54 |
var(--ext-design-secondary, #40ffaa) 55%, |
| 55 |
var(--ext-design-tertiary, #4079ff) 80%, |
| 56 |
#fff 90%, |
| 57 |
#fff 100% |
| 58 |
); |
| 59 |
background-size: 500% 100%; |
| 60 |
color: transparent; |
| 61 |
background-clip: text; |
| 62 |
-webkit-background-clip: text; |
| 63 |
animation: extendify-gradient-animation 1.5s linear forwards; |
| 64 |
} |
| 65 |
@keyframes extendify-gradient-animation { |
| 66 |
0% { |
| 67 |
background-position: 100% 50%; |
| 68 |
} |
| 69 |
100% { |
| 70 |
background-position: 0% 50%; |
| 71 |
} |
| 72 |
} |
| 73 |
|
| 74 |
.status-animation { |
| 75 |
background-image: linear-gradient( |
| 76 |
to right, |
| 77 |
#1e1e1e 0% 40%, |
| 78 |
#cccccc 55%, |
| 79 |
#1e1e1e 60% 100% |
| 80 |
); |
| 81 |
background-size: 200% 100%; |
| 82 |
color: transparent; |
| 83 |
background-clip: text; |
| 84 |
-webkit-background-clip: text; |
| 85 |
animation: extendify-status-animation 2.5s linear infinite; |
| 86 |
} |
| 87 |
@keyframes extendify-status-animation { |
| 88 |
0% { |
| 89 |
background-position: 100% 50%; |
| 90 |
} |
| 91 |
100% { |
| 92 |
background-position: 00% 50%; |
| 93 |
} |
| 94 |
} |
| 95 |
|
| 96 |
body.extendify-agent-mobile-btn-open #site-editor { |
| 97 |
min-height: calc( |
| 98 |
100% - |
| 99 |
var(--extendify-agent-mobile-btn-height, 64px) |
| 100 |
) !important; |
| 101 |
height: calc( |
| 102 |
100vh - |
| 103 |
var(--extendify-agent-mobile-btn-height, 64px) |
| 104 |
) !important; |
| 105 |
} |
| 106 |
body.extendify-agent-mobile-btn-open .block-editor-block-inspector { |
| 107 |
padding-bottom: var(--extendify-agent-mobile-btn-height, 64px); |
| 108 |
} |
| 109 |
body.extendify-agent-mobile-btn-open |
| 110 |
.edit-site |
| 111 |
.components-editor-notices__snackbar { |
| 112 |
bottom: calc( |
| 113 |
var(--extendify-agent-mobile-btn-height, 64px) + |
| 114 |
16px |
| 115 |
) !important; |
| 116 |
} |
| 117 |
/* no-prefix */ |
| 118 |
.extendify-agent-highlighter-mode { |
| 119 |
cursor: crosshair !important; |
| 120 |
user-select: none !important; |
| 121 |
} |
| 122 |
/* no-prefix */ |
| 123 |
.extendify-agent-highlighter-mode.extendify-agent-busy { |
| 124 |
cursor: not-allowed !important; |
| 125 |
} |
| 126 |
/* Ignore button block if inside buttons and only one button */ |
| 127 |
/* no-prefix */ |
| 128 |
.extendify-agent-highlighter-mode .wp-block-buttons:has(> .wp-block-button):not( |
| 129 |
:has(> .wp-block-button:nth-of-type(2)) |
| 130 |
) |
| 131 |
> .wp-block-button { |
| 132 |
pointer-events: none !important; |
| 133 |
} |
| 134 |
/* no-prefix */ |
| 135 |
.extendify-agent-highlighter-mode .wp-block-spacer { |
| 136 |
pointer-events: none !important; |
| 137 |
} |
| 138 |
/* no-prefix */ |
| 139 |
.extendify-agent-highlighter-mode a, |
| 140 |
.extendify-agent-highlighter-mode .wp-lightbox-container img, |
| 141 |
.extendify-agent-highlighter-mode button, |
| 142 |
.extendify-agent-highlighter-mode [role="button"], |
| 143 |
.extendify-agent-highlighter-mode [role="link"] { |
| 144 |
cursor: crosshair !important; |
| 145 |
text-decoration: none !important; |
| 146 |
pointer-events: none !important; |
| 147 |
} |
| 148 |
|