Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
client.css 4.89 KiB
/* General stuff */

html {
  height: 100%;
}

body {
  margin: 0 auto;
  height: 100%;
  background: #4db7e5;
  color: #3b3636;
  font-family: "Roboto Mono", monospace;
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.container-layout {
  margin: 0;
  display: flex;
}
.container-img {
  float: right;
  background-image: url("wimage.png");
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 340px;
  border-radius: 10px;
  margin-top: 20px;
  background-color: #f5f5f5;
  object-fit: cover;
}

.container-login {
  color: rgb(38, 36, 36);
  border-radius: 10px;
  width: 220px;
  padding: 20px;
  background-color: #f5f5f5;
}

.container-signup {
  border-radius: 10px;
  color: rgb(38, 36, 36);
  width: 220px;
  background-color: #f5f5f5;
  padding: 20px;
}

.bottom-div {
  width: 600px;
  height: 100px;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  padding: 5px;
}

.bottom-info-div {
  border-radius: 20px;
  background-color: #f5f5f5;
  flex: 1 1 auto;
  align-self: flex-end;
  padding: 20px;
}

.bottom-info-div p {
  margin-top: 0px;
}

.bottom-info-div .bottom-nr-label {
  margin: 0px;
  font-size: 22px;
}

.bottom-info-div .bottom-text-label {
  margin: 0px;
}

.bottom-info-div:first-child{
  margin-right: 20px;
}

.bottom-info-div:last-child{
  margin-left: 20px;
}

textarea {
  resize: none;
  box-sizing: border-box;
  width: 100%;
  
  padding: 10px;
  border: none;
  font-size: 16px;
  border-radius: 10px;
  outline: none;
  height: 155px;
  background: white;
  color: #3b3636;
  font-family: "Roboto Mono", monospace;
  padding-top: 10px;
}

.profile-container {
  width: 600px;
}

.tab-container {
  display: inline-flex;
  margin-top: -5px;
  color: #4d4a4a;
}

.tab-body {
  width: 100%;
}

.user-profile {
  flex: 1;
}

#back-to-search {
  cursor: pointer;
}

/* All forms and buttons  */
.form {
  width: 600px;
}

.form .tab-header {
  height: 50px;
  line-height: 50px;
  border-radius: 10px;
  margin-bottom: -5px;
}
.form .tab-header > div {
  width: 200px;
  float: left;
  text-align: center;
  border-radius: 20px 20px 0 0;
  background: #ddd;
  color: #555;
  cursor: pointer;
}
.form .tab-header > div.active {
  background: #f5f5f5;
  color: #111;
}
.form .tab-content {
  padding: 20px;
  background: #f5f5f5;
  border-radius: 0 0 20px 20px;
}
.form-element {
  margin: 10px 0px;
}

.form-element input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #aaa;
  font-size: 16px;
  background: #f5f5f5;
  border-radius: 5px;
  outline: none;
  font-family: "Roboto Mono", monospace;
  height: 50px;
}

.form-element input[type="checkbox"] {
  width: 30px;
  margin: 8px 0px;
  margin-left: -5px;
}

.form-element label {
  color: #111;
}

.form-element button {
  margin-top: 5px;
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  background: #bd90e3;
  color: #f5f5f5;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
}

.button-container {
  display: flex;
}

.button-container :first-child {
  padding-right: 10px;
}

.form .tab-content > div.active {
  display: inline-flex;
}
.form .tab-content > div {
  display: none;
}

.form .tab-content .right-tab {
  padding: 10px 10px 10px 20px;
  flex:1;
  align-self: flex-end;
}

.form .tab-content .left-tab {
  flex: 1;
  padding: 10px;
  align-self: flex-end;
}

.form .tab-content .centered-tab {
  width: 100%;
  padding: 10px;
}

.form .tab-content .browse-tab {
  display: flex;
}
.form .tab-content .browse-tab :first-child {
  padding-right: 10px;
}

select {
  font-size: 16px;
  font-family: "Roboto Mono", monospace;
  height: 50px;
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  font-size: 16px;
  background: #f5f5f5;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
}

/* Message wall  */
.message-wall {
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 307px;
  overflow: scroll;
  border-radius: 10px;
  padding-top: 5px;
  margin-bottom: 12px;
}

.message-wall p {
  padding: 10px 20px 0px 20px;
  margin: 0;
  color: #4d4a4a;
}

.message-wall span {
  padding: 0px;
  color: #a4a4a4;
}


.right-content {
  margin-left: 20px;
}


/* The Modal  */
.modal {
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-text {
  margin: 40px 40px;
}

.modal-content {
  background-color: #fefefe;
  border-radius: 10px;
  text-align: center;
  color: rgb(38, 36, 36);
}

.modal-content p {
  display: inline-block;
  width: 100%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  margin-right: 10px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}