[AAE-16369] use layout-bp mixin where applicable (#8896)

This commit is contained in:
Wojciech Duda
2023-09-28 14:18:15 +02:00
committed by GitHub
parent a0c79e6c64
commit d7e0bb6cd3
32 changed files with 297 additions and 110 deletions

View File

@@ -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%;
}

View File

@@ -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;
}
}
@@ -94,7 +95,7 @@
display: flex;
justify-content: space-between;
@media screen and (max-width: 599px) {
@include layout-bp(lt-sm) {
padding: 10px;
}
}

View File

@@ -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;

View File

@@ -1,11 +1,13 @@
@import 'styles/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;
}
}

View File

@@ -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);
}
}
}