File size: 1,560 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
.main.partner-portal-layout {
padding-inline: 0;
header.current-section {
padding: 0 16px;
button {
padding: 20px 8px;
}
}
}
.partner-portal-layout__container {
max-width: 100%;
min-height: calc(100vh - 123px);
display: flex;
flex-direction: column;
margin: auto;
padding: 0;
}
.partner-portal-layout__body {
margin-block-end: -32px;
flex: 1 1 100%;
}
.partner-portal-layout__top,
.partner-portal-layout__body {
width: 100%;
&-wrapper {
margin-inline: 16px;
}
&-wrapper > * {
max-width: 1500px;
margin-inline: auto !important;
}
@include breakpoint-deprecated( ">660px" ) {
// We need these negative margin values because we want to make the container full-width,
// but our element is inside a limited-width parent.
margin-inline-start: -73px;
padding-inline: 73px;
}
}
.partner-portal-layout__header {
display: flex;
align-items: center;
h1 {
font-weight: 600;
}
> * + * {
margin-inline-start: 24px;
}
@include breakpoint-deprecated( "<960px" ) {
flex-wrap: wrap;
> * {
width: 100%;
margin-block-end: 16px;
}
> * + * {
margin-inline-start: 0;
}
}
.card-heading {
margin-block-start: initial;
}
a.button {
margin-inline-start: auto;
}
}
.main.partner-portal-layout.is-with-border {
.partner-portal-layout__body {
padding-block: 16px;
}
@include breakpoint-deprecated( ">660px" ) {
.partner-portal-layout__top {
border-block-end: 1px solid var(--color-primary-5);
}
.partner-portal-layout__body {
background: rgba(255, 255, 255, 0.5);
}
}
}
|