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

651 lines
13 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #eeeeee;
}
p {
margin-bottom: 0px;
}
.btn-self-design {
border: none;
border-radius: 3px;
color: #fff;
padding: 10px;
box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
transition: all 0.3s;
}
.btn-self-design:hover,
.btn-self-design:active {
box-shadow: rgb(0 0 0 / 25%) 0px 3px 4px, rgb(0 0 0 / 22%) 0px 3px 5px;
color: #fff;
}
.button-login {
background: #E6B325;
color: #EEEBDD;
}
.button-app {
background: #810000;
color: #EEEBDD;
}
.button-exhibition {
background: #395B64;
color: #E7F6F2;
}
.header {
z-index: 500;
position: sticky;
top: 0;
background: #7b98b3;
color: #273542;
padding: 10px;
border-top: 0;
box-shadow: rgb(44 62 80) 0px 15px 15px -15px;
}
.logo-img {
width: 50px;
height: 50px;
}
.body {
margin-top: 20px;
}
.body .slider {
background-color: #eee;
height: inherit;
}
.slider .swiper {
width: 100%;
height: 100%;
}
.swiper-slide img {
width: 100%;
height: inherit;
}
.text-box-parent {
display: flex;
top: -150px;
z-index: 2;
}
.text-box {
margin: 20px;
padding: 10px;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
background: #ffffffc9;
color: #000;
}
.body-part-1 {
height: 85vh;
width: 100%;
border-radius: 5px;
overflow: hidden;
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.body-part-2 {
width: 100%;
margin-top: 3rem;
}
.daily-patrol-circle {
border-radius: 50%;
}
.daily-patrol-circle.circle-1 {
width: 90%;
height: 90%;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background: #277da1;
}
.circle-1-pipe-line {
left: -23%;
width: 80%;
top: 14%;
height: 40px;
background: #277da1;
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}
.circle-1-count {
left: -47%;
width: fit-content;
top: 14%;
height: 40px;
background: #277da1;
}
.daily-patrol-circle.circle-2 {
width: 90%;
height: 90%;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
background: #43aa8b;
}
.circle-2-pipe-line {
left: -41%;
width: 80%;
top: 25%;
height: 40px;
background: #43aa8b;
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}
.circle-2-count {
left: -65%;
width: fit-content;
top: 25%;
height: 40px;
background: #43aa8b;
}
.daily-patrol-circle.circle-3 {
width: 90%;
height: 90%;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
background: #577590;
}
.circle-3-pipe-line {
left: -63%;
width: 80%;
top: 39%;
height: 40px;
background: #577590;
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}
.circle-3-count {
left: -87%;
width: fit-content;
top: 39%;
height: 40px;
background: #577590;
}
.daily-patrol-circle.circle-4 {
width: 90%;
height: 90%;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
background: #f8961e;
}
.circle-4-pipe-line {
left: -62%;
width: 80%;
top: 56%;
height: 40px;
background: #f8961e;
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}
.circle-4-count {
left: -87%;
width: fit-content;
top: 56%;
height: 40px;
background: #f8961e;
}
.daily-patrol-circle.circle-5 {
width: 90%;
height: 90%;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
background: #f3722c;
}
.circle-5-pipe-line {
left: -61%;
width: 100%;
top: 78%;
height: 40px;
background: #f3722c;
border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}
.circle-5-count {
left: -90%;
width: fit-content;
top: 78%;
height: 40px;
background: #f3722c;
}
.daily-patrol-circle.circle-6 {
width: 90%;
height: 90%;
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
background: #eee;
font-size: 0.9em;
font-weight: 500;
}
.pipe-line {
position: absolute;
display: flex;
align-items: center;
justify-content: end;
padding-left: 20px;
font-size: 1em;
font-weight: 500;
color: #fff;
}
.circle-count {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
padding: 8px;
color: #fff;
font-size: 1em;
}
.daily-patrol-circle .header-title {
font-size: 1.4em;
font-weight: 600;
}
/* time line styles */
.timeline {
position: relative;
max-width: 46em;
margin: 3em auto;
}
.timeline i {
color: #34495e;
}
.timeline:before {
background-color: #34495e;
content: "";
margin-left: -1px;
position: absolute;
top: 0;
left: 0;
width: 2px;
height: 100%;
}
.timeline-event {
position: relative;
list-style-type: none;
transition: font-size 0.3s;
}
.timeline-event:hover .timeline-event-icon {
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
background-color: #f3722c;
}
.timeline-event:hover .timeline-event-thumbnail {
-moz-box-shadow: inset 35em 0 0 0 #f3722c;
-webkit-box-shadow: inset 35em 0 0 0 #f3722c;
box-shadow: inset 35em 0 0 0 #f3722c;
}
.timeline-event-copy {
display: flex;
flex-direction: column;
padding: 0.6em 1.2em;
position: relative;
width: 100%;
}
.timeline-event-copy h3 {
font-size: 1.75em;
}
.timeline-event-copy h4 {
font-size: 1.2em;
margin-bottom: 1.2em;
}
.timeline-event-copy strong {
font-weight: 700;
}
.timeline-event-copy p:not(.timeline-event-thumbnail) {
padding-bottom: 1.2em;
}
.timeline-event-icon {
-moz-transition: -moz-transform 0.2s ease-in;
-o-transition: -o-transform 0.2s ease-in;
-webkit-transition: -webkit-transform 0.2s ease-in;
transition: transform 0.2s ease-in;
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
background-color: #34495e;
outline: 10px solid #eee;
display: block;
margin: 0.5em 0.5em 0.5em -0.5em;
position: absolute;
top: 0;
left: 0;
width: 1em;
height: 1em;
}
.timeline-event-thumbnail {
-moz-transition: box-shadow 0.5s ease-in 0.1s;
-o-transition: box-shadow 0.5s ease-in 0.1s;
-webkit-transition: box-shadow 0.5s ease-in;
-webkit-transition-delay: 0.1s;
transition: box-shadow 0.5s ease-in 0.1s;
color: white;
font-size: 0.75em;
background-color: #34495e;
-moz-box-shadow: inset 0 0 0 0em #f8961e;
-webkit-box-shadow: inset 0 0 0 0em #f8961e;
box-shadow: inset 0 0 0 0em #f8961e;
display: flex;
flex-direction: column;
margin-bottom: 1.2em;
padding: 0.25em 1.6em;
width: fit-content;
text-align: center;
align-self: end;
}
.action-counter-title {
font-size: 0.9em;
font-weight: 600;
color: #34495e;
}
.action-counter-box .action-icon{
font-size: 2.6rem;
}
/* time line styles */
fieldset {
box-shadow: rgb(0 0 0 / 25%) 0px 11px 37px, rgb(0 0 0 / 22%) 0px 16px 37px;
background: #eee;
border-radius: 4px;
display: flex;
flex-direction: column;
padding: 0px 10px;
}
fieldset legend{
display: flex;
width: auto;
justify-content: start;
text-align: start;
padding: 2px 15px;
font-size: 1.5em;
font-weight: 500;
border: 1px solid #577590;
border-radius: 4px;
background: #34495ec9;
color: #ffffff;
margin-bottom: 0.25rem;
}
.footer-new-style {
font-family: "IRANSansFaNum";
font-size: 10px;
font-weight: 700;
box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
z-index: 200;
position: sticky !important;
bottom: 0;
background: #fff;
}
.dashboard-abilities-gallery {
height: 310px !important;
}
.dashboard-abilities-gallery .swiper-slide img {
object-fit: contain;
}
.dashboard-abilities-text {
font-size: 1.2em;
font-weight: 400;
}
.dashboard-links {
width: fit-content;
position: absolute;
align-self: center;
bottom: -20px;
z-index: -1;
}
.body-part-4 {
margin-top: 3rem;
margin-bottom: 8rem;
}
.body-part-4 .dashboard-links {
animation: dashboardLinkAnimeOut 0.8s forwards;
}
.body-part-4:hover .dashboard-links {
-webkit-animation: dashboardLinkAnime 0.8s forwards;
animation: dashboardLinkAnime 0.8s forwards;
}
.project-counter {
padding: 5px 10px;
border-radius: 5px;
background: #34495e;
font-size: 18px;
font-weight: 500;
color: #fff;
}
.timeline-counter {
font-size: 1.1rem;
font-weight: 600;
color: #34495e;
}
.btn-links {
background: #eee;
margin: 10px;
color: #fff;
border-radius: 3px;
font-weight: 500;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
transition: all 0.3s;
}
.btn-links:hover {
box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
color: #fff;
}
.btn-links:hover .btn-links-span {
border-left: 1px solid #fff;
color: #fff;
}
.btn-links-span {
height: 100%;
border-left: 1px solid #000;
color: #000;
}
.link-0 {
border: 1px solid #277da1;
color: #000;
transition: all 0.3s;
}
.link-0:hover {
background: #277da1;
}
.link-1 {
border: 1px solid #43aa8b;
color: #000;
transition: all 0.3s;
}
.link-1:hover {
background: #43aa8b;
}
.link-2 {
border: 1px solid #577590;
color: #000;
transition: all 0.3s;
}
.link-2:hover {
background: #577590;
}
.link-3 {
border: 1px solid #f8961e;
color: #000;
transition: all 0.3s;
}
.link-3:hover {
background: #f8961e;
}
.link-4 {
border: 1px solid #f3722c;
color: #000;
transition: all 0.3s;
}
.link-4:hover {
background: #f3722c;
}
.container-xxl {
max-width: 1320px;
}
.flex-style-header {
display: flex;
flex: 1;
}
.map-zoning {
width: 90%;
height: 400px;
border-radius: 10px;
margin: 0 auto;
}
.leaflet-container {
background: #eeeeee;
outline: 0;
}
.text-header-color {
color: #666;
}
.button-exhibition-new {
background: #1C3879;
color: #F9F5EB;
}
.button-exhibition-first {
background: #0F3D3E;
color: #F1F1F1;
}
/* animations */
@keyframes dashboardLinkAnime {
0% {bottom: -20; z-index: -1;}
50% {bottom: -50;}
100% {bottom: -20; z-index: 2;}
}
@keyframes dashboardLinkAnimeOut {
0% {bottom: -20; z-index: 2;}
50% {bottom: -50;}
100% {bottom: -20; z-index: -1;}
}
/* end animations */
@media only screen and (max-width: 1340px) {
.btn-self-design {
font-size: 12px;
font-weight: 500;
}
}
@media only screen and (max-width: 1024px) {
.flex-style-header:nth-child(2) {
display: none;
}
.flex-style-header:nth-child(1) {
flex: unset;
}
.body-part-1 {
overflow: visible;
}
.body-part-2 {
margin-top: 400px;
}
.text-box-parent {
display: flex;
top: 50px;
flex-direction: column;
z-index: 2;
}
.text-box {
margin: 10px 0px;
box-shadow: rgb(0 0 0 / 60%) 0px 0px 20px, rgb(0 0 0 / 40%) 0px 6px 6px;
}
}
@media only screen and (max-width: 768px) {
fieldset legend{
font-size: 0.9em;
}
.dashboard-abilities-text {
font-size: 0.8em;
}
.body-part-1 {
height: 50vh;
}
.dashboard-links {
z-index: 1 !important;
}
}
@media only screen and (max-width: 560px) {
.map-zoning {
width: 100%;
}
.btn-self-design {
font-size: 0.7em;
}
.logo-img {
width: 25px;
height: 25px;
}
.circle-1-pipe-line,
.circle-2-pipe-line,
.circle-3-pipe-line,
.circle-4-pipe-line,
.circle-5-pipe-line {
height: 30px;
}
.circle-1-count,
.circle-2-count,
.circle-3-count,
.circle-4-count,
.circle-5-count {
height: 30px;
}
.pipe-line {
font-size: 0.8em;
}
.circle-count {
font-size: 0.8em;
}
.daily-patrol-circle.circle-6 {
font-size: 0.8em;
}
.daily-patrol-circle .header-title {
font-size: 1.1em;
}
}
@media only screen and (max-width: 400px) {
.btn-self-design {
font-size: 0.6em;
padding: 5px;
}
.logo-img {
width: 20px;
height: 20px;
}
.res-none {
display: none;
}
}