Skip to content
Snippets Groups Projects
App.css 6.21 KiB
Newer Older
L4168's avatar
L4168 committed
body {
  margin: 0;
  padding: 0;
  background-color: #1d1d1b;
  color: #ffffff;
L4168's avatar
L4168 committed
}

.hidden {
  display: none;
}

/* UserMap */
L4168's avatar
L4168 committed
  position: absolute;
  /* margin-top: 50px; */
L4168's avatar
L4168 committed
  height: 95vh;
  width: 100vw;
}

/* Header */
div.header {
  position: absolute;
  top: 0;
  height: 50px;
  width: 100%;
  background: white;
  z-index: 1000;
}

div.header button {
  transition-property: background-color;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  background-color: #279fd9;
  color: white;
  font-weight: bold;
  border: 0px;
  padding: 0.5em;
  margin: 0em 1em;
  width: 10%;
  height: 100%;
  font-size: 18px;
  float: right;
}

div.header button:hover {
  background-color: darkblue;
  cursor: pointer;
}

/* Login&RegisterForm */
div.fade-main {
L4168's avatar
L4168 committed
  top: 0;
L4168's avatar
L4168 committed
  margin: auto;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  overflow: scroll;
L4168's avatar
L4168 committed
}

div.sticky {
  position: fixed;
  top: 0px;
  right: 0px;
  height: 100px;
  width: 100px;
  margin-right: 150px;
L4168's avatar
L4168 committed
}

.close {
  position: fixed;
  color: #f1f1f1;
  height: 85px;
  font-size: 100px;
  font-weight: bold;
  transition: transform 0.4s ease-in-out;
  line-height: 70%;
L4168's avatar
L4168 committed
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
L4168's avatar
L4168 committed
}

div.login {
  height: 60vh;
  width: 40vw;
  margin: auto;
  margin-top: 5%;
  padding-top: 25px;
}

div.login h1 {
  color: rgb(0, 200, 255);
  margin-bottom: 0.5em;
  font-size: 3em;
}

div.login h2 {
  color: rgb(255, 0, 0);
  margin-top: 2em;
  font-size: 1.5em;
}

div.login input {
  background: none;
  border: none;
  outline: none;
  width: 60%;
  padding: 12px 20px;
  margin-bottom: 1em;
  display: inline-block;
  box-sizing: border-box;
  font-size: 180%;
  color: white;
  border-bottom: 3px solid rgb(0, 200, 255);
}

div.login button {
  transition-property: background-color;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  background-color: #279fd9;
  color: white;
  font-weight: bold;
  border: 0px;
  padding: 0.5em;
  margin: 0em 2em;
  width: 20%;
  font-size: 20px;
}

div.login button:hover {
  background-color: darkblue;
  cursor: pointer;
}

.login .formDate {
  width: 30%;
}

.login label.formDate {
  color: white;
  width: 10%;
  margin-left: 10%;
  font-size: 180%;
}

.login .formTime {
  width: 30%;
  margin-right: 20%;
}

L4929's avatar
L4929 committed
/* Editing text button in the toolbar */
.leaflet-draw-toolbar .leaflet-draw-draw-textbox {
  background-image: url("icons/button-textbox.png");
L4929's avatar
L4929 committed
  background-size: 30px 30px;
.leaflet-tooltip {
  font-size: 18px;
  /* Overriding tooltip layout by making it invisible */
  background-color: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
/* remove the small triangle on tooltip */
.leaflet-tooltip-bottom:before {
  border: 0;
/* Editing editable tooltips */
.editable {
  cursor: text; /* the cursor icon doesn't change by default when hovering on top of the text; overriding */
  min-height: 18px;
  color: #fff;
  font-weight: bold;
  /* text borders */
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000;
[contenteditable="true"]:empty:before {
  content: attr(placeholder);
  display: block; /* For Firefox */
  color: #777;
  text-shadow: none;
  font-weight: normal;

.gamecard {
  border: 5px solid #647828;
  border-radius: 20px;
  padding: 10px;
  margin: 10px;
  background-color: #859b28;
  color: #ffffff;
}

.gamelist {
Joni Laukka's avatar
Joni Laukka committed
  border: 2px solid white;
  max-width: 800px;
  max-height: 500px;
  overflow: scroll;
Joni Laukka's avatar
Joni Laukka committed
}

.gamelist-item {
  background-color: #1d1d1b;
  padding: 10px;
}
Joni Laukka's avatar
Joni Laukka committed
  position: absolute;
  margin-top: 100px;
Joni Laukka's avatar
Joni Laukka committed
  z-index: 2020;
  background-color: #ffffff80;
  color: black;
Joni Laukka's avatar
Joni Laukka committed

.tasklist-item {
  margin: 20px;
}

Joni Laukka's avatar
Joni Laukka committed
  display: flex;
  flex-direction: column;
}

.notification-popup {
  position: absolute;
  z-index: 1010;
}

.notification-popup.warning {
  background-color: yellow;
  color: black;
}

.notification-popup.alert {
  background-color: red;
}
L4168's avatar
L4168 committed
.leaflet-control-playback {
  position: relative;
  background-color: #7cbdf5;
  padding: 10px;
}
.leaflet-control-playback .optionsContainer {
  position: relative;
}
.leaflet-control-playback .optionsContainer > div {
  display: inline-block;
}
.leaflet-control-playback .buttonContainer {
}
.leaflet-control-playback .buttonContainer a {
  display: inline-block;
  width: 32px;
  height: 32px;
  text-decoration: none;
}
.leaflet-control-playback .buttonContainer .btn-stop {
  background: url(icons/icon-play.png) no-repeat center;
}
.leaflet-control-playback .buttonContainer .btn-start {
  background: url(icons/icon-stop.png) no-repeat center;
}
.leaflet-control-playback .buttonContainer .btn-restart {
  background: url(icons/icon-restart.png) no-repeat center;
}
.leaflet-control-playback .buttonContainer .btn-slow {
  background: url(icons/icon-slow.png) no-repeat center;
}
.leaflet-control-playback .buttonContainer .btn-quick {
  background: url(icons/icon-quick.png) no-repeat center;
}
.leaflet-control-playback .buttonContainer .btn-close {
  background: url(icons/icon-close.png) no-repeat center;
}
.leaflet-control-playback .infoContainer {
}
.leaflet-control-playback .sliderContainer {
}
L4168's avatar
L4168 committed

.leaflet-tooltip {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.filterContainer input:hover {
  cursor: pointer;
}
L4168's avatar
L4168 committed

/* Score Counter */
/* div.scoreContainer {
  border-radius: 8px;
  position: absolute;
  display: flex;
  flex-direction: row;
  color: white;
  background-color: #1d1d1b;
  opacity: 0.9;
  height: 50px;
  max-width: 400px;
  margin: auto;
  top: 5px;
  left: calc(50vw - 100px);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

div.scoreBlock {
  flex: 1;
  padding: 5px;
  max-width: 120px;
  text-align: center;
  justify-content: center;
  letter-spacing: 0.05em;
  font-size: 1.5em;
}

div.scoreDivider {
  background-color: white;
  float: left;
  flex: 1;
  width: 2px;
  height: 70%;
  margin: 5px;
}

span.scoreCircle {
  margin: 10px;
  height: 25px;
  width: 25px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
} */