/* * User Settings plugin styles. * * Deliberately simple selectors only — no :has(), :not(), :is(), * aspect-ratio, container queries or CSS nesting — so the stylesheet works * in older browsers (Firefox 78 ESR). Colours use DokuWiki's standard * style.ini replacement tokens, so the plugin follows light and dark * templates automatically. */ /* ---- settings page + admin edit form -------------------------------- */ .plugin_usersettings .us-intro { margin: 0 0 1.2em; color: __text_alt__; } .plugin_usersettings .us-form { max-width: 40em; } .plugin_usersettings .us-row { margin: 0 0 1em; padding: 0 0 1em; border-bottom: 1px solid __border__; } .plugin_usersettings .us-label { display: block; font-weight: bold; cursor: pointer; } .plugin_usersettings .us-label input[type="checkbox"] { margin-right: 0.5em; } .plugin_usersettings .us-row-select .us-name { display: block; margin-bottom: 0.35em; } .plugin_usersettings .us-row-select select { min-width: 18em; max-width: 100%; font-weight: normal; } .plugin_usersettings .us-desc { margin-top: 0.35em; font-size: 90%; color: __text_alt__; } .plugin_usersettings .us-actions { margin-top: 1.2em; } .plugin_usersettings .us-back { margin-left: 1em; } /* ---- admin overview table ------------------------------------------- */ .plugin_usersettings_table { width: 100%; } .plugin_usersettings_table th a { white-space: nowrap; text-decoration: none; } .plugin_usersettings_table tr.us-default-row td { color: __text_alt__; } .plugin_usersettings_table .us-default-mark { font-style: italic; } /* per-column filter row */ .plugin_usersettings_table .us-filterrow td { padding-top: 0.3em; padding-bottom: 0.3em; } .plugin_usersettings_table .us-filterrow input.edit { width: 100%; box-sizing: border-box; } .plugin_usersettings_table .us-filterrow select { max-width: 100%; } .plugin_usersettings_table .us-filteractions { white-space: nowrap; } .us-clear { margin-left: 0.5em; font-size: 90%; } .plugin_usersettings_admin .us-none { text-align: center; color: __text_alt__; font-style: italic; } .plugin_usersettings_admin .us-count { color: __text_alt__; font-size: 90%; } /* numbered pager */ .us-pager { margin: 0.6em 0; } .us-pager .pager_btn, .us-pager .pager_cur, .us-pager .pager_gap, .us-pager .pager_disabled { display: inline-block; min-width: 1.6em; padding: 0.15em 0.45em; margin: 0 0.1em; text-align: center; } .us-pager .pager_btn, .us-pager .pager_cur, .us-pager .pager_disabled { border: 1px solid __border__; } .us-pager .pager_btn { text-decoration: none; } .us-pager .pager_cur { background-color: __background_alt__; font-weight: bold; } .us-pager .pager_disabled { color: __text_alt__; } .us-pager .pager_gap { border: 0; }