Sha256: 173e871a3d4b27302604c9d8fe2cab59b4cb0039fce669f8c47d62a55665877d

Contents?: true

Size: 1.11 KB

Versions: 6

Compression:

Stored size: 1.11 KB

Contents

// Brand colors
$brand-danger: #d33a35 !default;
$brand-success: #387f38 !default;
$brand-info: #2c76c7 !default;
$brand-warning: #565653 !default;

// Overrides for accessibility compliance
// Testing: WAVE evaluation tool: http://wave.webaim.org/
// Chrome has a WAVE extension that you can toggle on/off for testing

// Bootsrap upto v4.0 has poor styling for color-contrast that causes the WAVE
// tool to throw contrast errors
// Read more: https://getbootstrap.com/docs/4.0/getting-started/accessibility/#color-contrast
// These changes meet WCAG AA and AAA compliance standard
// I'm passing values to bootstrap variables as listed here:
// https://getbootstrap.com/docs/3.3/customize/#less-variables
// * Darkens the text for active breadcrumb on every page. Meets WCAG AA and AAA
// * Darkens the text for disabled pagination buttons on every page.
$breadcrumb-active-color: #4c4c4c;
$pagination-disabled-color: #4c4c4c;

// Date picker on safari placeholder text was misaligned
@media screen {
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="date"].form-control {
      line-height: 16px;
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/assets/stylesheets/_bootstrap-default-overrides.scss
hyrax-3.5.0 app/assets/stylesheets/_bootstrap-default-overrides.scss
hyrax-3.4.2 app/assets/stylesheets/_bootstrap-default-overrides.scss
hyrax-3.4.1 app/assets/stylesheets/_bootstrap-default-overrides.scss
hyrax-3.4.0 app/assets/stylesheets/_bootstrap-default-overrides.scss
hyrax-3.3.0 app/assets/stylesheets/_bootstrap-default-overrides.scss