blob: aaf0c9969c35eb3fe3c93aab79b7e49ee940c46e [file] [log] [blame]
@import '../netopeer-common';
$colorChanged: #fafad2;
$colorChangedBorder: #e4e4a4;
$colorLineHover: #e1e1e1;
.subtree {
display: flex;
flex-direction: column;
width: 100%;
.indentation{
height: 100%;
}
}
.node {
width: 100%;
overflow: hidden;
&:hover {
background-color: $colorLineHover;
}
> div {
display: inline-block;
}
}
.node_edit {
display: flex;
width: 100%;
overflow: hidden;
img,
input {
display: inline-table;
margin-right: 0.25em;
}
input {
height: 2em;
padding-left: 0.3em;
background-color: $colorSuccess;
&.invalid {
background-color: $colorFailure;
}
}
&.indentation {
height:2.1em;
}
> .msg-failure {
margin: 0.5em 0;
}
}
.node_edit.dialog {
background-color: $colorChanged;;
}
.status,
.keys {
color: grey;
}
.dirty {
background-color: $colorChanged;
}
.moved {
background-color: #d8e8f8;
}
.deleted {
background-color: $colorFailure;
color: $colorFailureBorder;
}
.icon,
.icon_action {
font-size: xx-small;
height: 2em;
}
.icon_action {
cursor: pointer;
}
.icon_hidden {
visibility: hidden;
}
.module_name {
cursor: pointer;
float: right;
text-align: right;
max-width: 25em;
word-wrap: break-word;
}
.children {
padding-left: 0;
}
.node_info{
display: inline-block;
word-wrap: break-word;
margin-left: 3px;
flex-grow: 1;
}
.value_inline {
margin-left: 1.5em;
}
.indentation.value {
width: 0.8em;
height: 100%;
}
.indentation {
width: 1.7em;
height: 100%;
}
.editmenu {
visibility: hidden;
background-color: $colorBackground;
border: 1px solid $black;
position: fixed;
z-index: 1;
}
.button_action {
cursor: pointer;
padding: 0.3em 1em 0.3em 0.5em;
&:hover {
background-color: $colorHighlight;
color: $colorTextInverse;
}
}
.loading {
margin-top: 0.5em;
}
.yang-leaflist {
display: flex;
align-items: center;
flex-direction: row;
}
.yang-leaflist-value {
display: flex;
}
.yang-container,
.yang-list {
display:flex;
align-items: center;
}
.yang-leaf {
display: flex;
align-items: center;
}
.value_standalone {
flex-grow:1;
word-break: break-all;
}
.ordered {
cursor: move;
}
tree-indent {
display: inline-flex;
align-items: stretch;
flex-direction: row;
img{
display: inline-block;
}
}