mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* [ADF-1599] fix design issues Search Term Highlight text to be orange (primary color) Main action button text label to be orange (primary color) Main action button text to be in Uppercase Main action button to relate to the action i.e. MOVE or COPY Dialog title: Name of item to move/copy should be in 'quotes' * [ADF-1599] fix Dropdown Placeholder text from 'Site List' to 'Select Location' * [ADF-1599] fix Dropdown Placeholder text from 'Site List' to 'Select Location' * fix 'Select Location' width and bottom margin * [ADF-1599] update document picker to match design * [ADF-1599] fix failing tests * [ADF-1599] update the unit tests * [ADF-1599] use only colors from $theme on component scss file * [ADF-1599] change needed after resolving conflict on merge
141 lines
3.7 KiB
SCSS
141 lines
3.7 KiB
SCSS
@mixin adf-content-node-selector-theme($theme) {
|
|
$primary: map-get($theme, primary);
|
|
$foreground: map-get($theme, foreground);
|
|
$background: map-get($theme, background);
|
|
|
|
.adf-content-node-selector-dialog {
|
|
|
|
.mat-dialog-container {
|
|
padding: 0;
|
|
}
|
|
|
|
.adf-content-node-selector {
|
|
&-title,
|
|
&-content,
|
|
&-actions {
|
|
padding: 16px;
|
|
margin: 0;
|
|
}
|
|
|
|
&-title::first-letter {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
&-content {
|
|
padding-top: 0;
|
|
|
|
&-input {
|
|
width: 100%;
|
|
|
|
&-icon {
|
|
color: mat-color($foreground, disabled-button);
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
color: mat-color($foreground, base);
|
|
}
|
|
}
|
|
}
|
|
|
|
.mat-input-underline .mat-input-ripple {
|
|
height: 1px;
|
|
transition: none;
|
|
}
|
|
|
|
.adf-site-dropdown-container {
|
|
.mat-form-field {
|
|
display: block;
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
|
|
.adf-site-dropdown-list-element {
|
|
width: 100%;
|
|
margin-bottom: 0;
|
|
|
|
.mat-select-trigger {
|
|
font-size: 14px;
|
|
}
|
|
|
|
}
|
|
|
|
.adf-toolbar .mat-toolbar {
|
|
border-bottom-width: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
&-list {
|
|
height: 200px;
|
|
overflow: auto;
|
|
border: 1px solid mat-color($foreground, base, 0.07);
|
|
|
|
.adf-highlight {
|
|
color: mat-color($primary);
|
|
}
|
|
|
|
.adf-data-table {
|
|
border: none;
|
|
|
|
.adf-no-content-container {
|
|
text-align: center;
|
|
}
|
|
|
|
thead {
|
|
display: none;
|
|
}
|
|
|
|
.adf-data-table-cell {
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
border-top: none;
|
|
height: 30px;
|
|
}
|
|
|
|
tbody tr {
|
|
height: auto !important;
|
|
|
|
&:last-child {
|
|
.adf-data-table-cell {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&-actions {
|
|
padding: 8px;
|
|
background-color: mat-color($background, background);
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
color: mat-color($foreground, secondary-text);
|
|
|
|
button {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
&-cancel {
|
|
font-weight: normal;
|
|
}
|
|
|
|
&-choose {
|
|
font-weight: normal;
|
|
|
|
&[disabled] {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
&:enabled {
|
|
color: mat-color($primary);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|