PluginProbe
Extendify / 3.1.3
Extendify v3.1.3
3.2.1 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 All 127 releases
extendify / src / Agent / agent.css

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

149 lines 4.0 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 @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 #3858e9 40%,
54 #7b90ff 55%,
55 #2145e6 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 user-select: none !important;
120 }
121 /* While the agent is running a workflow against the selected block,
122 * communicate "you can't click anything else right now." Resting cursor
123 * is owned by edit mode's cursor contract (quick-edit.css). */
124 /* no-prefix */
125 .extendify-agent-highlighter-mode.extendify-agent-busy {
126 cursor: not-allowed !important;
127 }
128 /* Ignore button block if inside buttons and only one button */
129 /* no-prefix */
130 .extendify-agent-highlighter-mode .wp-block-buttons:has(> .wp-block-button):not(
131 :has(> .wp-block-button:nth-of-type(2))
132 )
133 > .wp-block-button {
134 pointer-events: none !important;
135 }
136 /* no-prefix */
137 .extendify-agent-highlighter-mode .wp-block-spacer {
138 pointer-events: none !important;
139 }
140 /* WP's lightbox img listens for clicks at the page level; suppress here
141 * because the capture-phase selector handler in hover-bar otherwise has
142 * to compete with the lightbox opening. Anchors / buttons / role=button
143 * keep their default pointer-events so the click rule can route them
144 * (anchors navigate, form controls focus). */
145 /* no-prefix */
146 .extendify-agent-highlighter-mode .wp-lightbox-container img {
147 pointer-events: none !important;
148 }
149