PluginProbe
Extendify / 3.1.4
Extendify v3.1.4
3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 0.7.0 All 126 releases
extendify / src / Agent / agent.css

agent.css in Extendify 3.1.4, at src/Agent/agent.css

163 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "tailwindcss" source(none) important;
2 @import "../tailwind.css" source(none);
3 @source ".";
4
5 :root {
6 color-scheme: only light;
7 }
8
9 @layer components {
10 .extendify-agent-markdown :is(h1, h2, h3, h4) {
11 @apply font-sans! text-gray-900!;
12 }
13 .extendify-agent-markdown h1 {
14 @apply mb-2! mt-0! text-2xl! font-bold!;
15 }
16 .extendify-agent-markdown h2 {
17 @apply mb-2! mt-0! text-xl! font-semibold!;
18 }
19 .extendify-agent-markdown h3 {
20 @apply mb-1! mt-0! text-lg! font-semibold!;
21 }
22 .extendify-agent-markdown h4 {
23 @apply mb-0.5! mt-0! text-base! font-semibold!;
24 }
25 .extendify-agent-markdown p {
26 @apply m-0! mb-2! text-sm! leading-relaxed! text-gray-900!;
27 }
28 .extendify-agent-markdown ul {
29 @apply my-2! list-disc! pl-2! text-sm! text-gray-900!;
30 }
31 .extendify-agent-markdown ol {
32 @apply my-2! list-decimal! pl-2! text-sm! text-gray-900!;
33 }
34 .extendify-agent-markdown li {
35 @apply mb-1! text-sm! text-gray-900!;
36 }
37 .extendify-agent-markdown pre {
38 @apply my-2! overflow-x-auto! rounded-sm! bg-gray-100! p-2! text-sm! text-gray-900!;
39 white-space: pre;
40 }
41 .extendify-agent-markdown pre code {
42 @apply bg-transparent! p-0! font-mono! text-xs! text-gray-900!;
43 white-space: pre;
44 }
45 .extendify-agent-markdown blockquote {
46 @apply my-2! border-l-4! border-gray-300! pl-4! text-sm! italic! text-gray-600!;
47 }
48 .extendify-agent-markdown a {
49 @apply text-sm! text-blue-600! underline! transition-colors! hover:text-blue-800!;
50 }
51 }
52 .extendify-gradient-animation {
53 background-image: linear-gradient(
54 to right,
55 #fff 0%,
56 #fff 20%,
57 #3858e9 40%,
58 #7b90ff 55%,
59 #2145e6 80%,
60 #fff 90%,
61 #fff 100%
62 );
63 background-size: 500% 100%;
64 color: transparent;
65 background-clip: text;
66 -webkit-background-clip: text;
67 animation: extendify-gradient-animation 1.5s linear forwards;
68 }
69 @keyframes extendify-gradient-animation {
70 0% {
71 background-position: 100% 50%;
72 }
73 100% {
74 background-position: 0% 50%;
75 }
76 }
77
78 /* animation-delay only spaces the first pass, so the hold is in the keyframes. */
79 .status-animation {
80 /* On a full-width block the band sweeps mostly past the centered text. */
81 display: inline-block;
82 background-image: linear-gradient(
83 to right,
84 var(--color-gray-900) 0% 40%,
85 var(--color-gray-600) 50%,
86 var(--color-gray-900) 60% 100%
87 );
88 background-size: 250% 100%;
89 color: transparent;
90 background-clip: text;
91 -webkit-background-clip: text;
92 animation: extendify-status-animation 2s linear 1s infinite;
93 }
94 @keyframes extendify-status-animation {
95 0% {
96 background-position: 100% 50%;
97 }
98 50%,
99 100% {
100 background-position: 0% 50%;
101 }
102 }
103
104 body.extendify-agent-mobile-btn-open #site-editor {
105 min-height: calc(
106 100% -
107 var(--extendify-agent-mobile-btn-height, 64px)
108 ) !important;
109 height: calc(
110 100vh -
111 var(--extendify-agent-mobile-btn-height, 64px)
112 ) !important;
113 }
114 body.extendify-agent-mobile-btn-open .block-editor-block-inspector {
115 padding-bottom: var(--extendify-agent-mobile-btn-height, 64px);
116 }
117 body.extendify-agent-mobile-btn-open
118 .edit-site
119 .components-editor-notices__snackbar {
120 bottom: calc(
121 var(--extendify-agent-mobile-btn-height, 64px) +
122 16px
123 ) !important;
124 }
125 /* no-prefix */
126 .extendify-agent-highlighter-mode {
127 user-select: none !important;
128 }
129 /* While the agent is running a workflow against the selected block,
130 * communicate "you can't click anything else right now." Resting cursor
131 * is owned by edit mode's cursor contract (quick-edit.css). */
132 /* no-prefix */
133 .extendify-agent-highlighter-mode.extendify-agent-busy {
134 cursor: not-allowed !important;
135 }
136 /* The `*` is load-bearing: crosshair sits on the blocks, not on this root. */
137 /* no-prefix */
138 .extendify-agent-working,
139 .extendify-agent-working * {
140 cursor: wait !important;
141 }
142 /* Ignore button block if inside buttons and only one button */
143 /* no-prefix */
144 .extendify-agent-highlighter-mode .wp-block-buttons:has(> .wp-block-button):not(
145 :has(> .wp-block-button:nth-of-type(2))
146 )
147 > .wp-block-button {
148 pointer-events: none !important;
149 }
150 /* no-prefix */
151 .extendify-agent-highlighter-mode .wp-block-spacer {
152 pointer-events: none !important;
153 }
154 /* WP's lightbox img listens for clicks at the page level; suppress here
155 * because the capture-phase selector handler in hover-bar otherwise has
156 * to compete with the lightbox opening. Anchors / buttons / role=button
157 * keep their default pointer-events so the click rule can route them
158 * (anchors navigate, form controls focus). */
159 /* no-prefix */
160 .extendify-agent-highlighter-mode .wp-lightbox-container img {
161 pointer-events: none !important;
162 }
163