Add stylelint config icon tooltip

This commit is contained in:
Rob Garrison 2017-08-18 10:23:25 -05:00
parent 481036c324
commit 73e7a9b3f1
3 changed files with 11 additions and 4 deletions

View File

@ -354,6 +354,10 @@
} }
} }
}, },
"stylelintConfig": {
"message": "Open a popup to configure stylelint rules",
"description": "Tooltip on an icon to indicate it opens a popup with stylelint configuration settings"
},
"manageFilters": { "manageFilters": {
"message": "Filters", "message": "Filters",
"description": "Label for filters container" "description": "Label for filters container"

View File

@ -198,9 +198,11 @@
<option value="csslint" selected>CSSLint</option> <option value="csslint" selected>CSSLint</option>
<option value="stylelint">stylelint</option> <option value="stylelint">stylelint</option>
</select> </select>
<span class="linter-settings" i18n-title="stylelintConfig">
<svg id="stylelint-settings" class="svg-icon settings"> <svg id="stylelint-settings" class="svg-icon settings">
<use xlink:href="#svg-icon-settings"/> <use xlink:href="#svg-icon-settings"/>
</svg> </svg>
</span>
</section> </section>
<section id="lint"><h2 i18n-text="issues">: <span id="issue-count"></span><svg id="lint-help" class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg></h2><div></div></section> <section id="lint"><h2 i18n-text="issues">: <span id="issue-count"></span><svg id="lint-help" class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg></h2><div></div></section>
</div> </div>

View File

@ -387,7 +387,8 @@ body[data-match-highlight="selection"] .CodeMirror-selection-highlight-scrollbar
#help-popup .error a { #help-popup .error a {
color: #f00; color: #f00;
} }
#help-popup .error.show { #help-popup .error.show,
#options .linter-settings {
display: inline-block; display: inline-block;
} }