mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Fixed lint files and exclude some needing migration
This commit is contained in:
parent
93c475a5cc
commit
a39d71389c
@ -48,69 +48,85 @@ h2.adf-search-results-label {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.adf-site-dropdown-container {
|
.adf-site-dropdown-container {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.adf-site-dropdown-list-element {
|
.adf-site-dropdown-list-element {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
.adf-sites-dropdown-select-trigger {
|
.adf-sites-dropdown-select-trigger {
|
||||||
font-size: var(--theme-body-1-font-size);
|
font-size: var(--theme-body-1-font-size);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&-breadcrumb {
|
&-breadcrumb {
|
||||||
.adf-dropdown-breadcrumb-trigger {
|
.adf-dropdown-breadcrumb-trigger {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
||||||
.adf-dropdown-breadcrumb-icon {
|
.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 {
|
|
||||||
color: var(--adf-theme-foreground-base-color-045);
|
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 {
|
.adf-dropdown-breadcrumb-item-chevron {
|
||||||
height: 40vh;
|
color: var(--adf-theme-foreground-base-color-045);
|
||||||
overflow: auto;
|
}
|
||||||
border: 1px solid var(--adf-theme-foreground-text-color-007);
|
}
|
||||||
border-top: 0;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
&-empty + adf-infinite-pagination {
|
&-list {
|
||||||
position: absolute;
|
height: 40vh;
|
||||||
bottom: 0;
|
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%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-highlight {
|
.adf-datatable-selected > svg {
|
||||||
color: var(--theme-primary-color);
|
fill: var(--theme-primary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-datatable-list {
|
.adf-no-content-container {
|
||||||
border: none;
|
text-align: center;
|
||||||
|
border: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.adf-datatable-selected {
|
.adf-datatable-cell {
|
||||||
height: 100%;
|
&--image {
|
||||||
width: 100%;
|
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 {
|
&:nth-child(2) {
|
||||||
fill: var(--theme-primary-color);
|
flex: 1 0 95px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-no-content-container.adf-datatable-cell {
|
.adf-no-content-container.adf-datatable-cell {
|
||||||
@ -118,80 +134,62 @@ h2.adf-search-results-label {
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-datatable-cell {
|
&.adf-content-selector-visibility-cell {
|
||||||
&--image {
|
flex: 0 1 auto;
|
||||||
min-width: $content-node-selector-thumbnail-width;
|
min-width: 1px;
|
||||||
width: $content-node-selector-thumbnail-width;
|
|
||||||
max-width: $content-node-selector-thumbnail-max-width;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(2) {
|
.adf-datatable-cell-value {
|
||||||
flex: 1 0 95px;
|
padding: 0;
|
||||||
}
|
|
||||||
|
|
||||||
.adf-name-location-cell-location {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.adf-content-selector-visibility-cell {
|
|
||||||
flex: 0 1 auto;
|
|
||||||
min-width: 1px;
|
|
||||||
|
|
||||||
.adf-datatable-cell-value {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.adf-datatable-body .adf-datatable-row {
|
|
||||||
min-height: 40px;
|
|
||||||
|
|
||||||
@media screen and (-ms-high-contrast: active),
|
|
||||||
screen and (-ms-high-contrast: none) {
|
|
||||||
padding-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
.adf-datatable-cell {
|
|
||||||
border-top: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
.adf-datatable-cell {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-searchLayout {
|
.adf-datatable-body .adf-datatable-row {
|
||||||
.adf-datatable-list .adf-datatable-body .adf-datatable-row {
|
min-height: 40px;
|
||||||
min-height: 65px;
|
|
||||||
|
|
||||||
|
@media screen and (-ms-high-contrast: active),
|
||||||
|
screen and (-ms-high-contrast: none) {
|
||||||
|
padding-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
.adf-datatable-cell {
|
.adf-datatable-cell {
|
||||||
.adf-name-location-cell-location {
|
border-top: none;
|
||||||
padding: 0 10px;
|
}
|
||||||
display: block;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.adf-name-location-cell-name {
|
&:last-child {
|
||||||
padding: 5px 10px 2px;
|
.adf-datatable-cell {
|
||||||
}
|
border-bottom: none;
|
||||||
|
|
||||||
&.adf-content-selector-modified-cell {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.adf-content-selector-modifier-cell {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.adf-content-selector-visibility-cell {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-searchLayout {
|
||||||
|
.adf-datatable-list .adf-datatable-row {
|
||||||
|
min-height: 65px !important;
|
||||||
|
|
||||||
|
.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-visibility-cell {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/* stylelint-disable selector-class-pattern */
|
||||||
adf-search-chip-autocomplete-input {
|
adf-search-chip-autocomplete-input {
|
||||||
.adf-chip-list {
|
.adf-chip-list {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/* stylelint-disable selector-class-pattern */
|
||||||
.adf-version-list {
|
.adf-version-list {
|
||||||
&-viewport {
|
&-viewport {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -2,18 +2,17 @@
|
|||||||
$adf-inplace-input-padding: 7px;
|
$adf-inplace-input-padding: 7px;
|
||||||
|
|
||||||
.adf-inplace-input-container {
|
.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. */
|
/* 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 {
|
.mat-form-field-underline {
|
||||||
display: none;
|
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. */
|
/* 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 {
|
.mat-mdc-form-field-infix {
|
||||||
display: flex;
|
display: flex;
|
||||||
border-top: 0;
|
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. */
|
/* 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 {
|
.mat-form-field-label {
|
||||||
padding: $adf-inplace-input-padding;
|
padding: $adf-inplace-input-padding;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
|
/* stylelint-disable selector-class-pattern */
|
||||||
.adf {
|
.adf {
|
||||||
|
// eslint-disable-selector-class-pattern
|
||||||
&-date-widget {
|
&-date-widget {
|
||||||
/* 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-text-suffix {
|
.mat-mdc-form-field-text-suffix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user