304 lines
5.1 KiB
CSS
304 lines
5.1 KiB
CSS
/* SageUtils report styles */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 20px;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
color: white;
|
|
background-color: green;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
h2 {
|
|
text-align: center;
|
|
color: darkblue;
|
|
background-color: yellow;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.info,
|
|
.report-summary {
|
|
text-align: center;
|
|
color: #666;
|
|
margin-bottom: 20px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.report-summary-notice {
|
|
color: #28a745;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.report-summary-muted {
|
|
color: #999;
|
|
font-style: italic;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 30px;
|
|
background-color: white;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
th {
|
|
border: 2px solid blue;
|
|
color: yellow;
|
|
background-color: blue;
|
|
font-size: 14px;
|
|
padding: 10px;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
td {
|
|
border: 2px solid maroon;
|
|
font-size: 12px;
|
|
padding: 8px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
td.image-cell {
|
|
width: 206px;
|
|
height: 106px;
|
|
padding: 3px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
td.image-cell.compact {
|
|
width: auto;
|
|
height: auto;
|
|
min-height: 30px;
|
|
padding: 3px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.section-header {
|
|
background-color: #333;
|
|
color: white;
|
|
padding: 15px;
|
|
text-align: center;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
margin-top: 30px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
a {
|
|
color: blue;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
table.sortable th:not(.sorttable_nosort) {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
position: sticky;
|
|
}
|
|
|
|
table.sortable th:not(.sorttable_nosort):hover {
|
|
background-color: #5555ff;
|
|
}
|
|
|
|
table.sortable th.sorttable_sorted {
|
|
background-color: #00aa00;
|
|
}
|
|
|
|
table.sortable th.sorttable_sorted_reverse {
|
|
background-color: #aa0000;
|
|
}
|
|
|
|
table.sortable th.sorttable_nosort {
|
|
background-color: #666;
|
|
cursor: default;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.sort-indicator {
|
|
font-size: 14px;
|
|
margin-left: 5px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.sort-indicator.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.model-group-first {
|
|
border-top: 3px solid #4caf50 !important;
|
|
}
|
|
|
|
.model-group {
|
|
background-color: rgba(76, 175, 80, 0.05);
|
|
}
|
|
|
|
.model-group-last {
|
|
border-bottom: 3px solid #4caf50 !important;
|
|
}
|
|
|
|
.civitai-group-header {
|
|
background-color: #e8f5e8;
|
|
font-weight: bold;
|
|
color: #2e7d2e;
|
|
border: 2px solid #4caf50 !important;
|
|
}
|
|
|
|
.thumbnail-image {
|
|
width: 150px;
|
|
height: 100px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.thumbnail-image-expanded {
|
|
max-width: 90vw;
|
|
max-height: 80vh;
|
|
object-fit: contain;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 9999;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
|
|
background: white;
|
|
}
|
|
|
|
.report-image-backdrop {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
z-index: 9998;
|
|
}
|
|
|
|
.thumbnail-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.thumbnail-placeholder,
|
|
.thumbnail-loading {
|
|
width: auto;
|
|
min-width: 60px;
|
|
min-height: 20px;
|
|
padding: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
color: #999;
|
|
}
|
|
|
|
.thumbnail-loading {
|
|
width: 100%;
|
|
height: 100px;
|
|
background: #f5f5f5;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.thumbnail-placeholder {
|
|
background: #f9f9f9;
|
|
}
|
|
|
|
.thumbnail-placeholder-text {
|
|
text-align: center;
|
|
}
|
|
|
|
.compact-thumbnail-container {
|
|
width: auto;
|
|
height: auto;
|
|
min-width: 60px;
|
|
min-height: 20px;
|
|
padding: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.compact-image-cell {
|
|
height: auto;
|
|
min-height: 30px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.cell-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.cell-left {
|
|
text-align: left;
|
|
}
|
|
|
|
.base-model-flux {
|
|
color: yellow;
|
|
background-color: maroon;
|
|
}
|
|
|
|
.base-model-pony {
|
|
color: white;
|
|
background-color: green;
|
|
}
|
|
|
|
.base-model-sdxl {
|
|
color: yellow;
|
|
background-color: green;
|
|
}
|
|
|
|
.base-model-sd {
|
|
color: white;
|
|
background-color: blue;
|
|
}
|
|
|
|
.base-model-default {
|
|
color: black;
|
|
background-color: lightgray;
|
|
}
|
|
|
|
.update-available {
|
|
background-color: orange;
|
|
}
|
|
|
|
.report-col-name { width: 200px; }
|
|
.report-col-basemodel { width: 100px; }
|
|
.report-col-type { width: 80px; }
|
|
.report-col-folder { width: 120px; }
|
|
.report-col-triggers { width: 175px; }
|
|
.report-col-image { width: 200px; }
|
|
.report-col-civitai { width: 100px; }
|
|
.report-col-versionid { width: 100px; }
|
|
.report-col-hash { width: 100px; }
|
|
.report-col-size { width: 80px; }
|
|
.report-col-lastused { width: 120px; }
|
|
.report-col-path { width: 250px; }
|