Skip to content

Commit

Permalink
Merge pull request #10279 from DFE-Digital/dependabot/npm_and_yarn/st…
Browse files Browse the repository at this point in the history
…ylelint-config-recess-order-6.0.0

Bump stylelint-config-recess-order from 5.1.1 to 6.0.0
  • Loading branch information
elceebee authored Jan 20, 2025
2 parents 13c4877 + cc451f9 commit 0a82646
Show file tree
Hide file tree
Showing 26 changed files with 68 additions and 17 deletions.
7 changes: 6 additions & 1 deletion app/frontend/styles/_add_another.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,25 @@

&__title {
float: left;

width: 100%;

padding: 4px 0;
}

&__remove-button {
padding: 0;

color: govuk-colour("blue");

text-decoration: underline;

background: none;
box-shadow: none;

&:hover {
color: $govuk-link-hover-colour;

text-decoration: underline;

background: none;
Expand All @@ -52,8 +56,9 @@
.app-add-condition__heading:focus {
color: $govuk-focus-text-colour;

background-color: $govuk-focus-colour;
outline: none;

background-color: $govuk-focus-colour;
box-shadow:
0 -2px $govuk-focus-colour,
0 4px $govuk-focus-text-colour;
Expand Down
1 change: 1 addition & 0 deletions app/frontend/styles/_application-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@include govuk-link-common;
@include govuk-link-style-default;
color: $govuk-link-colour;

text-wrap: balance;
}

Expand Down
2 changes: 2 additions & 0 deletions app/frontend/styles/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

.app-card__link {
color: inherit;

text-decoration: none;

> * {
Expand All @@ -64,6 +65,7 @@

&:focus::before {
outline: $govuk-focus-width solid $govuk-focus-colour;

box-shadow: inset 0 0 0 4px govuk-colour("black");
}

Expand Down
2 changes: 2 additions & 0 deletions app/frontend/styles/_contents-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
padding-top: govuk-spacing(2);

line-height: 1.3;

list-style-type: none;
}

Expand All @@ -72,6 +73,7 @@
left: 0;

width: govuk-spacing(4);

overflow: hidden;

content: "";
Expand Down
4 changes: 3 additions & 1 deletion app/frontend/styles/_feedback.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
align-items: center;

min-height: 80px;

padding: govuk-spacing(2) govuk-spacing(5);

background-color: govuk-colour("light-grey");
outline: 0;

background-color: govuk-colour("light-grey");
}

.app-feedback-helpful {
Expand Down
4 changes: 2 additions & 2 deletions app/frontend/styles/_flex-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

@each $width in map-keys($govuk-grid-widths) {
.govuk-grid-column-#{$width} {
display: flex;

float: none;

display: flex;
}

.govuk-grid-column-#{$width} > * {
Expand Down
1 change: 1 addition & 0 deletions app/frontend/styles/_link_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
padding: 0;

font-size: inherit;

color: $govuk-link-colour;

cursor: pointer;
Expand Down
5 changes: 4 additions & 1 deletion app/frontend/styles/_primary-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
.app-primary-navigation__item {
@include govuk-font($size: 19);
float: left;

margin-top: 0;
margin-right: govuk-spacing(3);

Expand Down Expand Up @@ -56,13 +57,15 @@
padding-bottom: govuk-spacing(3);

font-weight: bold;

text-decoration: none;

&:focus {
color: $govuk-focus-text-colour;

background-color: $govuk-focus-colour;
outline: $govuk-focus-width solid transparent;

background-color: $govuk-focus-colour;
box-shadow: inset 0 -5px 0 0 $govuk-focus-text-colour;
}

Expand Down
1 change: 1 addition & 0 deletions app/frontend/styles/_status-indicator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

width: govuk-spacing(1);
height: govuk-spacing(1);

margin-right: govuk-spacing(1);

border: 4px currentColor solid;
Expand Down
1 change: 1 addition & 0 deletions app/frontend/styles/_summary-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

.app-summary-card__actions-list {
width: 100%;

padding: 0;
margin: 0;
}
Expand Down
2 changes: 2 additions & 0 deletions app/frontend/styles/_syntax-highlighting.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ $code-delete-bg: #fadddd;

font-family: Monaco, Consolas, "Lucida Console", monospace;
font-size: 15px;

color: $code-05;

-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
Expand Down
3 changes: 3 additions & 0 deletions app/frontend/styles/_tab-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
margin: 0;

font-size: 0; // Removes white space when using inline-block on child element.

list-style: none;

@include govuk-media-query($from: 375px) {
Expand Down Expand Up @@ -50,6 +51,7 @@
padding-left: govuk-spacing(3);

font-weight: bold;

text-decoration: none;

@include govuk-media-query($from: 375px) {
Expand Down Expand Up @@ -96,6 +98,7 @@
position: relative;

color: $govuk-link-active-colour;

text-decoration: none;

&::before {
Expand Down
1 change: 1 addition & 0 deletions app/frontend/styles/application-support.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
margin: 0;

font-weight: normal;

color: $govuk-secondary-text-colour;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
position: relative;

max-height: 200px;

overflow-x: hidden;
overflow-y: auto;

Expand Down
6 changes: 5 additions & 1 deletion app/frontend/styles/components/_paginated_filter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

.filter-toggle-button {
float: right;

margin-bottom: govuk-spacing(1);
@include govuk-media-query($from: desktop) {
display: none;
Expand All @@ -36,6 +37,7 @@
@media (min-width: 48.0625em) {
.moj-filter-layout__filter {
max-width: 310px;

margin-right: govuk-spacing(6);
}
}
Expand Down Expand Up @@ -106,8 +108,9 @@
.moj-filter__tag:focus {
text-decoration: none;

background-color: govuk-colour("yellow");
outline: 3px solid transparent;

background-color: govuk-colour("yellow");
box-shadow: 0 4px govuk-colour("black");
}

Expand Down Expand Up @@ -141,6 +144,7 @@
display: inline-block;

width: auto;

margin-top: 0;
margin-bottom: 0;
margin-left: 10px;
Expand Down
3 changes: 3 additions & 0 deletions app/frontend/styles/components/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
padding: 0;

font-size: 0;

list-style: none;
}

Expand All @@ -35,6 +36,7 @@
margin-bottom: 0;

font-size: 1rem;

line-height: 1.25;
}

Expand All @@ -48,6 +50,7 @@
padding-bottom: govuk-spacing(3);

font-weight: bold;

text-decoration: none;

&:focus {
Expand Down
2 changes: 2 additions & 0 deletions app/frontend/styles/provider/_interview_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@
box-sizing: border-box;

width: 15%;

padding-right: govuk-spacing(2);
}

.app-interview-card__candidate {
box-sizing: border-box;

width: 40%;

padding-right: govuk-spacing(2);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.recruitment-performance-report-table {
&__wrapper {
margin-bottom: govuk-spacing(4);

overflow-x: auto;
}

Expand Down
4 changes: 3 additions & 1 deletion app/frontend/styles/publications/_itt_data_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
padding-bottom: 2px;

color: $govuk-link-colour;

text-decoration: underline;

cursor: pointer;
Expand All @@ -39,13 +40,14 @@
// Make the ::before element take up the same amount of space the element would if it were bold.
&__list-item a::before {
display: block;
visibility: hidden;

height: 0;

overflow: hidden;

font-weight: bold;

visibility: hidden;
content: attr(title);
}
// end hack
Expand Down
5 changes: 3 additions & 2 deletions app/frontend/styles/publications/_metadata.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@
margin-top: 0.5em;

@include govuk-media-query($from: tablet) {
float: left;
clear: left;

box-sizing: border-box;

float: left;
padding-right: govuk-spacing(1);
margin-top: 0;
clear: left;
}
}

Expand Down
7 changes: 6 additions & 1 deletion app/frontend/styles/publications/_sortable_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
font-family: inherit;
font-size: 1em;
font-weight: inherit;

color: #005ea5;

text-align: inherit;

cursor: pointer;
Expand Down Expand Up @@ -74,10 +76,13 @@

width: 1px;
height: 1px;

padding: 0;
margin: -1px;

overflow: hidden;
clip: rect(0 0 0 0);

border: 0;

clip: rect(0 0 0 0);
}
6 changes: 5 additions & 1 deletion app/frontend/styles/support/_app-count.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@
// lozenge shape when there are 3 digits or more.
min-width: 24px;
height: 28px;

padding-right: 2px;
padding-left: 2px;
margin-left: 3px;

font-weight: bold;

line-height: 28px;
vertical-align: middle;

color: govuk-colour("white");

text-align: center;
vertical-align: middle;

background-color: $govuk-brand-colour;
border-radius: 14px;
Expand Down
2 changes: 2 additions & 0 deletions app/frontend/styles/support/_checkboxes-scroll.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.app-checkboxes-scroll {
height: 75vh;
min-height: 13.5em;

padding: govuk-spacing(2);

overflow-y: scroll;

border: $govuk-border-width-form-element solid $govuk-input-border-colour;
Expand Down
Loading

0 comments on commit 0a82646

Please sign in to comment.