alfresco-ng2-components/lib/insights/analytics-process/components/analytics-report-list.component.scss
davidcanonieto 1a21f234b6 [ADF-3746] Add style lint rules (#3975)
* add stylelint

* fix style first part

*  fix style second part

*  fix style third part

*  fix style fourth part

* Fix e2e tests first part

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* fix insights

* fix style abotu component

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* [ADF-3746] Rebase branch

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

* Fix list error

* fix new style added

* tslint fix

* [ADF-3746] Fix scss errors on Process Filters Cloud component
2018-11-28 14:43:18 +00: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 {
.adf-activiti-filters__entry {
cursor: pointer;
}
.adf-activiti-filters__entry-icon {
position: relative;
top: 5px;
}
.adf-activiti-filters__label {
white-space: nowrap;
overflow: hidden;
}
.mat-nav-list .mat-list-item .mat-list-item-content {
line-height: 48px;
}
.adf-activiti-filters__entry.adf-active {
color: mat-color($primary);
}
.adf-activiti-filters__entry.adf-active .adf-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;
.adf-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);
}
}
}
}
}
}