Skip to content

Commit

Permalink
Fix lint:css
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed Jan 8, 2024
1 parent fd3ab8b commit 6aa23cd
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 65 deletions.
6 changes: 0 additions & 6 deletions .stylelintrc

This file was deleted.

3 changes: 3 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

module.exports = {
extends: ['stylelint-config-standard', 'stylelint-prettier/recommended'],
rules: {
'selector-class-pattern': null,
}
};
30 changes: 15 additions & 15 deletions app/styles/app.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
@import "components/addon-tabs.css";
@import "components/brand-logos.css";
@import "components/ecosystem-icons.css";
@import "components/cta-emberconf.css";
@import "components/faqs.css";
@import "components/homepage-image-grid.css";
@import "components/homepage-hero-callout.css";
@import "components/lts-table.css";
@import "components/release-timeline.css";
@import "components/survey-section.css";
@import "components/surveys.css";
@import "components/team-list.css";
@import "components/terminal-code.css";
@import "components/callout-banner.css";
@import "legacy/form.css";
@import url("components/addon-tabs.css");
@import url("components/brand-logos.css");
@import url("components/ecosystem-icons.css");
@import url("components/cta-emberconf.css");
@import url("components/faqs.css");
@import url("components/homepage-image-grid.css");
@import url("components/homepage-hero-callout.css");
@import url("components/lts-table.css");
@import url("components/release-timeline.css");
@import url("components/survey-section.css");
@import url("components/surveys.css");
@import url("components/team-list.css");
@import url("components/terminal-code.css");
@import url("components/callout-banner.css");
@import url("legacy/form.css");

