build: Upgrade stylelint to version 16 and fix issues

Migrate upgrade stylelint from version 10 to 16 and fix all the
stylelint and prettier issues in scss files.

The following deprecated stylistic rules are no longer supported in
stylelint, and the checks are taken over by prettier:

- string-quotes
- max-empty-lines
- max-line-length
This commit is contained in:
Ralph Hopman
2024-11-28 13:46:48 +01:00
committed by Adam Saghy
parent 756ce9e0c7
commit 31f1890051
345 changed files with 2308 additions and 4783 deletions
@@ -1,3 +1,3 @@
.container {
max-width: 37rem;
max-width: 37rem;
}
@@ -1,3 +1,3 @@
.container {
max-width: 37rem;
max-width: 37rem;
}
@@ -1,10 +1,10 @@
.container {
max-width: 37rem;
.content {
div {
margin: 1rem 0;
word-wrap: break-word;
}
.content {
div {
margin: 1rem 0;
word-wrap: break-word;
}
}
}
@@ -1,7 +1,7 @@
table {
width: 100%;
.select-row:hover {
cursor: pointer;
cursor: pointer;
}
}
@@ -10,5 +10,5 @@ table {
}
.column-value-wrapper {
word-break: break-all;
word-break: break-all;
}
@@ -1,3 +1,3 @@
.container {
max-width: 37rem;
max-width: 37rem;
}
@@ -1,18 +1,16 @@
@media (min-width: 992px) {
@media (width >= 992px) {
.active-wrapper {
position: relative;
.active {
padding: 0 0 17.5px 0;
position: absolute;
bottom: 0;
right: 0;
}
}
position: relative;
.active {
padding: 0 0 17.5px;
position: absolute;
bottom: 0;
right: 0;
}
}
}
.options-wrapper {
padding: 18px 0 0 0;
padding: 18px 0 0;
}
@@ -5,22 +5,27 @@
padding: 0;
padding-bottom: 50px;
min-height: 500px;
.header {
padding: 1%;
.header-title-group {
.client-card-title {
margin-top: 1.4rem;
color: white;
width: 90%;
p {
color: white;
}
}
}
}
.navigation-tabs {
overflow: auto;
}
i:hover {
cursor: pointer;
}
@@ -19,7 +19,7 @@ mat-list-item {
}
.grouping-name {
padding: 0px 10px;
padding: 0 10px;
}
.list-permission {
@@ -32,7 +32,7 @@ mat-list-item {
}
.inactive {
transition: all .2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.inactive:hover {
@@ -1,5 +1,5 @@
table {
.select-row {
cursor: pointer;
}
.select-row {
cursor: pointer;
}
}
@@ -1,3 +1,3 @@
table {
width: 100%;
width: 100%;
}
@@ -1,3 +1,3 @@
.container {
max-width: 37rem;
max-width: 37rem;
}
@@ -1,3 +1,3 @@
.container {
max-width: 37rem;
max-width: 37rem;
}
@@ -1,3 +1,3 @@
table {
width: 100%;
width: 100%;
}
@@ -1,3 +1,3 @@
.container {
max-width: 37rem;
max-width: 37rem;
}
@@ -1,3 +1,3 @@
table {
width: 100%;
width: 100%;
}
@@ -1,3 +1,3 @@
.container {
max-width: 37rem;
max-width: 37rem;
}
@@ -1,3 +1,3 @@
table {
width: 100%;
width: 100%;
}
@@ -1,16 +1,14 @@
@media (min-width: 992px) {
@media (width >= 992px) {
.multi-row-wrapper {
position: relative;
.multi-row {
padding: 0 0 17.5px 0;
padding: 0 0 17.5px;
position: absolute;
bottom: 0;
right: 0;
}
}
}
table {
@@ -1,4 +1,3 @@
table {
width: 100%;
width: 100%;
}
@@ -1,10 +1,9 @@
@media (min-width: 992px) {
@media (width >= 992px) {
.is-active-wrapper {
position: relative;
.is-active {
padding: 0 0 17.5px 0;
padding: 0 0 17.5px;
position: absolute;
bottom: 0;
right: 0;
@@ -1,10 +1,9 @@
@media (min-width: 992px) {
@media (width >= 992px) {
.is-active-wrapper {
position: relative;
.is-active {
padding: 0 0 17.5px 0;
padding: 0 0 17.5px;
position: absolute;
bottom: 0;
right: 0;
@@ -20,12 +20,12 @@
.suspend {
background: #32cd32;
color: #ffffff;
color: #fff;
}
.activate {
background: #f44366;
color: #ffffff;
color: #fff;
}
.space-top {
@@ -6,17 +6,21 @@
color: #fff;
background-color: #32cd32;
}
.mat-raised-button.mat-reject {
color: #fff;
background-color: #ffa726;
}
#search-button {
height: 2.5rem;
margin-top: 1rem;
}
.view-details{
.view-details {
cursor: pointer;
}
table {
tr.select-row:hover {
cursor: pointer;
@@ -5,22 +5,27 @@
padding: 0;
padding-bottom: 50px;
min-height: 500px;
.header {
padding: 1%;
.header-title-group {
.client-card-title {
margin-top: 1.4rem;
color: white;
width: 90%;
p {
color: white;
}
}
}
}
.navigation-tabs {
overflow: auto;
}
i:hover {
cursor: pointer;
}
@@ -1,9 +1,9 @@
.message {
height: auto;
font-weight: 500;
color: #f44366;
height: auto;
font-weight: 500;
color: #f44366;
}
.message.green {
color: #32cd32;
color: #32cd32;
}
@@ -1,47 +1,47 @@
.message {
height: auto;
font-weight: 500;
height: auto;
font-weight: 500;
}
tr {
padding-bottom: 10px;
padding-bottom: 10px;
}
span:not(.note){
font-size: .9rem;
line-height: 14px
span:not(.note) {
font-size: 0.9rem;
line-height: 14px;
}
.note-text {
height: 7.95rem;
overflow: hidden;
display: inline-block;
position: relative;
text-align: left;
height: 7.95rem;
overflow: hidden;
display: inline-block;
position: relative;
text-align: left;
}
.note-field:not(.show)::after {
content: '...';
padding-left: .5rem;
position: absolute;
right: 0;
bottom: 0;
content: '...';
padding-left: 0.5rem;
position: absolute;
right: 0;
bottom: 0;
}
.show {
overflow: visible;
text-overflow: none;
height: auto;
overflow: visible;
text-overflow: none;
height: auto;
}
button {
background: transparent;
font-size: small;
border: none;
padding: 0;
cursor: pointer;
background: transparent;
font-size: small;
border: none;
padding: 0;
cursor: pointer;
}
button:hover {
text-decoration: none;
text-decoration: none;
}
@@ -28,12 +28,12 @@ table {
.suspend {
background: #32cd32;
color: #ffffff;
color: #fff;
}
.activate {
background: #f44366;
color: #ffffff;
color: #fff;
}
.space-top {
@@ -43,4 +43,4 @@ table {
.cdk-column-displayName,
.mat-column-displayName {
flex: 0 0 5px !important;
}
}
@@ -1,32 +1,32 @@
table {
width: 100%;
.select-row:hover {
cursor: pointer;
}
width: 100%;
.select-row:hover {
cursor: pointer;
}
}
.success {
color: #32cd32;
color: #32cd32;
}
.fail {
color: #f44366;
color: #f44366;
}
.currently-running {
color: #32cd32;
color: #32cd32;
}
.not-currently-running {
color: #f44366;
color: #f44366;
}
.errorlog {
color: #ffa726;
color: #ffa726;
}
.suspend {
background: #ffa726;
color: #ffffff;
background: #ffa726;
color: #fff;
}
@@ -7,4 +7,4 @@
word-wrap: break-word;
}
}
}
}
@@ -17,9 +17,10 @@
.cdk-drag-preview {
box-sizing: border-box;
border-radius: 4px;
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
0 8px 10px 1px rgba(0, 0, 0, 0.14),
0 3px 14px 2px rgba(0, 0, 0, 0.12);
box-shadow:
0 5px 5px -3px rgb(0 0 0 / 20%),
0 8px 10px 1px rgb(0 0 0 / 14%),
0 3px 14px 2px rgb(0 0 0 / 12%);
}
.cdk-drag-placeholder {
@@ -1,15 +1,13 @@
@media (min-width: 992px) {
@media (width >= 992px) {
.user-report-wrapper {
position: relative;
.user-report {
padding: 0 0 17.5px 0;
padding: 0 0 17.5px;
position: absolute;
bottom: 0;
}
}
}
table {
@@ -1,15 +1,13 @@
@media (min-width: 992px) {
@media (width >= 992px) {
.user-report-wrapper {
position: relative;
.user-report {
padding: 0 0 17.5px 0;
padding: 0 0 17.5px;
position: absolute;
bottom: 0;
}
}
}
table {
@@ -2,15 +2,15 @@ table {
width: 100%;
.select-row:hover {
cursor: pointer;
cursor: pointer;
}
}
// TODO: CONFIGURE THESE CLASSES GLOBALLY
.true {
color: #32cd32;
}
.false {
color: #f44366;
}
@@ -1,10 +1,10 @@
.container {
max-width: 37rem;
.content {
div {
margin: 1rem 0;
word-wrap: break-word;
}
max-width: 37rem;
.content {
div {
margin: 1rem 0;
word-wrap: break-word;
}
}
}
@@ -1,5 +1,5 @@
.delete-wrapper {
padding: 17.5px 0 0 0;
padding: 17.5px 0 0;
}
h2 {
@@ -13,7 +13,7 @@ h4 {
}
.mat-card .mat-divider-horizontal.mat-divider-inset {
margin: 1em 0 2em 0;
margin: 1em 0 2em;
}
.cdk-drag-placeholder {
@@ -1,21 +1,21 @@
.delete-wrapper {
padding: 17.5px 0 0 0;
padding: 17.5px 0 0;
}
h2 {
font-weight: 500;
margin: 0;
font-weight: 500;
margin: 0;
}
h4 {
font-weight: 500;
margin: 0;
font-weight: 500;
margin: 0;
}
.mat-card .mat-divider-horizontal.mat-divider-inset {
margin: 1em 0 2em 0;
margin: 1em 0 2em;
}
.cdk-drag-placeholder {
opacity: 0;
}
opacity: 0;
}
@@ -1,36 +1,37 @@
.mat-card{
margin: 5px
.mat-card {
margin: 5px;
}
.survey_questions{
margin-bottom: 10px;
.survey_questions {
margin-bottom: 10px;
}
#key_text{
margin: 10px;
#key_text {
margin: 10px;
}
#description{
margin: 10px;
#description {
margin: 10px;
}
#questionaire{
margin: 10px;
#questionaire {
margin: 10px;
}
#response {
width: 100%;
width: 100%;
}
#response th,#response td{
text-align: left;
width: 100px;
#response th,
#response td {
text-align: left;
width: 100px;
}
#response tr:hover{
background-color: #ddd;
#response tr:hover {
background-color: #ddd;
}
mat-card-header{
margin-bottom: 12px;
mat-card-header {
margin-bottom: 12px;
}
@@ -19,7 +19,7 @@ mat-list-item {
}
.groupingName {
padding: 0px 10px;
padding: 0 10px;
}
.listPermission {
@@ -32,7 +32,7 @@ mat-list-item {
}
.inactive {
transition: all .2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.inactive:hover {