+33
-34
@@ -78,19 +78,15 @@ INTERACTIVE_CSS = '''
|
|||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 1px solid transparent;
|
border: 1px solid var(--color-search-url, #4a9eff);
|
||||||
border-radius: 6px;
|
border-radius: 4px;
|
||||||
background: transparent;
|
background: var(--color-sidebar-bg, #1e1e2e);
|
||||||
color: var(--color-base-font, #333);
|
color: var(--color-search-url, #4a9eff);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s ease;
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
}
|
||||||
.sxng-btn:hover {
|
.sxng-btn:hover {
|
||||||
background: var(--color-base-background-hover, rgba(0,0,0,0.05));
|
background: var(--color-search-url, #4a9eff);
|
||||||
color: var(--color-result-link, #5e81ac);
|
color: var(--color-sidebar-bg, #1e1e2e);
|
||||||
opacity: 1;
|
|
||||||
transform: translateY(-1px);
|
|
||||||
}
|
}
|
||||||
.sxng-btn svg { width: 18px; height: 18px; fill: currentColor; }
|
.sxng-btn svg { width: 18px; height: 18px; fill: currentColor; }
|
||||||
.sxng-input-wrapper {
|
.sxng-input-wrapper {
|
||||||
@@ -102,16 +98,15 @@ INTERACTIVE_CSS = '''
|
|||||||
}
|
}
|
||||||
.sxng-input {
|
.sxng-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: transparent;
|
background: var(--color-sidebar-bg, #1e1e2e);
|
||||||
border: none;
|
border: 1px solid var(--color-search-url, #4a9eff);
|
||||||
color: var(--color-base-font, #333);
|
color: var(--color-base-font, #cdd6f4);
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||||
font-size: 16px;
|
font-size: 0.78em;
|
||||||
padding: 0.5rem 2.5rem 0.5rem 0;
|
padding: 3px 2.5rem 3px 8px;
|
||||||
opacity: 0.8;
|
border-radius: 4px;
|
||||||
transition: opacity 0.2s;
|
|
||||||
}
|
}
|
||||||
.sxng-input:focus { outline: none; opacity: 1; }
|
.sxng-input:focus { outline: none; }
|
||||||
.sxng-input::placeholder { color: var(--color-base-font, #333); opacity: 0.35; }
|
.sxng-input::placeholder { color: var(--color-base-font, #333); opacity: 0.35; }
|
||||||
.sxng-input-line {
|
.sxng-input-line {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -165,19 +160,23 @@ INTERACTIVE_CSS = '''
|
|||||||
.sxng-input-submit svg { width: 18px; height: 18px; fill: currentColor; }
|
.sxng-input-submit svg { width: 18px; height: 18px; fill: currentColor; }
|
||||||
.sxng-input-submit svg { width: 18px; height: 18px; fill: currentColor; }
|
.sxng-input-submit svg { width: 18px; height: 18px; fill: currentColor; }
|
||||||
.sxng-model-select {
|
.sxng-model-select {
|
||||||
background: var(--color-sidebar-bg, var(--color-base-background, #f8f8f8));
|
appearance: none;
|
||||||
color: var(--color-base-font, #333);
|
-webkit-appearance: none;
|
||||||
border: 1px solid var(--color-search-url, rgba(0,0,0,0.15));
|
background-color: var(--color-sidebar-bg, #1e1e2e);
|
||||||
border-radius: 6px;
|
color: var(--color-search-url, #4a9eff);
|
||||||
padding: 0.15rem 0.4rem;
|
border: 1px solid var(--color-search-url, #4a9eff);
|
||||||
font-size: 0.8rem;
|
border-radius: 4px;
|
||||||
|
padding: 3px 24px 3px 8px;
|
||||||
|
font-size: 0.78em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
opacity: 0.7;
|
width: auto;
|
||||||
transition: opacity 0.2s;
|
|
||||||
max-width: 160px;
|
max-width: 160px;
|
||||||
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 6l5-6 5 6z' fill='%234a9eff'/%3E%3C/svg%3E");
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: right 6px center;
|
||||||
|
background-size: 8px 5px;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.sxng-model-select:hover { opacity: 1; }
|
|
||||||
.sxng-reasoning {
|
.sxng-reasoning {
|
||||||
margin: 0.5rem 0; padding: 0.5rem;
|
margin: 0.5rem 0; padding: 0.5rem;
|
||||||
border-left: 2px solid var(--color-result-link, #5e81ac);
|
border-left: 2px solid var(--color-result-link, #5e81ac);
|
||||||
@@ -1414,17 +1413,17 @@ class SXNGPlugin(Plugin):
|
|||||||
}}
|
}}
|
||||||
}}
|
}}
|
||||||
.sxng-ai-label {{
|
.sxng-ai-label {{
|
||||||
font-size: 0.72rem;
|
font-size: 1.05em;
|
||||||
font-weight: 600;
|
font-weight: 700;
|
||||||
letter-spacing: 0.05em;
|
margin-bottom: 4px;
|
||||||
text-transform: uppercase;
|
margin-top: -4px;
|
||||||
opacity: 0.6;
|
letter-spacing: 0.04em;
|
||||||
margin-bottom: 0.35rem;
|
text-transform: none;
|
||||||
color: var(--color-base-font, #333);
|
color: var(--color-base-font, #333);
|
||||||
}}
|
}}
|
||||||
{interactive_css}
|
{interactive_css}
|
||||||
</style>
|
</style>
|
||||||
<div class="sxng-ai-label"><span style="color:#4a9eff;">✨</span> AI Overview</div>
|
<div class="sxng-ai-label"><span style="color:#4a9eff;font-size:1.1em;">★</span> AI Overview</div>
|
||||||
<p id="sxng-stream-data" style="white-space: pre-wrap; color: var(--color-result-description); font-size: 0.95rem; margin:0;"><span class="sxng-cursor"></span></p>
|
<p id="sxng-stream-data" style="white-space: pre-wrap; color: var(--color-result-description); font-size: 0.95rem; margin:0;"><span class="sxng-cursor"></span></p>
|
||||||
{interactive_html}
|
{interactive_html}
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user