MediaWiki:Gadget-AuthorAssistant.css: Difference between revisions
MediaWiki interface page
More actions
Machine-seeded from the topic schema; no approved revision |
Machine-seeded from the topic schema; no approved revision |
||
| (One intermediate revision by the same user not shown) | |||
| Line 13: | Line 13: | ||
#okc-assistant .okc-warn { background: #f3e9cd; border-radius: 8px; padding: 8px 10px; margin: 8px 0; } | #okc-assistant .okc-warn { background: #f3e9cd; border-radius: 8px; padding: 8px 10px; margin: 8px 0; } | ||
#okc-assistant .okc-note { font-size: 12px; color: #4d5c63; margin-top: 8px; } | #okc-assistant .okc-note { font-size: 12px; color: #4d5c63; margin-top: 8px; } | ||
#okc-assistant button:disabled { opacity: .5; cursor: default; } | |||
#okc-assistant .okc-sources { margin: 8px 0; } | |||
#okc-assistant .okc-source { display: block; padding: 6px 8px; border: 1px solid #dfe6e8; border-radius: 8px; margin-bottom: 6px; cursor: pointer; } | |||
#okc-assistant .okc-kind { font-size: 11px; background: #d8eef2; color: #00405c; border-radius: 999px; padding: 1px 7px; } | |||
#okc-assistant .okc-why { color: #4d5c63; font-size: 13px; margin-top: 2px; } | |||
#okc-assistant .okc-url { font-size: 12px; overflow-wrap: anywhere; } | |||
Latest revision as of 07:06, 17 September 2026
/* The author's assistant panel (PRD 5.7). */
#okc-assistant { position: fixed; right: 16px; bottom: 16px; z-index: 1000; font-size: 14px; }
#okc-assistant .okc-open { background: #0c6a8c; color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
#okc-assistant .okc-panel { display: none; width: min(560px, calc(100vw - 32px)); max-height: 80vh; overflow: auto; background: #fff; color: #1d2a30; border: 1px solid #dfe6e8; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.18); padding: 14px 16px; margin-bottom: 8px; }
#okc-assistant.okc-is-open .okc-panel { display: block; }
#okc-assistant h3 { margin: 0 0 6px; font-size: 16px; }
#okc-assistant p { margin: 0 0 8px; color: #4d5c63; }
#okc-assistant textarea, #okc-assistant input[type=text] { width: 100%; box-sizing: border-box; font: inherit; padding: 8px; border: 1px solid #dfe6e8; border-radius: 8px; margin-bottom: 8px; }
#okc-assistant button.okc-primary { background: #0c6a8c; color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 600; cursor: pointer; }
#okc-assistant button.okc-secondary { background: #f3f3f3; color: #1d2a30; border: 1px solid #dfe6e8; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
#okc-assistant .okc-diff { margin: 10px 0; max-height: 40vh; overflow: auto; border: 1px solid #dfe6e8; border-radius: 8px; padding: 6px; font-size: 13px; }
#okc-assistant .okc-diff table.diff { width: 100%; }
#okc-assistant .okc-warn { background: #f3e9cd; border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
#okc-assistant .okc-note { font-size: 12px; color: #4d5c63; margin-top: 8px; }
#okc-assistant button:disabled { opacity: .5; cursor: default; }
#okc-assistant .okc-sources { margin: 8px 0; }
#okc-assistant .okc-source { display: block; padding: 6px 8px; border: 1px solid #dfe6e8; border-radius: 8px; margin-bottom: 6px; cursor: pointer; }
#okc-assistant .okc-kind { font-size: 11px; background: #d8eef2; color: #00405c; border-radius: 999px; padding: 1px 7px; }
#okc-assistant .okc-why { color: #4d5c63; font-size: 13px; margin-top: 2px; }
#okc-assistant .okc-url { font-size: 12px; overflow-wrap: anywhere; }