Files
cosmos-explorer/src/Explorer/Controls/TreeComponent/treeComponent.less

90 lines
1.5 KiB
Plaintext

@import "../../../../less/Common/Constants";
.treeComponent {
.nodeItem {
&:focus {
outline: 2px @AccentMedium;
}
.treeNodeHeader {
margin: 1px;
cursor: pointer;
display: flex;
&:hover {
background-color: @AccentLight;
.treeMenuEllipsis {
opacity: 1;
}
}
&.showingMenu {
background-color: #eee;
}
.treeMenuEllipsis {
max-height: 17px;
padding-right: 6px;
position: relative;
left: 0px;
float: right;
padding-left: 6px;
opacity: 0;
&:focus {
opacity: 1;
}
}
.nodeIcon {
width: 16px;
height: 16px;
vertical-align: text-top;
margin-right: @SmallSpace;
}
.expandCollapseIcon {
width: 10px;
height: 10px;
vertical-align: middle;
margin: 2px @DefaultSpace 2px @SmallSpace;
}
.nodeLabel {
line-height: 18px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
flex-grow: 1;
}
}
.selected {
& > .treeNodeHeader {
background-color: @AccentExtra;
}
}
}
}
.treeComponentMenuItemContainer {
font-size: @mediumFontSize;
.treeComponentMenuItemLabel {
margin-left: @SmallSpace;
}
img {
vertical-align: text-bottom;
}
}
.loadingIconContainer {
width: 100%;
.loadingIcon {
height: 6px;
margin-left: 38px;
}
}