Skip to content

Commit 6aa23cd

Browse files
committed
Fix lint:css
1 parent fd3ab8b commit 6aa23cd

14 files changed

+60
-65
lines changed

.stylelintrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.stylelintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
module.exports = {
44
extends: ['stylelint-config-standard', 'stylelint-prettier/recommended'],
5+
rules: {
6+
'selector-class-pattern': null,
7+
}
58
};

app/styles/app.css

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
@import "components/addon-tabs.css";
2-
@import "components/brand-logos.css";
3-
@import "components/ecosystem-icons.css";
4-
@import "components/cta-emberconf.css";
5-
@import "components/faqs.css";
6-
@import "components/homepage-image-grid.css";
7-
@import "components/homepage-hero-callout.css";
8-
@import "components/lts-table.css";
9-
@import "components/release-timeline.css";
10-
@import "components/survey-section.css";
11-
@import "components/surveys.css";
12-
@import "components/team-list.css";
13-
@import "components/terminal-code.css";
14-
@import "components/callout-banner.css";
15-
@import "legacy/form.css";
1+
@import url("components/addon-tabs.css");
2+
@import url("components/brand-logos.css");
3+
@import url("components/ecosystem-icons.css");
4+
@import url("components/cta-emberconf.css");
5+
@import url("components/faqs.css");
6+
@import url("components/homepage-image-grid.css");
7+
@import url("components/homepage-hero-callout.css");
8+
@import url("components/lts-table.css");
9+
@import url("components/release-timeline.css");
10+
@import url("components/survey-section.css");
11+
@import url("components/surveys.css");
12+
@import url("components/team-list.css");
13+
@import url("components/terminal-code.css");
14+
@import url("components/callout-banner.css");
15+
@import url("legacy/form.css");
1616

