Merge pull request #9539 from opf/refactor-stylesheet-bim
refactoring the stylesheets in bimpull/9585/head
commit
c3112d5cd0
@ -1,37 +1,37 @@ |
|||||||
<div class="result-overlay" |
<div class="op-bcf-list-container--result-overlay" |
||||||
*ngIf="(showResultOverlay$ | async) && showTableView"></div> |
*ngIf="(showResultOverlay$ | async) && showTableView"></div> |
||||||
|
|
||||||
<!-- TABLE + TIMELINE horizontal split --> |
<!-- TABLE + TIMELINE horizontal split --> |
||||||
<div class="work-packages-split-view--tabletimeline-container" |
<div class="op-bcf-list-container--work-packages-split-view--tabletimeline-container" |
||||||
[ngClass]="{ '-with-resizer': showResizerInCardView() }" |
[ngClass]="{ '_with-resizer': showResizerInCardView() }" |
||||||
*ngIf="tableInformationLoaded && showTableView"> |
*ngIf="tableInformationLoaded && showTableView"> |
||||||
<wp-resizer elementClass="work-packages-partitioned-page--content-right" |
<wp-resizer elementClass="work-packages-partitioned-page--content-right" |
||||||
localStorageKey="openProject-splitViewFlexBasis"> |
localStorageKey="openProject-splitViewFlexBasis"> |
||||||
</wp-resizer> |
</wp-resizer> |
||||||
|
|
||||||
<wp-table [projectIdentifier]="CurrentProject.identifier" |
<wp-table [projectIdentifier]="CurrentProject.identifier" |
||||||
[configuration]="wpTableConfiguration" |
[configuration]="wpTableConfiguration" |
||||||
(itemClicked)="handleWorkPackageClicked($event)" |
(itemClicked)="handleWorkPackageClicked($event)" |
||||||
(stateLinkClicked)="openStateLink($event)" |
(stateLinkClicked)="openStateLink($event)" |
||||||
class="work-packages-split-view--tabletimeline-content"> |
class="work-packages-split-view--tabletimeline-content"> |
||||||
</wp-table> |
</wp-table> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<!-- GRID representation of the WP --> |
<!-- GRID representation of the WP --> |
||||||
<div *ngIf="!showTableView" |
<div *ngIf="!showTableView" |
||||||
class="work-packages--card-view-container" |
class="op-bcf-list-container--work-packages--card-view-container" |
||||||
[ngClass]="{ '-with-resizer': showResizerInCardView() }" > |
[ngClass]="{ '_with-resizer': showResizerInCardView() }" > |
||||||
<wp-grid [configuration]="wpTableConfiguration" |
<wp-grid [configuration]="wpTableConfiguration" |
||||||
[showResizer]="showResizerInCardView()" |
[showResizer]="showResizerInCardView()" |
||||||
(itemClicked)="handleWorkPackageCardClicked($event)" |
(itemClicked)="handleWorkPackageCardClicked($event)" |
||||||
(stateLinkClicked)="openStateLink($event)" |
(stateLinkClicked)="openStateLink($event)" |
||||||
resizerClass="work-packages-partitioned-page--content-right" |
resizerClass="work-packages-partitioned-page--content-right" |
||||||
resizerStorageKey="openProject-splitViewFlexBasis"> |
resizerStorageKey="openProject-splitViewFlexBasis"> |
||||||
</wp-grid> |
</wp-grid> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<!-- Footer --> |
<!-- Footer --> |
||||||
<div class="work-packages-split-view--tabletimeline-footer hide-when-print" |
<div class="work-packages-split-view--tabletimeline-footer hide-when-print" |
||||||
*ngIf="tableInformationLoaded"> |
*ngIf="tableInformationLoaded"> |
||||||
<wp-table-pagination></wp-table-pagination> |
<wp-table-pagination></wp-table-pagination> |
||||||
</div> |
</div> |
@ -1,35 +1,36 @@ |
|||||||
@import "src/assets/sass/helpers" |
@import "src/assets/sass/helpers" |
||||||
|
|
||||||
.result-overlay |
.op-bcf-list-container |
||||||
@include overlay-background |
&--result-overlay |
||||||
background-color: #FFFFFF |
@include overlay-background |
||||||
opacity: 0.5 |
background-color: #FFFFFF |
||||||
|
opacity: 0.5 |
||||||
|
|
||||||
.work-packages--card-view-container |
&--work-packages--card-view-container |
||||||
width: 100% |
width: 100% |
||||||
overflow: auto |
overflow: auto |
||||||
padding-bottom: 5px |
padding-bottom: 5px |
||||||
@include styled-scroll-bar |
@include styled-scroll-bar |
||||||
|
|
||||||
@media screen and (min-width: 679px) |
@media screen and (min-width: 679px) |
||||||
&.-with-resizer |
&._with-resizer |
||||||
padding-left: 10px |
padding-left: 10px |
||||||
|
|
||||||
@media screen and (max-width: 679px) |
@media screen and (max-width: 679px) |
||||||
// Ensure the WP cards span the complete width on mobile |
// Ensure the WP cards span the complete width on mobile |
||||||
// --> Move scrollbar out of visible area |
// --> Move scrollbar out of visible area |
||||||
min-width: calc(100vw + 10px) |
min-width: calc(100vw + 10px) |
||||||
|
|
||||||
.work-packages-split-view--tabletimeline-container |
&--work-packages-split-view--tabletimeline-container |
||||||
display: flex |
display: flex |
||||||
flex: 1 1 auto |
flex: 1 1 auto |
||||||
@include styled-scroll-bar |
@include styled-scroll-bar |
||||||
|
|
||||||
@media screen and (min-width: 679px) |
@media screen and (min-width: 679px) |
||||||
&.-with-resizer |
&._with-resizer |
||||||
padding-left: 10px |
padding-left: 10px |
||||||
|
|
||||||
@media screen and (max-width: 679px) |
@media screen and (max-width: 679px) |
||||||
// Ensure the WP cards span the complete width on mobile |
// Ensure the WP cards span the complete width on mobile |
||||||
// --> Move scrollbar out of visible area |
// --> Move scrollbar out of visible area |
||||||
min-width: calc(100vw + 10px) |
min-width: calc(100vw + 10px) |
@ -1,58 +1,58 @@ |
|||||||
@import "src/assets/sass/helpers" |
@import "src/assets/sass/helpers" |
||||||
|
|
||||||
.ifc-model-viewer |
.op-ifc-viewer |
||||||
height: 100% |
height: 100% |
||||||
|
|
||||||
.notification-box |
.notification-box |
||||||
position: absolute |
position: absolute |
||||||
right: 10px |
right: 10px |
||||||
|
|
||||||
.ifc-model-viewer--nav-cube-canvas |
&--nav-cube-canvas |
||||||
position: absolute |
position: absolute |
||||||
width: 200px |
width: 200px |
||||||
height: 200px |
height: 200px |
||||||
bottom: 0 |
bottom: 0 |
||||||
right: 0 |
right: 0 |
||||||
z-index: 10 |
z-index: 10 |
||||||
|
|
||||||
.ifc-model-viewer--section-planes-overview-canvas |
|
||||||
position: absolute |
|
||||||
width: 250px |
|
||||||
height: 250px |
|
||||||
top: 50px |
|
||||||
right: 50px |
|
||||||
z-index: 2000 |
|
||||||
|
|
||||||
.ifc-model-viewer--container |
|
||||||
position: relative |
|
||||||
width: 100% |
|
||||||
height: 100% |
|
||||||
padding-bottom: 10px |
|
||||||
overflow: hidden |
|
||||||
min-width: 420px |
|
||||||
|
|
||||||
.ifc-model-viewer--model-canvas |
|
||||||
width: 100% |
|
||||||
height: 100% |
|
||||||
|
|
||||||
&:focus |
|
||||||
outline: none |
|
||||||
|
|
||||||
.ifc-model-viewer--focus-warning |
&--section-planes-overview-canvas |
||||||
@include without-link-styling |
position: absolute |
||||||
position: absolute |
width: 250px |
||||||
top: 6px |
height: 250px |
||||||
right: 395px |
top: 50px |
||||||
|
right: 50px |
||||||
|
z-index: 2000 |
||||||
|
|
||||||
|
&--container |
||||||
|
position: relative |
||||||
|
width: 100% |
||||||
|
height: 100% |
||||||
|
padding-bottom: 10px |
||||||
|
overflow: hidden |
||||||
|
min-width: 420px |
||||||
|
|
||||||
|
&--model-canvas |
||||||
|
width: 100% |
||||||
|
height: 100% |
||||||
|
|
||||||
|
&:focus |
||||||
|
outline: none |
||||||
|
|
||||||
|
&--focus-warning |
||||||
|
@include without-link-styling |
||||||
|
position: absolute |
||||||
|
top: 6px |
||||||
|
right: 395px |
||||||
|
|
||||||
.ifc-model-viewer--keyboard-disabled-icon |
&--keyboard-disabled-icon |
||||||
font-size: 20px |
font-size: 20px |
||||||
|
|
||||||
.ifc-model-viewer--toolbar-container, |
&--toolbar-container, |
||||||
.ifc-model-viewer--focus-warning |
&--focus-warning |
||||||
margin-top: 10px |
margin-top: 10px |
||||||
margin-right: 5px |
margin-right: 5px |
||||||
|
|
||||||
@media only screen and (max-width: 679px) |
&--nav-cube-canvas, |
||||||
.ifc-model-viewer--nav-cube-canvas, |
&--focus-warning |
||||||
.ifc-model-viewer--focus-warning |
@media only screen and (max-width: 679px) |
||||||
display: none |
display: none |
||||||
|
@ -1 +1 @@ |
|||||||
<div class="ifc-model-viewer--tree-panel active"></div> |
<div class="op-ifc-viewer--tree-panel active" data-qa-selector="op-ifc-viewer--tree-panel"></div> |
||||||
|
Loading…
Reference in new issue