mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
* [ADF-4122] Add sticky header config to datatable and refactor styles * [ADF-4122] Fix core unit tests * [ADF-4122] Commit requested changes * [ADF-4122] Fix e2e tests * Update docs/core/datatable.component.md Co-Authored-By: davidcanonieto <david.cano@alfresco.com>
136 lines
3.4 KiB
SCSS
136 lines
3.4 KiB
SCSS
@mixin adf-process-service-component-theme($theme) {
|
|
.adf-no-form-container {
|
|
text-align: center;
|
|
font-weight: 600;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.adf-grid {
|
|
|
|
.adf-grid-item {
|
|
margin: 4px;
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
|
|
0 3px 1px -2px rgba(0, 0, 0, 0.2),
|
|
0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
padding: 10px;
|
|
}
|
|
|
|
.adf-list-buttons {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.adf-list-buttons-start {
|
|
width: 100%;
|
|
}
|
|
|
|
.adf-tasks-list.adf-small-pagination,
|
|
.adf-processes-list.adf-small-pagination {
|
|
.adf-pagination {
|
|
|
|
flex-wrap: wrap;
|
|
padding-bottom: 24px;
|
|
padding-top: 8px;
|
|
|
|
&__block {
|
|
border-right: none;
|
|
}
|
|
|
|
&__range-block.adf-pagination__block:first-child {
|
|
order: 1;
|
|
width: 60%;
|
|
flex: 0 0 auto;
|
|
box-sizing: border-box;
|
|
padding-left: 2px;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
&__perpage-block {
|
|
order: 3;
|
|
width: 60%;
|
|
box-sizing: border-box;
|
|
padding-left: 2px;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
&__actualinfo-block {
|
|
order: 2;
|
|
width: 40%;
|
|
box-sizing: border-box;
|
|
padding-right: 2px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
&__controls-block {
|
|
order: 4;
|
|
width: 40%;
|
|
box-sizing: border-box;
|
|
padding-right: 2px;
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
}
|
|
|
|
.adf-list {
|
|
.adf-datatable-list {
|
|
border: none;
|
|
}
|
|
|
|
.adf-datatable tr,
|
|
.adf-datatable td {
|
|
height: 36px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.adf-datatable td {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.adf-datatable th {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
height: 40px;
|
|
vertical-align: middle;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
mat-slide-toggle {
|
|
margin: 10px;
|
|
}
|
|
|
|
@media screen and ($mat-small) {
|
|
container-widget .adf-grid-list {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
}
|
|
|
|
.adf-accordion-panel {
|
|
|
|
.mat-expansion-panel {
|
|
background: inherit;
|
|
}
|
|
|
|
.mat-expansion-panel-header-title, .mat-expansion-panel-header-description {
|
|
flex-basis: 0;
|
|
align-items: center;
|
|
}
|
|
|
|
.mat-expansion-panel-header-description {
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.mat-expansion-panel-header.mat-expanded .mat-expansion-panel-header-title {
|
|
color: mat-color($primary);
|
|
opacity: 1;
|
|
}
|
|
|
|
.adf-accordion-title-padding {
|
|
padding-left: 20px;
|
|
}
|
|
}
|
|
}
|