varaverk: suggestions panel color + parser regex fix
- Change suggestion title color from bright green (#6fcf97) to soft grey-blue (#7a9eb5) - Fix vv_parse_user_script_template() block-detection regex — $ end-anchor failed on lines ending with multibyte U+2500 ─ chars; removed anchor so parser now returns all 22 blocks from user_script_plug-in.sh
This commit is contained in:
@@ -103,6 +103,33 @@
|
||||
.vv-dry-btn:hover { background: #e65100 !important; color: #fff !important;
|
||||
border-color: #ff9800 !important; }
|
||||
|
||||
/* Suggestions panel — accordion */
|
||||
#vv-suggestions { overflow-y: auto; }
|
||||
.vv-sug-block { border-bottom: 1px solid #1e1e1e; }
|
||||
.vv-sug-header { display: flex; align-items: center; gap: 8px; padding: 7px 4px;
|
||||
cursor: pointer; user-select: none; flex-wrap: wrap; }
|
||||
.vv-sug-header:hover { background: rgba(255,255,255,0.03); }
|
||||
.vv-sug-chevron { color: #555; font-size: 11px; flex-shrink: 0; width: 10px; }
|
||||
.vv-sug-title { color: #7a9eb5; font-weight: bold; font-size: 13px; flex: 1; min-width: 120px; }
|
||||
.vv-sug-cron { color: #ddd; background: #111; border: 1px solid #333; padding: 1px 6px;
|
||||
border-radius: 3px; font-size: 11px; font-family: monospace; white-space: nowrap; flex-shrink: 0; }
|
||||
.vv-sug-label { color: #666; font-size: 12px; flex: 1; min-width: 0; white-space: nowrap;
|
||||
overflow: hidden; text-overflow: ellipsis; }
|
||||
.vv-sug-status { font-size: 11px; flex-shrink: 0; margin-left: auto; }
|
||||
.vv-sug-on { color: #4caf50; }
|
||||
.vv-sug-off { color: #777; }
|
||||
.vv-sug-none { color: #444; }
|
||||
.vv-sug-body { padding: 0 14px 10px; }
|
||||
.vv-sug-desc { font-size: 12px; color: #888; white-space: pre-wrap; word-break: break-word;
|
||||
background: none; border: none; margin: 4px 0 8px; padding: 0;
|
||||
font-family: inherit; line-height: 1.6; }
|
||||
.vv-sug-scripts { display: flex; flex-direction: column; gap: 4px; }
|
||||
.vv-sug-script-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
|
||||
.vv-sug-inline-cron { color: #aaa; background: #111; padding: 1px 5px; border-radius: 3px;
|
||||
font-size: 11px; white-space: nowrap; }
|
||||
.vv-sug-path { color: #888; font-family: monospace; }
|
||||
.vv-sug-configured { color: #4caf50; font-size: 11px; }
|
||||
|
||||
/* Log panel */
|
||||
.vv-log-panel { margin-top: 10px; border-top: 1px solid #333; padding-top: 8px; }
|
||||
.vv-log-toolbar { display: flex; justify-content: space-between; align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user