Added admin sites

This commit is contained in:
Frederikmillingpytlick
2020-06-15 08:56:21 +02:00
parent 88b7012f69
commit e73e2aacdc
43 changed files with 674 additions and 151 deletions
-54
View File
@@ -1,54 +0,0 @@
/* Mobile */
@media only screen
and (max-width : 900px)
{
form {
max-width: 100%;
padding: 0 .45rem 0 .45rem;
display: flex;
flex-direction: column;
justify-content: center;
}
input[type="email"], input[type="password"] {
border: none;
border-bottom: white solid 2px;
background-color: transparent;
font-size: 1rem;
color: rgba(255,255,255,1);
line-height: 2rem;
margin-bottom: 1rem;
}
.btn {
border: 0;
border-radius: 4px;
padding: .75rem;
cursor: pointer;
font-weight: 700;
font-size: 1.05rem;
background-color: white;
color: $sde-black-80;
margin-bottom: .5rem;
}
.btn-dark {
color: white;
background-color: $sde-black-80;
}
.btn-sde-blue {
color: white;
background-color: $sde-blue;
}
.btn-disabled {
color: white;
background-color: $sde-black-20;
}
.form-inline {
display: inline-flex;
}
}
-23
View File
@@ -1,23 +0,0 @@
.w-100 {
width: 100%;
}
.w-75 {
width: 75%;
}
.w-50 {
width: 50%;
}
.w-25 {
width: 25%;
}
.min-height-100 {
min-height: 100%;
}
.bg-sde-blue {
background-color: $sde-blue;
}
+18
View File
@@ -0,0 +1,18 @@
// App
@import '../app/app';
//
// Admin
//
// Header
@import 'header/header';
// Nav
@import 'nav/nav';
// Directory Path
@import 'nav/directory';
// Content
@import 'content/content';
+8
View File
@@ -0,0 +1,8 @@
.content {
border-radius: 2px;
background-color: #ffffff;
width: calc(96% - 2rem);
min-height: calc(100% - 40.8px - 8rem);
padding: 1rem;
margin: 2rem auto;
}
+14
View File
@@ -0,0 +1,14 @@
header {
height: 4.5rem;
}
.brand {
width: calc(15% - 2rem);
padding: 0 1rem 0 1rem;
min-width: calc(194px - 2rem);
}
main {
min-height: calc(100% - 4.5rem);
background-color: #333333;
}
+11
View File
@@ -0,0 +1,11 @@
.directorypath {
border-radius: 2px;
background-color: #333333;
width: calc(96% - 2rem);
padding: .5rem 1rem .5rem 1rem;
margin-top: 2rem;
margin-bottom: 2rem;
margin-left: auto;
margin-right: auto;
}
+37
View File
@@ -0,0 +1,37 @@
.nav {
width: 15%;
height: 100%;
min-width: 194px;
}
.segment {
margin-bottom: 1.25rem;
}
.segment > h3 {
margin-left: -1rem;
margin-top: 0;
width: calc(100% + 2rem);
background-color: rgba(0,0,0, 0.2);
text-align: center;
}
.segment > div {
padding: 0 1.25rem 0 1.25rem;
width: calc(100% - 2.5rem);
align-items: center;
margin-bottom: .5rem;
}
.segment > div:hover {
background-color: rgba(0,0,0,0.2);
}
.segment > div > a > img {
height: 1em;
padding-right: 8px;
}
.segment > div > a {
}
@@ -18,26 +18,20 @@
// Variables
@import 'variables';
// Defaults
@import "default";
// Forms
@import "forms";
@import "forms/forms";
// Displays
@import "displays";
@import "general/displays";
// Texts
@import "texts";
@import "general/texts";
// Margins
@import "margins";
@import "general/margins";
// Sizes
@import "sizes";
@import "general/sizes";
// Checkboxes
@import "checkboxes";
// Bootstrap
//@import '~bootstrap/scss/bootstrap';
@import "forms/checkboxes";
+57
View File
@@ -0,0 +1,57 @@
form {
max-width: 100%;
padding: 0 .45rem 0 .45rem;
display: flex;
flex-direction: column;
justify-content: center;
}
.btn {
border: 0;
border-radius: 4px;
padding: .5rem;
cursor: pointer;
font-weight: 700;
font-size: 1.05rem;
background-color: white;
color: $sde-black-80;
margin-bottom: .5rem;
}
.btn-dark {
color: white;
background-color: $sde-black-80;
}
.btn-sde-blue {
color: white;
background-color: $sde-blue;
}
.btn-disabled {
color: white;
background-color: $sde-black-20;
}
.form-inline {
display: inline-flex;
}
input{
border: grey solid 2px;
border-radius: 4px;
background-color: transparent;
font-size: 1rem;
line-height: 2rem;
margin-bottom: 1rem;
}
input.appinput {
border: none;
border-bottom: white solid 2px;
background-color: transparent;
font-size: 1rem;
color: rgba(255,255,255,1);
line-height: 2rem;
margin-bottom: 1rem;
}
@@ -19,3 +19,11 @@
display: flex;
flex-direction: column;
}
.cursor-normal {
cursor: default;
}
.cursor-pointer {
cursor: pointer;
}
@@ -34,6 +34,22 @@
margin-top: 0;
}
.ml-1 {
margin-left: .75rem;
}
.mr-1 {
margin-right: .75rem;
}
.mb-1 {
margin-bottom: .75rem;
}
.mt-1 {
margin-top: .75rem;
}
.ml-2 {
margin-left: 3rem;
}
+59
View File
@@ -0,0 +1,59 @@
* {
font-family: $font-family-sans-serif;
}
html, body {
width: 100%;
margin: 0;
padding: 0;
height: 100%;
}
::placeholder {
opacity: 1;
}
a {
color: #000000;
text-decoration: none;
}
.w-100 {
width: 100%;
}
.w-85 {
width: 85%;
}
.w-75 {
width: 75%;
}
.w-50 {
width: 50%;
}
.w-25 {
width: 25%;
}
.w-15 {
width: 15%;
}
.h-100 {
height: 100%;
}
.h-90 {
height: 90%;
}
.h-10 {
height: 10%;
}
.bg-sde-blue {
background-color: $sde-blue;
}
@@ -1,23 +1,12 @@
* {
font-family: $font-family-sans-serif;
main {
max-width: 900px;
display: flex;
flex-direction: column;
justify-content: center;
margin: auto;
padding: 0 1.25rem 0 1.25rem;
}
html, body {
width: 100%;
margin: 0;
height: 100%;
}
::placeholder {
opacity: 1;
}
a {
color: #000000;
text-decoration: none;
}
// Mobile
@media only screen
and (max-width : 900px)
@@ -67,7 +56,7 @@ and (max-width : 900px)
}
span {
font-size: 5vw;
font-size: 12px;
}
p {
+9
View File
@@ -0,0 +1,9 @@
// App
@import '../app/app';
//
// Webapp
//
// Defaults
@import "default";