cleanup styles (#320)

This commit is contained in:
Denys Vuika 2018-04-18 17:47:27 +01:00 committed by GitHub
parent 3a9b172ba3
commit cb409335b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 66 deletions

View File

@ -1,5 +1,7 @@
@import 'variables';
$alfresco-warn-color--hue-2: #ff5252;
.generic-error {
color: $alfresco-secondary-text-color;
display: flex;

View File

@ -1,5 +1,7 @@
@import 'variables';
$app-menu-height: 64px;
.app-menu {
height: $app-menu-height;

View File

@ -39,7 +39,7 @@ import { Observable } from 'rxjs/Rx';
encapsulation: ViewEncapsulation.None,
// tslint:disable-next-line:use-host-property-decorator
host: {
'class': 'app-location-link'
'class': 'app-location-link adf-location-cell'
}
})
export class LocationLinkComponent implements OnInit {

View File

@ -4,6 +4,8 @@ $app-layout--header-height: 65px;
$app-layout--side-width: 320px;
$app-inner-layout--header-height: 48px;
$app-inner-layout--footer-height: 48px;
$alfresco-divider-color: rgba($alfresco-black, .07);
$alfresco-gray-background: #fafafa;
.layout {
@include flex-column;

View File

@ -1,48 +0,0 @@
// Primary color palette
// - please note that Hue 2 and Enhanced Hue 1 and 2
// are missing from specs
$alfresco-app-color--default: #00bcd4;
$alfresco-app-color--hue-1: #e0f7fa;
$alfresco-app-color--hue-3: #0097a7;
// Primary color palette - Enhanced
$alfresco-app-color--default-enhanced: #0097a7;
$alfresco-app-color--hue-3-enhanced: #006064;
// Accent color palette
$alfresco-primary-accent--default: #ff9100;
$alfresco-primary-accent--hue-1: #ffd180;
$alfresco-primary-accent--hue-2: #ffab40;
$alfresco-primary-accent--hue-3: #ff6d00;
$alfresco-secondary-accent--default: #3d5afe;
$alfresco-secondary-accent--hue-1: #8c9eff;
$alfresco-secondary-accent--hue-2: #536dfe;
$alfresco-secondary-accent--hue-3: #304ffe;
// Warn color palette
$alfresco-warn-color--default: #ff1744;
$alfresco-warn-color--hue-1: #ff8a80;
$alfresco-warn-color--hue-2: #ff5252;
$alfresco-warn-color--hue-3: #d50000;
// Grayscale
$alfresco-white: #fff;
$alfresco-black: #000;
// Dark
$alfresco-dark-color--default: #78909c;
$alfresco-dark-color--hue-1: #eceff1;
$alfresco-dark-color--hue-3: #546e7a;
$alfresco-drop-shadow: #888888;
$alfresco-primary-text-color: rgba($alfresco-black, .87);
$alfresco-secondary-text-color: rgba($alfresco-black, .54);
$alfresco-hint-text-color: rgba($alfresco-black, .38);
$alfresco-disabled-text-color: rgba($alfresco-black, .26);
$alfresco-divider-color: rgba($alfresco-black, .07);
$alfresco-gray-background: #fafafa;

View File

@ -1,3 +1,13 @@
@import './_variables-color.scss';
// Primary color palette
// - please note that Hue 2 and Enhanced Hue 1 and 2
// are missing from specs
$alfresco-app-color--default: #00bcd4;
$alfresco-app-color--hue-1: #e0f7fa;
$app-menu-height: 64px;
// Grayscale
$alfresco-white: #fff;
$alfresco-black: #000;
// Dark
$alfresco-primary-text-color: rgba($alfresco-black, .87);
$alfresco-secondary-text-color: rgba($alfresco-black, .54);

View File

@ -1,5 +1,4 @@
@import 'variables-color';
@import 'variables';
@import 'mixins';
adf-document-list {
@ -53,19 +52,6 @@ adf-datatable {
text-align: left;
}
.app-location-link,
.adf-location-cell {
a {
text-decoration: none;
color: $alfresco-primary-text-color;
&:hover {
color: #2196F3;
text-decoration: underline;
}
}
}
.adf-datatable-body .adf-data-table-cell--image {
padding-left: 24px;
padding-right: 0;

View File

@ -1,5 +1,9 @@
@import 'variables';
$alfresco-primary-accent--hue-3: #ff6d00;
$alfresco-warn-color--hue-3: #d50000;
$alfresco-dark-color--hue-3: #546e7a;
.upload-dialog {
z-index: 999;
}