bitburner-src/css/treant.css

69 lines
1.1 KiB
CSS
Raw Normal View History

/* required LIB STYLES */
/* .Treant se automatski dodaje na svaki chart conatiner */
2021-09-05 01:09:30 +02:00
.Treant {
position: relative;
overflow: hidden;
padding: 0 !important;
}
.Treant > .node,
2021-09-05 01:09:30 +02:00
.Treant > .pseudo {
position: absolute;
display: block;
visibility: hidden;
}
.Treant.Treant-loaded .node,
2021-09-05 01:09:30 +02:00
.Treant.Treant-loaded .pseudo {
visibility: visible;
}
.Treant > .pseudo {
width: 0;
height: 0;
border: none;
padding: 0;
}
.Treant .collapse-switch {
width: 3px;
height: 3px;
display: block;
border: 1px solid black;
position: absolute;
top: 1px;
right: 1px;
cursor: pointer;
}
.Treant .collapsed .collapse-switch {
background-color: #868dee;
}
.Treant > .node img {
border: none;
float: left;
}
.Treant > .node {
2021-09-05 01:09:30 +02:00
cursor: pointer;
padding: 4px;
min-width: 60px;
text-align: center;
border: 2px solid #e8e8e3;
border-radius: 2px;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
font-size: 12px;
}
.Treant > .researched {
2021-09-05 01:09:30 +02:00
background-color: #666;
font-size: 16px;
}
.Treant > .locked > div {
2021-09-05 01:09:30 +02:00
color: red;
pointer-events: none;
}
.Treant > .node > div {
2021-09-05 01:09:30 +02:00
font-size: 12px;
}
.Treant > .unlocked:hover {
2021-09-05 01:09:30 +02:00
background-color: #666;
}