diff --git a/edit.html b/edit.html index c4812fdb..4b4a1f65 100644 --- a/edit.html +++ b/edit.html @@ -497,5 +497,5 @@ - + diff --git a/edit/base.js b/edit/base.js index 948f1475..27865575 100644 --- a/edit/base.js +++ b/edit/base.js @@ -76,7 +76,10 @@ const editor = { ], }; // switching the mode here to show the correct page ASAP, usually before DOMContentLoaded - const isUC = Boolean(style.usercssData || !id && prefs.get('newStyleAsUsercss')); + const isUC = Boolean(style.usercssData) || !id && ( + params.get('uc') === '1' || + !params.has('uc') && prefs.get('newStyleAsUsercss') + ); Object.assign(editor, /** @namespace Editor */ { style, isUsercss: isUC, diff --git a/edit/edit.css b/edit/edit.css index 61cb136e..ecc8d014 100644 --- a/edit/edit.css +++ b/edit/edit.css @@ -39,7 +39,7 @@ html.is-new-style #publish, .hidden { display: none !important; } -html.is-new-style #heading::after { +html.is-new-style #heading::before { content: attr(data-add); } html:not(.is-new-style) #heading::before { diff --git a/edit/settings.css b/edit/settings.css index 8ab5d8b0..bb092059 100644 --- a/edit/settings.css +++ b/edit/settings.css @@ -42,6 +42,3 @@ display: inline-flex; padding: 0 .8em 0 0; } -a[data-cmd=note] { - vertical-align: text-bottom; -} diff --git a/global-dark.css b/global-dark.css index 7c7f6a84..d4414a4e 100644 --- a/global-dark.css +++ b/global-dark.css @@ -20,8 +20,8 @@ /* min/max are exposed in case we want to use an overdrive color for emphasis */ --cmin: hsl(0, 0%, 100%); --cmax: hsl(0, 0%, 0%); - --accent-1: hsl(180, 100%, 95%); - --accent-3: hsl(180, 30%, 18%); + --accent-1: hsl(180, 100%, 90%); + --accent-3: hsl(180, 30%, 25%); --input-bg: var(--c95); --red1: hsl(0, 85%, 55%); } diff --git a/manage.html b/manage.html index 710cc120..ebd830ed 100644 --- a/manage.html +++ b/manage.html @@ -78,9 +78,7 @@