
@import url(//fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,700);

body {
  background-color: #333;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

h1, h2, h3 {
  font-family: "Yanone Kaffeesatz";
}

h3 {
  margin-bottom: 5%;
  margin-top: 0;
}

div {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-bottom: 10%;
}

ul li {
  margin: 0;
}

.status {
  width: 40%;
  margin: 10% auto;
  font-size: 120%;
}

.status p {
  text-align: center;
}

.status .processes li {
  position: relative;
  background-color: #666;
  border-radius: 6px;
  margin-bottom: 2%;
}

.status .processes .name {
  display: inline-block;
  margin: 2%;
}

.status .processes .controls {
}

.status .processes .controls a:hover {
  background-color: #999;
}

.status .processes .controls a {
  color: #eee;
  text-decoration: none;
  background-color: #444;
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
}

.status .processes .controls a.dec {
  position: absolute;
  top: 8px;
  left: -40px;
}

.status .processes .controls a.inc {
  position: absolute;
  top: 8px;
  right: -40px;
}

.status .processes .controls a.inc:after {
  content: "+";
}

.status .processes .controls a.dec:after {
  content: "-";
}

.processes .instances {
  display: block;
  float: right;
  width: 30%;
  padding: 2%;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  text-align: center;
}

.running .instances {
  background-color: #87f287;
}

.stopped .instances {
  background-color: #ed8787;
}

.running .instances .count:after {
  content: " RUNNING";
}

.stopped .instances .count:after {
  content: "STOPPED";
}


@media only screen and (max-device-width : 320px) {

  body {
    width: 100%;
    margin: 0;
  }

  .status {
    width: 70%;
    margin: 10% auto;
    font-size: 90%;
  }

.status .processes .name {
  display: inline-block;
  margin: 7% 0 7% 4%;
}

.status .processes li {
  position: relative;
  background-color: #666;
  border-radius: 6px;
  margin-bottom: 7%;
}

.processes .instances {
  display: block;
  float: right;
  width: 37%;
  font-size: 90%;
  padding: 7% 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  text-align: center;
}
