Sha256: ae57dbda13043974f3b980d8a7e6c0f5d48634b2e8abec8dbdaadfcaa3855f5c

Contents?: true

Size: 733 Bytes

Versions: 9

Compression:

Stored size: 733 Bytes

Contents

// Date of birth

.date-of-birth label {
  display: block;
  margin-bottom: 5px;
}

.date-of-birth .form-group {
  width: 50px;
  float: left;
  margin-right: 20px;
  clear: none;
}

.date-of-birth .form-group-year {
  width: 70px;
}

.date-of-birth .form-group input {
  width: 100%;
}


// Use Modernizr to detect for touch events
// Build: http://modernizr.com/download/#-touch-cssclasses-teststyles-prefixes

// Hide date of birth
.touch .date-of-birth {
  display: none;
}

// Hide native date of birth
.no-touch .native-date-of-birth {
  display: none;
}

// Show native date of birth
.touch .native-date-of-birth {
  display: block;
}

// Set a minimum height for date inputs
.touch input[type="date"] {
  min-height: 36px;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
moj_internal_template-0.1.9 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss
moj_internal_template-0.1.8 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss
moj_internal_template-0.1.7 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss
moj_internal_template-0.1.6 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss
moj_internal_template-0.1.5 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss
moj_internal_template-0.1.4 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss
moj_internal_template-0.1.2 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss
moj_internal_template-0.1.1 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss
moj_internal_template-0.1.0 app/assets/stylesheets/elements/forms/_form-date-of-birth.scss