PluginProbe
Extendify / 2.2.0
Extendify v2.2.0
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 2.2.0, at src/Agent/agent.css

159 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Adding CSS classes should be done with consideration and rarely */
2 @tailwind base;
3 @tailwind components;
4 @tailwind utilities;
5
6 .extendify-agent button:not(:disabled) {
7 @apply cursor-pointer;
8 }
9
10 .extendify-agent {
11 --tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
12 --tw-ring-offset-width: 0px;
13 --tw-ring-offset-color: transparent;
14 --tw-ring-color: var(--ext-design-main, #2c39bd);
15 --tw-translate-x: 0;
16 --tw-translate-y: 0;
17 --tw-rotate: 0;
18 --tw-skew-x: 0;
19 --tw-skew-y: 0;
20 --tw-scale-x: 1;
21 --tw-scale-y: 1;
22 }
23
24 .extendify-agent *,
25 .extendify-agent *:after,
26 .extendify-agent *:before {
27 /* no !important */
28 box-sizing: border-box;
29 border: 0 solid #e5e7eb;
30 }
31 .extendify-agent [data-extendify-agent-handle]:active {
32 @apply cursor-grabbing;
33 }
34 .extendify-agent [data-extendify-agent-resize]:active {
35 @apply cursor-grabbing;
36 }
37 .extendify-agent-markdown h1 {
38 @apply mb-2 mt-4 text-2xl font-bold;
39 }
40 .extendify-agent-markdown h2 {
41 @apply mb-2 mt-4 text-xl font-semibold;
42 }
43 .extendify-agent-markdown h3 {
44 @apply mb-1 mt-3 text-lg font-semibold;
45 }
46 .extendify-agent-markdown p {
47 @apply m-0 mb-2 text-sm leading-relaxed text-gray-900;
48 }
49 .extendify-agent-markdown ul {
50 @apply my-2 list-disc pl-2 text-sm text-gray-900;
51 }
52 .extendify-agent-markdown ol {
53 @apply my-2 list-decimal pl-2 text-sm text-gray-900;
54 }
55 .extendify-agent-markdown li {
56 @apply mb-1 text-sm text-gray-900;
57 }
58 .extendify-agent-markdown pre {
59 @apply my-2 overflow-x-auto rounded bg-gray-100 p-2 text-sm;
60 white-space: pre;
61 }
62 .extendify-agent-markdown pre code {
63 @apply bg-transparent p-0 font-mono text-xs;
64 white-space: pre;
65 }
66 .extendify-agent-markdown blockquote {
67 @apply my-2 border-l-4 border-gray-300 pl-4 text-sm italic text-gray-600;
68 }
69 .extendify-agent-markdown a {
70 @apply text-sm text-blue-600 underline transition-colors hover:text-blue-800;
71 }
72 .extendify-gradient-animation {
73 animation: extendify-gradient-animation 5s linear infinite;
74 background-image: linear-gradient(
75 to right,
76 #fff 0%,
77 #fff 20%,
78 var(--ext-design-main, #2c39bd) 40%,
79 var(--ext-design-secondary, #40ffaa) 55%,
80 var(--ext-design-tertiary, #4079ff) 80%,
81 #fff 90%,
82 #fff 100%
83 );
84 background-size: 500% 100%;
85 color: transparent;
86 background-clip: text;
87 -webkit-background-clip: text;
88 animation: extendify-gradient-animation 1.5s linear forwards;
89 }
90 @keyframes extendify-gradient-animation {
91 0% {
92 background-position: 100% 50%;
93 }
94 100% {
95 background-position: 0% 50%;
96 }
97 }
98
99 .extendify-agent .status-animation {
100 background-image: linear-gradient(
101 to right,
102 #1e1e1e 0% 40%,
103 #cccccc 55%,
104 #1e1e1e 60% 100%
105 );
106 background-size: 200% 100%;
107 color: transparent;
108 background-clip: text;
109 -webkit-background-clip: text;
110 animation: extendify-status-animation 2.5s linear infinite;
111 }
112 @keyframes extendify-status-animation {
113 0% {
114 background-position: 100% 50%;
115 }
116 100% {
117 background-position: 00% 50%;
118 }
119 }
120
121 body.extendify-agent-mobile-btn-open #site-editor {
122 min-height: calc(
123 100% - var(--extendify-agent-mobile-btn-height, 64px)
124 ) !important;
125 height: calc(
126 100vh - var(--extendify-agent-mobile-btn-height, 64px)
127 ) !important;
128 }
129 body.extendify-agent-mobile-btn-open .block-editor-block-inspector {
130 padding-bottom: var(--extendify-agent-mobile-btn-height, 64px);
131 }
132 body.extendify-agent-mobile-btn-open
133 .edit-site
134 .components-editor-notices__snackbar {
135 bottom: calc(
136 var(--extendify-agent-mobile-btn-height, 64px) + 16px
137 ) !important;
138 }
139
140 .extendify-agent-highlighter-mode {
141 cursor: crosshair !important;
142 user-select: none !important;
143 }
144 .extendify-agent-highlighter-mode.extendify-agent-busy {
145 cursor: not-allowed !important;
146 }
147 .extendify-agent-highlighter-mode .wp-block-spacer {
148 pointer-events: none !important;
149 }
150 .extendify-agent-highlighter-mode a,
151 .extendify-agent-highlighter-mode .wp-lightbox-container img,
152 .extendify-agent-highlighter-mode button,
153 .extendify-agent-highlighter-mode [role="button"],
154 .extendify-agent-highlighter-mode [role="link"] {
155 cursor: crosshair !important;
156 text-decoration: none !important;
157 pointer-events: none !important;
158 }
159