Skip to content

Commit

Permalink
chore: run prettier on css files
Browse files Browse the repository at this point in the history
  • Loading branch information
kabaros committed Dec 19, 2024
1 parent b60bf5f commit a48b7e2
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
outline: none;
}

.item:hover, .item:focus-visible {
.item:hover,
.item:focus-visible {
background-color: var(--colors-grey300);
}
6 changes: 4 additions & 2 deletions client/src/components/Header/Header.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@value m-medium from 'src/styles/breakpoints.css';

:root {
--header-bg: #1C2431;
--header-bg: #1c2431;
--header-height: 48px;
}

Expand Down Expand Up @@ -109,7 +109,9 @@
font-size: inherit;
}

.navLink a:hover, .navLink a:focus, .activeNavLink {
.navLink a:hover,
.navLink a:focus,
.activeNavLink {
color: var(--colors-grey050);
background: black;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.markdownFieldWrapper {
border: 1px solid var(--colors-grey500);
border-radius: 3px;
Expand Down
6 changes: 4 additions & 2 deletions client/src/components/Screenshots/Screenshots.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@
border: 4px solid var(--colors-grey200);
}

.otherScreenshot:hover, .otherScreenshot:focus {
.otherScreenshot:hover,
.otherScreenshot:focus {
border-color: var(--colors-grey400);
outline: none;
}

.otherScreenshotCurrent,
.otherScreenshotCurrent:hover, .otherScreenshotCurrent:focus {
.otherScreenshotCurrent:hover,
.otherScreenshotCurrent:focus {
border-color: var(--colors-blue500);
}

Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Versions/ChangeLogViewer.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.cardContainer {
margin: var(--spacers-dp8);;
padding: var(--spacers-dp8);;
margin: var(--spacers-dp8);
padding: var(--spacers-dp8);
}

.header {
Expand Down
15 changes: 7 additions & 8 deletions client/src/pages/AppView/AppView.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
margin-bottom: var(--spacers-dp12);
}


.appCardParagraph {
font-size: 15px;
line-height: 19px;
Expand Down Expand Up @@ -88,25 +87,25 @@
color: var(--colors-grey700);
}


.divider {
max-width: 80%;
}

.sourceUrl:before {
display: block;
content: "";
content: '';
}

.link, .sourceUrl {
.link,
.sourceUrl {
font-size: 14px;
color: var(--colors-blue700);
text-decoration: underline;
}

.link:hover, .sourceUrl:hover,
.link:focus, .sourceUrl:focus {
.link:hover,
.sourceUrl:hover,
.link:focus,
.sourceUrl:focus {
color: var(--colors-grey900);
}


Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
cursor: pointer;
}

.appCard:hover, .appCard:focus {
.appCard:hover,
.appCard:focus {
background: inherit;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05),
0 2px 4px -1px rgba(0, 0, 0, 0.06),
0 4px 6px -1px rgba(0, 0, 0, 0.10);
0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.appCardHeader {
Expand All @@ -28,7 +28,8 @@
margin-bottom: var(--spacers-dp4);
}

.appCardDeveloper, .appCardType {
.appCardDeveloper,
.appCardType {
margin: var(--spacers-dp4) 0;
font-size: 14px;
}
Expand All @@ -48,7 +49,7 @@
}

.appCardType {
color: var(--colors-grey700)
color: var(--colors-grey700);
}

.appCardDescription {
Expand All @@ -61,7 +62,7 @@
}

.coreAppIcon {
width: 25px
width: 25px;
}

.summary {
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/Apps/Apps.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

.container {
display: grid;
grid-template-areas: "filters" "apps";
grid-template-areas: 'filters' 'apps';
padding: var(--spacers-dp16) var(--spacers-dp12);
}

@media m-medium {
.container {
grid-template-areas: "filters apps";
grid-template-areas: 'filters apps';
grid-template-columns: 224px auto;
grid-gap: var(--spacers-dp24);
padding: 0;
Expand Down
6 changes: 3 additions & 3 deletions client/src/pages/OrganisationView/OrganisationView.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
margin-right: var(--spacers-dp8);
}

.createdAt, .description {
.createdAt,
.description {
margin-top: var(--spacers-dp8);
margin-bottom: var(--spacers-dp8);

Expand All @@ -26,9 +27,8 @@
.description {
color: var(--colors-grey900);
line-height: 1.6em;

}

.flex {
display: flex;
}
}
8 changes: 6 additions & 2 deletions client/src/pages/UserApp/DetailsCard/DetailsCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,15 @@
max-width: 640px;
}

.link, .sourceUrl {
.link,
.sourceUrl {
color: var(--colors-blue700);
text-decoration: underline;
}

.link:hover, .link:focus, .sourceUrl:hover, .sourceUrl:focus {
.link:hover,
.link:focus,
.sourceUrl:hover,
.sourceUrl:focus {
color: var(--colors-grey900);
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
text-decoration: underline;
}

.screenshotsGuidelinesLink:hover, .screenshotsGuidelinesLink:focus {
.screenshotsGuidelinesLink:hover,
.screenshotsGuidelinesLink:focus {
color: var(--colors-grey900);
}

Expand Down
3 changes: 2 additions & 1 deletion client/src/pages/UserAppUpload/UserAppUpload.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
text-decoration: underline;
}

.helpTextLink:hover, .helpTextLink:focus {
.helpTextLink:hover,
.helpTextLink:focus {
color: var(--colors-grey900);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
text-decoration: underline;
}

.helpTextLink:hover, .helpTextLink:focus {
.helpTextLink:hover,
.helpTextLink:focus {
color: var(--colors-grey900);
}
3 changes: 2 additions & 1 deletion client/src/pages/UserApps/AppCard/AppCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.appCardLink, .appCardActions {
.appCardLink,
.appCardActions {
padding: var(--spacers-dp16);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
font-size: 0.8em;
}

.createdAt, .description {
.createdAt,
.description {
margin-top: var(--spacers-dp8);
color: var(--colors-grey800);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.organisationLink:hover, .organisationLink:focus {
.organisationLink:hover,
.organisationLink:focus {
background: var(--colors-grey200);
}

Expand Down
4 changes: 3 additions & 1 deletion client/src/styles/auth0-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
background: rgb(39, 102, 150) !important;
}

.auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-bg .auth0-lock-header-bg-blur {
.auth0-lock.auth0-lock.auth0-lock-opened
.auth0-lock-header-bg
.auth0-lock-header-bg-blur {
opacity: 0 !important;
}

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
"clone": "yarn workspace tools clone",
"lint": "d2-style check",
"lint:staged": "d2-style check --staged",
"format": "yarn format:js && yarn format:text",
"format": "yarn format:js && yarn format:css && yarn format:text",
"format:staged": "yarn format:js --staged && yarn format:text --staged",
"format:js": "d2-style apply js",
"format:text": "d2-style apply text",
"format:css": "d2-style apply css",
"format:client": "yarn workspace client format",
"format:server": "yarn workspace client format"
},
Expand Down

0 comments on commit a48b7e2

Please sign in to comment.