Files
backend/public/dist/css/bi.css
2024-02-01 09:53:53 +00:00

587 lines
10 KiB
CSS

* {
user-select: none;
}
body {
width: 100vw;
height: 100vh;
overflow: hidden;
background-color: #f1f1f1;
}
.datepicker-plot-area{
font-family: 'IRANSansFaNum'
}
/* width */
::-webkit-scrollbar {
width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}
.bi-loader {
position: absolute;
width: 100%;
height: 100%;
z-index: 1001;
background-color: rgba(100, 100, 100, 0.8);
display: flex;
align-items: center;
justify-content: center;
user-select: none;
}
.bi-loader .loader {
margin: 50px;
}
.map-bi {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
.map-container fieldset {
position: relative;
}
.leaflet-bar a {
background-color: #fff;
border-bottom: 1px solid #ccc;
color: #444;
display: block;
height: 26px;
width: 26px;
line-height: 1.45 !important;
text-align: center;
text-decoration: none;
font: bold 18px "Lucida Console", Monaco, monospace;
}
.push-pop {
--duration: 0.85;
height: 50px;
width: 50px;
position: relative;
overflow: hidden;
}
.push-pop > div:nth-of-type(1) {
height: 10px;
width: 10px;
position: absolute;
animation: push-pop-slide calc(var(--duration) * 1s) infinite alternate
ease-in-out;
transform: translate(0, -100%);
top: 100%;
left: 0;
}
.push-pop > div:nth-of-type(1):after {
animation: push-pop-flip calc(var(--duration) * 1s) infinite alternate
ease-in-out;
background: #662d91;
content: "";
height: 100%;
position: absolute;
width: 100%;
}
.push-pop > div:nth-of-type(2) {
background: #0054a6;
height: 15px;
left: 50%;
position: absolute;
top: 100%;
transform: translate(-50%, -100%);
width: 10px;
}
.push-pop:after,
.push-pop:before {
animation: push-pop-pushed calc(var(--duration) * 1s) alternate infinite ease;
bottom: 0;
content: "";
height: 20px;
position: absolute;
width: 10px;
}
.push-pop:before {
animation: push-pop-pushed calc(var(--duration) * 1s) alternate-reverse
infinite ease;
left: 0;
background: #00aeef;
}
.push-pop:after {
right: 0;
background: #2e3192;
}
@keyframes push-pop-pushed {
0%,
72.5% {
transform: translate(0, 0);
}
100% {
transform: translate(0, 100%);
}
}
@keyframes push-pop-flip {
0% {
transform: translate(0, 0) rotate(0deg);
}
50% {
transform: translate(0, -40px) rotate(90deg);
}
100% {
transform: translate(0, 0) rotate(180deg);
}
}
@keyframes push-pop-slide {
to {
transform: translate(0, -100%) translate(40px, 0);
}
}
.container-bi {
width: 100%;
padding-right: 7.5px;
padding-left: 7.5px;
margin-right: auto;
margin-left: auto;
height: 100%;
color: #4b4b4b;
}
.not-support-device {
display: none;
}
.filter-box {
border: 1px solid #d5d5d5;
border-radius: 8px;
text-align: center;
background-color: #fff;
}
.filter-box .filter-box-col:first-child {
border-left: 2px dashed #939393;
}
.filter-box .filter-box-col:last-child {
margin-right: -2px;
}
.form-control-bi {
border-radius: 8px;
}
.form-control-bi-down:focus {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.form-control-bi-up:focus {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.filter-box .filter-box-col:first-child .form-control-bi {
background-color: #fff;
color: #333;
border: 1px solid #dcdcdc;
}
.filter-box .filter-box-col:last-child .form-control-bi {
background-color: #fff;
color: #333;
border: 1px solid #dcdcdc;
}
.filter-box .filter-box-col:last-child .form-control-bi::placeholder {
color: #666;
}
.filter-box .filter-box-col .form-control-bi:disabled,
.filter-box .filter-box-col .form-control-bi[readonly] {
opacity: 0.4;
}
.filter-logo {
height: 30px;
}
.action-buttons {
flex: 0 0 80.333333%;
position: relative;
width: 100%;
padding-right: 7.5px;
padding-left: 7.5px;
cursor: pointer;
}
.action-buttons * {
cursor: pointer;
}
.action-single-button {
flex-basis: 0;
flex-grow: 1;
position: relative;
width: 100%;
padding-right: 7.5px;
padding-left: 7.5px;
}
.btn-action-box {
background-color: #fff;
border-radius: 8px;
transition: 0.3s all;
user-select: none;
box-shadow: 0 0 3px #6b6b6b40;
color: #8e8e8e;
}
.btn-action-box * {
user-select: none;
}
.action-counter {
background-color: #00aeef;
transition: 0.3s all;
border-radius: 8px;
color: #fff;
font-weight: bold;
}
.btn-action-box:hover {
box-shadow: 0 16px 21px #6b6b6b40;
background-color: #fff;
color: #2d2d2d;
}
.btn-action-box:hover .action-counter {
background-color: #00aeef;
}
.btn-action-box.active {
box-shadow: 0 16px 21px #6b6b6b40;
background-color: #4280bd;
border-radius: 24px;
color: #fff;
}
.btn-action-box.active .action-counter {
background-color: #fff;
border-radius: 16px;
color: #4280bd;
}
.road-infrastructure-counter {
background-color: #00aeef;
transition: 0.3s all;
border-radius: 8px;
color: #fff;
font-weight: bold;
}
.chart-print {
background-color: #fff;
border: 1px solid #b6b6b6;
columns: #333;
border-radius: 4px;
transition: 0.3s all;
}
.chart-print:hover {
background-color: #dddddd;
border-color: #a0a0a0;
}
.daily-status-container .canvas-box {
overflow-y: auto;
overflow-x: hidden;
}
.canvas-box {
position: relative;
}
fieldset {
border: 1px solid #d5d5d5;
border-radius: 8px;
}
fieldset legend {
width: auto;
text-align: center;
padding: 5px 10px;
font-weight: bold;
margin: 0;
}
.charts-box {
display: flex;
}
.chart-box fieldset {
background-color: #fff;
}
.chart-box fieldset legend {
border-top-right-radius: 8px;
border-top-left-radius: 8px;
background-color: #fff;
border-top: 1px solid #d5d5d5;
}
.charts-box .chart-box:first-child {
padding-right: 0;
}
.charts-box .chart-box:last-child {
padding-left: 0;
}
[aria-display="hide"] {
display: none;
}
.btn-bi {
border: 0;
border-radius: 50%;
background-color: #ffcc00;
}
.btn-bi:hover {
background-color: #e2bb1c;
}
@media print {
@page {
size: landscape;
}
}
@media (max-width: 1023px) {
.container-bi {
display: none;
opacity: 0;
visibility: hidden;
}
.not-support-device {
display: flex;
}
}
@media (max-height: 519px) {
.container-bi {
display: none;
opacity: 0;
visibility: hidden;
}
.not-support-device {
display: flex;
}
}
@media (min-width: 1024px) {
.container-bi {
font-size: 10px;
}
.form-control-bi {
font-size: 0.6rem;
}
.btn-bi {
font-size: 0.7rem;
width: 35px;
height: 35px;
}
.filter-container {
flex: 0 0 8.333333%;
position: relative;
width: 100%;
padding-right: 7.5px;
padding-left: 7.5px;
overflow: hidden;
}
.actions-container {
flex: 0 0 58.333333%;
position: relative;
width: 100%;
padding-right: 7.5px;
padding-left: 7.5px;
overflow: hidden;
}
.charts-container {
flex: 0 0 30.333333%;
position: relative;
width: 100%;
padding-right: 7.5px;
padding-left: 7.5px;
overflow: hidden;
}
.status-container {
flex: 0 0 3.000001%;
position: relative;
width: 100%;
padding-right: 7.5px;
padding-left: 7.5px;
overflow: hidden;
background-color: #2e3192;
color: #fff;
font-size: 10px;
}
.status-container::before {
content: "";
position: absolute;
background-color: #f1f1f1;
width: 0;
height: 0;
border-right: 2rem solid #f1f1f1;
border-left: 2rem solid #f1f1f1;
border-top: 2rem solid #f1f1f1;
right: 33%;
top: -2rem;
transform: rotate(45deg);
}
.status-container::after {
content: "";
position: absolute;
background-color: #f1f1f1;
width: 0;
height: 0;
border-right: 2rem solid #f1f1f1;
border-left: 2rem solid #f1f1f1;
border-top: 2rem solid #f1f1f1;
right: 66%;
top: -2rem;
transform: rotate(45deg);
}
.action-single-button fieldset legend {
font-size: 9px;
}
.map-container fieldset legend {
font-size: 9px;
}
.daily-status-container fieldset legend {
font-size: 9px;
}
.charts-container fieldset legend {
font-size: 9px;
}
.status-container button {
font-size: 9px;
}
}
@media (min-width: 1200px) {
.container-bi {
font-size: 11px;
}
.form-control-bi {
font-size: 0.65rem;
}
.btn-bi {
font-size: 0.75rem;
width: 40px;
height: 40px;
}
.action-single-button fieldset legend {
font-size: 9px;
}
.map-container fieldset legend {
font-size: 9px;
}
.daily-status-container fieldset legend {
font-size: 9px;
}
.charts-container fieldset legend {
font-size: 9px;
}
}
@media (min-width: 1600px) {
.container-bi {
font-size: 14px;
}
.form-control-bi {
font-size: 0.75rem;
}
.btn-bi {
font-size: 0.8rem;
}
.action-single-button fieldset legend {
font-size: 11px;
}
.map-container fieldset legend {
font-size: 11px;
}
.daily-status-container fieldset legend {
font-size: 11px;
}
.charts-container fieldset legend {
font-size: 11px;
}
.action-counter {
font-size: 16px;
}
.road-infrastructure-counter {
font-size: 16px;
}
}
.map-guid {
position: absolute;
bottom: 10px;
left: 10px;
min-width: 90px;
height: 90px;
background-color: rgb(255 255 255 / 50%);
z-index: 400;
padding: 5px;
border-radius: 7px;
}
.map-guid p {
font-size: 11px;
margin-bottom: 5px;
font-weight: bold;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
background: black;
color: white;
opacity: 0.8;
box-shadow: 0 3px 14px rgb(0 0 0 / 40%);
font-family: "IRANSansFaNum";
}
.parent-popup-enjoyment {
font-size: 11px;
}