Fixed lint files and exclude some needing migration

This commit is contained in:
Vito Albano 2024-02-10 02:30:31 +00:00 committed by VitoAlbano
parent c0fcd5c970
commit 8ac701dad4
5 changed files with 101 additions and 101 deletions

View File

@ -48,69 +48,85 @@ h2.adf-search-results-label {
}
.adf-site-dropdown-container {
display: block;
margin-bottom: 15px;
}
display: block;
margin-bottom: 15px;
}
}
.adf-site-dropdown-list-element {
width: 100%;
margin-bottom: 0;
.adf-site-dropdown-list-element {
width: 100%;
margin-bottom: 0;
.adf-sites-dropdown-select-trigger {
font-size: var(--theme-body-1-font-size);
}
.adf-sites-dropdown-select-trigger {
font-size: var(--theme-body-1-font-size);
}
}
&-breadcrumb {
.adf-dropdown-breadcrumb-trigger {
outline: none;
&-breadcrumb {
.adf-dropdown-breadcrumb-trigger {
outline: none;
.adf-dropdown-breadcrumb-icon {
color: var(--adf-theme-foreground-base-color-045);
&:hover {
color: var(--adf-theme-foreground-base-color-065);
}
}
&:focus .adf-dropdown-breadcrumb-icon {
color: var(--theme-primary-color);
}
}
.adf-dropdown-breadcrumb-item-chevron {
.adf-dropdown-breadcrumb-icon {
color: var(--adf-theme-foreground-base-color-045);
&:hover {
color: var(--adf-theme-foreground-base-color-065);
}
}
&:focus .adf-dropdown-breadcrumb-icon {
color: var(--theme-primary-color);
}
}
&-list {
height: 40vh;
overflow: auto;
border: 1px solid var(--adf-theme-foreground-text-color-007);
border-top: 0;
position: relative;
.adf-dropdown-breadcrumb-item-chevron {
color: var(--adf-theme-foreground-base-color-045);
}
}
&-empty + adf-infinite-pagination {
position: absolute;
bottom: 0;
&-list {
height: 40vh;
overflow: auto;
border: 1px solid var(--adf-theme-foreground-text-color-007);
border-top: 0;
position: relative;
&-empty + adf-infinite-pagination {
position: absolute;
bottom: 0;
width: 100%;
}
.adf-highlight {
color: var(--theme-primary-color);
}
.adf-datatable-list {
border: none;
.adf-datatable-selected {
height: 100%;
width: 100%;
}
.adf-highlight {
color: var(--theme-primary-color);
.adf-datatable-selected > svg {
fill: var(--theme-primary-color);
}
.adf-datatable-list {
border: none;
.adf-no-content-container {
text-align: center;
border: none !important;
}
.adf-datatable-selected {
height: 100%;
width: 100%;
.adf-datatable-cell {
&--image {
min-width: $content-node-selector-thumbnail-width;
width: $content-node-selector-thumbnail-width;
max-width: $content-node-selector-thumbnail-max-width;
}
.adf-datatable-selected > svg {
fill: var(--theme-primary-color);
&:nth-child(2) {
flex: 1 0 95px;
}
.adf-no-content-container.adf-datatable-cell {
@ -118,79 +134,60 @@ h2.adf-search-results-label {
border: none;
}
.adf-datatable-cell {
&--image {
min-width: $content-node-selector-thumbnail-width;
width: $content-node-selector-thumbnail-width;
max-width: $content-node-selector-thumbnail-max-width;
&.adf-content-selector-visibility-cell {
flex: 0 1 auto;
min-width: 1px;
.adf-datatable-cell-value {
padding: 0;
}
}
}
&:nth-child(2) {
flex: 1 0 95px;
}
.adf-datatable-body .adf-datatable-row {
min-height: 40px;
.adf-name-location-cell-location {
display: none;
}
@media screen and (-ms-high-contrast: active),
screen and (-ms-high-contrast: none) {
padding-top: 15px;
}
&.adf-content-selector-visibility-cell {
flex: 0 1 auto;
min-width: 1px;
.adf-datatable-cell-value {
padding: 0;
}
&:first-child {
.adf-datatable-cell {
border-top: none;
}
}
.adf-datatable-body .adf-datatable-row {
min-height: 40px;
&:last-child {
.adf-datatable-cell {
border-bottom: none;
}
}
}
}
&-searchLayout {
.adf-datatable-list .adf-datatable-row {
min-height: 65px !important;
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
padding-top: 15px;
}
&:first-child {
.adf-datatable-cell {
border-top: none;
}
.adf-name-location-cell-name {
padding: 5px 10px 2px;
}
&:last-child {
.adf-datatable-cell {
border-bottom: none;
}
&.adf-content-selector-modified-cell {
display: none;
}
}
}
&-searchLayout {
.adf-datatable-list .adf-datatable-body .adf-datatable-row {
min-height: 65px;
.adf-datatable-cell {
.adf-name-location-cell-location {
padding: 0 10px;
display: block;
}
.adf-name-location-cell-name {
padding: 5px 10px 2px;
}
&.adf-content-selector-modified-cell {
display: none;
}
&.adf-content-selector-modifier-cell {
display: none;
}
&.adf-content-selector-visibility-cell {
display: none;
}
&.adf-content-selector-visibility-cell {
display: none;
}
}
}
}
}
}

View File

@ -1,3 +1,4 @@
/* stylelint-disable selector-class-pattern */
adf-search-chip-autocomplete-input {
.adf-chip-list {
width: 100%;

View File

@ -1,3 +1,4 @@
/* stylelint-disable selector-class-pattern */
.adf-version-list {
&-viewport {
height: 100%;

View File

@ -2,18 +2,17 @@
$adf-inplace-input-padding: 7px;
.adf-inplace-input-container {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-underline {
display: none;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-mdc-form-field-infix {
display: flex;
border-top: 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-label {
padding: $adf-inplace-input-padding;

View File

@ -1,4 +1,6 @@
/* stylelint-disable selector-class-pattern */
.adf {
// eslint-disable-selector-class-pattern
&-date-widget {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-mdc-form-field-text-suffix {