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.

288 lines
4.3 KiB

/******************* DEFINITIONS *******************/
@font-face {
font-family: "OpenSans";
src: url("../fonts/OpenSans-Regular.ttf");
}
:root {
--red: #b65058;
--blue: #a3d4d6;
--green: #8baf45;
--purple: #514a63;
--grey1: #fafafa;
--grey2: #f1f2f6;
--grey3: #d1d2d6;
--black: #292930;
}
/******************* GENERAL *******************/
body {
font-family: "OpenSans", sans-serif;
color: var(--black);
}
span {
margin: none;
padding: none;
}
label, input[type=radio] {
cursor: pointer;
}
select, button {
text-transform: none;
border-radius: 4px;
border: none;
height: 40px;
margin: 0;
padding: 0 10px;
text-align: center;
line-height: 40px;
font-weight: bold;
cursor: pointer;
font-family: inherit;
font-size: 100%;
overflow: visible;
-webkit-appearance: button;
background: var(--grey2);
}
button:hover {
opacity: .8;
}
input[type=text],
input[type=password],
input[type=email],
textarea {
border-radius: 4px;
border: 2px solid var(--grey2);
box-sizing: border-box;
width: 100%;
margin: 5px 0;
padding: 4px 5px;
font-family: inherit;
font-size: 100%;
}
input[type=text],
input[type=password],
input[type=email] {
height: 35px;
}
.hidden {
visibility: hidden;
}
.warning {
color: var(--red);
}
.done {
background: var(--blue);
}
.error {
color: var(--grey1);
background: var(--red);
}
.success {
color: var(--black);
background: var(--green);
}
.info {
background: var(--black);
color: var(--grey1);
}
.container {
width: 80%;
padding: 30px;
margin: 80px auto 0 auto;
background: var(--grey1);
border-radius: 4px;
}
form {
padding: 30px;
margin: 80px auto 0 auto;
background: var(--grey1);
border-radius: 4px;
}
#general-info {
position: relative;
box-sizing: border-box;
bottom: -50px;
margin-left: -165px;
left: 50%;
line-height: 40px;
height: 40px;
width: 330px;
border-radius: 4px;
text-align: center;
padding: 0 10px;
}
/******************* HEADER *******************/
header {
width: 400px;
height: 30px;
margin: auto;
border-radius: 4px;
background: var(--grey1);
line-height: 30px;
}
nav {
width: 90%;
height: 100%;
text-align: justify;
margin: auto;
}
nav:after {
content: "";
width: 100%;
display: inline-block;
}
nav * {
display: inline-block;
text-decoration: none;
color: var(--black);
font-weight: bold;
cursor: pointer;
}
nav > * {
opacity: .7;
}
nav > *:hover {
opacity: 1;
}
.dropdown {
}
.dropdown-main {
}
.dropdown-sub {
position: absolute;
padding: 0 8px;
z-index: 69;
display: none;
background: var(--grey1);
border-radius: 0 0 4px 4px;
filter: drop-shadow(-2px 2px 2px var(--grey2));
}
.dropdown-sub > a {
opacity: 0.7;
}
.dropdown-sub > a:hover {
opacity: 1;
}
.dropdown-sub > a {
display: block;
}
.dropdown:hover .dropdown-sub {
display: block;
}
/******************* LOGIN *******************/
#frm-login, #frm-register {
width: 400px;
}
#frm-login > *, #frm-register > * {
display: block;
width: 100%;
}
#ln-register {
display: inline-block;
position: relative;
width: auto;
right: 0px;
margin-top: 15px;
color: var(--black);
}
#user-data {
background: var(--grey2);
position: relative;
box-sizing: border-box;
bottom: -50px;
margin-left: -165px;
left: 50%;
height: 40px;
width: 330px;
border-radius: 4px;
padding: 0 10px;
text-align: left;
}
#user-data * {
margin: 5px 0;
}
/******************* MAIN *******************/
#wrapper {
position: absolute;
width: 500px;
height: auto;
margin-left: -250px;
left: 50%;
top: 100px;
/* border: solid 2px blue; */
}
#wrapper > button {
position: relative;
width: 80%;
left: 10%;
}
/******************* Linklist *******************/
#linklist {
width: 100%;
font-weight: bold;
font-size: 1.4em;
}
#linklist a {
text-decoration: none;
color: var(--black);
display: inline-block;
}
#linklist td:last-child {
width: 30px;
}
#linklist button {
width: 30px;
height: 30px;
padding: 0;
line-height: 30px;
font-size: 0.7em;
color: var(--red);
background: none;
}