WebSocket Part I: A PlanningPoker Webapp using RxJS and Java Functional Programming

  Java, Javascript, Tutorial

Listing: style.less

 


@import "../../bower_components/bootstrap/less/bootstrap.less";

@grid-columns: 12;
@grid-gutter-width: 4px;
@page-header-border-color: black;
@white-default: #f0f0f3;

body {
  background-color: #1f1f1f !important;
}

main {
  margin: 6px;
}

/* Planning Poker title bar */
header {
  font-size: 1.75em;
  line-height: 1.2em;
  font-weight: bold;
  border-radius: 12px;
  background: @white-default;
  margin: 6px;
  padding: 10px;
  height: 2.9em;
}

/*
 Panel header (Members, Summary, Points)
*/
.panel_header {
  font-size: 1.55em;
  font-weight: bold;
  border-radius: 12px;
  background: @white-default;
  margin: 6px;
  padding: 10px;
  height: 2.5em;
}

.ppPnl {
  font-size: 1.3em;
  border-radius: 12px;
  background: @white-default;
  margin: 0 6px 0 6px;
  padding: 8px;
}

/*
 Button layout (0, 1/2, 1, 2, 3, 5, 8,...
 */
.ppBtn {
  height: 3.75em;
  margin: 0px 4px 4px 0px;
  font-size: 1.5em;
  line-height: 3em;
  border-radius: 10px;
}

/*
 Left aligned text on Planning Poker Title panel and Story panel
 */
.ppLft {
  float: left;
}

/*
 Right aligned glyphicon on Planning Poker Title panel and Story panel
 */
.ppRgt {
  float: right;
}

/*
 Three column display panels for Members, Summary, and Points
*/
.tab {
  font-size: 1.75em;
  font-weight: bold;
}

.tab-content {
  margin: 6px;
  background: @white-default;
  overflow-y: scroll;
}

#ppFullName {
  font-size: 0.8em;
  font-family:  "Arial Narrow", Arial, sans-serif;
}
.ppHeadline {
  font-weight: bold;
}
/*
 Pills with numbers on it
*/
.ppName {
  font-size: 1em;
  font-family:  "Arial Narrow", Arial, sans-serif;
}
/* The container for ... */
.ppPillcnt {
  float: right;
  height: 40px;
  width: 50px;
  position: relative;
}
/* ... the pill icon ... */
.ppPill {
  position: absolute;
  left: 0;
  top: 0;
}
/* ... and the text on top of it. */
.ppPillLbl {
  z-index: 100;
  position: absolute;
  color: black;
  font-size: 0.85em;
  font-weight: normal;
  left: 15px;
  top: 0px;
}

.ppDrawerHead {
  font-size: 1.4em;
  font-weight: bold;
  padding: 14px;
  height: 2.4em;
}

.ppDrawerHead .glyphicon-menu-hamburger {
  font-size: 1.6em;
}
a .glyphicon-menu-hamburger {
  font-size: 1.9em;
}

.drawer-nav {
  font-size: 1.3em;
}

.ppAdminBtn {
  font-size: 1.25em;
  background: gold;
  color: black;
  margin: 4px 8px 8px 0;
}

.ppHide {
  display: none;
}

.modal-header {
  background: purple;
  color: white;
}

.modal-body {
  font-size: 1.25em;
}

#ppModalSummary .modal-body {
  font-size: 0.9em;
}

/*
 * M E D I A  Q U E R I E S
 */
@media (max-width: 1024px) {
  .ppLnd {
    display: none;
  }

  .ppPrt {
    display: block;
  }

  .panel_header {
    font-size: 1.25em;
  }

  .ppPnl {
    font-size: 1.25em;
  }

  .ppBtn {
    height: 2.75em;
    margin: 0px 4px 4px 0px;
    font-size: 1.1em;
    line-height: 2em;
  }

  .ppName {
    font-size: 1.2em;
    font-family:  "Arial", Arial, sans-serif;
  }
  header {
    font-size: 1.3em;
  }

  //.story_title {
  //  font-size: 1.3em;
  //}
  .tab {
    font-size: 1.3em;
  }
}

/*  and (-webkit-min-device-pixel-ratio: 1.5) */
@media (min-width: 1024px) {
  .ppLnd {
    display: block;
  }

  .ppPrt {
    display: none;
  }

}

Work in progress !

LEAVE A COMMENT