fix: resuelve el type-checking estricto de plantillas y formatea con prettier
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
|
||||
@mixin authenticationLayoutSpacings($spacing, $gap) {
|
||||
.pi-layout__00-authentication {
|
||||
&:not(.pi-layout__00-authentication--auth):not(.pi-layout__00-authentication--default-space) {
|
||||
&:not(.pi-layout__00-authentication--auth):not(
|
||||
.pi-layout__00-authentication--default-space
|
||||
) {
|
||||
.pi-panel {
|
||||
.pi-panel-content__top,
|
||||
.pi-panel-content__bottom {
|
||||
@@ -88,8 +90,14 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
& > .pi-panel {
|
||||
background: linear-gradient(rgba(255, 255, 255, 0.95), white) padding-box,
|
||||
linear-gradient(to right, var(--pi-color-primary-50), var(--pi-color-primary-25)) border-box;
|
||||
background:
|
||||
linear-gradient(rgba(255, 255, 255, 0.95), white) padding-box,
|
||||
linear-gradient(
|
||||
to right,
|
||||
var(--pi-color-primary-50),
|
||||
var(--pi-color-primary-25)
|
||||
)
|
||||
border-box;
|
||||
background-color: rgba(255, 255, 255, 0.66);
|
||||
animation: gradient 0.5s linear infinite;
|
||||
animation-direction: alternate-reverse;
|
||||
@@ -164,7 +172,11 @@ html {
|
||||
&.is-tablet__large {
|
||||
.pi-layout__00-authentication {
|
||||
&:not(.pi-layout__00-authentication--auth) {
|
||||
@include authenticationLayoutSizes(calc(100% - 4rem), calc(100% - 4rem), 70vh);
|
||||
@include authenticationLayoutSizes(
|
||||
calc(100% - 4rem),
|
||||
calc(100% - 4rem),
|
||||
70vh
|
||||
);
|
||||
}
|
||||
&.pi-layout__00-authentication--auth {
|
||||
@include authenticationLayoutSizes(
|
||||
@@ -272,24 +284,33 @@ html {
|
||||
.pi-panel-content__top,
|
||||
.pi-panel-content__bottom {
|
||||
button {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.mdc-switch):not(
|
||||
.pi-button__toggle
|
||||
):not(.pi-button__type--menu-item):not(.pi-button__icon--single):not(
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(
|
||||
.mdc-switch
|
||||
):not(.pi-button__toggle):not(
|
||||
.pi-button__type--menu-item
|
||||
):not(.pi-button__icon--single):not(
|
||||
.pi-button__xx-small
|
||||
):not(.pi-button__trimmed):not(.pi-button__toggle):not(.ch2-btn) {
|
||||
):not(.pi-button__trimmed):not(.pi-button__toggle):not(
|
||||
.ch2-btn
|
||||
) {
|
||||
min-width: 9.5rem;
|
||||
}
|
||||
}
|
||||
button {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.mdc-switch):not(
|
||||
.pi-button__toggle
|
||||
):not(.pi-button__type--menu-item).pi-button:not(.pi-button__icon):not(
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(
|
||||
.mdc-switch
|
||||
):not(.pi-button__toggle):not(
|
||||
.pi-button__type--menu-item
|
||||
).pi-button:not(.pi-button__icon):not(
|
||||
.pi-button__x-small
|
||||
):not(.pi-button__small):not(.pi-button__large):not(.pi-button__large):not(
|
||||
.pi-button__trimed
|
||||
):not(.pi-button__xx-small):not(.pi-button__trimmed) {
|
||||
):not(.pi-button__small):not(.pi-button__large):not(
|
||||
.pi-button__large
|
||||
):not(.pi-button__trimed):not(.pi-button__xx-small):not(
|
||||
.pi-button__trimmed
|
||||
) {
|
||||
min-width: 11.5rem;
|
||||
padding: var(--pi-spacing-xxxx-small) var(--pi-spacing-x-large);
|
||||
padding: var(--pi-spacing-xxxx-small)
|
||||
var(--pi-spacing-x-large);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -307,10 +328,18 @@ html {
|
||||
&.is-desktop__small {
|
||||
.pi-layout__00-authentication {
|
||||
&:not(.pi-layout__00-authentication--auth) {
|
||||
@include authenticationLayoutSizes(75%, var(--pi-public-width-container), 70vh);
|
||||
@include authenticationLayoutSizes(
|
||||
75%,
|
||||
var(--pi-public-width-container),
|
||||
70vh
|
||||
);
|
||||
}
|
||||
&.pi-layout__00-authentication--auth {
|
||||
@include authenticationLayoutSizes(72%, var(--pi-public-width-container), 76vh);
|
||||
@include authenticationLayoutSizes(
|
||||
72%,
|
||||
var(--pi-public-width-container),
|
||||
76vh
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -319,10 +348,18 @@ html {
|
||||
&.is-desktop__large {
|
||||
.pi-layout__00-authentication {
|
||||
&:not(.pi-layout__00-authentication--auth) {
|
||||
@include authenticationLayoutSizes(72%, var(--pi-public-width-container), 78vh);
|
||||
@include authenticationLayoutSizes(
|
||||
72%,
|
||||
var(--pi-public-width-container),
|
||||
78vh
|
||||
);
|
||||
}
|
||||
&.pi-layout__00-authentication--auth {
|
||||
@include authenticationLayoutSizes(66.66%, var(--pi-public-width-container), 78vh);
|
||||
@include authenticationLayoutSizes(
|
||||
66.66%,
|
||||
var(--pi-public-width-container),
|
||||
78vh
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,11 +10,15 @@ html {
|
||||
.pi-panel-content__top,
|
||||
.pi-panel-content__bottom {
|
||||
button {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.mdc-switch):not(
|
||||
.pi-button__toggle
|
||||
):not(.pi-button__type--menu-item):not(.pi-button__icon--single):not(
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(
|
||||
.mdc-switch
|
||||
):not(.pi-button__toggle):not(
|
||||
.pi-button__type--menu-item
|
||||
):not(.pi-button__icon--single):not(
|
||||
.pi-button__xx-small
|
||||
):not(.pi-button__trimmed):not(.pi-button__toggle):not(.ch2-btn) {
|
||||
):not(.pi-button__trimmed):not(.pi-button__toggle):not(
|
||||
.ch2-btn
|
||||
) {
|
||||
min-width: 13.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
@mixin authenticationLayoutSelectMenuTypeCustom($columnsNum: 1, $card-height: unset) {
|
||||
@mixin authenticationLayoutSelectMenuTypeCustom(
|
||||
$columnsNum: 1,
|
||||
$card-height: unset
|
||||
) {
|
||||
.pi-layout__00-authentication {
|
||||
&.pi-layout__00-authentication--user-profile {
|
||||
.pi-select {
|
||||
|
||||
@@ -25,11 +25,17 @@
|
||||
|
||||
html {
|
||||
&.is-mobile {
|
||||
@include authenticationDefaultSpaceLayoutSpacings(var(--pi-spacing-xxx-large), x-small);
|
||||
@include authenticationDefaultSpaceLayoutSpacings(
|
||||
var(--pi-spacing-xxx-large),
|
||||
x-small
|
||||
);
|
||||
}
|
||||
&.is-tablet {
|
||||
&.is-tablet__small {
|
||||
@include authenticationDefaultSpaceLayoutSpacings(var(--pi-spacing-xxxx-large), small);
|
||||
@include authenticationDefaultSpaceLayoutSpacings(
|
||||
var(--pi-spacing-xxxx-large),
|
||||
small
|
||||
);
|
||||
}
|
||||
&.is-tablet__large {
|
||||
@include authenticationDefaultSpaceLayoutSpacings(8rem, x-large);
|
||||
|
||||
@@ -9,11 +9,15 @@ html {
|
||||
.pi-panel-content__top,
|
||||
.pi-panel-content__bottom {
|
||||
button {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.mdc-switch):not(
|
||||
.pi-button__toggle
|
||||
):not(.pi-button__type--menu-item):not(.pi-button__icon--single):not(
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(
|
||||
.mdc-switch
|
||||
):not(.pi-button__toggle):not(
|
||||
.pi-button__type--menu-item
|
||||
):not(.pi-button__icon--single):not(
|
||||
.pi-button__xx-small
|
||||
):not(.pi-button__trimmed):not(.pi-button__toggle):not(.ch2-btn) {
|
||||
):not(.pi-button__trimmed):not(.pi-button__toggle):not(
|
||||
.ch2-btn
|
||||
) {
|
||||
min-width: 13.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,9 +165,9 @@ html {
|
||||
justify-content: space-between;
|
||||
height: calc(100% - 4.6563rem);
|
||||
button {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.pi-close-button):not(
|
||||
.pi-hamburger
|
||||
):not(.pi-button__xx-small) {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(
|
||||
.pi-close-button
|
||||
):not(.pi-hamburger):not(.pi-button__xx-small) {
|
||||
height: 2.4rem;
|
||||
min-height: unset;
|
||||
padding-left: var(--pi-spacing-medium);
|
||||
|
||||
@@ -38,8 +38,16 @@ html {
|
||||
// X Large device
|
||||
@media screen and (min-width: 140rem) {
|
||||
@include dashboardLayoutWidth(
|
||||
calc(100% - var(--pi-spacing-x-large) - var(--pi-width-aside) - var(--pi-spacing-x-large)),
|
||||
calc(100% - var(--pi-spacing-x-large) - var(--pi-width-aside) - var(--pi-spacing-x-large)),
|
||||
calc(
|
||||
100% - var(--pi-spacing-x-large) - var(--pi-width-aside) - var(
|
||||
--pi-spacing-x-large
|
||||
)
|
||||
),
|
||||
calc(
|
||||
100% - var(--pi-spacing-x-large) - var(--pi-width-aside) - var(
|
||||
--pi-spacing-x-large
|
||||
)
|
||||
),
|
||||
unset
|
||||
);
|
||||
}
|
||||
|
||||
@@ -33,7 +33,10 @@ $pi-seller-dashboard-overviews-height: 7.5rem; // 120px
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: calc(
|
||||
100vh - var(--pi-spacing-xxxx-large) - var(--pi-height-header) - 23.65rem
|
||||
100vh - var(--pi-spacing-xxxx-large) - var(
|
||||
--pi-height-header
|
||||
) -
|
||||
23.65rem
|
||||
);
|
||||
.pi-note {
|
||||
width: $width;
|
||||
@@ -79,7 +82,9 @@ $pi-seller-dashboard-overviews-height: 7.5rem; // 120px
|
||||
|
||||
& > *:nth-child(3) {
|
||||
& > * {
|
||||
min-height: calc(100vh - var(--pi-spacing-xxxx-large) - var(--pi-height-header));
|
||||
min-height: calc(
|
||||
100vh - var(--pi-spacing-xxxx-large) - var(--pi-height-header)
|
||||
);
|
||||
}
|
||||
.pi-panel-content {
|
||||
// Center
|
||||
@@ -125,7 +130,9 @@ $pi-seller-dashboard-overviews-height: 7.5rem; // 120px
|
||||
.pi-chip__large {
|
||||
&:not(.pi-chip__single-icon) {
|
||||
height: calc(
|
||||
var(--pi-spacing-xxxx-large) - var(--pi-spacing-xxx-small)
|
||||
var(--pi-spacing-xxxx-large) - var(
|
||||
--pi-spacing-xxx-small
|
||||
)
|
||||
);
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
@@ -238,7 +245,10 @@ $pi-seller-dashboard-overviews-height: 7.5rem; // 120px
|
||||
// Only scroll for desktop M & L
|
||||
@media screen and (min-width: 90rem) {
|
||||
max-height: calc(
|
||||
100vh - var(--pi-spacing-xxxx-large) - var(--pi-height-header) - 24rem
|
||||
100vh - var(--pi-spacing-xxxx-large) - var(
|
||||
--pi-height-header
|
||||
) -
|
||||
24rem
|
||||
);
|
||||
max-width: calc(100% - var(--pi-spacing-xxx-small));
|
||||
overflow-y: auto;
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
@mixin fullWidthLayoutWidthLargeDevice(
|
||||
$width: calc(100vw - var(--pi-width-aside) - var(--pi-width-navbar-collapsed) - 6.5rem),
|
||||
$width: calc(
|
||||
100vw - var(--pi-width-aside) - var(--pi-width-navbar-collapsed) - 6.5rem
|
||||
),
|
||||
$max-width-closed: var(--pi-width-container-s),
|
||||
$max-width-open:
|
||||
calc(100% - var(--pi-width-aside) - var(--pi-spacing-x-large) - var(--pi-spacing-x-large))
|
||||
$max-width-open: calc(
|
||||
100% - var(--pi-width-aside) - var(--pi-spacing-x-large) - var(
|
||||
--pi-spacing-x-large
|
||||
)
|
||||
)
|
||||
) {
|
||||
.pi-shell__deale-saas {
|
||||
& > div {
|
||||
@@ -90,7 +95,8 @@ html {
|
||||
&.is-desktop {
|
||||
.pi-layout {
|
||||
&.pi-layout__02-full-width {
|
||||
padding: 0 0 calc(var(--pi-spacing-xxxx-large) + var(--pi-height-footer));
|
||||
padding: 0 0
|
||||
calc(var(--pi-spacing-xxxx-large) + var(--pi-height-footer));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,9 +111,16 @@ html {
|
||||
// Desktop M
|
||||
&.is-desktop__medium {
|
||||
@include fullWidthLayoutWidthLargeDevice(
|
||||
calc(100vw - var(--pi-width-aside) - var(--pi-width-navbar-collapsed) - 6.5rem),
|
||||
calc(
|
||||
100vw - var(--pi-width-aside) - var(--pi-width-navbar-collapsed) -
|
||||
6.5rem
|
||||
),
|
||||
var(--pi-width-container),
|
||||
calc(100% - var(--pi-width-aside) - var(--pi-spacing-x-large) - var(--pi-spacing-x-large))
|
||||
calc(
|
||||
100% - var(--pi-width-aside) - var(--pi-spacing-x-large) - var(
|
||||
--pi-spacing-x-large
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
// Desktop L
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
@mixin layoutVerticallyCenteredSpacings($padding-top: var(--pi-public-height-header-mobile)) {
|
||||
@mixin layoutVerticallyCenteredSpacings(
|
||||
$padding-top: var(--pi-public-height-header-mobile)
|
||||
) {
|
||||
.pi-container-layout {
|
||||
& > .pi-layout__06-edge-to-edge {
|
||||
& > .pi-wrapper__header {
|
||||
@@ -96,7 +98,9 @@ html {
|
||||
// Tablet & Desktop
|
||||
&:not(.is-mobile) {
|
||||
@media screen and (min-width: 62rem) {
|
||||
@include layoutVerticallyCenteredSpacings(var(--pi-public-height-header-desktop));
|
||||
@include layoutVerticallyCenteredSpacings(
|
||||
var(--pi-public-height-header-desktop)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,4 +5,3 @@
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -78,8 +78,10 @@ html {
|
||||
// Right
|
||||
&.pi-main-wrapper-content__right {
|
||||
height: calc(
|
||||
100vh - var(--pi-spacing-x-large) - var(--pi-spacing-x-large) -
|
||||
var(--pi-height-footer) - 8rem
|
||||
100vh - var(--pi-spacing-x-large) - var(
|
||||
--pi-spacing-x-large
|
||||
) - var(--pi-height-footer) -
|
||||
8rem
|
||||
);
|
||||
}
|
||||
// Left
|
||||
@@ -105,9 +107,9 @@ html {
|
||||
}
|
||||
|
||||
.pi-button {
|
||||
&:not(.pi-button__icon--single):not(.pi-button__x-small):not(.pi-button__small):not(
|
||||
.pi-button__large
|
||||
) {
|
||||
&:not(.pi-button__icon--single):not(.pi-button__x-small):not(
|
||||
.pi-button__small
|
||||
):not(.pi-button__large) {
|
||||
padding: var(--pi-spacing-xxxx-small) var(--pi-spacing-x-large);
|
||||
}
|
||||
}
|
||||
@@ -130,16 +132,18 @@ html {
|
||||
}
|
||||
&.pi-main-wrapper-content__right {
|
||||
min-height: calc(
|
||||
100vh - var(--pi-spacing-xx-large) - var(--pi-spacing-xx-large) -
|
||||
var(--pi-height-footer) - 20rem
|
||||
100vh - var(--pi-spacing-xx-large) - var(
|
||||
--pi-spacing-xx-large
|
||||
) - var(--pi-height-footer) -
|
||||
20rem
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
.pi-button {
|
||||
&:not(.pi-button__icon--single):not(.pi-button__x-small):not(.pi-button__small):not(
|
||||
.pi-button__large
|
||||
) {
|
||||
&:not(.pi-button__icon--single):not(.pi-button__x-small):not(
|
||||
.pi-button__small
|
||||
):not(.pi-button__large) {
|
||||
padding: var(--pi-spacing-xxxx-small) var(--pi-spacing-x-large);
|
||||
min-width: 11rem;
|
||||
}
|
||||
@@ -346,7 +350,11 @@ html {
|
||||
padding: var(--pi-spacing-xxx-large);
|
||||
gap: var(--pi-spacing-xx-large);
|
||||
.pi-main-wrapper-content {
|
||||
height: calc(100vh - var(--pi-spacing-xxx-large) - var(--pi-spacing-xxx-large));
|
||||
height: calc(
|
||||
100vh - var(--pi-spacing-xxx-large) - var(
|
||||
--pi-spacing-xxx-large
|
||||
)
|
||||
);
|
||||
// Left
|
||||
&.pi-main-wrapper-content__left {
|
||||
.mat-mdc-radio-group {
|
||||
@@ -372,7 +380,11 @@ html {
|
||||
.pi-main-wrapper-content {
|
||||
// Left
|
||||
&.pi-main-wrapper-content__left {
|
||||
height: calc(100vh - var(--pi-spacing-xxx-large) - var(--pi-spacing-xxx-large));
|
||||
height: calc(
|
||||
100vh - var(--pi-spacing-xxx-large) - var(
|
||||
--pi-spacing-xxx-large
|
||||
)
|
||||
);
|
||||
.mat-mdc-radio-group {
|
||||
max-width: 66.66%;
|
||||
}
|
||||
@@ -395,7 +407,11 @@ html {
|
||||
gap: var(--pi-spacing-xxxx-large);
|
||||
|
||||
.pi-main-wrapper-content {
|
||||
height: calc(100vh - var(--pi-spacing-xxxx-large) - var(--pi-spacing-xxxx-large));
|
||||
height: calc(
|
||||
100vh - var(--pi-spacing-xxxx-large) - var(
|
||||
--pi-spacing-xxxx-large
|
||||
)
|
||||
);
|
||||
// Left
|
||||
&.pi-main-wrapper-content__left {
|
||||
.mat-mdc-radio-group {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
@mixin saasContainerSpacings($padding-top: var(--pi-public-height-header-mobile)) {
|
||||
@mixin saasContainerSpacings(
|
||||
$padding-top: var(--pi-public-height-header-mobile)
|
||||
) {
|
||||
.pi-container-layout {
|
||||
padding-bottom: var(--pi-spacing-xxxx-large);
|
||||
& > .pi-layout__06-edge-to-edge {
|
||||
|
||||
@@ -72,7 +72,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
@mixin paginatorWidth($width: calc(100% - var(--pi-spacing-x-large) - var(--pi-spacing-x-large))) {
|
||||
@mixin paginatorWidth(
|
||||
$width: calc(100% - var(--pi-spacing-x-large) - var(--pi-spacing-x-large))
|
||||
) {
|
||||
.pi-shell__deale-saas {
|
||||
& > div {
|
||||
.pi-layout {
|
||||
@@ -115,8 +117,8 @@ html {
|
||||
position: absolute;
|
||||
right: var(--pi-spacing-x-large);
|
||||
bottom: calc(
|
||||
var(--pi-height-footer) + env(safe-area-inset-bottom) + var(--pi-spacing-x-large) +
|
||||
var(--pi-spacing-x-small)
|
||||
var(--pi-height-footer) + env(safe-area-inset-bottom) +
|
||||
var(--pi-spacing-x-large) + var(--pi-spacing-x-small)
|
||||
);
|
||||
z-index: 99;
|
||||
}
|
||||
@@ -176,8 +178,9 @@ html {
|
||||
&.is-tablet__large {
|
||||
@include listLayoutHeight(
|
||||
calc(
|
||||
100vh - var(--pi-height-header-tablet) - var(--pi-spacing-x-large) -
|
||||
var(--pi-spacing-x-large) - var(--pi-spacing-xx-large)
|
||||
100vh - var(--pi-height-header-tablet) - var(
|
||||
--pi-spacing-x-large
|
||||
) - var(--pi-spacing-x-large) - var(--pi-spacing-xx-large)
|
||||
)
|
||||
);
|
||||
@include wrappersWidth(
|
||||
@@ -193,8 +196,9 @@ html {
|
||||
&.is-desktop {
|
||||
@include listLayoutHeight(
|
||||
calc(
|
||||
100vh - var(--pi-height-header-desktop) - var(--pi-spacing-x-large) -
|
||||
var(--pi-spacing-x-large) - var(--pi-spacing-medium)
|
||||
100vh - var(--pi-height-header-desktop) - var(
|
||||
--pi-spacing-x-large
|
||||
) - var(--pi-spacing-x-large) - var(--pi-spacing-medium)
|
||||
)
|
||||
);
|
||||
// Desktop S
|
||||
@@ -209,7 +213,12 @@ html {
|
||||
}
|
||||
// Desktop M
|
||||
&.is-desktop__medium {
|
||||
@include wrappersWidth(calc(100% - var(--pi-spacing-x-large)), left, unset, unset);
|
||||
@include wrappersWidth(
|
||||
calc(100% - var(--pi-spacing-x-large)),
|
||||
left,
|
||||
unset,
|
||||
unset
|
||||
);
|
||||
@include paginatorWidth(calc(100% - var(--pi-spacing-x-large)));
|
||||
}
|
||||
// Desktop L
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
@mixin layoutHeight(
|
||||
$height:
|
||||
calc(
|
||||
100vh - var(--pi-height-header-mobile) - var(--pi-height-footer) - var(--pi-spacing-x-large) -
|
||||
var(--pi-spacing-x-large)
|
||||
$height: calc(
|
||||
100vh - var(--pi-height-header-mobile) - var(--pi-height-footer) - var(
|
||||
--pi-spacing-x-large
|
||||
) - var(--pi-spacing-x-large)
|
||||
)
|
||||
) {
|
||||
.pi-layout {
|
||||
@@ -32,8 +32,9 @@
|
||||
}
|
||||
|
||||
// Default scroll
|
||||
&:not(.pi-layout__07-list):not(.pi-layout__00-authentication):not(.pi-layout__05-splitted):not(.pi-layout__08-form
|
||||
) {
|
||||
&:not(.pi-layout__07-list):not(.pi-layout__00-authentication):not(
|
||||
.pi-layout__05-splitted
|
||||
):not(.pi-layout__08-form) {
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
@@ -82,7 +83,9 @@ html {
|
||||
&:not(.pi-layout__07-list):not(.pi-layout__00-authentication):not(
|
||||
.pi-layout__05-splitted
|
||||
):not(.pi-layout__08-form) {
|
||||
max-width: calc(100vw - var(--pi-spacing-medium) - var(--pi-spacing-medium));
|
||||
max-width: calc(
|
||||
100vw - var(--pi-spacing-medium) - var(--pi-spacing-medium)
|
||||
);
|
||||
}
|
||||
&.pi-layout__main {
|
||||
padding: 0 0 calc(var(--pi-spacing-medium) + var(--pi-height-footer));
|
||||
@@ -99,7 +102,10 @@ html {
|
||||
&.is-tablet__small {
|
||||
.has-bottom-sticky-note {
|
||||
@include layoutHeight(
|
||||
calc(100vh - var(--pi-height-header-tablet) - var(--pi-height-footer) - 2rem)
|
||||
calc(
|
||||
100vh - var(--pi-height-header-tablet) - var(--pi-height-footer) -
|
||||
2rem
|
||||
)
|
||||
);
|
||||
.pi-layout {
|
||||
&.pi-layout__main,
|
||||
@@ -116,7 +122,9 @@ html {
|
||||
}
|
||||
}
|
||||
|
||||
@include layoutHeight(calc(100vh - var(--pi-height-header-tablet) - var(--pi-height-footer)));
|
||||
@include layoutHeight(
|
||||
calc(100vh - var(--pi-height-header-tablet) - var(--pi-height-footer))
|
||||
);
|
||||
@include layoutWidth(
|
||||
calc(100% - var(--pi-spacing-x-large) - var(--pi-spacing-x-large)),
|
||||
var(--pi-height-header-tablet) auto 0
|
||||
@@ -126,7 +134,9 @@ html {
|
||||
&:not(.pi-layout__07-list):not(.pi-layout__00-authentication):not(
|
||||
.pi-layout__05-splitted
|
||||
):not(.pi-layout__08-form) {
|
||||
max-width: calc(100vw - var(--pi-spacing-x-large) - var(--pi-spacing-x-large));
|
||||
max-width: calc(
|
||||
100vw - var(--pi-spacing-x-large) - var(--pi-spacing-x-large)
|
||||
);
|
||||
}
|
||||
&.pi-layout__main {
|
||||
padding: 0 0 calc(var(--pi-spacing-x-large) + var(--pi-height-footer));
|
||||
@@ -153,7 +163,9 @@ html {
|
||||
}
|
||||
}
|
||||
}
|
||||
@include layoutHeight(calc(100vh - var(--pi-height-header-tablet) - 3.25rem));
|
||||
@include layoutHeight(
|
||||
calc(100vh - var(--pi-height-header-tablet) - 3.25rem)
|
||||
);
|
||||
@include layoutWidth(calc(100% - var(--pi-spacing-x-large)), unset);
|
||||
}
|
||||
}
|
||||
@@ -195,7 +207,9 @@ html {
|
||||
}
|
||||
@include layoutHeight(
|
||||
calc(
|
||||
100vh - var(--pi-height-header-tablet) - var(--pi-spacing-x-large) - var(--pi-spacing-large)
|
||||
100vh - var(--pi-height-header-tablet) - var(
|
||||
--pi-spacing-x-large
|
||||
) - var(--pi-spacing-large)
|
||||
)
|
||||
);
|
||||
@include layoutWidth(calc(100% - var(--pi-spacing-x-large)), unset);
|
||||
|
||||
Reference in New Issue
Block a user