Browse Source

UI: Refactoring

pull/8638/head
Artem Dzhereleiko 3 years ago
parent
commit
f657bd306b
  1. 7
      ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.html
  2. 7
      ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.scss

7
ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.html

@ -15,9 +15,8 @@
limitations under the License.
-->
<div class="mat-content" fxFlex tb-fullscreen [fullscreen]="isFullscreen" tb-hotkeys [hotkeys]="hotKeys"
[cheatSheet]="cheatSheetComponent"
fxLayout="column" class="tb-rulechain">
<div class="mat-content tb-rulechain" fxFlex tb-fullscreen [fullscreen]="isFullscreen" tb-hotkeys [hotkeys]="hotKeys"
[cheatSheet]="cheatSheetComponent" fxLayout="column">
<tb-hotkeys-cheatsheet #cheatSheetComponent></tb-hotkeys-cheatsheet>
<section class="tb-rulechain-container" fxFlex fxLayout="column">
<div class="tb-rulechain-layout" fxFlex fxLayout="row">
@ -163,7 +162,7 @@
(click)="drawer.toggle();"
matTooltip="{{ (drawer.opened ? 'rulenode.close-node-library' : 'rulenode.open-node-library') | translate }}"
matTooltipPosition="above">
<mat-icon style="transition: transform 0.4s" [ngClass]="{'tb-library-node-btn-toggled' : !drawer.opened}">chevron_right</mat-icon>
<mat-icon class="tb-library-node-btn-icon" [ngClass]="{'tb-library-node-btn-icon-toggled' : !drawer.opened}">chevron_right</mat-icon>
</button>
<button #versionControlButton
*ngIf="!isImport"

7
ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.scss

@ -63,8 +63,11 @@
opacity: 0.5;
border-radius: 0 15px 15px 0 !important;
transform: translateY(-50%);
&-toggled {
transform: rotateZ(180deg);
&-icon {
transition: transform 0.4s !important;
&-toggled {
transform: rotateZ(180deg);
}
}
&:before {
width: 20px;

Loading…
Cancel
Save