Merge branch 'master' into hendrik-testing

This commit is contained in:
Hendrik
2017-01-13 10:24:16 +01:00
31 changed files with 1279 additions and 160 deletions

View File

@@ -1,44 +1,68 @@
/* Overall chat-screen */
.chat {
position: fixed;
top: 80px;
left: 256px;
text-align: center;
padding: 15px 0;
width: calc(100% - 256px);
height: calc(100% - 120px);
display: inline-flex;
}
.chat-history {
/*border: solid #845663;*/
width: 80%;
height: 500px;
margin: 20px auto;
background-color: white;
.chat-left {
width: 256px;
height: 100%;
margin-left: 10px;
margin-right: 10px;
display: inline-flex;
}
.chat-recent, .chat-history {
width: 100%;
}
/* List of chats. */
.chat-recent {
height: 600px;
overflow-y: auto;
padding: 10px;
text-align: left;
}
.chat-conversation {
margin: 5px;
}
.chat-right {
width: calc(100% - 256px - 40px);
height: calc(100% - 80px);
vertical-align: bottom;
margin-right: 10px;
}
.chat-field input {
border-radius: 8px;
/* Chat history. */
.chat-history {
overflow-y: auto;
height: 100%;
padding: 0 0 10px 0;
}
.chat-field input[type="text"] {
width: calc(75% - 60px);
}
.chat-field input[type="submit"] {
width: 60px;
}
.chat-message {
width: 100%;
height: 40px;
min-height: 40px;
padding-top: 10px;
clear: both;
}
.chat-message-self, .chat-message-other {
text-align: left;
border-radius: 20px;
padding: 10px 12px;
min-width: 10%;
max-width: 45%;
}
.chat-message-self {
text-align: right;
float: right;
margin-right: 10px;
background-color: darkgreen;
@@ -46,8 +70,43 @@
}
.chat-message-other {
text-align: left;
float: left;
margin-left: 10px;
background-color: aquamarine;
}
/* Chat reply field */
.chat-field {
width: 100%;
padding: 15px 0;
display: table;
}
.chat-field form {
width: 100%;
overflow: hidden;
}
.chat-field span {
display: block;
overflow: hidden;
}
.chat-field input[type="text"] {
width: 100%;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.chat-field input[type="submit"] {
width: auto;
float: right;
background-color: #845663;
color: white;
padding: 5px 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

View File

@@ -26,16 +26,13 @@ header {
}
#header-search input[type="text"] {
padding: 5px 10px;
height: 19px;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
#header-search input[type="submit"] {
margin: 0 0 0 -4px;
padding: 5px;
#header-search input[type="submit"] {
background: none;
color: white;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}

151
website/styles/index.css Normal file
View File

@@ -0,0 +1,151 @@
/* Body */
body {
background-color: #B78996;
}
/* inlogform */
form {
background-color: #a87a87;
border: 5px solid #325da3;
border-radius: 12px;
height: 50%;
margin: auto;
width: 55%;
}
/* inlog titel */
h1 {
padding: 16px;
text-align: center;
}
/* registreer titel*/
h2 {
padding: 16px;
text-align: left;
}
/* text */
label {
display: block;
}
/* datepicker */
select {
border-radius: 12px;
border: 5px solid #ccc;
box-sizing: border-box;
display: inline-block;
height: 50%;
padding: 12px 20px;
margin: 8px 0;
width: 15%;
}
input[type=text], input[type=password], input[type=email] {
border-radius: 12px;
border: 5px solid #ccc;
box-sizing: border-box;
display: inline-block;
height: 50%;
padding: 12px 20px;
margin: 8px 0;
width: 50%;
}
input[type=submit]{
background-color: #845663;
border: 2px solid black;
border-radius: 12px;
color: white;
cursor: pointer;
height: 50%;
margin: 8px 0;
padding: 14px 20px;
width: 50%;
}
/* stijl voor alle buttons */
button {
background-color: #845663;
border: 2px solid black;
border-radius: 12px;
color: white;
cursor: pointer;
height: 50%;
margin: 8px 0;
padding: 14px 20px;
width: 25%;
}
/* padding voor registreer container */
.login_containerregister {
padding: 16px;
text-align: left;
}
/* padding voor login_containers */
.login_containerlogin {
padding: 16px;
text-align: center;
}
/* The Modal (background) */
.modal {
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
display: none; /* Hidden by default */
height: 100%;
left: 0;
margin: auto;
overflow: auto; /* Enable scroll if needed */
padding-top: 60px;
position: fixed; /* Stay in place */
top: 0;
width: 100%; /* Full width */
z-index: 1; /* Sit on top */
}
/* Modal Content/Box */
.modal-content {
background-color: #B78996;
border: 5px solid #325da3;
margin: 5px auto; /* 15% from the top and centered */
overflow-y: auto;
width: 40%; /* Could be more or less, depending on screen size */
height: 80%;
}
/* The Close Button */
.close {
/* Position it in the top right corner outside of the modal */
color: white;
font-size: 100px;
font-weight: bold;
position: absolute;
right: 25px;
top: 0;
}
/* Close button on hover */
.close:hover,
.close:focus {
color: red;
cursor: pointer;
}
/* Add Zoom Animation */
.animate {
animation: animatezoom 0.6s
-webkit-animation: animatezoom 0.6s;
}
@-webkit-keyframes animatezoom {
from {-webkit-transform: scale(0)}
to {-webkit-transform: scale(1)}
}
@keyframes animatezoom {
from {transform: scale(0)}
to {transform: scale(1)}
}

View File

@@ -41,6 +41,14 @@ body {
min-height: 100%;
}
.platform {
padding: 20px;
margin-bottom: 10px;
border-radius: 10px;
background-color: #FFFFFF;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
::selection {
background: #845663;
color: white;
@@ -58,16 +66,6 @@ body {
border: 0;
}
input[type="submit"], button {
background-color: #845663;
color: white;
padding: 5px;
}
input[type="text"] {
padding: 5px;
}
/* Move element down (clear), below floating elements */
.clear {
clear: both;
@@ -104,6 +102,10 @@ h5 {
font-size: 1.4em;
}
ul {
list-style-type: none;
}
p {
font-size: 1.2em;
}
@@ -113,6 +115,36 @@ a, a:link, a:visited, a:hover, a:active {
text-decoration: none;
}
button, input, select {
width: auto;
height: 32px;
cursor: pointer;
border: none;
font-family: Arial, sans-serif;
font-size: 16px;
border-radius: 7px;
}
textarea, input, select {
padding: 0 5px;
background: white;
color: #333333;
border: 1px solid #845663;
border-radius: 7px;
font-size: 16px;
}
button, input[type="submit"], input[type="reset"] {
background-color: #845663;
color: white;
padding: 0 10px;
border: none;
}
/* Tables */
table {
border-spacing: 0;
@@ -125,11 +157,12 @@ td {
}
/* Custom title box, appears instantaneously */
a:hover {
a[data-title]:hover, img[data-title]:hover, span[data-title]:hover, div[data-title]:hover {
position: relative;
}
a[data-title]:hover:after {
a[data-title]:hover:after, img[data-title]:hover:after, span[data-title]:hover:after,
div[data-title]:hover:after{
content: attr(data-title);
padding: 4px 4px;
color: #FFFFFF;
@@ -141,8 +174,11 @@ a[data-title]:hover:after {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-moz-box-shadow: 0px 0px 4px #222;
-webkit-box-shadow: 0px 0px 4px #222;
box-shadow: 0px 0px 4px #222;
-moz-box-shadow: 0 0 4px #222;
-webkit-box-shadow: 0 0 4px #222;
box-shadow: 0 0 4px #222;
background-color: #333;
font-size: 15px;
line-height: normal;
font-family: Arial, sans-serif;
}

View File

@@ -1,14 +1,10 @@
.profile-box, .item-box, .post-box {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.profile-box {
min-height: 150px;
padding: 25px;
background-color: #FFFFFF;
}
.profile-box .profile-picture {
.profile-box .profile-picture, .profile-box .group-picture {
width: 150px;
height: 150px;
margin: 0 20px 20px 0;
@@ -18,45 +14,80 @@
padding-top: 50px;
}
.item-box {
width: calc(50% - 60px);
.item-box, .item-box-full-width {
margin: 20px 0 0 0;
padding: 25px;
background-color: #FFFFFF;
}
.item-box {
width: calc(50% - 60px);
}
@media only screen and (max-width: 900px) {
.item-box {
width: calc(100% - 50px);
}
}
.item-box-full-width {
width: calc(100% - 50px);
}
.posts {
background-color: red;
margin-top: 20px;
z-index: -1;
margin-right: 0;
width: calc(100% + 15px);
}
.post-box {
float: left;
width: 250px;
margin: 20px 20px 0 0;
display: inline-flex;
margin: 20px 15px 0 0;
padding: 25px;
background-color: #FFFFFF;
}
.post-box img {
width: 250px;
/* fullscreen */
.post-box {
width: calc(25% - 68px);
}
.post-box .post-date {
@media only screen and (max-width: 1500px) {
.post-box {
width: calc(50% - 67px);
}
}
/* mobile */
@media only screen and (max-width: 1000px) {
.post-box {
width: calc(100% - 65px);
}
}
.post {
width: 100%;
}
.post img {
width: 100%;
}
.post .post-date {
float: right;
color: #aaaaaa;
font-size: 0.8em;
}
.friend-request {
.profile-button {
float: right;
padding: 10px;
border-radius: 3px;
border-radius: 5px;
background-color: #845663;
color: #FFFFFF;
transition-duration: 250ms;
}
.friend-request:hover {
.profile-button:hover {
background-color: #B78996;
}

View File

@@ -0,0 +1,3 @@
.search-form input {
border-bottom: #845663 solid 1px;
}

View File

@@ -0,0 +1,19 @@
.settings input,
.settings textarea{
margin: 5px;
}
.settings label {
width: 125px;
display: inline-block;
text-align: right;
}
/* All the fields for typing things. */
.settings input[type="password"],
.settings input[type="text"],
.settings input[type="date"],
.settings input[type="email"],
.settings textarea {
width: 200px;
}