mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* [DW-569] Replace the ADF accordion with material accordion * * Added testcases for the recent changes. * * Used angular materail mat-accordion * Refactored accordion/group component * * Refactored accordion group component. * * Refactored accordion scss
53 lines
1.1 KiB
SCSS
53 lines
1.1 KiB
SCSS
@mixin adf-accordion-theme($theme) {
|
|
$primary: map-get($theme, primary);
|
|
|
|
.adf-panel-heading {
|
|
float: left;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
letter-spacing: normal;
|
|
text-align: left;
|
|
width: 100%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.adf-panel-heading-selected {
|
|
color: mat-color($primary);
|
|
}
|
|
|
|
.adf-panel-heading-icon {
|
|
float: left;
|
|
}
|
|
|
|
.adf-panel-heading-text {
|
|
float: left;
|
|
padding-left: 20px;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.mat-expansion-panel {
|
|
transition: none !important;
|
|
box-shadow: none !important;
|
|
background: none !important;
|
|
}
|
|
|
|
.mat-expansion-panel-body {
|
|
padding: 1px !important;
|
|
}
|
|
|
|
.mat-expansion-panel-header {
|
|
padding: 0px !important;
|
|
}
|
|
|
|
.mat-expansion-panel-header-title {
|
|
margin-right: 0px !important;
|
|
}
|
|
|
|
.mat-expansion-indicator {
|
|
margin-right: 25px !important;
|
|
}
|
|
}
|