Files
alfresco-ng2-components/lib/core/src/lib/info-drawer/info-drawer-layout.component.scss

94 lines
2.6 KiB
SCSS

@import '../styles/mixins';
@use 'styles/mat-selectors';
$adf-info-drawer-layout-title-font-size: var(--theme-title-font-size) !default;
$adf-info-drawer-icon-size: 48px !default;
$adf-info-drawer-icon-size-half: 24px !default;
.adf {
&-info-drawer {
@include flex-column;
}
&-info-drawer-layout {
@include flex-column;
overflow: auto;
width: 100%;
background-color: var(--theme-card-background-color);
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.27);
& .mdc-tab__text-label {
font-weight: bold;
text-align: left;
opacity: 1;
}
&-header {
padding: 8px 0 0 24px;
display: flex;
align-items: center;
justify-content: space-between;
height: 56px;
margin-bottom: 40px;
&-buttons {
mat-icon {
cursor: pointer;
}
}
&-title {
display: flex;
font-size: $adf-info-drawer-layout-title-font-size;
line-height: 28px;
letter-spacing: 0.15px;
text-align: left;
align-items: start;
color: var(--adf-theme-foreground-text-color-054);
overflow: hidden;
& > div {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--adf-metadata-property-panel-title-color);
}
}
}
&-content {
padding: 10px;
> * {
margin-bottom: 20px;
display: block;
}
> *:last-child {
margin-bottom: 0;
}
.adf-info-drawer-tabs #{$mat-tab-body-content} {
.adf-manage-versions-empty,
.adf-manage-versions-no-permission {
margin: 0;
padding: $adf-info-drawer-icon-size-half;
color: var(--adf-theme-foreground-text-color-054);
text-align: center;
display: flex;
flex-direction: column;
&-icon {
width: $adf-info-drawer-icon-size;
height: $adf-info-drawer-icon-size;
font-size: $adf-info-drawer-icon-size;
margin: 0 auto $adf-info-drawer-icon-size-half;
display: block;
}
}
}
}
}
}