mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix userinfo on mobile devices and small refactoring name scss method (#2558)
This commit is contained in:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
@mixin mat-pagination-theme($theme) {
|
||||
@mixin adf-pagination-theme($theme) {
|
||||
$foreground: map-get($theme, foreground);
|
||||
|
||||
$adf-pagination--height: 48px;
|
||||
|
@@ -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;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
@mixin mat-card-view-dateitem-theme($theme) {
|
||||
@mixin adf-card-view-dateitem-theme($theme) {
|
||||
|
||||
.adf {
|
||||
&-invisible-date-input {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
@mixin mat-card-view-textitem-theme($theme) {
|
||||
@mixin adf-card-view-textitem-theme($theme) {
|
||||
|
||||
.adf {
|
||||
&-textitem-icon {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
@mixin mat-card-view-theme($theme) {
|
||||
@mixin adf-card-view-theme($theme) {
|
||||
|
||||
.adf {
|
||||
&-property-list {
|
||||
|
14
ng2-components/ng2-alfresco-core/styles/_default-class.scss
Normal file
14
ng2-components/ng2-alfresco-core/styles/_default-class.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
@@ -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);
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user