CartoDB/cartodb20

View on GitHub
app/assets/stylesheets/editor/core_retrofit.css.scss

Summary

Maintainability
Test Coverage
// Retrofit of common/core, carried over to retrofit new_common (now plain common) default with the old styles while migrating
@import "../common/default";
@import "../old_common/vars";

body {
  min-width: $w;
}

a {
  color: #2483B4;
  text-decoration: none;

  &:hover {
    color: #333;
    text-decoration: underline;
  }

  &.disabled {
    opacity: 0.3;

    &:hover {
      color: $link-color;
      text-decoration: none;
      cursor: default;
    }
  }

  &.tag {
    padding: 6px 7px;
    border: 1px solid #397DBA;
    border-radius: 2px;
    background: #E1ECF5;
    box-shadow: 0 0 2px 2px rgba(#000, 0.12);
    color: #397DB9;
  }
}

h2,
h3,
h4,
h5,
h6 {
  color: #333;
}

h2 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 34px;
  word-spacing: -1px;
}

h3 {
  font-size: 25px;
}

strong {
  font-weight: bold;
}

/*
 *  HELP CLASSES
 *  Some classes to help you in the view
 */

.left {
  float: left;
}

.right {
  float: right;
}

.inner {
  position: relative;
  width: $w;
  margin: 0 auto;
}

.margin40 {
  margin-top: 40px;
}

.margin35 {
  margin-top: 35px;
}

.margin30 {
  margin-top: 30px;
}

.margin25 {
  margin-top: 25px;
}

.margin20 {
  margin-top: 20px;
}

.margin15 {
  margin-top: 15px;
}

.margin10 {
  margin-top: 10px;
}

.margin5 {
  margin-top: 5px;
}

.margin-bottom-10 {
  margin-bottom: 10px;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hide {
  display: none;
}

.overflow {
  overflow: visible;
}

.center {
  width: 100%;
  text-align: center;
}

.light {
  color: #999;
}

.lighter {
  color: #CCC;
}

.dark {
  color: #333;
}

.uppercase {
  text-transform: uppercase;
}

.strong {
  font-weight: bold;
}

.small {
  font-size: 13px;
}

.smaller {
  font-size: 11px;
}

.tiny {
  font-size: 8px;
}

.underline {
  text-decoration: underline;
}

.red {
  color: #E95850;
}

.italic {
  font-style: italic;
}

.separate {
  display: block;
  width: 100%;
  height: 1px;
  margin: 40px 0;
  background: rgba(#CCC, 0.5);
}