"Find styles Inline" checkbox svg positioned correctly
This commit is contained in:
parent
f4f5c47320
commit
3cef5ad662
|
@ -378,7 +378,7 @@
|
|||
"description": "Tooltip for a button that opens style on userstyles.org for customizing"
|
||||
},
|
||||
"findStylesForSite": {
|
||||
"message": "Find more styles for this site",
|
||||
"message": "Find styles",
|
||||
"description": "Text for a link that gets a list of styles for the current site"
|
||||
},
|
||||
"findStylesForSiteInline": {
|
||||
|
|
|
@ -169,8 +169,13 @@
|
|||
<div id="find-styles">
|
||||
<a id="find-styles-link" i18n-text="findStylesForSite"></a>
|
||||
<span id="find-styles-inline-group">
|
||||
<input id="find-styles-inline" class="checker" type="checkbox" />
|
||||
<label for="find-styles-inline" i18n-text="findStylesForSiteInline"></label>
|
||||
<label>
|
||||
<input id="find-styles-inline" class="checker" type="checkbox" checked />
|
||||
<svg class="svg-icon checked" viewBox="0 0 1000 1000">
|
||||
<path fill-rule="evenodd" d="M983.2,184.3L853,69.8c-4-3.5-9.3-5.3-14.5-5c-5.3,0.4-10.3,2.8-13.8,6.8L352.3,609.2L184.4,386.9c-3.2-4.2-8-7-13.2-7.8c-5.3-0.8-10.6,0.6-14.9,3.9L18,487.5c-8.8,6.7-10.6,19.3-3.9,28.1L325,927.2c3.6,4.8,9.3,7.7,15.3,8c0.2,0,0.5,0,0.7,0c5.8,0,11.3-2.5,15.1-6.8L985,212.6C992.3,204.3,991.5,191.6,983.2,184.3z"/>
|
||||
</svg>
|
||||
<span i18n-text="findStylesForSiteInline"></span>
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
<div id="searchResults-error" class="hidden"></div>
|
||||
|
|
|
@ -111,3 +111,8 @@ body.search-results-shown {
|
|||
#searchResultsNav button {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#find-styles-inline-group .svg-icon.checked {
|
||||
margin-top: 5px;
|
||||
margin-left: -13px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user