Sha256: 0cce9ab211ab2376e261e811a1f8de5bf1957ef65488293df483a3dfcd61bd38

Contents?: true

Size: 1.19 KB

Versions: 15

Compression:

Stored size: 1.19 KB

Contents

// This stylesheet is a place to apply styling changes for improving the
// accessibility of Hyrax vanilla
// Use https://github.com/samvera/hyrax/blob/master/app/assets/stylesheets/_bootstrap-default-overrides.scss
// for overriding bootstrap variables

// NOTE: This isn't an ideal fix. We're using select2-rails v3.5
// for styling dropdowns. This can be fixed by updating to select2-rails
// v4.0.3 but it throws an uncaught error and fails to
// display the dropdown at all.
// TODO: I opened an issue that we should follow up on later
// https://github.com/argerim/select2-rails/issues/176
// Darkens the 'Search for a user' text in dropdown on 'Dashboard page'
// Meets WCAG AA and AAA compliance standard
.select2-default {
  color: #4c4c4c !important;
}

// Adds a skip to content link for keyboard users, but only makes it visible when element receives focus
.skip-to-content a {
  height: 1px;
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  overflow: hidden;
}

.skip-to-content a:focus {
  background-color: $admin-content-background-color;
  height: auto;
  left: 1rem;
  padding: 1.5rem;
  position: absolute;
  top: 0.5rem;
  width: auto;
  z-index: 99999; // always display on top
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-5.0.4 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-5.0.3 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-5.0.2 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-5.0.1 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-5.0.0 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-5.0.0.rc3 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-5.0.0.rc2 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-5.0.0.rc1 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-4.0.0 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-4.0.0.rc3 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-4.0.0.rc2 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-4.0.0.rc1 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-4.0.0.beta2 app/assets/stylesheets/hyrax/_accessibility.scss
hyrax-4.0.0.beta1 app/assets/stylesheets/hyrax/_accessibility.scss