fix userinfo on mobile devices and small refactoring name scss method (#2558)

This commit is contained in:
Eugenio Romano
2017-10-26 22:52:37 +01:00
committed by GitHub
parent 90403bab32
commit 1fd45ba1bd
52 changed files with 152 additions and 98 deletions

View File

@@ -1,4 +1,4 @@
@mixin mat-accordion-theme($theme) {
@mixin adf-accordion-theme($theme) {
$primary: map-get($theme, primary);
.adf-panel-heading {
@@ -23,9 +23,9 @@
}
.adf-panel-collapse {
display: inline-block;
display: inline-block;
}
.adf-panel-heading-text {
float: left;
padding-left: 20px;

View File

@@ -1,4 +1,4 @@
@mixin mat-info-drawer-theme($theme) {
@mixin adf-info-drawer-theme($theme) {
$primary: map-get($theme, primary);
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);

View File

@@ -1,5 +1,5 @@
@mixin mat-pagination-theme($theme) {
@mixin adf-pagination-theme($theme) {
$foreground: map-get($theme, foreground);
$adf-pagination--height: 48px;

View File

@@ -1,5 +1,5 @@
@mixin mat-adf-toolbar-theme($theme) {
@mixin adf-adf-toolbar-theme($theme) {
$foreground: map-get($theme, foreground);
$adf-toolbar-height: 48px;
$adf-toolbar-font-size: 14px;

View File

@@ -1,4 +1,4 @@
@mixin mat-card-view-dateitem-theme($theme) {
@mixin adf-card-view-dateitem-theme($theme) {
.adf {
&-invisible-date-input {

View File

@@ -1,4 +1,4 @@
@mixin mat-card-view-textitem-theme($theme) {
@mixin adf-card-view-textitem-theme($theme) {
.adf {
&-textitem-icon {

View File

@@ -1,5 +1,5 @@
@mixin mat-card-view-theme($theme) {
@mixin adf-card-view-theme($theme) {
.adf {
&-property-list {

View File

@@ -0,0 +1,14 @@
@mixin adf-default-class($theme) {
.adf-hide-small {
@media screen and ($mat-small) {
display: none !important;
}
}
.adf-hide-xsmall {
@media screen and ($mat-xsmall) {
display: none !important;
}
}
}

View File

@@ -1,4 +1,5 @@
@import './theme-colors';
@import './default-class';
@import '../src/components/collapsable/accordion-group.component';
@import '../src/components/view/card-view-textitem.component';
@import '../src/components/view/card-view-dateitem.component';
@@ -8,12 +9,13 @@
@import '../src/components/info-drawer/info-drawer-layout.component';
@mixin alfresco-core-theme($theme) {
@include mat-accordion-theme($theme);
@include mat-card-view-textitem-theme($theme);
@include mat-card-view-dateitem-theme($theme);
@include mat-card-view-theme($theme);
@include mat-adf-toolbar-theme($theme);
@include mat-info-drawer-theme($theme);
@include mat-pagination-theme($theme);
@include mat-colors-theme($theme);
@include adf-accordion-theme($theme);
@include adf-card-view-textitem-theme($theme);
@include adf-card-view-dateitem-theme($theme);
@include adf-card-view-theme($theme);
@include adf-adf-toolbar-theme($theme);
@include adf-info-drawer-theme($theme);
@include adf-pagination-theme($theme);
@include adf-colors-theme($theme);
@include adf-default-class($theme);
}

View File

@@ -1,4 +1,4 @@
@mixin mat-colors-theme($theme) {
@mixin adf-colors-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
@@ -18,7 +18,7 @@
color: mat-color($warn) !important;
}
.adf-background-color {
.adf-dialog-background-color {
background: mat-color($background, dialog) !important;
}