File size: 1,594 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 |
@import '@wordpress/base-styles/variables';
@import '@wordpress/base-styles/mixins';
.dashboard-section-header {
position: relative;
z-index: 1;
.components-button.dashboard-page-header__back-button {
padding-left: 0;
padding-right: 0;
svg {
margin-left: -4px;
margin-right: -4px;
}
}
.dashboard-section-header__heading-row {
min-height: 32px;
}
}
.dashboard-section-header__heading {
margin-block: 0;
font-weight: $font-weight-medium;
.dashboard-section-header.is-level-1 & {
font-family: var( --dashboard-h1__font-family );
font-size: var( --dashboard-h1__font-size, $font-size-2x-large );
font-weight: var( --dashboard-h1__font-weight ) !important;
line-height: var( --dashboard-h1__line-height, $font-line-height-2x-large );
}
.dashboard-section-header.is-level-2 & {
@include heading-x-large();
}
.dashboard-section-header.is-level-3 & {
@include heading-large();
}
}
.dashboard-section-header__decoration {
display: inline-flex;
width: $grid-unit-40;
height: $grid-unit-40;
flex-shrink: 0;
align-items: center;
justify-content: center;
.dashboard-section-header.is-level-1 & {
width: $grid-unit-50;
height: $grid-unit-50;
}
svg {
fill: $gray-700;
flex-shrink: 0;
width: $grid-unit-30;
height: $grid-unit-30;
}
img {
flex-shrink: 0;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: $radius-small;
}
}
.dashboard-section-header__actions {
flex-shrink: 0;
align-self: stretch;
}
.dashboard-section-header__description {
max-width: 75ch; /* stylelint-disable-line unit-allowed-list */
}
|