mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Bump stylelint from 13.13.1 to 14.2.0 (#7431)
* Bump stylelint from 13.13.1 to 14.2.0 Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.1 to 14.2.0. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/13.13.1...14.2.0) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * upgrade to newest stylelint * fix style issues * fix color function rules to match old Angular * rollback modern color func Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* stylelint-disable scss/no-global-function-names */
|
||||
@mixin adf-line-clamp($line-height: 1.25, $lines: 3) {
|
||||
position: relative;
|
||||
line-height: $line-height;
|
||||
@@ -5,6 +6,7 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
/* stylelint-disable */
|
||||
@supports (-webkit-line-clamp: 1) {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
@@ -16,6 +18,7 @@
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
}
|
||||
/* stylelint-enable */
|
||||
}
|
||||
|
||||
.adf-apps {
|
||||
@@ -39,12 +42,14 @@ $tile-themes: (
|
||||
theme-10: (bg: #cabb33, color: #baab23)
|
||||
);
|
||||
|
||||
.adf-app-list-spinner, .adf-app-list-empty {
|
||||
.adf-app-list-spinner,
|
||||
.adf-app-list-empty {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
height: 85vh;
|
||||
|
||||
.mat-spinner {
|
||||
margin: 0 auto;
|
||||
}
|
||||
@@ -59,10 +64,10 @@ $tile-themes: (
|
||||
box-sizing: border-box;
|
||||
|
||||
&-card {
|
||||
|
||||
@for $i from 1 through 10 {
|
||||
&.theme-#{$i} {
|
||||
$tile-theme: map-get($tile-themes, theme-#{$i});
|
||||
|
||||
background-color: map-get($tile-theme, bg);
|
||||
}
|
||||
}
|
||||
@@ -75,9 +80,10 @@ $tile-themes: (
|
||||
padding: 0 !important;
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
||||
0 3px 14px 2px rgba(0, 0, 0, 0.12),
|
||||
0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
||||
box-shadow:
|
||||
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
||||
0 3px 14px 2px rgba(0, 0, 0, 0.12),
|
||||
0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
||||
cursor: pointer;
|
||||
transform: scale(1.015);
|
||||
}
|
||||
@@ -97,6 +103,7 @@ $tile-themes: (
|
||||
@for $i from 1 through 10 {
|
||||
.theme-#{$i} & {
|
||||
$tile-theme: map-get($tile-themes, theme-#{$i});
|
||||
|
||||
color: map-get($tile-theme, color);
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-attach-widget-container {
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
@@ -51,7 +50,7 @@
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
padding: 0.4375em 0;
|
||||
border-top: 0.84375em solid transparent;
|
||||
border-top: 0.8438em solid transparent;
|
||||
}
|
||||
|
||||
&-attach-widget__icon {
|
||||
@@ -69,5 +68,4 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-attach-folder-widget-container {
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
@@ -21,11 +20,12 @@
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
padding: 0.4375em 0;
|
||||
border-top: 0.84375em solid transparent;
|
||||
border-top: 0.8438em solid transparent;
|
||||
}
|
||||
|
||||
&-attach-folder-files-row {
|
||||
padding-left: 8px;
|
||||
|
||||
.mat-line {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -35,5 +35,4 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -65,7 +65,7 @@
|
||||
|
||||
& .adf-invalid-color {
|
||||
color: var(--theme-warn-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-form-hide-button {
|
||||
@@ -93,7 +93,6 @@
|
||||
& .mat-button {
|
||||
height: 36px;
|
||||
border-radius: 5px;
|
||||
|
||||
}
|
||||
|
||||
& .mat-button-wrapper {
|
||||
|
@@ -19,9 +19,11 @@
|
||||
text-align: right;
|
||||
padding: 5px 0;
|
||||
margin-top: 5px;
|
||||
|
||||
> button {
|
||||
opacity: 0.54;
|
||||
font-weight: bolder;
|
||||
|
||||
&:hover {
|
||||
color: var(--theme-primary-color);
|
||||
}
|
||||
|
@@ -18,6 +18,7 @@
|
||||
height: 26px;
|
||||
opacity: 0.54;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: var(--theme-primary-color);
|
||||
}
|
||||
|
@@ -15,9 +15,6 @@
|
||||
.adf-list-wrap {
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
-moz-hyphens: auto;
|
||||
-webkit-hyphens: auto;
|
||||
-o-hyphens: auto;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
|
@@ -17,8 +17,7 @@
|
||||
padding-left: 20px;
|
||||
margin: 0 8px !important;
|
||||
}
|
||||
}
|
||||
&-filters__entry {
|
||||
|
||||
&.adf-active,
|
||||
&:hover {
|
||||
color: var(--theme-primary-color);
|
||||
|
@@ -61,7 +61,7 @@
|
||||
font-weight: 400;
|
||||
letter-spacing: 0;
|
||||
line-height: 18px;
|
||||
color: rgba(0, 0, 0, .54);
|
||||
color: rgba(0, 0, 0, 0.54);
|
||||
display: block;
|
||||
padding: 12px;
|
||||
}
|
||||
|
@@ -4,59 +4,73 @@
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 10px;
|
||||
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mat-form-field-label {
|
||||
color: var(--theme-colors-mat-grey-dark);
|
||||
}
|
||||
|
||||
.mat-content-actions {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.mat-button {
|
||||
text-transform: uppercase !important;
|
||||
}
|
||||
}
|
||||
|
||||
&-title {
|
||||
padding-bottom: 1.25em;
|
||||
}
|
||||
|
||||
&-process-input-container {
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&-process-input-autocomplete {
|
||||
display: flex;
|
||||
|
||||
button {
|
||||
position: absolute;
|
||||
right: -14px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
mat-spinner {
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&-start-form-container {
|
||||
.mat-card {
|
||||
box-shadow: none !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&-start-form-actions {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
&-start-process-definition-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
&-start-process-app-list {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.adf-start-process {
|
||||
width: 90%;
|
||||
|
@@ -1,6 +1,8 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
.adf-new-task-heading {
|
||||
padding-top: 12px;
|
||||
border-bottom: 1px solid var(--theme-fg-divider);
|
||||
|
||||
.mat-card-title {
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
@@ -26,13 +28,13 @@
|
||||
}
|
||||
|
||||
adf-start-task {
|
||||
|
||||
.mat-button.adf-uppercase {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
people-widget {
|
||||
width: 100%;
|
||||
|
||||
.mat-form-field-label-wrapper {
|
||||
top: -14px !important;
|
||||
}
|
||||
@@ -42,9 +44,11 @@ adf-start-task {
|
||||
.mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.adf-label {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.adf-error-text-container {
|
||||
margin-top: -10px;
|
||||
}
|
||||
@@ -83,11 +87,10 @@ adf-start-task {
|
||||
}
|
||||
|
||||
&-label {
|
||||
color: rgb(186, 186, 186);;
|
||||
color: rgb(186, 186, 186);
|
||||
}
|
||||
|
||||
&-invalid {
|
||||
|
||||
.mat-form-field-underline {
|
||||
background-color: #f44336 !important;
|
||||
}
|
||||
@@ -106,6 +109,7 @@ adf-start-task {
|
||||
|
||||
.adf-label {
|
||||
color: var(--theme-warn-color);
|
||||
|
||||
&::after {
|
||||
background-color: var(--theme-warn-color);
|
||||
}
|
||||
|
@@ -16,9 +16,6 @@
|
||||
margin: 8px 0 16px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
.adf-activiti-task-details__action-button {
|
||||
@@ -30,8 +27,7 @@
|
||||
width: auto;
|
||||
}
|
||||
|
||||
adf-task-header.adf-assign-edit-view ::ng-deep adf-card-view ::ng-deep
|
||||
.adf-property[data-automation-id='header-assignee'] {
|
||||
adf-task-header.adf-assign-edit-view ::ng-deep adf-card-view ::ng-deep .adf-property[data-automation-id='header-assignee'] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -47,9 +43,6 @@ adf-task-header.adf-assign-edit-view ::ng-deep adf-card-view ::ng-deep
|
||||
height: 23px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -17,8 +17,7 @@
|
||||
padding-left: 20px;
|
||||
margin: 0 8px !important;
|
||||
}
|
||||
}
|
||||
&-filters__entry {
|
||||
|
||||
&.adf-active,
|
||||
&:hover {
|
||||
color: var(--theme-primary-color);
|
||||
|
@@ -11,7 +11,6 @@
|
||||
& .mat-button {
|
||||
height: 36px;
|
||||
border-radius: 5px;
|
||||
|
||||
}
|
||||
|
||||
& .mat-button-wrapper {
|
||||
|
@@ -23,7 +23,6 @@
|
||||
&-card-container {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 959px) {
|
||||
|
@@ -3,20 +3,24 @@
|
||||
width: 60%;
|
||||
box-sizing: border-box;
|
||||
margin: 16px auto;
|
||||
|
||||
.mat-card-actions {
|
||||
border-top: solid 1px var(--theme-status-bar-bg-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-no-form-message-container {
|
||||
height: 256px;
|
||||
width: 100%;
|
||||
display: table;
|
||||
}
|
||||
|
||||
&-no-form-message-list {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
&-no-form-message {
|
||||
padding-bottom: 10px;
|
||||
font-size: var(--theme-display-1-font-size);
|
||||
@@ -26,19 +30,23 @@
|
||||
margin: auto;
|
||||
width: fit-content !important;
|
||||
}
|
||||
|
||||
&-no-form-submessage {
|
||||
font-size: var(--theme-subheading-2-font-size);
|
||||
opacity: 0.54;
|
||||
margin: auto;
|
||||
width: fit-content !important;
|
||||
}
|
||||
|
||||
&-no-form-mat-card-actions.mat-card-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
& .mat-button {
|
||||
text-transform: uppercase;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
& .mat-button-wrapper {
|
||||
opacity: 0.54;
|
||||
font-size: var(--theme-button-font-size);
|
||||
|
Reference in New Issue
Block a user