estimancy/projestimate

View on GitHub
app/assets/stylesheets/diagram.css~

Summary

Maintainability
Test Coverage
html {
  height: 100%;
}
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  background-image: url(images/appvis-bg.png);
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: helvetica, san-serif;
}
.node {
  -webkit-border-radius: 48px;
  -moz-border-radius: 48px;
  border-radius: 48px;
  background: #067195;
  border: 2px solid #FFF;
  box-shadow: 0 0 5px #888;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  -webkit-backface-visibility: hidden;
}
.node h4 {
  color: #067195;
  text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 56px;
  left: 56px;
  bottom: 0;
  font-size: 11px;
}
.node.animate {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.node:hover {
  cursor: pointer;
}
.node.dragging {
  z-index: 99;
}
.segment {
  position: absolute;
  top: 0;
  left: 0;
  background: #bae4b3;
  z-index: 1;
  -webkit-transform-origin: 0 100%;
  -moz-transform-origin: 0 100%;
  -ms-transform-origin: 0 100%;
  transform-origin: 0 100%;
  border: 1px solid white;
  border-right: 0;
  -webkit-backface-visibility: hidden;
}
.segment .endpoint {
  position: absolute;
  top: -9px;
}