mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-01 15:00:49 +00:00
Fix for styling zoom buttons & color of left menu
This commit is contained in:
parent
c4df0e49f9
commit
7d9928609d
@ -150,7 +150,7 @@
|
||||
<button matTooltip="Zoom in" matTooltipClass="custom-tooltip" class="zoom-button" (click)="zoomIn()">
|
||||
<mat-icon>zoom_in</mat-icon>
|
||||
</button>
|
||||
<button matTooltip="Reset zoom" matTooltipClass="custom-tooltip" class="zoom-button" (click)="resetZoom()">
|
||||
<button matTooltip="Reset zoom" matTooltipClass="custom-tooltip" class="reset-zoom-button" (click)="resetZoom()">
|
||||
<mat-icon>adjust</mat-icon>
|
||||
</button>
|
||||
<button matTooltip="Zoom out" matTooltipClass="custom-tooltip" class="zoom-button" (click)="zoomOut()">
|
||||
|
@ -101,7 +101,7 @@ g.node:hover {
|
||||
left: 0px;
|
||||
width: 50px;
|
||||
margin: 20px;
|
||||
background-color: rgba(15,18,20,0.90);
|
||||
background-color: #20313b;
|
||||
border-radius: 6px;
|
||||
box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
|
||||
z-index: 2;
|
||||
@ -131,6 +131,27 @@ g.node:hover {
|
||||
background: none;
|
||||
margin: 2px 0px;
|
||||
color: white;
|
||||
|
||||
mat-icon {
|
||||
font-size: 24px!important;
|
||||
}
|
||||
}
|
||||
|
||||
.reset-zoom-button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
border-radius: 18px;
|
||||
background: none;
|
||||
margin: 2px 0px;
|
||||
color: white;
|
||||
|
||||
mat-icon {
|
||||
font-size: 16px!important;
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.selection-button {
|
||||
@ -162,6 +183,11 @@ g.node:hover {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.reset-zoom-button {
|
||||
opacity: 0.7;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.section {
|
||||
border-top: 1px solid rgba(0,0,0,0.1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user