1717
@media only percy {
1818
.hide-in-percy {

app/styles/components/addon-tabs.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
.addon-tabs {
2-
background: linear-gradient(0deg, rgba(52, 55, 62, 1) 0%, rgba(66, 69, 77, 1) 100%);
2+
background: linear-gradient(
3+
0deg,
4+
rgb(52 55 62 / 100%) 0%,
5+
rgb(66 69 77 / 100%) 100%
6+
);
37
border-radius: 15px;
4-
box-shadow: 0 5px 15px -10px rgba(0, 0, 0, 0.75);
8+
box-shadow: 0 5px 15px -10px rgb(0 0 0 / 75%);
59
min-height: 364px;
610
width: 100%;
711
}

app/styles/components/brand-logos.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
.brand-logos > li {
1515
border: 1px solid rgba($black, 0.3);
16-
background-image: url('/images/brand/brand-bg.png');
16+
background-image: url("/images/brand/brand-bg.png");
1717
border-radius: 4px;
1818
padding: 1rem 1.5rem;
1919
}
@@ -27,5 +27,5 @@
2727
}
2828

2929
.brand-logos > li:nth-child(3) {
30-
background-color: rgba(199, 52, 31, 0.9);
30+
background-color: rgb(199 52 31 / 90%);
3131
}

app/styles/components/callout-banner.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
.callout-banner a + a::before {
25-
content: '';
25+
content: "";
2626
width: 3px;
2727
height: 3px;
2828
background: white;

app/styles/components/cta-emberconf.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
margin-top: 1rem;
2828
}
2929

30-
@media screen and (min-width: 450px) {
30+
@media screen and (width >= 450px) {
3131
.emberconf-announcement {
3232
padding-top: 3rem;
3333
margin-top: -5rem;

app/styles/components/ecosystem-icons.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
margin: auto;
1818
}
1919

20-
@media (max-width: 1007px) {
20+
@media (width <= 1007px) {
2121
.ecosystem-icons {
2222
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
2323
width: inherit;

app/styles/components/homepage-hero-callout.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222

2323
.hero-callout-text > a:link {
24-
color: #74B0CE;
24+
color: #74b0ce;
2525
background: none;
2626
text-decoration: underline;
2727
}

app/styles/components/homepage-image-grid.css

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@
2727
}
2828

2929
.homepage-image-grid__img-tall-bottom {
30-
grid-row-start: 2;
31-
grid-row-end: 5;
30+
grid-row: 2 / 5;
3231
}
3332

3433
.homepage-image-grid__img-tall-top {
35-
grid-row-start: 1;
36-
grid-row-end: 4;
34+
grid-row: 1 / 4;
3735
}
3836

3937
.homepage-image-grid__img-short {
@@ -45,13 +43,13 @@
4543
width: max-content;
4644
}
4745

48-
[class*=well-] img {
49-
width: auto;
50-
}
51-
52-
/* IN ht estyleguides */
53-
5446
img {
5547
max-width: 100%;
5648
height: auto;
5749
}
50+
51+
[class*="well-"] img {
52+
width: auto;
53+
}
54+
55+
/* IN ht estyleguides */

app/styles/components/survey-section.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
align-items: flex-start;
99
display: grid;
1010
grid-column-gap: 0.5rem;
11-
grid-template-areas:
12-
"hyperlink title";
13-
grid-template-columns: auto 1fr;
14-
grid-template-rows: 1fr;
11+
grid-template: "hyperlink title" 1fr / auto 1fr;
1512
}
1613

1714
.survey-section__title-container__title {

app/styles/components/surveys.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
height: 160px;
33
}
44

5-
/* TODO this could be better, probably */
5+
/* TODO this could be better, probably */
66
.survey-sponsor-link {
77
background: transparent !important;
88
}

app/styles/components/terminal-code.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
}
1414

1515
.terminal-code .dot.red {
16-
background-color: rgb(238, 90, 90);
16+
background-color: rgb(238 90 90);
1717
}
1818

1919
.terminal-code .dot.yellow {
20-
background-color: rgb(250, 208, 109);
20+
background-color: rgb(250 208 109);
2121
}
2222

2323
.terminal-code .dot.green {
24-
background-color: rgb(116, 173, 111);
24+
background-color: rgb(116 173 111);
2525
}
2626

2727
.terminal-code code {

app/styles/legacy/form.css

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
.tomster-form {
32
margin-top: 1.5em;
43
}
54

6-
@media screen and (min-width: 0) and (max-width: 991px) {
5+
@media screen and (width >= 0) and (width <= 991px) {
76
.tomster-form {
87
padding: 0.5em;
98
}
@@ -40,14 +39,14 @@
4039
color: #c7341f;
4140
}
4241

43-
.tomster-form input[type=radio] {
42+
.tomster-form input[type="radio"] {
4443
display: inline-block;
4544
margin-right: 20px;
4645
}
4746

48-
.tomster-form input[type=text],
49-
.tomster-form input[type=email],
50-
.tomster-form input[type=file],
47+
.tomster-form input[type="text"],
48+
.tomster-form input[type="email"],
49+
.tomster-form input[type="file"],
5150
.tomster-form textarea {
5251
border: none;
5352
margin: 0;
@@ -58,10 +57,10 @@
5857
outline: 0;
5958
width: 100%;
6059
border-radius: 6px;
61-
box-shadow: 0 1px #fdfdfd, inset -1px 1px 4px rgba(0, 0, 0, 0.1);
60+
box-shadow: 0 1px #fdfdfd, inset -1px 1px 4px rgb(0 0 0 / 10%);
6261
}
6362

64-
.tomster-form input[type=file] {
63+
.tomster-form input[type="file"] {
6564
padding: 15px 10px;
6665
background-color: transparent;
6766
cursor: pointer;
@@ -72,21 +71,21 @@
7271
height: 100px;
7372
}
7473

75-
.tomster-form input[type=text]:focus,
76-
.tomster-form input[type=email]:focus,
77-
.tomster-form input[type=file]:focus,
74+
.tomster-form input[type="text"]:focus,
75+
.tomster-form input[type="email"]:focus,
76+
.tomster-form input[type="file"]:focus,
7877
.tomster-form textarea:focus {
7978
border-color: #888;
8079
}
8180

82-
.tomster-form input[type=text].error,
83-
.tomster-form input[type=email].error,
84-
.tomster-form input[type=file].error,
81+
.tomster-form input[type="text"].error,
82+
.tomster-form input[type="email"].error,
83+
.tomster-form input[type="file"].error,
8584
.tomster-form textarea.error {
8685
border-color: #c7341f;
8786
}
8887

89-
.tomster-form input[type=file]:focus {
88+
.tomster-form input[type="file"]:focus {
9089
border-color: #ddd;
9190
}
9291

@@ -101,7 +100,7 @@
101100
margin-top: 0.5em;
102101
}
103102

104-
@media screen and (min-width: 0) and (max-width: 991px) {
103+
@media screen and (width >= 0) and (width <= 991px) {
105104
.tomster-form fieldset .choice {
106105
text-align: left;
107106
}
@@ -120,7 +119,7 @@
120119
width: calc(100% - 20px);
121120
}
122121

123-
.tomster-form input[type=submit] {
122+
.tomster-form input[type="submit"] {
124123
margin-top: 2em;
125124
}
126125

@@ -130,7 +129,7 @@
130129
line-height: 40px;
131130
}
132131

133-
.tomster-form .inline-field input[type=text] {
132+
.tomster-form .inline-field input[type="text"] {
134133
width: auto;
135134
}
136135

0 commit comments

Comments
 (0)