tweaks/fixes for "[x] as usercss"
This commit is contained in:
parent
c8b6672d79
commit
828f09fdb2
13
manage.html
13
manage.html
|
@ -216,17 +216,18 @@
|
||||||
<p>
|
<p>
|
||||||
<a href="edit.html">
|
<a href="edit.html">
|
||||||
<button id="add-style-label" i18n-text="addStyleLabel"></button>
|
<button id="add-style-label" i18n-text="addStyleLabel"></button>
|
||||||
<label class="nobreak"
|
</a>
|
||||||
i18n-text-append="manageNewStyleAsUsercss"
|
<label id="newStyleAsUsercss-wrapper" class="nobreak">
|
||||||
i18n-title="optionsAdvancedNewStyleAsUsercss">
|
|
||||||
<input type="checkbox" id="newStyleAsUsercss">
|
<input type="checkbox" id="newStyleAsUsercss">
|
||||||
</label>
|
<span i18n-text="manageNewStyleAsUsercss" i18n-title="optionsAdvancedNewStyleAsUsercss"></span>
|
||||||
<a href="https://github.com/openstyles/stylus/wiki/Usercss" i18n-title="externalUsercssDocument">
|
<a id="usercss-wiki"
|
||||||
|
href="https://github.com/openstyles/stylus/wiki/Usercss"
|
||||||
|
i18n-title="externalUsercssDocument">
|
||||||
<svg class="svg-icon" viewBox="0 0 20 20">
|
<svg class="svg-icon" viewBox="0 0 20 20">
|
||||||
<path d="M4,4h5v2H6v8h8v-3h2v5H4V4z M11,3h6v6l-2-2l-4,4L9,9l4-4L11,3z"/>
|
<path d="M4,4h5v2H6v8h8v-3h2v5H4V4z M11,3h6v6l-2-2l-4,4L9,9l4-4L11,3z"/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
</a>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
<div id="options">
|
<div id="options">
|
||||||
<h2 id="options-heading" i18n-text="optionsHeading"></h2>
|
<h2 id="options-heading" i18n-text="optionsHeading"></h2>
|
||||||
|
|
|
@ -60,6 +60,10 @@ select {
|
||||||
margin-bottom: .25em;
|
margin-bottom: .25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#newStyleAsUsercss-wrapper:not(:hover) input:not(:checked) ~ a svg {
|
||||||
|
fill: #aaa;
|
||||||
|
}
|
||||||
|
|
||||||
.nobreak {
|
.nobreak {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user