styles.scss 1.4 KB
// Custom style for loading elements without height
.will-load {
  min-height: 80px;
}

// Href line height wasn't right for md-icon-button
a[md-icon-button] {
  line-height: 36px;
}

// Capitalize
.text-capital {
  text-transform: capitalize;
}

.grid_containert {
  height: 100%;
}

.control_button {
  position: fixed;
  bottom: 40px;
  right: 40px;
  td-loading {
    width: 56px;
    height: 56px;
    float: left;
    margin-right: 20px;
    .td-loading-wrapper {
      margin-top: -10px;
    }
  }
}

.map-container {
  height: 400px;
  width: 400px;
}

#mapId {
  height: 400px;
  width: 400px;
}

road-map > div {
  transition: height 1s ease-out;
}

.map-controls {
  z-index: 1500;
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 5px;
  md-icon {
    cursor: pointer;
    margin: 0 5px;
  }
}
.map-legend {
  z-index: 700;
  position: absolute;
  left: 60px;
  top: 10px;
  max-width: 300px;
  padding: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 5px;
  max-height: calc(100% - 50px);
  overflow-y: auto;
  td-expansion-panel {
    text-align: center;
    .expansion-header {
      width: 100%;
    }
  }
  .legend-summary {
    .expansion-header {
      text-align: center;
      font-size: 15px;
      margin: 5px 0;
    }
  }
  .legend-header {
    width: 100%;
    md-icon {
      float: right;
      cursor: pointer;
    }
  }
}