summaryrefslogtreecommitdiff
path: root/public/css
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2023-01-29 19:28:48 -0500
committerTyler Murphy <tylermurphy534@gmail.com>2023-01-29 19:28:48 -0500
commitac58a612a3fe928793b77c592551fdd962b69064 (patch)
treec746d9325a88447e3149891a2435bcb1f3ece67a /public/css
parentno mass rerendering html plus logging fix (diff)
downloadxssbook-ac58a612a3fe928793b77c592551fdd962b69064.tar.gz
xssbook-ac58a612a3fe928793b77c592551fdd962b69064.tar.bz2
xssbook-ac58a612a3fe928793b77c592551fdd962b69064.zip
admin page
Diffstat (limited to 'public/css')
-rw-r--r--public/css/admin.css133
1 files changed, 133 insertions, 0 deletions
diff --git a/public/css/admin.css b/public/css/admin.css
new file mode 100644
index 0000000..1b6e2ac
--- /dev/null
+++ b/public/css/admin.css
@@ -0,0 +1,133 @@
+body {
+ margin: 0;
+ padding: 0;
+ background-color: #181818;
+}
+
+#header {
+ background-color: #242424;
+}
+
+#login {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ width: 100vw;
+ height: 100vh;
+ flex-direction: column;
+}
+
+#error .logo {
+ font-size: 100px;
+}
+
+.desc {
+ font-size: 40px;
+}
+
+input {
+ flex: 0;
+ background-color: #242424;
+ color: white;
+ border: 1px solid #606770;
+}
+
+input:focus {
+ outline: none;
+}
+
+#admin {
+ margin: 1.75em;
+ margin-top: 5em;
+ width: calc(100vw - 1.75em * 2);
+ height: calc(100vh - 5em - 1.75em);
+ display: flex;
+ flex-direction: column;
+}
+
+#queryinput {
+ display: flexbox;
+ width: 100%;
+}
+
+#queryinput #query {
+ width: 50em;
+ margin: 0;
+}
+
+form {
+ width: 100%;
+ display: flex;
+ justify-content: center;
+ align-content: center;
+}
+
+#queryinput .submit, .view {
+ all: unset;
+ font-family: sfpro;
+ margin: 0;
+ padding: 10px 30px;
+ background-color: #3bd16f;
+ border-radius: 5px;
+ font-size: 18px;
+ margin-left: 2em;
+ cursor: pointer;
+ border: 1px solid #606770;
+}
+
+#queryinput .submit:active {
+ background-color: #30ab5a;
+}
+
+#queryinput .view {
+ background-color: #242424;
+ color: #707882;
+ border: 1px solid #606770;
+}
+
+#queryinput .view:active {
+ background-color: #181818;
+}
+
+table {
+ margin-top: 3em;
+ border-collapse: separate;
+ border-spacing: 15px;
+}
+
+th, td {
+ font-family: sfpro;
+ color: white;
+ padding: 20px;
+ border-radius: 10px;
+ background-color: #242424;
+ border-radius: 10px;
+}
+
+th {
+ font-family: sfprobold;
+}
+
+.value {
+ color: white;
+}
+
+.bool {
+ color: aqua;
+}
+
+.null {
+ color: blue;
+}
+
+.number {
+ color: yellow;
+}
+
+.string {
+ color: #4ae04a
+}
+
+.key .string {
+ color: white;
+} \ No newline at end of file