metamaps/metamaps

View on GitHub
app/assets/stylesheets/admin.scss.erb

Summary

Maintainability
Test Coverage
.allMetacodes {
  float:left;

  span {
    margin:4px 8px;
    color:#67AF9F;
  }
}

.editMetacodes {
  z-index:12;
  width:auto;
  color: #67AF9F;
  padding:10px;
  float:left;

  ul {
    display:block;
  }

  ul li {
    clear:both;
    list-style-type:none;
    display:block;
    padding:3px;
  }

  ul img {
    width:40px;
    height:40px;
    float:left;
  }

  ul p {
    float:left;
    display: block;
    margin: 0;
    background: none;
    padding: 10px 4px 2px 4px;
  }

  #filters-one {
    float:left;
  }

  #filters-two {
    float:left;
  }

  #filters-three {
    float:left;
  }

  #filters-four {
    float:left;
  }

  li.toggledOff {
    opacity: 0.6;
  }
}

.centerContent {
  width: 760px;
  margin: 0 auto;
  padding: 80px 0 60px 20px;
  background: rgba(125, 125, 125, 0.4);
  overflow: hidden;
  position: relative;

  .metacodeSetsDescription {
    width: 314px;
  }
  td.metacodeSetDesc {
    width: 314px;
    word-wrap: break-word;
  }
  .metacodeSetImage {
    width: 36px;
    height: 36px;
    float: left;
  }
  tr {
    display: table-row;
  }
  tr:nth-child(odd) {
    background: rgba(125, 125, 125, 0.2);
  }
  tr:nth-child(even) {
    background: rgba(125, 125, 125, 0.3);
  }
  th,
  td {
    padding: 10px;
  }
  td.iconURL {
    max-width: 415px;
    word-wrap: break-word;
  }
  .field {
    margin: 15px 0 5px;
  }
  label {
    float: left;
    width: 100px;
    margin-right: 15px;
    margin-top: 0px;
  }
  input[type="text"] {
    width: 336px;
    height: 32px;
    font-size: 15px;
    direction: ltr;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    margin: 0;
    padding: 0 8px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-top: 1px solid #c0c0c0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    font: -webkit-small-control;
    color: initial;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    font-family: arial;
  }
  textarea:hover,
  input[type="text"]:hover {
    border: 1px solid #b9b9b9;
    border-top: 1px solid #a0a0a0;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  textarea {
    padding: 8px;
    border: 1px solid #d9d9d9;
    border-top: 1px solid #c0c0c0;
    resize: none;
    font: -webkit-small-control;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    text-align: start;
    font-family: arial;
    font-size: 15px;
    line-height: 17px;
    width: 318px;
  }
  .allMetacodes {
    padding: 5px 0;
  }
  a.button {
    margin-right: 20px;
    line-height: 40px;
  }
  a.button,
  input.add {
    float: left;
    margin-top: 5px;
    height: 40px;
    font-size: 17px;
    width: auto;
    padding: 0 30px;
    cursor: pointer;
    font-weight: normal;
  }
  a.button:hover,
  input.add:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}