monitor-dashboard/src/app/topic/indicators.component.css

56 lines
1.1 KiB
CSS

.uk-card {
min-height: 270px;
}
.number-preview {
border: 1px solid var(--muted-color);
background: transparent;
border-radius: 6px;
min-width: 100px;
min-height: 70px;
}
.refresh-indicator {
background-color: rgba(0, 0, 0, 0.50);
border-radius: 6px;
position: absolute;
color: var(--light-color);
z-index: 1;
}
.section {
padding: 60px 45px;
border-radius: 6px;
border: 1px solid var(--muted-color);
position: relative;
background: var(--light-color);
border-left: 5px var(--primary-color) solid;
}
.section .tools {
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -100%);
width: 50px;
max-width: 50px;
padding: 5px 0 5px 10px;
background-image: var(--dashboard-primary-image);
color: var(--light-color);
-webkit-clip-path: polygon(20% 5%, 80% 5%, 100% 100%, 0% 100%);
clip-path: polygon(20% 5%, 80% 5%, 100% 100%, 0% 100%);
display: none;
}
.section:hover .tools {
display: block;
}
.section:hover .tools a {
color: currentColor;
}
.section:hover .tools a:hover {
text-decoration: none;
}