new sortable list implementation
This commit is contained in:
@@ -867,6 +867,10 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
|
||||
background-color: #514151;
|
||||
}
|
||||
|
||||
input:not(form input):invalid {
|
||||
border: 2px dashed #d53232;
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: "Atkinson Hyperlegible Mono", monospace;
|
||||
}
|
||||
@@ -1069,35 +1073,6 @@ textarea {
|
||||
background-color: #503250;
|
||||
}
|
||||
|
||||
.draggable-topic {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
background-color: #9b649b;
|
||||
padding: 20px;
|
||||
margin: 15px 0;
|
||||
border-top: 5px outset #503250;
|
||||
border-bottom: 5px outset rgb(96.95, 81.55, 96.95);
|
||||
}
|
||||
.draggable-topic.dragged {
|
||||
background-color: #3c283c;
|
||||
}
|
||||
|
||||
.draggable-collection {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
background-color: #9b649b;
|
||||
padding: 20px;
|
||||
margin: 15px 0;
|
||||
border-top: 5px outset #503250;
|
||||
border-bottom: 5px outset rgb(96.95, 81.55, 96.95);
|
||||
}
|
||||
.draggable-collection.dragged {
|
||||
background-color: #3c283c;
|
||||
}
|
||||
.draggable-collection.default {
|
||||
background-color: #8a5584;
|
||||
}
|
||||
|
||||
.editing {
|
||||
background-color: #503250;
|
||||
}
|
||||
@@ -1458,7 +1433,7 @@ a.mention:hover, a.mention:visited:hover {
|
||||
.settings-grid fieldset {
|
||||
border: 1px solid black;
|
||||
border-radius: 8px;
|
||||
background-color: rgb(141.6, 79.65, 141.6);
|
||||
background-color: #503250;
|
||||
}
|
||||
|
||||
.hfc {
|
||||
@@ -1479,10 +1454,10 @@ h1 {
|
||||
margin: 10px 0;
|
||||
}
|
||||
.settings-badge-container:has(input:invalid) {
|
||||
border: 2px dashed red;
|
||||
border: 2px dashed #d53232;
|
||||
}
|
||||
.settings-badge-container input:invalid {
|
||||
border: 2px dashed red;
|
||||
border: 2px dashed #d53232;
|
||||
}
|
||||
|
||||
.settings-badge-file-picker {
|
||||
@@ -1550,6 +1525,58 @@ img.badge-button {
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
ol.sortable-list {
|
||||
list-style: none;
|
||||
flex-grow: 1;
|
||||
margin: 0;
|
||||
}
|
||||
ol.sortable-list li {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
background-color: #9b649b;
|
||||
padding: 20px;
|
||||
margin: 15px 0;
|
||||
border-top: 5px outset #503250;
|
||||
border-bottom: 5px outset rgb(96.95, 81.55, 96.95);
|
||||
}
|
||||
ol.sortable-list li.dragged {
|
||||
background-color: #3c283c;
|
||||
}
|
||||
ol.sortable-list li.immovable {
|
||||
background-color: #8a5584;
|
||||
}
|
||||
ol.sortable-list li.immovable .dragger {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.dragger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: rgb(96.95, 81.55, 96.95);
|
||||
padding: 5px 10px;
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.sortable-item-inner {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-grow: 1;
|
||||
flex-direction: column;
|
||||
}
|
||||
.sortable-item-inner > * {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.sortable-item-inner.row {
|
||||
flex-direction: row;
|
||||
}
|
||||
.sortable-item-inner:not(.row) > * {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.fg {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
#topnav {
|
||||
margin-bottom: 10px;
|
||||
border: 10px solid rgb(40, 40, 40);
|
||||
|
||||
Reference in New Issue
Block a user