You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
180 lines
3.0 KiB
180 lines
3.0 KiB
:root {
|
|
--dark: #1E1B18;
|
|
--light: #E3E7F1;
|
|
--side: #E3E7F1;
|
|
--main: #7391C8;
|
|
--main-dark: #52688F;
|
|
--main-highlight: #31476d;
|
|
}
|
|
|
|
* {
|
|
font-family: 'Open Sans', sans-serif;
|
|
color: var(--dark);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
button {
|
|
background-color: var(--main-dark);
|
|
border: none;
|
|
color: white;
|
|
padding: 10px 15px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 16px;
|
|
margin: 5px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: var(--main-highlight);
|
|
cursor: pointer;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
background-color: var(--main-dark);
|
|
margin: 0;
|
|
}
|
|
|
|
header #logo {
|
|
text-align: center;
|
|
flex-basis: 20%;
|
|
display: flex;
|
|
}
|
|
|
|
header nav {
|
|
display: flex;
|
|
flex-basis: 70%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
header #user {
|
|
flex-basis: 10%;
|
|
display: flex;
|
|
}
|
|
|
|
header #user a {
|
|
flex-basis: 100%;
|
|
text-align: center;
|
|
background-color: var(--main);
|
|
color: var(--dark);
|
|
}
|
|
|
|
header #user a:hover {
|
|
background-color: var(--main-dark);
|
|
}
|
|
|
|
header a {
|
|
text-decoration: none;
|
|
color: var(--light);
|
|
font-weight: 600;
|
|
font-size: 1em;
|
|
line-height: 1.4em;
|
|
padding: 1.4em 2em;
|
|
transition: 300ms;
|
|
}
|
|
|
|
header a:hover {
|
|
background-color: var(--main-dark);
|
|
}
|
|
|
|
body {
|
|
background-color: var(--light);
|
|
}
|
|
|
|
main {
|
|
height: calc(100vh - 4.2em);
|
|
width: 100%;
|
|
display: flex;
|
|
padding: 0;
|
|
}
|
|
|
|
h1 {
|
|
color: var(--light);
|
|
font-size: 1.6em;
|
|
margin: 2em 0 0 0;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
h2 {
|
|
color: var(--side);
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.loginDiv {
|
|
min-width: 300px;
|
|
width: 60%;
|
|
margin: 50px auto;
|
|
text-align: center;
|
|
background-color: var(--main);
|
|
}
|
|
|
|
.loginDiv .msg {
|
|
color: red;
|
|
}
|
|
|
|
.loginDiv #logoutBtn {
|
|
color: red;
|
|
}
|
|
|
|
#myGraphs {
|
|
width: 50%;
|
|
height: calc(100vh - 4.2em);
|
|
margin: 0;
|
|
text-align: center;
|
|
background-color: var(--main);
|
|
display: inline-block;
|
|
}
|
|
|
|
#myGraphs #createGraphBtn {
|
|
color: limegreen;
|
|
}
|
|
|
|
#myGraphList div, #sharedGraphList div{
|
|
width: 80%;
|
|
margin: 10px 10%;
|
|
border: 1px solid var(--main-dark);
|
|
padding: 5px;
|
|
text-align: left;
|
|
}
|
|
|
|
#myGraphList div a, #sharedGraphList div a{
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
height: 100%;
|
|
width: 75%;
|
|
padding: 5px;
|
|
}
|
|
|
|
#myGraphList div button{
|
|
color: red;
|
|
display: inline-block;
|
|
float: right;
|
|
margin: 0;
|
|
padding: 5px;
|
|
}
|
|
|
|
#myGraphList div button:hover{
|
|
background-color: var(--side);
|
|
color: red;
|
|
display: flex;
|
|
transition: 300ms;
|
|
}
|
|
|
|
#sharedGraphs {
|
|
width: 50%;
|
|
height: calc(100vh - 4.2em);
|
|
margin: 0;
|
|
text-align: center;
|
|
background-color: var(--side);
|
|
display: inline-block;
|
|
}
|
|
|
|
#sharedGraphs h1{
|
|
color: var(--dark);
|
|
padding-bottom: 52px;
|
|
} |