mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* add stylelint * fix style first part * fix style second part * fix style third part * fix style fourth part * Fix e2e tests first part * Fix e2e tests second part * Rebase branch * fix style third part * fix style fourth part * Fix list error * fix insights * fix style abotu component * Fix e2e tests second part * Rebase branch * fix style third part * fix style fourth part * Fix list error * Fix e2e tests second part * Rebase branch * fix style third part * fix style fourth part * Fix list error * [ADF-3746] Rebase branch * Fix e2e tests second part * Rebase branch * fix style third part * fix style fourth part * Fix list error * Fix e2e tests second part * Rebase branch * Fix list error * fix new style added * tslint fix * [ADF-3746] Fix scss errors on Process Filters Cloud component
207 lines
5.0 KiB
SCSS
207 lines
5.0 KiB
SCSS
@mixin adf-viewer-theme($theme) {
|
|
$background: map-get($theme, background);
|
|
$foreground: map-get($theme, foreground);
|
|
$adf-viewer-background-color: mat-color($background, card);
|
|
|
|
.adf-full-screen {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: $adf-viewer-background-color;
|
|
}
|
|
|
|
.adf-viewer {
|
|
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.mat-toolbar {
|
|
color: mat-color($foreground, text, 0.54);
|
|
}
|
|
|
|
&-main {
|
|
width: 0;
|
|
}
|
|
|
|
&__mimeicon {
|
|
vertical-align: middle;
|
|
height: 18px;
|
|
width: 18px;
|
|
}
|
|
|
|
&-toolbar {
|
|
.mat-toolbar {
|
|
background-color: mat-color($background, card, 0.87);
|
|
}
|
|
}
|
|
|
|
&__file-title {
|
|
text-align: center;
|
|
}
|
|
|
|
&__display-name {
|
|
font-size: 16px;
|
|
opacity: 0.87;
|
|
line-height: 1.5;
|
|
letter-spacing: -0.4px;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-stretch: normal;
|
|
|
|
max-width: 400px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
color: mat-color($foreground, text);
|
|
}
|
|
|
|
&-container {
|
|
.adf-viewer-layout-content {
|
|
@extend .adf-full-screen;
|
|
position: relative;
|
|
overflow-y: hidden;
|
|
overflow-x: hidden;
|
|
z-index: 1;
|
|
background-color: mat-color($background, background);
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
flex: 1;
|
|
|
|
& > div {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
margin: 0 auto;
|
|
align-items: stretch;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.adf-viewer-layout {
|
|
@extend .adf-full-screen;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.adf-viewer-content {
|
|
@extend .adf-full-screen;
|
|
flex: 1;
|
|
|
|
& > div {
|
|
height: 0; // Firefox
|
|
}
|
|
}
|
|
}
|
|
|
|
&-overlay-container {
|
|
.adf-viewer-content {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
}
|
|
}
|
|
|
|
&-inline-container {
|
|
@extend .adf-full-screen;
|
|
}
|
|
|
|
&-content-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
&-custom-content {
|
|
width: 100vw;
|
|
}
|
|
|
|
&-unknown-content {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
&__loading-screen {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
height: 85vh;
|
|
|
|
.mat-spinner {
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
&__sidebar {
|
|
width: 350px;
|
|
display: block;
|
|
padding: 0;
|
|
background-color: mat-color($background, background);
|
|
box-shadow: 0 2px 4px 0 mat-color($foreground, text, 0.27);
|
|
overflow: auto;
|
|
|
|
&__right {
|
|
border-left: 1px solid mat-color($foreground, text, 0.07);
|
|
}
|
|
|
|
&__left {
|
|
border-right: 1px solid mat-color($foreground, text, 0.07);
|
|
}
|
|
}
|
|
|
|
&__thumbnails {
|
|
width: 180px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
background: #e6e6e6;
|
|
|
|
.adf-info-drawer-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
background: #e6e6e6;
|
|
}
|
|
|
|
.adf-info-drawer-layout-header {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.adf-info-drawer-layout-content {
|
|
padding: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.adf-info-drawer-content {
|
|
height: 100%;
|
|
}
|
|
|
|
.adf-info-drawer-layout-content > *:last-child {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
&__toolbar {
|
|
&-page-scale {
|
|
cursor: default;
|
|
width: 79px;
|
|
height: 24px;
|
|
font-size: 14px;
|
|
border: 1px solid mat-color($foreground, text, 0.07);
|
|
text-align: center;
|
|
line-height: 24px;
|
|
margin-left: 4px;
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|