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:
@@ -32,7 +32,6 @@
|
||||
& .mat-form-field-wrapper {
|
||||
margin: 0 12px 0 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&-form-title {
|
||||
@@ -69,7 +68,7 @@
|
||||
|
||||
& .adf-invalid-color {
|
||||
color: var(--theme-warn-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-form-hide-button {
|
||||
@@ -97,7 +96,6 @@
|
||||
& .mat-button {
|
||||
height: 36px;
|
||||
border-radius: 5px;
|
||||
|
||||
}
|
||||
|
||||
& .mat-button-wrapper {
|
||||
|
@@ -7,14 +7,7 @@
|
||||
padding-bottom: 10px;
|
||||
cursor: default;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
/* Chrome/Safari/Opera */
|
||||
-moz-user-select: none;
|
||||
/* Firefox */
|
||||
-ms-user-select: none;
|
||||
/* IE/Edge */
|
||||
-webkit-touch-callout: none;
|
||||
/* iOS Safari */
|
||||
|
||||
&.adf-collapsible {
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -90,7 +83,6 @@ container-widget {
|
||||
}
|
||||
|
||||
.mat-focused {
|
||||
|
||||
label {
|
||||
transform: scaleX(1);
|
||||
transition: transform 150ms linear;
|
||||
@@ -111,5 +103,4 @@ container-widget {
|
||||
adf-form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -3,8 +3,8 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 1px solid rgba(117, 117, 117, 0.57);
|
||||
box-shadow: 1px 1px 2px #dddddd;
|
||||
background-color: #ffffff;
|
||||
box-shadow: 1px 1px 2px #ddd;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
&-content-widget-preview-text {
|
||||
|
@@ -3,9 +3,9 @@
|
||||
.mat-form-field-suffix {
|
||||
top: 26px;
|
||||
}
|
||||
|
||||
.mat-form-field-label-wrapper {
|
||||
top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
.mat-form-field-suffix {
|
||||
top: 26px;
|
||||
}
|
||||
|
||||
.mat-form-field-label-wrapper {
|
||||
top: 20px;
|
||||
}
|
||||
|
@@ -1,10 +1,11 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
@import '~@angular/material/theming';
|
||||
@import '../../../../styles/mixins';
|
||||
|
||||
$dynamic-table-font-size: 14px !default;
|
||||
$dynamic-table-header-font-size: 12px !default;
|
||||
$dynamic-table-header-sort-icon-size: 16px !default;
|
||||
$dynamic-table-hover-color: #eeeeee !default;
|
||||
$dynamic-table-hover-color: #eee !default;
|
||||
$dynamic-table-selection-color: #e0f7fa !default;
|
||||
$dynamic-table-row-height: 56px !default;
|
||||
$dynamic-table-column-spacing: 36px !default;
|
||||
@@ -19,7 +20,6 @@ dynamic-table-widget .adf-label {
|
||||
}
|
||||
|
||||
.adf {
|
||||
|
||||
&-dynamic-table-scrolling {
|
||||
overflow: auto;
|
||||
}
|
||||
@@ -43,14 +43,17 @@ dynamic-table-widget .adf-label {
|
||||
tr {
|
||||
position: relative;
|
||||
height: $dynamic-table-row-height;
|
||||
|
||||
@include material-animation-default(0.28s);
|
||||
|
||||
transition-property: background-color;
|
||||
|
||||
&:hover {
|
||||
background-color: $dynamic-table-hover-color;
|
||||
}
|
||||
|
||||
&.adf-is-selected, &.adf-is-selected:hover {
|
||||
&.adf-is-selected,
|
||||
&.adf-is-selected:hover {
|
||||
background-color: $dynamic-table-selection-color;
|
||||
}
|
||||
|
||||
@@ -61,7 +64,8 @@ dynamic-table-widget .adf-label {
|
||||
}
|
||||
}
|
||||
|
||||
td, th {
|
||||
td,
|
||||
th {
|
||||
padding: 0 $dynamic-table-column-padding 12px $dynamic-table-column-padding;
|
||||
text-align: center;
|
||||
|
||||
@@ -85,11 +89,13 @@ dynamic-table-widget .adf-label {
|
||||
box-sizing: border-box;
|
||||
|
||||
@include adf-no-select;
|
||||
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
th {
|
||||
@include adf-no-select;
|
||||
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
vertical-align: bottom;
|
||||
@@ -105,6 +111,7 @@ dynamic-table-widget .adf-label {
|
||||
|
||||
&.adf-sortable {
|
||||
@include adf-no-select;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -113,20 +120,25 @@ dynamic-table-widget .adf-label {
|
||||
&.adf-dynamic-table__header--sorted-asc,
|
||||
&.adf-dynamic-table__header--sorted-desc {
|
||||
color: var(--theme-text-fg-color);
|
||||
|
||||
&::before {
|
||||
@include typo-icon;
|
||||
|
||||
font-size: $dynamic-table-header-sort-icon-size;
|
||||
content: '\e5d8';
|
||||
margin-right: 5px;
|
||||
vertical-align: sub;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
|
||||
&::before {
|
||||
color: var(--theme-disabled-text-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.adf-dynamic-table__header--sorted-desc::before {
|
||||
content: '\e5db';
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
|
||||
.adf {
|
||||
&-text-editor {
|
||||
width: 100%;
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-checkbox-label {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
@@ -7,5 +6,4 @@
|
||||
line-height: 24px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
|
||||
.adf {
|
||||
&-text-editor {
|
||||
width: 100%;
|
||||
|
@@ -1,4 +1,3 @@
|
||||
.adf-error-text {
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
ul > li > form-field > .adf-focus {
|
||||
.adf-label {
|
||||
color: var(--theme-primary-color);
|
||||
@@ -5,7 +6,6 @@ ul > li > form-field > .adf-focus {
|
||||
}
|
||||
|
||||
.adf {
|
||||
|
||||
&-error-text-container {
|
||||
height: 20px;
|
||||
margin-top: -12px;
|
||||
@@ -27,31 +27,30 @@ ul > li > form-field > .adf-focus {
|
||||
}
|
||||
|
||||
&-label {
|
||||
color: rgb(186, 186, 186);;
|
||||
color: rgb(186, 186, 186);
|
||||
}
|
||||
|
||||
&-invalid {
|
||||
|
||||
.mat-form-field-underline {
|
||||
background-color: #f44336 !important;
|
||||
}
|
||||
|
||||
.mat-checkbox {
|
||||
color: var(--theme-warn-color);
|
||||
|
||||
.mat-checkbox-frame {
|
||||
border-color: var(--theme-warn-color);
|
||||
}
|
||||
}
|
||||
|
||||
.mat-select {
|
||||
|
||||
&-value {
|
||||
color: var(--theme-warn-color);
|
||||
}
|
||||
|
||||
&-arrow {
|
||||
color: var(--theme-warn-color);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.adf-file {
|
||||
@@ -68,6 +67,7 @@ ul > li > form-field > .adf-focus {
|
||||
|
||||
.adf-label {
|
||||
color: var(--theme-warn-color);
|
||||
|
||||
&::after {
|
||||
background-color: var(--theme-warn-color);
|
||||
}
|
||||
@@ -75,11 +75,12 @@ ul > li > form-field > .adf-focus {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* query for Microsoft IE 11*/
|
||||
/* query for Microsoft IE 11 */
|
||||
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
|
||||
adf-form-field {
|
||||
.mat-input-element, .mat-select, .mat-form-field {
|
||||
.mat-input-element,
|
||||
.mat-select,
|
||||
.mat-form-field {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-group-widget {
|
||||
width: 100%;
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
.adf-hyperlink-widget {
|
||||
padding: 0.4375em 0;
|
||||
border-top: 0.84375em solid transparent;
|
||||
border-top: 0.8438em solid transparent;
|
||||
|
||||
a {
|
||||
color: var(--theme-primary-color);
|
||||
|
@@ -1,7 +1,7 @@
|
||||
.adf {
|
||||
|
||||
&-multiline-text-widget {
|
||||
width: 100%;
|
||||
|
||||
.mat-form-field-label-wrapper {
|
||||
top: 20px;
|
||||
}
|
||||
@@ -26,5 +26,4 @@
|
||||
&-multiline-required-message {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
.adf {
|
||||
&-number-widget {
|
||||
width: 100%;
|
||||
|
||||
.mat-form-field-label-wrapper {
|
||||
top: 20px;
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-people-widget {
|
||||
width: 100%;
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-radio-button-container {
|
||||
margin-bottom: 15px;
|
||||
display: flex;
|
||||
@@ -16,5 +15,4 @@
|
||||
&-radio-button {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
.adf {
|
||||
&-text-widget {
|
||||
width: 100%;
|
||||
|
||||
.mat-form-field-label-wrapper {
|
||||
top: 20px;
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-typeahead-widget-container {
|
||||
position: relative;
|
||||
display: block;
|
||||
|
@@ -1,9 +1,8 @@
|
||||
.adf {
|
||||
|
||||
&-upload-folder-widget {
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
padding: 0.4375em 0;
|
||||
border-top: 0.84375em solid transparent;
|
||||
border-top: 0.8438em solid transparent;
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user