styles: Enable stylelint function-url-quotes rule.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-08-04 15:44:06 -07:00
parent 18ce4aed8b
commit c593a62b50
3 changed files with 4 additions and 3 deletions

View File

@ -446,7 +446,7 @@ img.screenshot {
.laptop-image { .laptop-image {
width: 787px; width: 787px;
height: 414px; height: 414px;
background-image: url("/static/images/landing-page/laptop.png"); background-image: url(/static/images/landing-page/laptop.png);
background-size: contain; background-size: contain;
} }
@ -691,7 +691,7 @@ input.text-error {
.main-headline { .main-headline {
background-color: hsl(218, 84%, 85%); background-color: hsl(218, 84%, 85%);
background: url("/static/images/landing-page/gg.jpg"); background: url(/static/images/landing-page/gg.jpg);
background-position: center; background-position: center;
background-size: cover; background-size: cover;
} }

View File

@ -1662,7 +1662,7 @@ body:not(.night-mode) #settings_page .custom_user_field .datepicker {
@supports (-moz-appearance: none) { @supports (-moz-appearance: none) {
#settings_page select { #settings_page select {
-moz-appearance: none; -moz-appearance: none;
background: hsl(0, 0%, 100%) url("../images/dropdown.png") right / 20px background: hsl(0, 0%, 100%) url(../images/dropdown.png) right / 20px
no-repeat; no-repeat;
padding-right: 20px; padding-right: 20px;
} }

View File

@ -21,6 +21,7 @@ module.exports = {
// Additional stylistic rules // Additional stylistic rules
"font-family-name-quotes": "always-where-recommended", "font-family-name-quotes": "always-where-recommended",
"function-url-quotes": "never",
// Limit language features // Limit language features
"color-no-hex": true, "color-no-hex": true,