mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-16369] use layout-bp mixin where applicable (#8945)
* [AAE-15828] layout-bp mixin for core * [AAE-15828] fixed import * [AAE-15828] layout-bp for process-services-cloud * [AAE-15828] layout-bp for process-services * [AAE-15828] layout-bp for content-services * [AAE-15828] fixed incorrect values * [AAE-15828] lint fix * configure stylePreprocessorOptions for cross project scss importing * scss import cardio * set correct style paths for packages * [AAE-16369] addded missing test config * [ci:force] fix for the pretheme build * unified configs for libs
This commit is contained in:
@@ -35,7 +35,10 @@
|
||||
],
|
||||
"lib": {
|
||||
"entryFile": "./src/public-api.ts",
|
||||
"flatModuleFile": "adf-core"
|
||||
"flatModuleFile": "adf-core",
|
||||
"styleIncludePaths": [
|
||||
"./src/lib"
|
||||
]
|
||||
},
|
||||
"allowedNonPeerDependencies": [
|
||||
"cropperjs",
|
||||
|
@@ -1,6 +1,9 @@
|
||||
{
|
||||
"$schema": "../../../../../node_modules/ng-packagr/ng-package.schema.json",
|
||||
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
|
||||
"lib": {
|
||||
"entryFile": "src/index.ts"
|
||||
"entryFile": "src/index.ts",
|
||||
"styleIncludePaths": [
|
||||
"../src/lib"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
@import 'styles/flex';
|
||||
|
||||
.app-shell {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -21,7 +23,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 599px) {
|
||||
@include layout-bp(lt-sm) {
|
||||
.adf-app-title {
|
||||
display: none;
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
@import 'styles/flex';
|
||||
|
||||
.adf-hidden {
|
||||
display: none;
|
||||
}
|
||||
@@ -22,7 +24,7 @@
|
||||
|
||||
.adf-container-widget {
|
||||
.adf-grid-list-column-view {
|
||||
@media screen and (max-width: 959px) {
|
||||
@include layout-bp(lt-md) {
|
||||
display: flow;
|
||||
}
|
||||
|
||||
@@ -56,7 +58,7 @@
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 959px) {
|
||||
@include layout-bp(lt-md) {
|
||||
.adf-grid-list-item {
|
||||
flex: 1 0 100%;
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
@import 'styles/flex';
|
||||
|
||||
.adf {
|
||||
&-userinfo-container {
|
||||
display: flex;
|
||||
@@ -11,8 +13,7 @@
|
||||
|
||||
&-userinfo-name {
|
||||
padding: 0 5px;
|
||||
|
||||
@media screen and (max-width: 959px) {
|
||||
@include layout-bp(lt-md) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -78,7 +79,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@media screen and (max-width: 599px) {
|
||||
@include layout-bp(lt-sm) {
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
@import 'styles/flex';
|
||||
|
||||
adf-layout-header .mat-toolbar-single-row {
|
||||
color: var(--theme-header-text-color) !important;
|
||||
background-color: var(--theme-primary-color);
|
||||
@@ -50,7 +52,7 @@ adf-layout-header .mat-toolbar-single-row {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 599px) {
|
||||
@include layout-bp(lt-sm) {
|
||||
.adf-app-logo,
|
||||
.adf-app-title {
|
||||
display: none;
|
||||
|
@@ -1,11 +1,13 @@
|
||||
@import './flex';
|
||||
|
||||
.adf-hide-small {
|
||||
@media screen and (max-width: 959px) {
|
||||
@include layout-bp(lt-md) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.adf-hide-xsmall {
|
||||
@media screen and (max-width: 599px) {
|
||||
@include layout-bp(lt-sm) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
@import 'styles/flex';
|
||||
|
||||
.adf-error-content {
|
||||
color: var(--adf-theme-foreground-text-color-054);
|
||||
display: flex;
|
||||
@@ -30,5 +32,28 @@
|
||||
width: 50%;
|
||||
min-width: 250px;
|
||||
margin-bottom: 60px;
|
||||
line-height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@include layout-bp(lt-md) {
|
||||
.adf-error-content {
|
||||
&-code {
|
||||
margin-top: 100px;
|
||||
font-size: 50px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
&-shadow {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
&-title {
|
||||
font-size: var(--theme-headline-font-size);
|
||||
}
|
||||
|
||||
&-description {
|
||||
font-size: var(--theme-subheading-2-font-size);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user