mirror of
https://github.com/nasa/openmct.git
synced 2025-01-16 18:01:46 +00:00
b68f79f427
* fix flexible-layout bug * abstract element item from elements pool * improve dragging of elements pool * better dragover handling in elements pool Co-authored-by: Deep Tailor <deep.j.tailor@nasa.com> Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
39 lines
677 B
SCSS
39 lines
677 B
SCSS
.c-elements-pool {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
flex: 1 1 auto !important;
|
|
|
|
> * + * {
|
|
margin-top: $interiorMargin;
|
|
}
|
|
|
|
&__search {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
&__elements {
|
|
flex: 1 1 auto;
|
|
overflow: auto;
|
|
}
|
|
|
|
.c-grippy {
|
|
$d: 8px;
|
|
flex: 0 0 auto;
|
|
margin-right: $interiorMarginSm;
|
|
transform: translateY(-2px);
|
|
width: $d; height: $d;
|
|
}
|
|
|
|
&.is-context-clicked {
|
|
box-shadow: inset $colorItemTreeSelectedBg 0 0 0 1px;
|
|
}
|
|
|
|
.hover {
|
|
background-color: $colorItemTreeSelectedBg;
|
|
}
|
|
}
|
|
|
|
.js-last-place {
|
|
height: 10px;
|
|
} |