Files
cosmos-explorer/src/Explorer/Controls/TreeComponent/treeComponent.less
MokireddySampath c7c894d6d9 Sampath accessibility sev 2 2 (#1404)
* autoscale and manual radiobuutton fixes

* alt text attribute for images

* Revert "alt text attribute for images"

This reverts commit 5a660551c6.

* alt text for decorative images

* sev2 accessibilitydefects in data explorer

* Revert "sev2 accessibilitydefects in data explorer"

This reverts commit b84d5b572c.

* Sev2 accessibilitydefects

* Revert "Sev2 accessibilitydefects"

This reverts commit a4e60f106c.

* accessibilitydefects-data explorer

* Accessibility sev-2 defects-2

* corrections for 2278347,2278096 and fix for 2264174

* color for placeholder changed to 767474, margin is set to accommodate height between treeheader elements

* padding added for databaseheader, removed margin and restored padding to treenodeheader
2023-04-03 22:11:40 +05:30

90 lines
1.5 KiB
Plaintext

@import "../../../../less/Common/Constants";
.treeComponent {
.nodeItem {
&:focus {
outline: 2px @AccentMedium;
}
.treeNodeHeader {
padding: @SmallSpace 2px;
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;
}
}