feat: added basic user management
This commit is contained in:
3
sparse-server/style/_main.scss
Normal file
3
sparse-server/style/_main.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
main.main {
|
||||
|
||||
}
|
||||
24
sparse-server/style/_users.scss
Normal file
24
sparse-server/style/_users.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
main.users {
|
||||
dialog::backdrop {
|
||||
background-color: #0008;
|
||||
}
|
||||
|
||||
form fieldset {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
|
||||
* {
|
||||
display: inline-block;
|
||||
margin: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
li button {
|
||||
margin-left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,80 @@
|
||||
body {
|
||||
@use '_users';
|
||||
@use '_main';
|
||||
|
||||
html, body {
|
||||
font-family: sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
background-color: #201f30;
|
||||
|
||||
color: white;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: 350px 1fr;
|
||||
grid-template-rows: 79px 1fr;
|
||||
grid-template-areas:
|
||||
"nav nav"
|
||||
"beacons main";
|
||||
}
|
||||
|
||||
nav {
|
||||
background-color: #11111c;
|
||||
grid-area: nav;
|
||||
border-bottom: 1px solid #2e2e59;
|
||||
|
||||
h1 {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
padding: 15px;
|
||||
margin: 10px 5px;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
padding: 10px;
|
||||
margin: 10px 5px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
aside.beacons {
|
||||
grid-area: beacons;
|
||||
background-color: #11111c;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
main {
|
||||
grid-area: main;
|
||||
|
||||
padding: 20px;
|
||||
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
input[type="submit"],
|
||||
input[type="button"],
|
||||
button {
|
||||
background-color: #fff;
|
||||
border: 1px solid transparent;
|
||||
cursor: pointer;
|
||||
margin: 5px;
|
||||
padding: 2px 4px;
|
||||
border-radius: 2px;
|
||||
box-shadow: #fff7 0 1px 0 inset;
|
||||
|
||||
&:hover {
|
||||
background-color: #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user