Panel/modules/steam_workshop/steam_workshop.css
2026-01-17 10:18:59 -06:00

229 lines
3.1 KiB
CSS

#scrolling_checkbox{
border:2px solid #ccc;
width:500px;
display: inline-block;
height: 80px;
overflow-y: scroll;
text-align:left;
}
#uninstall_scrolling_checkbox{
border:2px solid #ccc;
width:500px;
display: inline-block;
height: 80px;
overflow-y: scroll;
text-align:left;
}
.sw-admin {
margin-top: 1rem;
}
.sw-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1rem;
}
.sw-card {
border: 1px solid #dcdcdc;
border-radius: 6px;
padding: 1rem;
background: #fafafa;
}
.sw-card__header {
display: flex;
justify-content: space-between;
align-items: center;
}
.sw-card__meta {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 0.75rem;
margin-top: 0.75rem;
}
.sw-card__meta dt {
font-weight: 600;
margin: 0;
}
.sw-card__meta dd {
margin: 0;
}
.sw-form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.sw-form__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1rem;
}
.sw-form__actions {
display: flex;
gap: 0.5rem;
}
.sw-form label {
display: flex;
flex-direction: column;
gap: 0.25rem;
font-weight: 600;
}
.sw-form input,
.sw-form select,
.sw-form textarea {
padding: 0.4rem;
border-radius: 4px;
border: 1px solid #c7c7c7;
}
.sw-mods__table {
width: 100%;
border-collapse: collapse;
}
.sw-mods__table th,
.sw-mods__table td {
border: 1px solid #ddd;
padding: 0.4rem;
}
.btn {
display: inline-block;
padding: 0.4rem 0.8rem;
border-radius: 4px;
border: 1px solid #888;
text-decoration: none;
color: #222;
background: #fff;
}
.btn.primary {
background: #0b5ed7;
border-color: #0a58ca;
color: #fff;
}
.sw-toggle {
display: flex;
align-items: center;
gap: 0.5rem;
}
.sw-toggle input {
width: auto;
}
.sw-game-table__wrapper {
margin-top: 1rem;
overflow-x: auto;
}
.sw-game-table__row td {
vertical-align: top;
}
.sw-game-label {
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.sw-game-label__title {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.4rem;
}
.sw-game-label__key {
font-weight: 600;
}
.sw-game-label__name {
font-weight: 600;
}
.sw-game-label__hint {
color: #666;
}
.sw-game-label__hint--warning {
color: #b15a00;
}
.sw-badge {
display: inline-flex;
align-items: center;
padding: 0.1rem 0.5rem;
border-radius: 999px;
font-size: 0.75rem;
}
.sw-badge--custom {
background: #eef4ff;
color: #0b5ed7;
}
.sw-badge--app {
background: #f1f3f5;
color: #444;
}
.sw-game-variants {
display: flex;
flex-wrap: wrap;
gap: 0.25rem;
}
.sw-chip {
background: #f4f6f8;
border-radius: 999px;
padding: 0.1rem 0.55rem;
font-size: 0.8rem;
}
.sw-actions {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
}
.sw-inline-delete {
display: inline;
}
.sw-game-table__form-row {
display: none;
}
.sw-game-table__form-row.is-open {
display: table-row;
}
.sw-inline-form {
background: #f6f8fb;
border: 1px solid #d0dae9;
border-radius: 6px;
padding: 1rem;
}
.sw-checkbox {
display: flex;
align-items: center;
gap: 0.4rem;
}
.sw-admin__mapping-actions {
margin-top: 1rem;
}