Sha256: f764fab0c00143796f86c0a243601cdba47c4df19e33b038212b80744825e491

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

.uc-quiz {
  .uc-form-legend {
    font-weight: normal;
  }
}
//
// QUIZ QUESTIONS LIST
//
.uc-quiz-questions {
  counter-reset: question;
  > li {
    margin-top: $gutter * 1.5;
    border-bottom: $dotted-middle-blue-2-border;
    counter-increment: question;
    &:last-child {
      border-bottom: none;
    }
    &:before {
      float: left;
      width: $gutter * 2.5;
    }
  }
  .uc-form-legend {
    font-weight: normal;
  }
  .uc-form-field--boolean input {
    float: left;
    margin-left: 0;
    margin-bottom: 1.5rem;
  }
  label {
    display: inline;
    margin: 0;
  }
}
.uc-quiz-questions--decimal {
  @extend .uc-quiz-questions;
  > li {
    &:before {
      content: counter(question, decimal) ".";
    }
  }
}

.uc-quiz-questions--alpha {
  @extend .uc-quiz-questions;
  > li {
    &:before {
      content: counter(question, lower-latin) ".";
    }
  }
}

//
// OTHER QUIZ
//

.uc-quiz-instruction {
  font-style: italic;
  .disabled & {
    color: $light-gray;
  }
}
.uc-quiz-instruction--nested {
  @extend .uc-quiz-instruction;
  margin-left: $gutter * 2;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
undercase-0.2.57 app/assets/stylesheets/undercase/patterns/_quiz.scss
undercase-0.2.29 app/assets/stylesheets/undercase/patterns/_quiz.scss