Revert "[AAE-16369] use layout-bp mixin where applicable" (#8944)

This commit is contained in:
Wojciech Duda
2023-09-28 15:22:27 +02:00
committed by GitHub
parent 65d70bffb2
commit 016e5ec089
32 changed files with 110 additions and 297 deletions

View File

@@ -20,9 +20,6 @@
],
"lib": {
"entryFile": "src/public-api.ts",
"flatModuleFile": "adf-process-services",
"styleIncludePaths": [
"../core/src/lib"
]
"flatModuleFile": "adf-process-services"
}
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
/* stylelint-disable scss/no-global-function-names */
@mixin adf-line-clamp($line-height: 1.25, $lines: 3) {
position: relative;
@@ -68,12 +66,12 @@ $tile-themes: (
flex: 1 1 33.3333%;
max-width: 33.3333%;
@include layout-bp(lt-md) {
@media screen and (max-width: 960px) {
flex: 1 1 50%;
max-width: 50%;
}
@include layout-bp(lt-sm) {
@media screen and (max-width: 600px) {
flex: 1 1 100%;
max-width: 100%;
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
.adf-data-cell {
cursor: pointer !important;
}
@@ -45,7 +43,7 @@
object-fit: contain;
margin-top: 17px;
@include layout-bp(lt-sm) {
@media screen and (max-width: 599px) {
width: 250px;
}
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
adf-datatable .adf-data-cell {
cursor: pointer !important;
}
@@ -27,7 +25,7 @@ adf-datatable .adf-data-cell {
word-break: break-all;
white-space: pre-line;
@include layout-bp(lt-sm) {
@media screen and (max-width: 599px) {
font-size: 40px;
}
}
@@ -50,7 +48,7 @@ adf-datatable .adf-data-cell {
object-fit: contain;
margin-top: 17px;
@include layout-bp(lt-sm) {
@media screen and (max-width: 599px) {
width: 250px;
}
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
.adf {
&-attach-widget-container {
margin-bottom: 15px;
@@ -74,7 +72,7 @@
max-width: 200px;
}
@include layout-bp(lt-md) {
@media screen and (max-width: 959px) {
.mat-list-text {
max-width: 150px;
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
.adf {
&-start-process {
width: 96%;
@@ -73,7 +71,7 @@
}
}
@include layout-bp(lt-sm) {
@media (max-width: 600px) {
.adf-start-process {
width: 90%;
margin-left: auto;

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
.adf {
&-userinfo-container {
display: flex;
@@ -14,7 +12,7 @@
&-userinfo-name {
padding: 0 5px;
@include layout-bp(lt-md) {
@media screen and (max-width: 959px) {
display: none;
}
}
@@ -96,7 +94,7 @@
display: flex;
justify-content: space-between;
@include layout-bp(lt-sm) {
@media screen and (max-width: 599px) {
padding: 10px;
}
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
/* stylelint-disable no-descending-specificity */
.adf-new-task-heading {
padding-top: 12px;
@@ -30,11 +28,11 @@
}
.input-row {
@include layout-bp(lt-md) {
@media screen and (max-width: 960px){
flex-direction: column;
}
@include layout-bp(lt-md) {
@media screen and (min-width: 960px) {
mat-form-field {
margin-right: 20px;
}
@@ -46,7 +44,7 @@
box-sizing: border-box;
max-width: 48%;
@include layout-bp(lt-sm) {
@media screen and (max-width: 600px){
max-width: 100%;
}
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
adf-task-details {
width: 100%;
@@ -54,7 +52,7 @@ adf-task-details {
&-sidebar {
&-drawer {
@include layout-bp(lt-lg) {
@media screen and (max-width: 1279px) {
margin-left: 0;
}
}

View File

@@ -1,5 +1,3 @@
@import 'styles/flex';
.adf {
&-controls {
display: flex;
@@ -27,7 +25,7 @@
}
}
@include layout-bp(lt-md) {
@media screen and (max-width: 959px) {
adf-card-view .adf-property-value {
text-overflow: ellipsis;
overflow: hidden;