Files
quectel-rgmii-toolkit/www/css/custom.css
2024-10-03 05:48:00 +08:00

163 lines
2.5 KiB
CSS

/* */
/* import Poppins font */
@import url("https://fonts.googleapis.com/css2?family=Euclid+Flex:wght@400;500;600;700&display=swap");
/* use Poppins everywhere */
* {
font-family: "Poppins", sans-serif;
}
html {
visibility: hidden;
}
html.theme-dark,
html.theme-light {
visibility: visible;
}
.body-margin {
margin-left: 1.5rem;
margin-right: 1.5rem;
margin-top: 1rem;
margin-bottom: 1rem;
height: 100vh;
}
.column-margin {
margin-top: 3rem;
margin-bottom: 2rem;
}
.table.is-borderless td,
.table.is-borderless th {
border: 0;
}
.cell {
display: grid;
height: 100%;
}
#handleRefreshClickButton {
cursor: pointer;
}
#handleRefreshClickButton:disabled {
cursor: wait;
opacity: 0.7;
}
.fa-spin {
animation: fa-spin 2s infinite linear;
}
@keyframes fa-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#dataConnState .tag {
transition: all 0.3s ease-in-out;
}
/* Add a bit of roundness on the corner */
.rounded-edge {
border-radius: 1rem;
}
.command-history {
max-height: 300px;
overflow-y: auto;
}
.loading {
opacity: 0.7;
pointer-events: none;
}
.history-item {
position: relative;
padding-right: 2rem;
}
.delete-history {
position: absolute;
top: 0.5rem;
right: 0.5rem;
cursor: pointer;
opacity: 0.7;
transition: opacity 0.2s;
}
.delete-history:hover {
opacity: 1;
}
.command-text {
cursor: pointer;
color: #485fc7;
}
.command-text:hover {
text-decoration: underline;
}
.no-history {
padding: 1rem;
text-align: center;
color: #7a7a7a;
}
@keyframes fadeOut {
to {
opacity: 0;
height: 0;
padding: 0;
margin: 0;
overflow: hidden;
}
}
.fade-out {
animation: fadeOut 0.3s ease-out forwards;
}
#cooldownTimer {
position: absolute;
right: 0.5rem;
top: 50%;
transform: translateY(-50%);
font-size: 0.8rem;
color: #666;
pointer-events: none;
}
.countdown-text {
text-align: center;
margin-top: 1rem;
margin-left: 1.5rem;
font-size: 1.2rem;
font-weight: 600;
}
/* Center content in modal */
.modal-card-body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 200px;
}
.custom-loader {
width:50px;
height:50px;
--c:radial-gradient(farthest-side,#766DF4 92%,#0000);
background:
var(--c) 50% 0,
var(--c) 50% 100%,
var(--c) 100% 50%,
var(--c) 0 50%;
background-size:12px 12px;
background-repeat:no-repeat;
animation:s7 1s infinite;
}
@keyframes s7 {to{transform: rotate(.5turn)}}