-Updated QuecManager to 0.0.2 from PR #87 - Change-log: https: //github.com/iamromulan/quectel-rgmii-toolkit/pull/87 Co-Authored-By: Russel Yasol <73575327+dr-dolomite@users.noreply.github.com>
354 lines
5.7 KiB
CSS
354 lines
5.7 KiB
CSS
/* */
|
|
|
|
/* import Poppins font */
|
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;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)}}
|
|
|
|
/* table responsiveness */
|
|
/* Custom table styles */
|
|
.cell-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.cell-table th,
|
|
.cell-table td {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
/* Mobile styles */
|
|
@media screen and (max-width: 768px) {
|
|
.cell-table thead {
|
|
display: none;
|
|
}
|
|
|
|
.cell-carousel {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.cell-carousel__container {
|
|
display: flex;
|
|
transition: transform 0.3s ease-out;
|
|
min-height: 300px;
|
|
}
|
|
|
|
.cell-carousel__slide {
|
|
flex: 0 0 100%;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.cell-carousel__slide--new {
|
|
animation: slideIn 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(50px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.cell-card {
|
|
border: 1px solid #dbdbdb;
|
|
border-radius: 4px;
|
|
padding: 1rem;
|
|
height: 100%;
|
|
}
|
|
|
|
.cell-card__item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid #dbdbdb;
|
|
}
|
|
|
|
.cell-card__value {
|
|
transition: opacity 0.3s ease-out;
|
|
}
|
|
|
|
.cell-card__value--updating {
|
|
opacity: 0;
|
|
}
|
|
|
|
.cell-card__value--updated {
|
|
animation: fadeIn 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.cell-carousel__indicators {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.cell-carousel__dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #dbdbdb;
|
|
margin: 0 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.cell-carousel__dot--active {
|
|
background: #3273dc;
|
|
}
|
|
}
|
|
/* End of custom table styles */
|
|
|
|
.isCursorPointer {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* For APN Profiles */
|
|
.notification {
|
|
position: relative;
|
|
padding: 1.25rem 2.5rem 1.25rem 1.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.notification.is-success {
|
|
background-color: #48c78e;
|
|
color: #fff;
|
|
}
|
|
|
|
.notification.is-danger {
|
|
background-color: #f14668;
|
|
color: #fff;
|
|
}
|
|
|
|
.notification .delete {
|
|
position: absolute;
|
|
right: 0.5rem;
|
|
top: 0.5rem;
|
|
background-color: rgba(10, 10, 10, 0.2);
|
|
border: none;
|
|
border-radius: 290486px;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
height: 20px;
|
|
width: 20px;
|
|
padding: 0;
|
|
}
|
|
|
|
.is-loading {
|
|
position: relative;
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.is-loading:after {
|
|
animation: spinAround 500ms infinite linear;
|
|
border: 2px solid #dbdbdb;
|
|
border-radius: 290486px;
|
|
border-right-color: transparent;
|
|
border-top-color: transparent;
|
|
content: "";
|
|
display: block;
|
|
height: 1em;
|
|
position: absolute;
|
|
width: 1em;
|
|
position: absolute;
|
|
left: calc(50% - (1em / 2));
|
|
top: calc(50% - (1em / 2));
|
|
}
|
|
|
|
.input.is-danger,
|
|
.select.is-danger select {
|
|
border-color: #f14668;
|
|
}
|
|
|
|
@keyframes spinAround {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(359deg); }
|
|
}
|
|
|
|
.loading-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
height: 200px;
|
|
width: 100%;
|
|
}
|
|
|
|
.loading-container .icon {
|
|
color: #3273dc;
|
|
}
|
|
|
|
.loading-container p {
|
|
color: #4a4a4a;
|
|
font-size: 1.2rem;
|
|
margin-top: 1rem;
|
|
} |