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,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-aspect-list-spinner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -8,7 +7,6 @@
|
||||
}
|
||||
|
||||
&-aspect-list-container {
|
||||
|
||||
padding-top: 3px;
|
||||
height: 400px;
|
||||
overflow: auto;
|
||||
@@ -26,7 +24,6 @@
|
||||
}
|
||||
|
||||
.adf-accordion-aspect-list {
|
||||
|
||||
.mat-expansion-panel-spacing {
|
||||
margin: 0;
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
$dropdownHorizontalOffset: 30px;
|
||||
$dropdown-horizontal-offset: 30px;
|
||||
|
||||
.adf {
|
||||
&-dropdown-breadcrumb {
|
||||
@@ -81,20 +81,20 @@ $dropdownHorizontalOffset: 30px;
|
||||
|
||||
[dir='ltr'] .adf {
|
||||
&-dropdown-breadcrumb-path {
|
||||
margin-left: -$dropdownHorizontalOffset;
|
||||
margin-left: -$dropdown-horizontal-offset;
|
||||
}
|
||||
|
||||
&-current-folder {
|
||||
margin-left: $dropdownHorizontalOffset;
|
||||
margin-left: $dropdown-horizontal-offset;
|
||||
}
|
||||
}
|
||||
|
||||
[dir='rtl'] .adf {
|
||||
&-dropdown-breadcrumb-path {
|
||||
margin-right: -$dropdownHorizontalOffset;
|
||||
margin-right: -$dropdown-horizontal-offset;
|
||||
}
|
||||
|
||||
&-current-folder {
|
||||
margin-right: $dropdownHorizontalOffset;
|
||||
margin-right: $dropdown-horizontal-offset;
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf-content-metadata-card {
|
||||
|
||||
.mat-card {
|
||||
padding: 0;
|
||||
|
||||
|
@@ -1,3 +1,4 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
$content-node-selector-thumbnail-width: 35px !default;
|
||||
|
||||
.adf-search-results-label {
|
||||
@@ -22,7 +23,6 @@ $content-node-selector-thumbnail-width: 35px !default;
|
||||
}
|
||||
|
||||
.adf-content-node-selector {
|
||||
|
||||
&-search-panel-container {
|
||||
display: flex;
|
||||
}
|
||||
@@ -66,12 +66,12 @@ $content-node-selector-thumbnail-width: 35px !default;
|
||||
.mat-select-trigger {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&-breadcrumb {
|
||||
.adf-dropdown-breadcrumb-trigger {
|
||||
outline: none;
|
||||
|
||||
.mat-icon {
|
||||
color: var(--adf-node-selector-base-color);
|
||||
|
||||
@@ -145,8 +145,7 @@ $content-node-selector-thumbnail-width: 35px !default;
|
||||
.adf-datatable-body .adf-datatable-row {
|
||||
min-height: 40px;
|
||||
|
||||
@media screen and (-ms-high-contrast: active),
|
||||
screen and (-ms-high-contrast: none) {
|
||||
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
|
@@ -32,9 +32,10 @@ adf-content-node-selector {
|
||||
adf-upload-drag-area {
|
||||
adf-empty-list {
|
||||
.adf-empty-folder-drag-drop {
|
||||
min-height:46px;
|
||||
min-height: 46px;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.adf-empty-folder-image {
|
||||
height: 100px;
|
||||
width: 460px;
|
||||
@@ -92,7 +93,6 @@ adf-content-node-selector {
|
||||
}
|
||||
|
||||
.adf-choose-action {
|
||||
|
||||
&[disabled] {
|
||||
color: var(--theme-secondary-text-color);
|
||||
}
|
||||
|
@@ -1,5 +1,6 @@
|
||||
.adf-name-location-cell {
|
||||
display: grid;
|
||||
|
||||
&-location {
|
||||
color: var(--theme-text-color);
|
||||
font-size: 12px;
|
||||
|
@@ -3,7 +3,6 @@
|
||||
}
|
||||
|
||||
.adf-share-link-dialog {
|
||||
|
||||
.adf-share-link {
|
||||
&__dialog-content {
|
||||
display: flex;
|
||||
@@ -34,6 +33,7 @@
|
||||
&--row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
/* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf {
|
||||
|
||||
&-content-type-dialog {
|
||||
.mat-expansion-panel {
|
||||
margin-bottom: 10px;
|
||||
@@ -28,5 +27,4 @@
|
||||
&-content-type-dialog-apply-button {
|
||||
color: var(--theme-primary-color);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,4 +1,3 @@
|
||||
|
||||
.adf-fill-remaining-space {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
@@ -33,4 +32,3 @@
|
||||
.adf-dialog-action-button:disabled > span {
|
||||
color: var(--theme-text-color);
|
||||
}
|
||||
|
||||
|
@@ -126,7 +126,6 @@
|
||||
}
|
||||
|
||||
.adf-empty-folder {
|
||||
|
||||
&-this-space-is-empty {
|
||||
height: 32px;
|
||||
font-size: 24px;
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf-add-permission-dialog {
|
||||
|
||||
.mat-dialog-title {
|
||||
margin-left: 24px;
|
||||
margin-right: 24px;
|
||||
@@ -45,7 +44,6 @@
|
||||
}
|
||||
|
||||
.adf-choose-action {
|
||||
|
||||
&[disabled] {
|
||||
color: var(--theme-secondary-text-color);
|
||||
}
|
||||
@@ -59,6 +57,7 @@
|
||||
.adf {
|
||||
&-search-user-button {
|
||||
width: 100%;
|
||||
|
||||
.mat-button-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@@ -1,7 +1,6 @@
|
||||
$search-result-height: calc(100% - 75px);
|
||||
|
||||
.adf {
|
||||
|
||||
&-permission-result-list {
|
||||
display: flex;
|
||||
height: $search-result-height;
|
||||
@@ -68,6 +67,7 @@ $search-result-height: calc(100% - 75px);
|
||||
&[disabled] {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&:enabled {
|
||||
color: var(--theme-primary-color);
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
&[disabled] {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&:enabled {
|
||||
color: var(--theme-primary-color);
|
||||
}
|
||||
|
@@ -50,6 +50,7 @@
|
||||
&-permission-role-column-header {
|
||||
position: relative !important;
|
||||
height: 40px;
|
||||
|
||||
.mat-form-field-infix {
|
||||
border: none;
|
||||
}
|
||||
@@ -88,7 +89,6 @@
|
||||
.adf-pop-over-card {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 8px 9px -5px var(--theme-fg-divider),
|
||||
0 15px 22px 2px var(--theme-fg-divider);
|
||||
box-shadow: 0 8px 9px -5px var(--theme-fg-divider), 0 15px 22px 2px var(--theme-fg-divider);
|
||||
}
|
||||
}
|
||||
|
@@ -26,6 +26,7 @@
|
||||
|
||||
&-people-select-icon {
|
||||
margin: 0 !important;
|
||||
|
||||
svg {
|
||||
fill: var(--theme-accent-color);
|
||||
width: 40px;
|
||||
|
@@ -4,7 +4,6 @@ $mat-menu-overlay-min-width: 112px !default; // 56 * 2
|
||||
$mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
||||
|
||||
.adf {
|
||||
|
||||
&-search-result-autocomplete {
|
||||
@include mat-overridable-elevation(2);
|
||||
|
||||
@@ -12,9 +11,8 @@ $mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
||||
max-width: $mat-menu-overlay-max-width;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
transform-origin: top left;
|
||||
transform:translateX(-40px);
|
||||
transform: translateX(-40px);
|
||||
position: absolute;
|
||||
max-height: 400px;
|
||||
margin-left: 45px;
|
||||
@@ -33,7 +31,6 @@ $mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
||||
}
|
||||
|
||||
&-search-autocomplete-item {
|
||||
|
||||
&:hover {
|
||||
background-color: var(--theme-bg-hover-color);
|
||||
opacity: 1;
|
||||
|
@@ -1,3 +1,4 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
.adf-search-filter-facet {
|
||||
.adf-checklist {
|
||||
display: flex;
|
||||
@@ -43,6 +44,7 @@
|
||||
.adf-facet-search-icon {
|
||||
width: 27px;
|
||||
margin-top: -4px;
|
||||
|
||||
.mat-icon {
|
||||
font-size: 15px;
|
||||
}
|
||||
@@ -83,5 +85,4 @@
|
||||
.mat-radio-label {
|
||||
color: var(--theme-text-color);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,10 +1,9 @@
|
||||
@import '~@angular/material/theming';
|
||||
|
||||
.adf-search-filter-chip {
|
||||
|
||||
&.mat-chip {
|
||||
border: 2px solid transparent;
|
||||
transition : border 500ms ease-in-out;
|
||||
transition: border 500ms ease-in-out;
|
||||
max-width: 320px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
@@ -53,6 +52,7 @@
|
||||
&-menu + * .cdk-overlay-pane .mat-menu-panel {
|
||||
min-width: 320px;
|
||||
border-radius: 12px;
|
||||
|
||||
@include mat-elevation(2);
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.adf-filter {
|
||||
|
||||
&-button {
|
||||
margin-left: -7px !important;
|
||||
|
||||
|
@@ -38,6 +38,7 @@
|
||||
|
||||
&-menu + * .mat-menu-panel {
|
||||
@include mat-elevation(2);
|
||||
|
||||
border-radius: 6px;
|
||||
|
||||
.mat-menu-content {
|
||||
|
@@ -17,6 +17,7 @@
|
||||
.adf-like-select {
|
||||
cursor: pointer;
|
||||
color: #2196f3;
|
||||
|
||||
&:hover {
|
||||
color: #808080;
|
||||
}
|
||||
@@ -25,9 +26,9 @@
|
||||
.adf-like-grey {
|
||||
cursor: pointer;
|
||||
color: #808080;
|
||||
|
||||
&:hover {
|
||||
color: #2196f3;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -2,15 +2,15 @@ $adf-rated-star-color: #ffe944;
|
||||
$adf-average-star-color: #808080;
|
||||
|
||||
.adf-rating-container {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
|
||||
.adf-rating-counter-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 6px;
|
||||
}
|
||||
.adf-rating-counter-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
.adf-rating-left {
|
||||
padding: 0 6px;
|
||||
@@ -36,14 +36,13 @@ $adf-average-star-color: #808080;
|
||||
color: $adf-rated-star-color;
|
||||
}
|
||||
|
||||
.adf-grey-star, .adf-average-star {
|
||||
.adf-grey-star,
|
||||
.adf-average-star {
|
||||
color: $adf-average-star-color !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[dir='rtl'] .adf-rating-container {
|
||||
|
||||
.adf-rating-star {
|
||||
transform: rotate(145deg);
|
||||
}
|
||||
|
@@ -1,10 +1,11 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
.adf-upload-dialog {
|
||||
background: var(--theme-dialog-bg-color);
|
||||
color: var(--theme-text-color);
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
width: 40%;
|
||||
box-shadow: 1px 5px 15px #888888;
|
||||
box-shadow: 1px 5px 15px #888;
|
||||
z-index: 999;
|
||||
|
||||
&--padding {
|
||||
@@ -77,5 +78,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[adfUploadDialogLeft] .adf-upload-dialog { left: 25px; }
|
||||
[adfUploadDialogRight] .adf-upload-dialog { right: 25px;}
|
||||
[adfUploadDialogRight] .adf-upload-dialog { right: 25px; }
|
||||
|
@@ -1,4 +1,4 @@
|
||||
$file-uploading-row-hover-color: #eeeeee !default;
|
||||
$file-uploading-row-hover-color: #eee !default;
|
||||
|
||||
adf-file-uploading-list-row:not(:first-child) {
|
||||
display: block;
|
||||
@@ -23,7 +23,9 @@ adf-file-uploading-list-row:not(:first-child) {
|
||||
padding: 0 1em 0 0.5em;
|
||||
}
|
||||
|
||||
&__group, &__block, &__file-version {
|
||||
&__group,
|
||||
&__block,
|
||||
&__file-version {
|
||||
min-width: 100px;
|
||||
display: flex !important;
|
||||
justify-content: flex-end;
|
||||
@@ -34,7 +36,7 @@ adf-file-uploading-list-row:not(:first-child) {
|
||||
|
||||
&__group--toggle {
|
||||
cursor: pointer;
|
||||
display:flex;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
:host {
|
||||
display:flex;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
@@ -1,10 +1,11 @@
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
$adf-upload-dragging-color: #2196f3 !default;
|
||||
$adf-upload-dragging-border: 1px dashed #2196f3 !default;
|
||||
$adf-upload-dragging-background: #e3f2fd !default;
|
||||
$adf-upload-dragging-level1-color: #2196f3 !default;
|
||||
$adf-upload-dragging-level1-border: 1px dashed #2196f3 !default;
|
||||
|
||||
@mixin file-draggable__input-focus($text-color, $border) {
|
||||
@mixin file-draggable-input-focus($text-color, $border) {
|
||||
color: $text-color;
|
||||
border: $border !important;
|
||||
margin-left: 0 !important;
|
||||
@@ -30,12 +31,13 @@ adf-upload-drag-area {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.adf-file-draggable__input-focus {
|
||||
.adf-file-draggable-input-focus {
|
||||
color: $adf-upload-dragging-color;
|
||||
border: $adf-upload-dragging-border;
|
||||
|
||||
adf-document-list {
|
||||
background: $adf-upload-dragging-background;
|
||||
|
||||
adf-datatable > table {
|
||||
background: inherit;
|
||||
}
|
||||
@@ -63,11 +65,8 @@ adf-upload-drag-area {
|
||||
&:first-child {
|
||||
& > div {
|
||||
adf-upload-drag-area {
|
||||
.adf-file-draggable__input-focus {
|
||||
@include file-draggable__input-focus(
|
||||
$adf-upload-dragging-color,
|
||||
$adf-upload-dragging-border
|
||||
);
|
||||
.adf-file-draggable-input-focus {
|
||||
@include file-draggable-input-focus($adf-upload-dragging-color, $adf-upload-dragging-border);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -77,17 +76,14 @@ adf-upload-drag-area {
|
||||
text-align: inherit !important;
|
||||
}
|
||||
|
||||
.adf-file-draggable__input-focus {
|
||||
.adf-file-draggable-input-focus {
|
||||
color: $adf-upload-dragging-level1-color !important;
|
||||
border: $adf-upload-dragging-level1-border !important;
|
||||
margin-left: 0 !important;
|
||||
|
||||
adf-upload-drag-area {
|
||||
& > div {
|
||||
@include file-draggable__input-focus(
|
||||
$adf-upload-dragging-color,
|
||||
$adf-upload-dragging-border
|
||||
);
|
||||
@include file-draggable-input-focus($adf-upload-dragging-color, $adf-upload-dragging-border);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -5,13 +5,15 @@
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.adf-version-current, .adf-version-new {
|
||||
.adf-version-current,
|
||||
.adf-version-new {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.adf-version-current img, .adf-version-new img {
|
||||
.adf-version-current img,
|
||||
.adf-version-new img {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
@@ -19,7 +21,8 @@
|
||||
font-size: var(--theme-display-4-font-size);
|
||||
}
|
||||
|
||||
.adf-version-comparison-node-name, .adf-version-comparison-file-name {
|
||||
.adf-version-comparison-node-name,
|
||||
.adf-version-comparison-file-name {
|
||||
width: 120px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
.adf-version-list {
|
||||
.mat-list-item-content {
|
||||
border-bottom:1px solid #d8d8d8;
|
||||
border-bottom: 1px solid #d8d8d8;
|
||||
}
|
||||
|
||||
&-item-version {
|
||||
|
@@ -28,8 +28,7 @@ adf-version-manager {
|
||||
padding: 16px 0;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
|
||||
float: left;
|
||||
float: left !important;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -50,7 +49,3 @@ adf-version-manager {
|
||||
width: 100% !important;
|
||||
float: left !important;
|
||||
}
|
||||
|
||||
.adf-new-version-uploader-container {
|
||||
float: left !important;
|
||||
}
|
||||
|
Reference in New Issue
Block a user