alfresco-ng2-components/lib/insights/analytics-process/components/analytics-report-list.component.scss
davidcanonieto b2b3625929 [ADF-2650] Error with rootDir at insights folder fixed (#3215)
* [ADF-1939] Responsive button to edit reports

* [ADF-1939] Removed unused dependencies in material module

* [ADF-1939] Edit buttons now use flex layout

* [ADF-2650] Report action menu component created

* [ADF-2650] Added Button Model

* [ADF-2650] Buttons component finished

* [ADF-2650] Buttons menu component moved to core library

* [ADF-2650] Included index.ts in core/buttons-menu

* [ADF-2650] cleaned the module and public api file

* Revert "[ADF-2650] Included index.ts in core/buttons-menu"

This reverts commit 6bdf1f2f48a30bb4622eb4c000e5318370503710.

* [ADF-2650] Applied the peer review changes

* [ADF-2650] Comment removed

* [ADF-2650] Failing tests fixed

* [ADF-2650] Dynamic theming for analytic reports

* [ADF-2650] Themes not ap
2018-04-26 14:56:05 +01:00

102 lines
2.5 KiB
SCSS

@mixin adf-analytics-report-list-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent );
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);
.adf-analytics-report-list {
.activiti-filters__entry {
cursor: pointer;
}
.activiti-filters__entry-icon {
position: relative;
top: 5px;
}
.activiti-filters__label {
white-space: nowrap;
overflow: hidden;
}
.mat-nav-list .mat-list-item .mat-list-item-content {
line-height: 48px;
}
.activiti-filters__entry.active {
color: mat-color($primary);
}
.activiti-filters__entry.active .activiti-filters__entry-icon {
color: mat-color($primary);
}
.adf-report-card-grids {
display: flex;
padding: 8px;
flex-flow: row wrap;
margin: 0 auto;
align-items: stretch;
}
.adf-report-card {
margin: 8px;
width: calc(33.3333333333% - 16px);
position: relative;
min-height: 200px;
overflow: hidden;
background-color: mat-color($background, background);
display: flex;
flex-direction: column;
cursor: pointer;
&-logo {
position: absolute;
right: 20px;
top: 35px;
z-index: 6;
&-icon {
font-size: 70px;
color: mat-color($accent);
width: 1em;
height: 1em;
display: inline-block;
}
}
&-title {
padding: 16px;
z-index: 7;
.application-title {
font-size: 24px;
margin: 0;
}
}
&-content {
padding: 16px;
flex-grow: 1;
}
&-actions {
border-top: 1px solid mat-color($foreground, divider);
padding: 8px;
box-sizing: border-box;
height: 40px;
&-icon {
color: mat-color($primary, 50);
&:hover {
color: mat-color($primary, 100);
}
}
}
}
}
}