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 */
|
||||
}
|
||||
|
||||
$tile-themes: (
|
||||
@@ -40,24 +43,24 @@ $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);
|
||||
}
|
||||
}
|
||||
|
||||
outline: none;
|
||||
transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
|
||||
box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
min-height: 200px;
|
||||
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);
|
||||
}
|
||||
@@ -77,6 +80,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);
|
||||
}
|
||||
}
|
||||
|
@@ -14,6 +14,7 @@
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
height: 85vh;
|
||||
|
||||
.mat-spinner {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
@@ -95,8 +95,6 @@
|
||||
}
|
||||
|
||||
&-attach-files-row {
|
||||
|
||||
|
||||
div.mat-list-item-content {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
width: 100%;
|
||||
border: 1px solid var(--theme-border-color);
|
||||
box-shadow: none;
|
||||
|
||||
.adf-datatable-selected {
|
||||
padding: 6px;
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf-cloud {
|
||||
|
||||
&-upload-widget-container {
|
||||
margin-bottom: 15px;
|
||||
|
||||
@@ -12,7 +11,7 @@
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
padding: 0.4375em 0;
|
||||
border-top: 0.84375em solid transparent;
|
||||
border-top: 0.8438em solid transparent;
|
||||
}
|
||||
|
||||
&-upload-widget__icon {
|
||||
@@ -30,5 +29,4 @@
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,9 +1,9 @@
|
||||
|
||||
.adf {
|
||||
&-date-widget {
|
||||
.mat-form-field-suffix {
|
||||
top: 26px;
|
||||
}
|
||||
|
||||
.mat-form-field-label-wrapper {
|
||||
top: 20px;
|
||||
}
|
||||
|
@@ -30,7 +30,5 @@
|
||||
&-dropdown-required-message .adf-error-text-container {
|
||||
margin-top: 1px !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-radio-button-container {
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
@@ -16,5 +15,4 @@
|
||||
&-radio-button {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -17,9 +17,6 @@
|
||||
|
||||
&-error {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
&-error {
|
||||
position: absolute;
|
||||
height: 20px;
|
||||
|
||||
@@ -40,19 +37,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.mat-autocomplete-panel .mat-fab {
|
||||
background: var(--theme-primary-color);
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
font-weight: bolder;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.mat-autocomplete-panel .mat-fab {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.mat-autocomplete-panel .mat-fab .mat-button-wrapper {
|
||||
display: inline !important;
|
||||
.mat-button-wrapper {
|
||||
display: inline !important;
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-people-cloud {
|
||||
width: 100%;
|
||||
|
||||
@@ -35,9 +34,6 @@
|
||||
|
||||
&-start-task-cloud-error {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
&-start-task-cloud-error {
|
||||
position: absolute;
|
||||
height: 20px;
|
||||
|
||||
|
@@ -26,7 +26,6 @@
|
||||
}
|
||||
|
||||
.adf {
|
||||
|
||||
&-cloud-edit-process-filter-loading-margin {
|
||||
margin-left: calc((100% - 100px) / 2);
|
||||
margin-right: calc((100% - 100px) / 2);
|
||||
|
@@ -17,8 +17,7 @@
|
||||
padding-left: 20px;
|
||||
margin: 0 8px !important;
|
||||
}
|
||||
}
|
||||
&-filters__entry {
|
||||
|
||||
&.adf-active,
|
||||
&:hover {
|
||||
color: var(--theme-primary-color);
|
||||
|
@@ -1,6 +1,5 @@
|
||||
.adf {
|
||||
&-start-process {
|
||||
|
||||
mat-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -17,6 +16,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-title {
|
||||
padding-bottom: 1.25em;
|
||||
}
|
||||
|
@@ -47,7 +47,6 @@
|
||||
|
||||
adf-cloud-start-task {
|
||||
.adf {
|
||||
|
||||
&-cloud-start-task-footer {
|
||||
.mat-button {
|
||||
text-transform: uppercase !important;
|
||||
|
@@ -41,7 +41,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&:hover {
|
||||
color: var(--theme-primary-color);
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
}
|
||||
|
||||
.adf-group-cloud-filter {
|
||||
margin-left:15px;
|
||||
margin-left: 15px;
|
||||
flex: 1;
|
||||
width:100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
@@ -11,7 +11,6 @@
|
||||
& .mat-button {
|
||||
height: 36px;
|
||||
border-radius: 5px;
|
||||
|
||||
}
|
||||
|
||||
& .mat-button-wrapper {
|
||||
|
@@ -26,15 +26,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 959px) {
|
||||
@media screen and (max-width: 959px) {
|
||||
adf-card-view .adf-property-value {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.adf-task-header-loading {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
Reference in New Issue
Block a user