mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* Bump stylelint from 13.13.1 to 14.2.0 Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.1 to 14.2.0. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/13.13.1...14.2.0) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * upgrade to newest stylelint * fix style issues * fix color function rules to match old Angular * rollback modern color func Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
96 lines
2.5 KiB
SCSS
96 lines
2.5 KiB
SCSS
@import '../styles/mixins';
|
|
|
|
$adf-info-drawer-layout-title-font-size: 20px !default;
|
|
$adf-info-drawer-icon-size: 48px !default;
|
|
|
|
.adf {
|
|
&-info-drawer {
|
|
@include flex-column;
|
|
}
|
|
|
|
&-info-drawer-layout {
|
|
@include flex-column;
|
|
|
|
overflow: auto;
|
|
width: 100%;
|
|
background-color: var(--theme-background-color);
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.27);
|
|
|
|
& .mat-tab-label {
|
|
font-weight: bold;
|
|
text-align: left;
|
|
color: var(--theme-accent-color);
|
|
text-transform: uppercase;
|
|
opacity: 1;
|
|
|
|
&-active {
|
|
color: var(--theme-primary-color);
|
|
}
|
|
}
|
|
|
|
&-header {
|
|
padding: 13px 0 0 23px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 40px;
|
|
|
|
&-buttons {
|
|
padding-right: 18px;
|
|
|
|
mat-icon {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
&-title {
|
|
width: 197px;
|
|
height: 32px;
|
|
font-size: $adf-info-drawer-layout-title-font-size;
|
|
line-height: 1.6;
|
|
letter-spacing: -0.5px;
|
|
text-align: left;
|
|
color: var(--theme-text-color);
|
|
|
|
& > div {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-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 / 2;
|
|
color: var(--theme-text-color);
|
|
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 / 2;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|