Fix a bunch of styles on communications page
This commit is contained in:
parent
b68332afc0
commit
9c56f148e4
5 changed files with 72 additions and 75 deletions
|
|
@ -1,3 +1,9 @@
|
|||
<style scoped>
|
||||
.actions-panel {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<div class="border-start p-0">
|
||||
<div v-if="loading" class="loading">Loading...</div>
|
||||
|
|
|
|||
|
|
@ -1,21 +1,62 @@
|
|||
<style scoped>
|
||||
.badge-larvae {
|
||||
background-color: #ffc107;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.badge-pupae {
|
||||
background-color: #fd7e14;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.badge-adult {
|
||||
background-color: #dc3545;
|
||||
color: #fff;
|
||||
}
|
||||
.details-section {
|
||||
overflow-y: auto;
|
||||
}
|
||||
.icon-standing-water {
|
||||
color: #0dcaf0;
|
||||
}
|
||||
|
||||
.icon-nuisance {
|
||||
color: #dc3545;
|
||||
}
|
||||
.map-container {
|
||||
height: 400px;
|
||||
width: 100%;
|
||||
}
|
||||
.photo-thumbnail {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
object-fit: cover;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
.photo-thumbnail:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<div class="p-3">
|
||||
<div class="map-container">
|
||||
<MapMultipoint
|
||||
id="map"
|
||||
ref="mapRef"
|
||||
:organization-id="user.organization.id"
|
||||
:tegola="user.urls.tegola"
|
||||
:xmin="user.organization.service_area?.min.x ?? 0"
|
||||
:ymin="user.organization.service_area?.min.y ?? 0"
|
||||
:xmax="user.organization.service_area?.max.x ?? 0"
|
||||
:ymax="user.organization.service_area?.max.y ?? 0"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="loading" class="loading">Loading...</div>
|
||||
<div v-else>
|
||||
<div class="p-3">
|
||||
<div class="map-container">
|
||||
<MapMultipoint
|
||||
id="map"
|
||||
ref="mapRef"
|
||||
:organization-id="user.organization.id"
|
||||
:tegola="user.urls.tegola"
|
||||
:xmin="user.organization.service_area?.min.x ?? 0"
|
||||
:ymin="user.organization.service_area?.min.y ?? 0"
|
||||
:xmax="user.organization.service_area?.max.x ?? 0"
|
||||
:ymax="user.organization.service_area?.max.y ?? 0"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="!selectedCommunication"
|
||||
class="d-flex flex-column align-items-center justify-content-center text-muted"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@
|
|||
background-color: $primary;
|
||||
color: white;
|
||||
}
|
||||
.reports-list {
|
||||
overflow-y: auto;
|
||||
max-height: 100vh;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
<style scoped>
|
||||
.modal.show {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<div
|
||||
class="modal fade"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue