continue: add violation panel
This commit is contained in:
@@ -3593,6 +3593,17 @@
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid #f1f5f9;
|
||||
width: 100%;
|
||||
|
||||
&.image {
|
||||
text-align: center;
|
||||
max-width: 200px;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.info-label {
|
||||
@@ -4192,7 +4203,7 @@
|
||||
justify-content: space-between;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 2px solid #f1f5f9;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.info-row {
|
||||
@@ -4300,11 +4311,13 @@
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
/* flex-wrap: wrap; */
|
||||
|
||||
.btn-action {
|
||||
flex: 1;
|
||||
min-width: 150px;
|
||||
/* min-width: 150px; */
|
||||
width: 100%;
|
||||
padding: 12px 20px;
|
||||
border-radius: 12px;
|
||||
font-weight: 600;
|
||||
@@ -4375,84 +4388,183 @@
|
||||
}
|
||||
}
|
||||
|
||||
.sources-list {
|
||||
.sources-list-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap: 10px;
|
||||
height: 80vh;
|
||||
|
||||
.sources-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
|
||||
.source-card {
|
||||
/* background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
|
||||
border-radius: 12px;
|
||||
border: 1px solid #e2e8f0; */
|
||||
|
||||
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;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
/* flex-direction: column; */
|
||||
opacity: 0.75;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
||||
border-color: #cbd5e1;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
opacity: 1;
|
||||
border: 1px solid #6366f1;
|
||||
background: linear-gradient(180deg, #ffffff 0%, #e6eaf3 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.source-header {
|
||||
display: flex;
|
||||
align-items: start;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
gap: 5px;
|
||||
|
||||
&-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: end;
|
||||
}
|
||||
}
|
||||
|
||||
.source-image {
|
||||
max-width: 120px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.source-url {
|
||||
color: #6366f1;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
word-break: break-all;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.source-status {
|
||||
padding: 4px 10px;
|
||||
border-radius: 6px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
margin-left: 10px;
|
||||
|
||||
&.new {
|
||||
background: #fef2f2;
|
||||
color: #dc2626;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.violation-info {
|
||||
/* background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
*/
|
||||
background: #fff;
|
||||
border: 1px solid #f3f4f6;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 4px 20px #0000001a;
|
||||
|
||||
padding: 15px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
|
||||
.source-card {
|
||||
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
|
||||
border-radius: 12px;
|
||||
padding: 15px;
|
||||
border: 1px solid #e2e8f0;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
||||
border-color: #cbd5e1;
|
||||
}
|
||||
}
|
||||
|
||||
.source-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.source-image {
|
||||
max-width: 120px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.source-url {
|
||||
color: #6366f1;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
word-break: break-all;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.source-status {
|
||||
padding: 4px 10px;
|
||||
border-radius: 6px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
margin-left: 10px;
|
||||
|
||||
&.new {
|
||||
background: #fef2f2;
|
||||
color: #dc2626;
|
||||
}
|
||||
}
|
||||
|
||||
.source-meta {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
font-size: 12px;
|
||||
color: #64748b;
|
||||
margin-bottom: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.source-actions {
|
||||
display: flex;
|
||||
&-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 1fr;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 10px;
|
||||
flex-grow: 1;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
&-title {
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
padding-bottom: 15px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&-image {
|
||||
|
||||
margin-bottom: 20px;
|
||||
/* padding-bottom: 15px; */
|
||||
/* border-bottom: 2px solid #e6e8eb; */
|
||||
|
||||
img {
|
||||
max-width: 300px;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
&-source {
|
||||
margin-bottom: 20px;
|
||||
/* padding-bottom: 15px; */
|
||||
/* border-bottom: 2px solid #e6e8eb; */
|
||||
|
||||
span {
|
||||
color: #64748b;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #6366f1;
|
||||
}
|
||||
}
|
||||
|
||||
&-actions {
|
||||
border-left: 1px solid #e2e8f0;
|
||||
padding-left: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
justify-content: start;
|
||||
gap: 4px;
|
||||
margin-top: 20px;
|
||||
|
||||
&__item {
|
||||
&-item {
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
@@ -4462,11 +4574,15 @@
|
||||
border: 2px solid #e5e7eb;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-color: #667eea;
|
||||
}
|
||||
|
||||
&--active {
|
||||
&-active {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: white;
|
||||
border: 2px solid #667eea;
|
||||
@@ -4478,11 +4594,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
.violation-page-note {
|
||||
margin-top: auto;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.note-form {
|
||||
margin-top: 0;
|
||||
border: none;
|
||||
padding: 0;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.note-textarea {
|
||||
@@ -4495,6 +4615,7 @@
|
||||
font-family: inherit;
|
||||
resize: vertical;
|
||||
box-sizing: border-box;
|
||||
background: #f8fafc;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
|
||||
Reference in New Issue
Block a user