3scale/porta

View on GitHub
app/assets/stylesheets/provider/_legacy_theme.scss

Summary

Maintainability
Test Coverage
@import 'provider/layouts/main';

div.dashboard_card {
  @include white-box-shadow;
  border: 0;
  padding: line-height-times(1);
  overflow: hidden;

  &:not(:last-child) {
    margin-bottom: line-height-times(1);
  }

  &> table.list:first-child {
    margin-top: line-height-times(-1/2);
  }

  &> table.list:last-child {
    margin-bottom: line-height-times(-1/2);

    tr:last-child th,
    tr:last-child td {
      border-bottom: 0;
    }
  }
}

div.left {
  float: left;
  width: calc(50% - #{line-height-times(1)});
}

div.right,
div.right_narrow {
  float: right;
  width: calc(50% - #{line-height-times(1)});
}

.self_clear {
  clear: both;
}

.clearfix {
  display:inline-table;
  width: 100%;
}