cBioPortal/iViz

View on GitHub
app/styles/partials/_global.scss

Summary

Maintainability
Test Coverage
* {
  box-sizing: border-box;
}

#main-header {
  margin: $main-header-margin;
  display: inline-block;
}

#stat {
  margin-left: 10px;
  margin-top: 10px;
}

/*.navbar button {
  margin-top: 10px;
  margin-left: 5px;
}*/

.view {
  display: none;
}

//not used
.hide-content {
  display: none;
}

.start-loading {
  opacity: 0.3;
}

.show-loading-content {
  display: block !important;
  float: left !important;
  opacity: 0.4;
}

.show-loading-bar {
  background: transparent;
}

.progress-bar-parent-div {
  height: calc(100% - 20px);
  width: 100%;
  position: absolute;
}

.chart-loader {
  width: 100px;
  height: 100px;
  display: none;
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
}

.error-panel {
  width: 100%;
  position: absolute;
  padding-left: 10%;
  padding-right: 10%;
  padding-top: calc(45% - 50px);
}

.chart-title-span {
  font-size: 10px;
  color: black;
  font-weight: bold;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}

.bar-chart .chart-title-span {
  // There is a ghost 5px height of the dc-bar-chart, this needs to be removed once figure out the reason.
  margin-bottom: -5px;
}

#iviz-case-select-custom-dialog input[type="radio"] {
  margin: 3px;
}

#iviz-case-select-custom-dialog {
  margin: 3px 0;
}

.iviz-hidden {
  display: none;
}

.iviz-header-button {
  float: left;
  font-family: Verdana, Arial, sans-serif;
  font-size: 18px;
  border: 1px solid $iviz-header-left-border-color;
  background: none;
  font-weight: normal;
  color: #555555;
  padding: 5px 10px;
  border-radius: 3px;
  line-height: 18px;
}

.virtual-study .btn-default {
  background-color: transparent;
}
study-view
.iviz-header-button:hover {
  cursor: pointer;
}

#iviz-header-left {
  display: inline-block;
  .iviz-header-item {
    height: 30px;
    float: left;
    margin-left: $iviz-header-left-item-margin-left;
  }
}

#iviz_add_chart_chosen {
  width: $add-chart-chosen-width !important;
  background-image: none !important;
  margin-left: $iviz-header-left-item-margin-left;
}

#iviz_add_chart_chosen > a {
  background-image: none;
  height: 30px;
  line-height: 28px;
}

div.geneValidationNotification,
div.geneAddedNotification {
  width: 400px;
  height: 15px;
  font-size: 0.8em;
}

.iviz-header-left-case {
  font-family: Verdana, Arial, sans-serif;
  font-size: 1.1em;
  vertical-align: middle;
  float: left;
  line-height: 30px;
  span {
    float: left;
  }
  .name {
    color: black;
  }
  .content {
    color: $blue;
    line-height: 26px;
    span {
      margin: 2px 2px;
    }
  }
}

#iviz-header-left-download {
  font-size: 1.1em;
}

.iviz-header-button:hover {
  cursor: pointer;
}

.iviz-header-arrow {
  line-height: 30px;
  float: left;
  padding: 0px 5px;
  i {
    color: $blue;
    font-size: 22px;
  }
}

.iviz-button-hover {
  outline: -webkit-focus-ring-color auto 5px;
}

.iviz-cohort-component .btn {
  line-height: 18px;
  padding: 5px 12px;
}