mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +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:
parent
f6f74f4660
commit
3912a652d5
104
angular.json
104
angular.json
@ -29,7 +29,7 @@
|
|||||||
"polyfills": "demo-shell/src/polyfills.ts",
|
"polyfills": "demo-shell/src/polyfills.ts",
|
||||||
"stylePreprocessorOptions": {
|
"stylePreprocessorOptions": {
|
||||||
"includePaths": [
|
"includePaths": [
|
||||||
"lib"
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"assets": [
|
"assets": [
|
||||||
@ -272,6 +272,11 @@
|
|||||||
"karmaConfig": "lib/core/karma.conf.js",
|
"karmaConfig": "lib/core/karma.conf.js",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"codeCoverage": true,
|
"codeCoverage": true,
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
|
]
|
||||||
|
},
|
||||||
"styles": [
|
"styles": [
|
||||||
"demo-shell/src/styles.scss"
|
"demo-shell/src/styles.scss"
|
||||||
]
|
]
|
||||||
@ -307,7 +312,12 @@
|
|||||||
"demo-shell/src/custom-style-dev.scss",
|
"demo-shell/src/custom-style-dev.scss",
|
||||||
"node_modules/cropperjs/dist/cropper.min.css",
|
"node_modules/cropperjs/dist/cropper.min.css",
|
||||||
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"ci": {
|
"ci": {
|
||||||
@ -328,7 +338,12 @@
|
|||||||
"demo-shell/src/custom-style-dev.scss",
|
"demo-shell/src/custom-style-dev.scss",
|
||||||
"node_modules/cropperjs/dist/cropper.min.css",
|
"node_modules/cropperjs/dist/cropper.min.css",
|
||||||
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"ci": {
|
"ci": {
|
||||||
@ -378,10 +393,15 @@
|
|||||||
"command": "npm publish --tag {args.tag}",
|
"command": "npm publish --tag {args.tag}",
|
||||||
"forwardAllArgs": true
|
"forwardAllArgs": true
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"content-services": {
|
"content-services": {
|
||||||
"root": "lib/content-services",
|
"root": "lib/content-services",
|
||||||
@ -410,7 +430,12 @@
|
|||||||
"tsConfig": "lib/content-services/tsconfig.spec.json",
|
"tsConfig": "lib/content-services/tsconfig.spec.json",
|
||||||
"karmaConfig": "lib/content-services/karma.conf.js",
|
"karmaConfig": "lib/content-services/karma.conf.js",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"codeCoverage": true
|
"codeCoverage": true,
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@ -435,7 +460,12 @@
|
|||||||
"demo-shell/src/custom-style-dev.scss",
|
"demo-shell/src/custom-style-dev.scss",
|
||||||
"node_modules/cropperjs/dist/cropper.min.css",
|
"node_modules/cropperjs/dist/cropper.min.css",
|
||||||
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"ci": {
|
"ci": {
|
||||||
@ -456,7 +486,12 @@
|
|||||||
"demo-shell/src/custom-style-dev.scss",
|
"demo-shell/src/custom-style-dev.scss",
|
||||||
"node_modules/cropperjs/dist/cropper.min.css",
|
"node_modules/cropperjs/dist/cropper.min.css",
|
||||||
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"ci": {
|
"ci": {
|
||||||
@ -518,7 +553,12 @@
|
|||||||
"tsConfig": "lib/process-services/tsconfig.spec.json",
|
"tsConfig": "lib/process-services/tsconfig.spec.json",
|
||||||
"karmaConfig": "lib/process-services/karma.conf.js",
|
"karmaConfig": "lib/process-services/karma.conf.js",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"codeCoverage": true
|
"codeCoverage": true,
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@ -584,7 +624,12 @@
|
|||||||
"tsConfig": "lib/process-services-cloud/tsconfig.spec.json",
|
"tsConfig": "lib/process-services-cloud/tsconfig.spec.json",
|
||||||
"karmaConfig": "lib/process-services-cloud/karma.conf.js",
|
"karmaConfig": "lib/process-services-cloud/karma.conf.js",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"codeCoverage": true
|
"codeCoverage": true,
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@ -609,7 +654,12 @@
|
|||||||
"demo-shell/src/custom-style-dev.scss",
|
"demo-shell/src/custom-style-dev.scss",
|
||||||
"node_modules/cropperjs/dist/cropper.min.css",
|
"node_modules/cropperjs/dist/cropper.min.css",
|
||||||
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"ci": {
|
"ci": {
|
||||||
@ -630,7 +680,12 @@
|
|||||||
"demo-shell/src/custom-style-dev.scss",
|
"demo-shell/src/custom-style-dev.scss",
|
||||||
"node_modules/cropperjs/dist/cropper.min.css",
|
"node_modules/cropperjs/dist/cropper.min.css",
|
||||||
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"ci": {
|
"ci": {
|
||||||
@ -703,7 +758,12 @@
|
|||||||
"tsConfig": "lib/insights/tsconfig.spec.json",
|
"tsConfig": "lib/insights/tsconfig.spec.json",
|
||||||
"karmaConfig": "lib/insights/karma.conf.js",
|
"karmaConfig": "lib/insights/karma.conf.js",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"codeCoverage": true
|
"codeCoverage": true,
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@ -768,7 +828,12 @@
|
|||||||
"tsConfig": "lib/extensions/tsconfig.spec.json",
|
"tsConfig": "lib/extensions/tsconfig.spec.json",
|
||||||
"karmaConfig": "lib/extensions/karma.conf.js",
|
"karmaConfig": "lib/extensions/karma.conf.js",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"codeCoverage": true
|
"codeCoverage": true,
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
@ -816,7 +881,12 @@
|
|||||||
"entryName": "shared",
|
"entryName": "shared",
|
||||||
"entryPath": "/lib/testing/src/lib/shared/index.ts"
|
"entryPath": "/lib/testing/src/lib/shared/index.ts"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
@ -897,7 +967,12 @@
|
|||||||
"outputPath": "dist/libs/eslint-plugin-eslint-angular",
|
"outputPath": "dist/libs/eslint-plugin-eslint-angular",
|
||||||
"main": "lib/eslint-angular/index.ts",
|
"main": "lib/eslint-angular/index.ts",
|
||||||
"generatePackageJson" : true,
|
"generatePackageJson" : true,
|
||||||
"tsConfig": "lib/eslint-angular/tsconfig.lib.prod.json"
|
"tsConfig": "lib/eslint-angular/tsconfig.lib.prod.json",
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
@ -956,7 +1031,12 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
"cd lib/cli && npm i && npm run dist"
|
"cd lib/cli && npm i && npm run dist"
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
@ -1032,6 +1112,11 @@
|
|||||||
"browserTarget": "stories:storybook",
|
"browserTarget": "stories:storybook",
|
||||||
"configDir": "lib/stories/.storybook",
|
"configDir": "lib/stories/.storybook",
|
||||||
"compodoc": false,
|
"compodoc": false,
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
|
]
|
||||||
|
},
|
||||||
"styles": [
|
"styles": [
|
||||||
"demo-shell/src/assets/fonts/muli/muli.css",
|
"demo-shell/src/assets/fonts/muli/muli.css",
|
||||||
"demo-shell/src/styles.scss",
|
"demo-shell/src/styles.scss",
|
||||||
@ -1059,7 +1144,12 @@
|
|||||||
"demo-shell/src/custom-style-dev.scss",
|
"demo-shell/src/custom-style-dev.scss",
|
||||||
"node_modules/cropperjs/dist/cropper.min.css",
|
"node_modules/cropperjs/dist/cropper.min.css",
|
||||||
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
"node_modules/pdfjs-dist/web/pdf_viewer.css"
|
||||||
|
],
|
||||||
|
"stylePreprocessorOptions": {
|
||||||
|
"includePaths": [
|
||||||
|
"lib", "lib/core/src/lib"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"ci": {
|
"ci": {
|
||||||
|
@ -41,5 +41,11 @@ module.exports = {
|
|||||||
new DisableOutputWebpackPlugin({
|
new DisableOutputWebpackPlugin({
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
})
|
})
|
||||||
]
|
],
|
||||||
|
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'styles': path.resolve(__dirname, '../core/src/lib/styles'),
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-content-services"
|
"flatModuleFile": "adf-content-services",
|
||||||
|
"styleIncludePaths": [
|
||||||
|
"../core/src/lib"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-userinfo-container {
|
&-userinfo-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -12,7 +14,7 @@
|
|||||||
&-userinfo-name {
|
&-userinfo-name {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
|
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -90,7 +92,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf-document-list {
|
.adf-document-list {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -141,7 +143,7 @@
|
|||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
font-size: 48px;
|
font-size: 48px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -163,12 +165,12 @@
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
margin-top: 17px;
|
margin-top: 17px;
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 960px) {
|
@include layout-bp(lt-md) {
|
||||||
&-drag-drop,
|
&-drag-drop,
|
||||||
&-any-files-here-to-add {
|
&-any-files-here-to-add {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
@use '@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
$mat-menu-overlay-min-width: 112px !default; // 56 * 2
|
$mat-menu-overlay-min-width: 112px !default; // 56 * 2
|
||||||
$mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
$mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
||||||
@ -23,7 +24,7 @@ $mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
|||||||
background-color: var(--adf-theme-background-card-color);
|
background-color: var(--adf-theme-background-card-color);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -35,7 +35,10 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "./src/public-api.ts",
|
"entryFile": "./src/public-api.ts",
|
||||||
"flatModuleFile": "adf-core"
|
"flatModuleFile": "adf-core",
|
||||||
|
"styleIncludePaths": [
|
||||||
|
"./src/lib"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"allowedNonPeerDependencies": [
|
"allowedNonPeerDependencies": [
|
||||||
"cropperjs",
|
"cropperjs",
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"$schema": "../../../../../node_modules/ng-packagr/ng-package.schema.json",
|
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/index.ts"
|
"entryFile": "src/index.ts",
|
||||||
|
"styleIncludePaths": [
|
||||||
|
"../src/lib"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.app-shell {
|
.app-shell {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -21,7 +23,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
.adf-app-title {
|
.adf-app-title {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf-hidden {
|
.adf-hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -22,7 +24,7 @@
|
|||||||
|
|
||||||
.adf-container-widget {
|
.adf-container-widget {
|
||||||
.adf-grid-list-column-view {
|
.adf-grid-list-column-view {
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
display: flow;
|
display: flow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,7 +58,7 @@
|
|||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
.adf-grid-list-item {
|
.adf-grid-list-item {
|
||||||
flex: 1 0 100%;
|
flex: 1 0 100%;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-userinfo-container {
|
&-userinfo-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -11,8 +13,7 @@
|
|||||||
|
|
||||||
&-userinfo-name {
|
&-userinfo-name {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
|
@include layout-bp(lt-md) {
|
||||||
@media screen and (max-width: 959px) {
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -78,7 +79,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
adf-layout-header .mat-toolbar-single-row {
|
adf-layout-header .mat-toolbar-single-row {
|
||||||
color: var(--theme-header-text-color) !important;
|
color: var(--theme-header-text-color) !important;
|
||||||
background-color: var(--theme-primary-color);
|
background-color: var(--theme-primary-color);
|
||||||
@ -50,7 +52,7 @@ adf-layout-header .mat-toolbar-single-row {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
.adf-app-logo,
|
.adf-app-logo,
|
||||||
.adf-app-title {
|
.adf-app-title {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
|
@import './flex';
|
||||||
|
|
||||||
.adf-hide-small {
|
.adf-hide-small {
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-hide-xsmall {
|
.adf-hide-xsmall {
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf-error-content {
|
.adf-error-content {
|
||||||
color: var(--adf-theme-foreground-text-color-054);
|
color: var(--adf-theme-foreground-text-color-054);
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -30,5 +32,28 @@
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
min-width: 250px;
|
min-width: 250px;
|
||||||
margin-bottom: 60px;
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
"deleteDestPath": false,
|
"deleteDestPath": false,
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-extensions"
|
"flatModuleFile": "adf-extensions",
|
||||||
|
"styleIncludePaths": [
|
||||||
|
"../core/src/lib"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-insights"
|
"flatModuleFile": "adf-insights",
|
||||||
|
"styleIncludePaths": [
|
||||||
|
"../core/src/lib"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,10 @@
|
|||||||
|
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-process-services-cloud"
|
"flatModuleFile": "adf-process-services-cloud",
|
||||||
|
"styleIncludePaths": [
|
||||||
|
"../core/src/lib"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"allowedNonPeerDependencies": [
|
"allowedNonPeerDependencies": [
|
||||||
"@apollo/client",
|
"@apollo/client",
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
adf-cloud-app-list {
|
adf-cloud-app-list {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@ -27,11 +29,11 @@ adf-cloud-app-list {
|
|||||||
flex: 1 1 100%;
|
flex: 1 1 100%;
|
||||||
max-width: 33.3333%;
|
max-width: 33.3333%;
|
||||||
|
|
||||||
@media screen and (max-width: 960px) {
|
@include layout-bp(lt-md) {
|
||||||
max-width: 50%;
|
max-width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@include layout-bp(lt-sm) {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf-edit-process-filter-date-error-container {
|
.adf-edit-process-filter-date-error-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
@ -48,7 +50,7 @@
|
|||||||
max-width: 23%;
|
max-width: 23%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@include layout-bp(lt-sm) {
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
|
|
||||||
:not(:last-child) {
|
:not(:last-child) {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf-cloud-start-task-heading {
|
.adf-cloud-start-task-heading {
|
||||||
border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
|
border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
@ -83,7 +85,7 @@ adf-cloud-start-task {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 960px) {
|
@include layout-bp(lt-md) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
mat-form-field,
|
mat-form-field,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf-edit-task-filter-checkbox {
|
.adf-edit-task-filter-checkbox {
|
||||||
font-size: var(--theme-subheading-2-font-size);
|
font-size: var(--theme-subheading-2-font-size);
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
@ -58,7 +60,7 @@
|
|||||||
flex: 1 1 23%;
|
flex: 1 1 23%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@include layout-bp(lt-sm) {
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
|
|
||||||
:not(:last-child) {
|
:not(:last-child) {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-controls {
|
&-controls {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -26,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
adf-card-view .adf-property-value {
|
adf-card-view .adf-property-value {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -20,6 +20,9 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-process-services"
|
"flatModuleFile": "adf-process-services",
|
||||||
|
"styleIncludePaths": [
|
||||||
|
"../core/src/lib"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
/* stylelint-disable scss/no-global-function-names */
|
/* stylelint-disable scss/no-global-function-names */
|
||||||
@mixin adf-line-clamp($line-height: 1.25, $lines: 3) {
|
@mixin adf-line-clamp($line-height: 1.25, $lines: 3) {
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -66,12 +68,12 @@ $tile-themes: (
|
|||||||
flex: 1 1 33.3333%;
|
flex: 1 1 33.3333%;
|
||||||
max-width: 33.3333%;
|
max-width: 33.3333%;
|
||||||
|
|
||||||
@media screen and (max-width: 960px) {
|
@include layout-bp(lt-md) {
|
||||||
flex: 1 1 50%;
|
flex: 1 1 50%;
|
||||||
max-width: 50%;
|
max-width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@include layout-bp(lt-sm) {
|
||||||
flex: 1 1 100%;
|
flex: 1 1 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf-data-cell {
|
.adf-data-cell {
|
||||||
cursor: pointer !important;
|
cursor: pointer !important;
|
||||||
}
|
}
|
||||||
@ -43,7 +45,7 @@
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
margin-top: 17px;
|
margin-top: 17px;
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
adf-datatable .adf-data-cell {
|
adf-datatable .adf-data-cell {
|
||||||
cursor: pointer !important;
|
cursor: pointer !important;
|
||||||
}
|
}
|
||||||
@ -25,7 +27,7 @@ adf-datatable .adf-data-cell {
|
|||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -48,7 +50,7 @@ adf-datatable .adf-data-cell {
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
margin-top: 17px;
|
margin-top: 17px;
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-attach-widget-container {
|
&-attach-widget-container {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
@ -72,7 +74,7 @@
|
|||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
.mat-list-text {
|
.mat-list-text {
|
||||||
max-width: 150px;
|
max-width: 150px;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-start-process {
|
&-start-process {
|
||||||
width: 96%;
|
width: 96%;
|
||||||
@ -71,7 +73,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
@include layout-bp(lt-sm) {
|
||||||
.adf-start-process {
|
.adf-start-process {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-userinfo-container {
|
&-userinfo-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -12,7 +14,7 @@
|
|||||||
&-userinfo-name {
|
&-userinfo-name {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
|
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -90,7 +92,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
@media screen and (max-width: 599px) {
|
@include layout-bp(lt-sm) {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
/* stylelint-disable no-descending-specificity */
|
/* stylelint-disable no-descending-specificity */
|
||||||
.adf-new-task-heading {
|
.adf-new-task-heading {
|
||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
@ -28,11 +30,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.input-row {
|
.input-row {
|
||||||
@media screen and (max-width: 960px){
|
@include layout-bp(lt-md) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 960px) {
|
@include layout-bp(lt-md) {
|
||||||
mat-form-field {
|
mat-form-field {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
@ -44,7 +46,7 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
max-width: 48%;
|
max-width: 48%;
|
||||||
|
|
||||||
@media screen and (max-width: 600px){
|
@include layout-bp(lt-sm) {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
adf-task-details {
|
adf-task-details {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@ -52,7 +54,7 @@ adf-task-details {
|
|||||||
|
|
||||||
&-sidebar {
|
&-sidebar {
|
||||||
&-drawer {
|
&-drawer {
|
||||||
@media screen and (max-width: 1279px) {
|
@include layout-bp(lt-lg) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/flex';
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-controls {
|
&-controls {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -25,7 +27,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 959px) {
|
@include layout-bp(lt-md) {
|
||||||
adf-card-view .adf-property-value {
|
adf-card-view .adf-property-value {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user