Files
xuchang-new/src/components/Modules/EnergyCostAnalysis/Energy/index.module.css
2024-04-25 11:04:52 +08:00

58 lines
1.1 KiB
CSS

.layout {
display: grid;
gap: 6px;
/* grid-template-columns: 133px 158px 292px 292px; */
grid-template-columns: 125px 250px 250px 250px;
/* grid-template-rows: 60px 60px; */
grid-template-rows: auto;
height: 100%;
}
.shadowBorder {
box-shadow: inset 0 0 12px 3px #fff2;
border-radius: 4px;
padding: 4px;
backdrop-filter: blur(3px);
}
.shadowBorder.border {
position: relative;
border-bottom: 2px solid #00fff7;
}
.shadowBorder.border::before,
.shadowBorder.border::after {
content: "";
position: absolute;
bottom: 0;
display: inline-block;
height: 100%;
width: 2px;
background: linear-gradient(to top, #00fff7, #00fff708, transparent);
}
.shadowBorder.border::before {
left: 0;
}
.shadowBorder.border::after {
right: 0;
}
.infoText {
text-align: center;
font-size: 22px;
line-height: 2.5;
/* line-height: 20px; */
letter-spacing: 1px;
user-select: none;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.infoText > span:last-child {
color: #00fff7;
font-size: 24px;
}