@media only percy {
.hide-in-percy {
Expand Down
8 changes: 6 additions & 2 deletions app/styles/components/addon-tabs.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
.addon-tabs {
background: linear-gradient(0deg, rgba(52, 55, 62, 1) 0%, rgba(66, 69, 77, 1) 100%);
background: linear-gradient(
0deg,
rgb(52 55 62 / 100%) 0%,
rgb(66 69 77 / 100%) 100%
);
border-radius: 15px;
box-shadow: 0 5px 15px -10px rgba(0, 0, 0, 0.75);
box-shadow: 0 5px 15px -10px rgb(0 0 0 / 75%);
min-height: 364px;
width: 100%;
}
Expand Down
4 changes: 2 additions & 2 deletions app/styles/components/brand-logos.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

.brand-logos > li {
border: 1px solid rgba($black, 0.3);
background-image: url('/images/brand/brand-bg.png');
background-image: url("/images/brand/brand-bg.png");
border-radius: 4px;
padding: 1rem 1.5rem;
}
Expand All @@ -27,5 +27,5 @@
}

.brand-logos > li:nth-child(3) {
background-color: rgba(199, 52, 31, 0.9);
background-color: rgb(199 52 31 / 90%);
}
2 changes: 1 addition & 1 deletion app/styles/components/callout-banner.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

.callout-banner a + a::before {
content: '';
content: "";
width: 3px;
height: 3px;
background: white;
Expand Down
2 changes: 1 addition & 1 deletion app/styles/components/cta-emberconf.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
margin-top: 1rem;
}

@media screen and (min-width: 450px) {
@media screen and (width >= 450px) {
.emberconf-announcement {
padding-top: 3rem;
margin-top: -5rem;
Expand Down
2 changes: 1 addition & 1 deletion app/styles/components/ecosystem-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
margin: auto;
}

@media (max-width: 1007px) {
@media (width <= 1007px) {
.ecosystem-icons {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
width: inherit;
Expand Down
2 changes: 1 addition & 1 deletion app/styles/components/homepage-hero-callout.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

.hero-callout-text > a:link {
color: #74B0CE;
color: #74b0ce;
background: none;
text-decoration: underline;
}
Expand Down
18 changes: 8 additions & 10 deletions app/styles/components/homepage-image-grid.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@
}

.homepage-image-grid__img-tall-bottom {
grid-row-start: 2;
grid-row-end: 5;
grid-row: 2 / 5;
}

.homepage-image-grid__img-tall-top {
grid-row-start: 1;
grid-row-end: 4;
grid-row: 1 / 4;
}

.homepage-image-grid__img-short {
Expand All @@ -45,13 +43,13 @@
width: max-content;
}

[class*=well-] img {
width: auto;
}

/* IN ht estyleguides */

img {
max-width: 100%;
height: auto;
}

[class*="well-"] img {
width: auto;
}

/* IN ht estyleguides */
5 changes: 1 addition & 4 deletions app/styles/components/survey-section.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
align-items: flex-start;
display: grid;
grid-column-gap: 0.5rem;
grid-template-areas:
"hyperlink title";
grid-template-columns: auto 1fr;
grid-template-rows: 1fr;
grid-template: "hyperlink title" 1fr / auto 1fr;
}

.survey-section__title-container__title {
Expand Down
2 changes: 1 addition & 1 deletion app/styles/components/surveys.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
height: 160px;
}

/* TODO this could be better, probably */
/* TODO this could be better, probably */
.survey-sponsor-link {
background: transparent !important;
}
Expand Down
6 changes: 3 additions & 3 deletions app/styles/components/terminal-code.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
}

.terminal-code .dot.red {
background-color: rgb(238, 90, 90);
background-color: rgb(238 90 90);
}

.terminal-code .dot.yellow {
background-color: rgb(250, 208, 109);
background-color: rgb(250 208 109);
}

.terminal-code .dot.green {
background-color: rgb(116, 173, 111);
background-color: rgb(116 173 111);
}

.terminal-code code {
Expand Down
35 changes: 17 additions & 18 deletions app/styles/legacy/form.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

.tomster-form {
margin-top: 1.5em;
}

@media screen and (min-width: 0) and (max-width: 991px) {
@media screen and (width >= 0) and (width <= 991px) {
.tomster-form {
padding: 0.5em;
}
Expand Down Expand Up @@ -40,14 +39,14 @@
color: #c7341f;
}

.tomster-form input[type=radio] {
.tomster-form input[type="radio"] {
display: inline-block;
margin-right: 20px;
}

.tomster-form input[type=text],
.tomster-form input[type=email],
.tomster-form input[type=file],
.tomster-form input[type="text"],
.tomster-form input[type="email"],
.tomster-form input[type="file"],
.tomster-form textarea {
border: none;
margin: 0;
Expand All @@ -58,10 +57,10 @@
outline: 0;
width: 100%;
border-radius: 6px;
box-shadow: 0 1px #fdfdfd, inset -1px 1px 4px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px #fdfdfd, inset -1px 1px 4px rgb(0 0 0 / 10%);
}

.tomster-form input[type=file] {
.tomster-form input[type="file"] {
padding: 15px 10px;
background-color: transparent;
cursor: pointer;
Expand All @@ -72,21 +71,21 @@
height: 100px;
}

.tomster-form input[type=text]:focus,
.tomster-form input[type=email]:focus,
.tomster-form input[type=file]:focus,
.tomster-form input[type="text"]:focus,
.tomster-form input[type="email"]:focus,
.tomster-form input[type="file"]:focus,
.tomster-form textarea:focus {
border-color: #888;
}

.tomster-form input[type=text].error,
.tomster-form input[type=email].error,
.tomster-form input[type=file].error,
.tomster-form input[type="text"].error,
.tomster-form input[type="email"].error,
.tomster-form input[type="file"].error,
.tomster-form textarea.error {
border-color: #c7341f;
}

.tomster-form input[type=file]:focus {
.tomster-form input[type="file"]:focus {
border-color: #ddd;
}

Expand All @@ -101,7 +100,7 @@
margin-top: 0.5em;
}

@media screen and (min-width: 0) and (max-width: 991px) {
@media screen and (width >= 0) and (width <= 991px) {
.tomster-form fieldset .choice {
text-align: left;
}
Expand All @@ -120,7 +119,7 @@
width: calc(100% - 20px);
}

.tomster-form input[type=submit] {
.tomster-form input[type="submit"] {
margin-top: 2em;
}

Expand All @@ -130,7 +129,7 @@
line-height: 40px;
}

.tomster-form .inline-field input[type=text] {
.tomster-form .inline-field input[type="text"] {
width: auto;
}

Expand Down

0 comments on commit 6aa23cd

Please sign in to comment.