gns3-web-ui/src/app/components/project-map/project-map.component.css
2018-11-23 05:34:59 -08:00

170 lines
2.7 KiB
CSS

app-root, app-project-map, .project-map, app-map {
width: auto;
}
svg.map {
background-color: #F0F0F0;
}
g.node:hover {
background-color: #0097a7;
}
.project-toolbar {
width: 70px;
position: fixed;
top: 20px;
left: 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.draw-menu{
position: fixed;
background: transparent;
top: 20px;
left: 92px;
width: 232px !important;
height: 72px !important;
}
.draw-menu button{
outline: none;
}
.drawer-container{
height: 72px !important;
background: transparent;
}
.drawer{
width: 232px !important;
height: 72px !important;
background:#263238;
}
.drawer-content{
background: transparent;
}
.drawer-button{
height: 72px;
width: 64px!important;
background: #263238;
padding: 0;
border: none;
outline: none;
background-color: transparent;
}
.drawer-arrow-button-right{
width: 40px;
height: 72px;
padding-top: 16px;
background:#263238;
position: fixed;
}
.drawer-arrow-button-left{
width: 40px;
height: 72px;
margin-left: 192px;
background:#263238;
position: fixed;
}
.drawer-buttons{
background:#263238;
padding-top: 16px;
height: 72px;
display: flex;
flex-direction: row;
}
.selected {
stroke: #0097a7!important;
}
.project-toolbar .mat-toolbar-multiple-rows {
width: auto !important;
}
.loading-spinner {
position: absolute;
top: 50%;
width: 100px;
margin-left:-50px;
margin-top: -50px;
left: 50%;
}
svg.map image:hover, svg.map image.chosen, g.selected {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
filter: url("#grayscale"); /* Chrome doesn't support CSS filters on SVG */
}
g.selected line {
stroke: transparent;
}
path.selected {
stroke: darkred;
}
.selected > .interface_label_border {
stroke: black;
fill: none;
}
.selection-line-tool .selection {
fill: #7ccbe1;
stroke: #66aec2 ;
fill-opacity: 0.3;
stroke-opacity: 0.7;
stroke-width: 1;
stroke-dasharray: 5, 5;
}
g.node text,
.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Disable outline after button click */
.project-toolbar button {
outline: 0;
border: none;
-moz-outline-style: none
}
.options-item {
padding-left: 15px;
padding-right: 15px;
}
.context-menu-items .mat-menu-item {
line-height: 24px !important;
height: 24px !important;
font-size: 13px !important;
padding: 0 6px;
outline: none !important;
}
.context-menu-items .mat-menu-item .mat-icon {
margin-right: 3px;
}
.context-menu-items .mat-menu-item:focus {
background: none;
}