Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/cleantalk-admin.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 91 additions & 2 deletions css/src/cleantalk-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,13 @@
#cleantalk_notice_review .button {
margin-bottom: 20px;
}
.apbct-restore-spam-order-button {
.apbct-restore-spam-order-button, .apbct-details-spam-order-button {
cursor: pointer;
}

.apbct-details-spam-order-button {
color: gray;
}
.ct-modal-buttons {
display: flex;
align-items: center;
Expand Down Expand Up @@ -140,13 +144,98 @@
}

.apbct-table-actions-wrapper {
background: #FСFСFС;
background: #fcfcfc;
border-radius: 2px;
padding: 5px !important;
border: 1px solid lightgray;
margin: 0 5px 5px 0 !important;
}

.apbct_wc_details__table-container_header {
text-align: center;
}

.apbct_wc_details__wrapper {
display: flex;
flex-direction: column;
scroll-behavior: smooth;
overflow-y: auto;
max-height: 400px;
min-width: 50pc;
Comment thread
alexandergull marked this conversation as resolved.
position: relative;
}

.apbct_wc_details__table-wrapper-inner {
margin-bottom: 25px;
background: #f9f9f9;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.08);
position: relative;
padding: 0 15px;
}

.apbct_wc_details__table-wrapper-inner h4 {
margin: 0 0 12px 0;
color: #333;
font-size: 16px;
font-weight: 600;
padding: 10px 0 8px 0;
border-bottom: 2px solid #e0e0e0;
position: sticky;
top: 0;
background: #f9f9f9;
z-index: 10;
}

.apbct_wc_details__table {
width: 100%;
border-collapse: collapse;
background: white;
border-radius: 6px;
overflow: hidden;
}

.apbct_wc_details__table-key-cell {
border: 1px solid #e8e8e8;
padding: 10px 12px;
font-weight: 600;
background: #f5f7fa;
color: #2c3e50;
width: 35%;
font-size: 13px;
}

.apbct_wc_details__table-value-cell {
border: 1px solid #e8e8e8;
padding: 10px 12px;
color: #34495e;
font-size: 13px;
word-break: break-word;
}

.apbct_wc_details__table tbody tr:hover {
background: #fafbfc;
}

.apbct_wc_details__table tbody tr:last-child td {
border-bottom: none;
}

.apbct_wc_details__table-value-cell--json {
font-family: monospace;
font-size: 12px;
white-space: pre-wrap;
}

/* Safari and older browsers support */
@supports (position: sticky) {
.apbct_wc_details__table-wrapper-inner h4,
.apbct_wc_details__table th {
position: sticky;
}
}


@media screen and (max-width: 1120px) {
.apbct-tablenav {
display: flex;
Expand Down
Loading
Loading