Finished polishing site-wide admin control panel
This commit is contained in:
parent
3c37080cb7
commit
441fb56f37
6 changed files with 136 additions and 12 deletions
|
|
@ -14,20 +14,49 @@ GNU Affero General Public License for more details.
|
|||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
||||
|
||||
/* We should turn this into a base style shared with the version used in the profile page*/
|
||||
.admin-list-div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0 0.5em;
|
||||
}
|
||||
|
||||
.admin-panel-container-div{
|
||||
margin: 0 auto 5em;
|
||||
/*Little hacky but this keeps initial max-height from fucking up resizing*/
|
||||
.admin-list-div div.dynamic-container.resizable:not([style*="height"]){
|
||||
height: 68vh;
|
||||
max-height: 68vh;
|
||||
}
|
||||
|
||||
.admin-panel-list-container-div{
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(45em, 1fr));
|
||||
}
|
||||
|
||||
#admin-nav-list {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 7.5em;
|
||||
margin: 4em 1em 0 0;
|
||||
}
|
||||
|
||||
|
||||
#admin-nav-list button{
|
||||
height: 3.5em;
|
||||
width:100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#admin-panel-list-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
||||
.admin-panel-container-div{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.admin-list-entry-title-row{
|
||||
box-shadow: none;
|
||||
|
|
@ -58,6 +87,11 @@ img.admin-list-entry-item{
|
|||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
div#admin-perm-list-div div.dynamic-container{
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.admin-perm-list-rank-select, .admin-chan-perm-list-rank-select{
|
||||
width: 5em;
|
||||
margin-left: 1em;
|
||||
|
|
@ -192,7 +226,6 @@ i.toke-command-list{
|
|||
padding: 1em;
|
||||
overflow-y: auto;
|
||||
justify-items: center;
|
||||
max-height: 19.8em;
|
||||
}
|
||||
|
||||
div.emote-list-emote{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue