984 lines
16 KiB
SCSS
984 lines
16 KiB
SCSS
@use './variable.scss' as v;
|
|
|
|
:root {
|
|
--violation-info-indents: 32px;
|
|
}
|
|
|
|
@media (max-width: 1240px) {
|
|
:root {
|
|
--violation-info-indents: 16px;
|
|
}
|
|
}
|
|
|
|
.violation-details {
|
|
.page-title-color-frame {
|
|
display: flex;
|
|
gap: 10px;
|
|
|
|
.violation-page-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 40px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
overflow: hidden;
|
|
|
|
.icon {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.violation-page-info {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid v.$border-color-1;
|
|
}
|
|
|
|
.info-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid #f8fafc;
|
|
}
|
|
|
|
.info-label {
|
|
color: #64748b;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.info-value {
|
|
color: #1e293b;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
text-align: right;
|
|
}
|
|
|
|
.violation-source {
|
|
margin-top: 15px;
|
|
|
|
&-title {
|
|
font-size: 14px;
|
|
color: #64748b;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.url-display {
|
|
background: #f8fafc;
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid v.$border-color-1;
|
|
margin-top: 10px;
|
|
word-break: break-all;
|
|
|
|
.url-link {
|
|
color: #6366f1;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
}
|
|
|
|
.notes-section {
|
|
background: #f8fafc;
|
|
padding: 15px;
|
|
border-radius: 12px;
|
|
margin-top: 15px;
|
|
border: 1px solid v.$border-color-1;
|
|
text-align: left;
|
|
|
|
.notes-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
margin-bottom: 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.notes-content {
|
|
font-size: 13px;
|
|
color: #475569;
|
|
line-height: 1.6;
|
|
white-space: pre-line;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
text-align: left;
|
|
word-wrap: break-word;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.stats-mini-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
|
|
.stat-mini-card {
|
|
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
|
|
padding: 15px;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
border: 1px solid v.$border-color-1;
|
|
}
|
|
|
|
.stat-mini-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.stat-mini-label {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
}
|
|
|
|
.btn-primary-small {
|
|
border: 2px solid v.$status-showed;
|
|
color: v.$status-showed;
|
|
|
|
&:hover {
|
|
background: v.$status-showed;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
.btn-secondary-small {
|
|
background: #f1f5f9;
|
|
color: #64748b;
|
|
|
|
&:hover {
|
|
background: v.$border-color-1;
|
|
}
|
|
}
|
|
|
|
.sources-list-wrapper {
|
|
display: grid;
|
|
grid-template-columns: 1fr 3fr;
|
|
gap: 10px;
|
|
height: 80vh;
|
|
margin-bottom: 20px;
|
|
|
|
@media (max-width: 980px) {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
.sources-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
overflow: auto;
|
|
|
|
@media (max-width: 980px) {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.source-card {
|
|
background: #fff;
|
|
border: 1px solid #f3f4f6;
|
|
border-radius: 20px;
|
|
box-shadow: 0 4px 20px #0000001a;
|
|
|
|
|
|
|
|
transition: all 0.3s ease;
|
|
padding: 15px;
|
|
height: calc(16vh - 12px);
|
|
cursor: pointer;
|
|
justify-content: space-between;
|
|
opacity: 0.75;
|
|
display: flex;
|
|
gap: 10px;
|
|
|
|
@media (max-width: 1580px) {
|
|
flex-direction: column;
|
|
}
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
border-color: #cbd5e1;
|
|
}
|
|
|
|
&.selected {
|
|
opacity: 1;
|
|
border-color: #cbd5e1;
|
|
background: linear-gradient(180deg, #ffffff 0%, #e6eaf3 100%);
|
|
}
|
|
}
|
|
|
|
.source-header {
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
gap: 5px;
|
|
|
|
&-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 0 0 auto;
|
|
width: 140px;
|
|
}
|
|
|
|
&-right {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: end;
|
|
}
|
|
}
|
|
|
|
.source-image {
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 16 / 9;
|
|
|
|
background: #f5f5f5;
|
|
border-radius: 8px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 4px 4px 7px v.$bg-darkening;
|
|
|
|
img {
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
|
|
.source-url-block {
|
|
margin-top: auto;
|
|
width: 100%;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.source-url {
|
|
color: v.$black;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
word-break: break-all;
|
|
flex: 1;
|
|
}
|
|
|
|
.source-meta {
|
|
gap: 15px;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
margin-bottom: 10px;
|
|
flex-wrap: wrap;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.source-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-top: auto;
|
|
|
|
a {
|
|
font-weight: 600;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
svg {
|
|
fill: #64748b;
|
|
|
|
&:hover {
|
|
fill: v.$black;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.sources-list-pagination {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.pagination-controls-pages button,
|
|
.pagination-controls .arrow {
|
|
color: v.$text-p;
|
|
|
|
&.current {
|
|
background-color: #e9ecef;
|
|
}
|
|
}
|
|
}
|
|
|
|
.source-status {
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
margin-bottom: 5px;
|
|
user-select: none;
|
|
|
|
&.new,
|
|
&.created {
|
|
background: v.$status-new;
|
|
}
|
|
|
|
&.showed {
|
|
background-color: v.$b-color-1;
|
|
}
|
|
|
|
&.legal_in_work,
|
|
&.complaint_in_work {
|
|
background: v.$status-in-work;
|
|
color: v.$white;
|
|
|
|
/* background: #3b83f61a;
|
|
color: v.$status-in-work; */
|
|
}
|
|
|
|
&.authorized_use {
|
|
/* background: v.$authorized-use; */
|
|
color: v.$authorized-use;
|
|
background: #2ecc7027;
|
|
}
|
|
}
|
|
|
|
.btn-case {
|
|
background: linear-gradient(135deg, #6366f1, #8b5cf6);
|
|
color: white;
|
|
margin-bottom: 20px;
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
}
|
|
|
|
.btn-resolve {
|
|
white-space: nowrap;
|
|
color: #10b981;
|
|
border: 2px solid #10b981;
|
|
font-weight: 700;
|
|
|
|
&:hover {
|
|
/* transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); */
|
|
background: #10b981;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
|
|
.violation-info {
|
|
background: #fff;
|
|
border: 1px solid #f3f4f6;
|
|
border-radius: 20px;
|
|
box-shadow: 0 4px 20px #0000001a;
|
|
padding: var(--violation-info-indents);
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 500px;
|
|
overflow: hidden;
|
|
|
|
* {
|
|
min-height: 0;
|
|
}
|
|
|
|
&-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
&-grid {
|
|
display: grid;
|
|
grid-template-columns: 3fr 1fr;
|
|
gap: 10px;
|
|
flex-grow: 1;
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
&-title {
|
|
font-size: 18px;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 5px;
|
|
display: flex;
|
|
|
|
&.not-selected-match {
|
|
height: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
&-image-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
&-image {
|
|
width: 300px;
|
|
height: 200px;
|
|
position: relative;
|
|
background: #f5f5f5;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 4px 4px 10px v.$bg-darkening;
|
|
|
|
@media (max-width: 1240px) {
|
|
width: 150px;
|
|
height: 100px;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
|
|
&-image-buttons {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
position: absolute;
|
|
bottom: 5px;
|
|
|
|
.image-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
border: 1px solid #e2e8f0;
|
|
background: white;
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s ease;
|
|
|
|
@media (max-width: 1240px) {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
&:hover {
|
|
background: #f1f5f9;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
&:active {
|
|
transform: scale(0.95);
|
|
}
|
|
}
|
|
}
|
|
|
|
&-right-side {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: start;
|
|
overflow: hidden;
|
|
}
|
|
|
|
&-date,
|
|
&-source {
|
|
span {
|
|
color: #64748b;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.source {
|
|
color: v.$black;
|
|
word-break: break-all;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
&-icon {
|
|
svg {
|
|
display: inline;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-left: 3px;
|
|
fill: v.$text-s;
|
|
cursor: pointer;
|
|
padding-bottom: 4px;
|
|
|
|
&:hover {
|
|
fill: v.$black;
|
|
}
|
|
}
|
|
|
|
&.hiden {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&-status {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
margin-top: auto;
|
|
display: none;
|
|
|
|
.source-status {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
&-date-value {
|
|
display: flex;
|
|
gap: 8px;
|
|
font-weight: 600;
|
|
|
|
div {
|
|
color: v.$black;
|
|
}
|
|
}
|
|
|
|
&-date-status {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
&-action {
|
|
margin-top: auto;
|
|
}
|
|
|
|
&-actions {
|
|
border-left: 1px solid v.$border-color-1;
|
|
padding-left: 15px;
|
|
}
|
|
|
|
&-header {
|
|
flex-shrink: 0;
|
|
padding-bottom: var(--violation-info-indents);
|
|
border-bottom: 1px solid rgb(226, 232, 240);
|
|
|
|
&-grid {
|
|
display: grid;
|
|
grid-template-columns: 300px auto;
|
|
gap: var(--violation-info-indents);
|
|
margin-bottom: var(--violation-info-indents);
|
|
|
|
@media (max-width: 1240px) {
|
|
grid-template-columns: 150px auto;
|
|
}
|
|
}
|
|
|
|
&-bottom {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
&-case {
|
|
position: relative;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
&-choice {
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
|
|
h4 {
|
|
text-align: center;
|
|
font-size: 26px;
|
|
}
|
|
|
|
.violation-info-choice-buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
|
|
.btn {
|
|
min-width: 180px;
|
|
background: v.$status-showed;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-tabs-wrapper {
|
|
position: relative;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
|
|
.violation-info-choice {
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.violation-info-choice-buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: center;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.violation-info-choice-btn {
|
|
padding: 12px 24px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 6px;
|
|
background: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.violation-info-tab {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.violation-info-tabs {
|
|
display: flex;
|
|
gap: 20px;
|
|
padding: var(--violation-info-indents) 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.btn-primary {
|
|
padding: 6px 30px;
|
|
|
|
color: v.$status-in-work;
|
|
border: 2px solid v.$status-in-work;
|
|
|
|
background: v.$white;
|
|
|
|
|
|
&.active {
|
|
border: 2px solid transparent;
|
|
|
|
color: white;
|
|
background: v.$status-in-work;
|
|
|
|
}
|
|
|
|
&.action {
|
|
color: v.$status-showed;
|
|
border: 2px solid v.$status-showed;
|
|
}
|
|
|
|
&.action.active {
|
|
color: v.$white;
|
|
border: 2px solid v.$status-showed;
|
|
background: v.$status-showed;
|
|
}
|
|
}
|
|
}
|
|
|
|
.samples-wrapper {
|
|
max-width: 400px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
flex: 1;
|
|
|
|
h5 {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 5px;
|
|
border-bottom: 1px solid v.$border-color-1;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.samples-list {
|
|
overflow: auto;
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: 100%;
|
|
|
|
&::-webkit-scrollbar-button {
|
|
display: none;
|
|
height: 0;
|
|
width: 0;
|
|
}
|
|
|
|
&::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 10px;
|
|
|
|
&:hover {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
}
|
|
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
|
|
|
|
.sample-item {
|
|
margin-bottom: 5px;
|
|
border-bottom: 1px solid v.$border-color-1;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: v.$bg-light;
|
|
}
|
|
|
|
.sample-item-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sample-item-text {
|
|
color: v.$text-s;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.complaint-details {
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background-color: v.$white;
|
|
max-width: 50%;
|
|
|
|
@media (max-width: 1240px) {
|
|
max-width: 100%;
|
|
}
|
|
|
|
&-item {
|
|
border-bottom: 1px solid #f0f0f0;
|
|
background-color: v.$bg-hover;
|
|
padding: 10px 16px;
|
|
border-bottom: 1px solid #e9ecef;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
&:first-child {
|
|
font-weight: 700;
|
|
color: v.$status-in-work;
|
|
}
|
|
|
|
&:nth-child(even) {
|
|
background-color: v.$b-color-1;
|
|
}
|
|
|
|
&:nth-child(odd) {
|
|
background-color: #fff;
|
|
}
|
|
}
|
|
|
|
&-title {
|
|
color: v.$text-s;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
&-content {
|
|
color: v.$black;
|
|
}
|
|
}
|
|
|
|
&-not-verified {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: end;
|
|
background: v.$color-warning-2;
|
|
color: v.$white;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
font-weight: 700;
|
|
margin-top: 20px;
|
|
|
|
.btn-s {
|
|
border: 2px solid v.$white;
|
|
font-weight: 700;
|
|
|
|
&:hover {
|
|
background: v.$white;
|
|
color: v.$color-warning-2;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.violation-page-note {
|
|
margin-top: auto;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.note-form {
|
|
margin-top: 0;
|
|
border: none;
|
|
padding: 0;
|
|
|
|
.button-actions {
|
|
display: flex;
|
|
justify-content: end;
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
.note-form-flex {
|
|
display: flex;
|
|
gap: var(--violation-info-indents);
|
|
width: 100%;
|
|
/* justify-content: space-between; */
|
|
}
|
|
|
|
.note-case-label {
|
|
font-weight: 600;
|
|
display: block;
|
|
background: #e9ecef;
|
|
color: v.$text-p;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.note-case-input,
|
|
.note-textarea {
|
|
background: v.$white;
|
|
box-sizing: border-box;
|
|
padding: 10px 20px;
|
|
border-radius: 0 0 8px 8px;
|
|
width: 100%;
|
|
|
|
&:hover {
|
|
background: v.$bg-light;
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
.note-textarea {
|
|
width: 100%;
|
|
min-height: 80px;
|
|
font-family: inherit;
|
|
resize: none;
|
|
vertical-align: top;
|
|
|
|
&-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.note-case-input {
|
|
|
|
&::-webkit-outer-spin-button,
|
|
&::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.note-form-group {
|
|
border: 1px solid #e9ecef;
|
|
box-sizing: border-box;
|
|
padding: 0px;
|
|
border-radius: 8px;
|
|
margin-bottom: var(--violation-info-indents);
|
|
overflow: hidden;
|
|
width: 100%;
|
|
|
|
input {
|
|
display: block;
|
|
}
|
|
|
|
/* input[name="amount"] {
|
|
&::placeholder {
|
|
font-size: 12px;
|
|
}
|
|
} */
|
|
}
|
|
}
|
|
|
|
.image-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.9);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.image-modal-content {
|
|
position: relative;
|
|
max-width: 90vw;
|
|
max-height: 90vh;
|
|
cursor: default;
|
|
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 90vh;
|
|
object-fit: contain;
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
|
|
.image-modal-close {
|
|
position: absolute;
|
|
top: -40px;
|
|
right: 0;
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
font-size: 32px;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
line-height: 1;
|
|
|
|
&:hover {
|
|
opacity: 0.8;
|
|
}
|
|
} |