mempool/frontend/src/app/lightning/nodes-channels-map/nodes-channels-map.component.scss

140 lines
2.2 KiB
SCSS
Raw Normal View History

.map-wrapper {
height: 100%;
&.widget {
height: 250px;
}
&.graph {
height: auto;
}
}
.card-header {
border-bottom: 0;
font-size: 18px;
2022-07-23 14:23:47 +02:00
@media (min-width: 465px) {
font-size: 20px;
}
}
.full-container {
padding: 0px 15px;
width: 100%;
2022-08-22 22:06:31 +02:00
min-height: 600px;
height: calc(100% - 150px);
2022-07-23 14:23:47 +02:00
}
2022-07-23 19:03:12 +02:00
.full-container.nodepage {
2022-08-22 22:06:31 +02:00
min-height: 400px;
margin-top: 25px;
margin-bottom: 25px;
}
.full-container.channelpage {
min-height: 400px;
margin-top: 25px;
margin-bottom: 25px;
2022-08-23 16:26:01 +02:00
min-height: 100%;
2022-07-23 19:03:12 +02:00
}
.full-container.widget {
height: 250px;
min-height: 250px;
}
2022-08-11 17:19:12 +00:00
.full-container.fit-container {
margin: 0;
padding: 0;
height: 100%;
min-height: 100px;
.chart {
padding: 0;
min-height: 100px;
}
}
.chart {
2022-07-23 15:43:38 +02:00
min-height: 500px;
width: 100%;
height: 100%;
@media (max-width: 992px) {
padding-bottom: 25px;
}
@media (max-width: 829px) {
padding-bottom: 50px;
}
@media (max-width: 767px) {
padding-bottom: 25px;
}
@media (max-width: 629px) {
padding-bottom: 55px;
}
@media (max-width: 567px) {
padding-bottom: 55px;
}
}
2022-08-22 22:06:31 +02:00
.chart.graph {
min-height: 600px;
}
.chart.nodepage {
2022-08-23 16:26:01 +02:00
min-height: 100%;
width: 100%;
height: 100%;
padding-bottom: 0px;
2022-08-22 22:06:31 +02:00
}
.chart.channelpage {
min-height: 400px;
}
.widget {
2022-08-23 16:26:01 +02:00
width: 100%;
2022-08-22 22:06:31 +02:00
margin-left: auto;
margin-right: auto;
height: 250px;
-webkit-mask: linear-gradient(0deg, #11131f00 5%, #11131fff 25%);
}
.widget > .chart {
min-height: 250px;
-webkit-mask: linear-gradient(180deg, #11131f00 0%, #11131fff 20%);
@media (max-width: 767.98px) {
padding-bottom: 0px;
}
}
.loading-spinner {
position: absolute;
top: 50%;
left: calc(50% - 15px);
z-index: 100;
2022-08-23 17:52:37 +02:00
@media (max-width: 767.98px) {
top: 550px;
}
}
.loading-spinner.widget {
position: absolute;
top: 200px;
z-index: 100;
width: 100%;
left: 0;
@media (max-width: 767.98px) {
top: 250px;
}
2022-08-23 17:52:37 +02:00
}
.loading-spinner.nodepage {
position: absolute;
top: 200px;
z-index: 100;
width: 100%;
left: 0;
}
.loading-spinner.channelpage {
position: absolute;
top: 400px;
z-index: 100;
width: 100%;
left: 0;
@media (max-width: 767.98px) {
top: 450px;
}
}