Sha256: 90d18be31b7c606fc3643c1369a1a523849a623905a36087e5e7bb6240138f31

Contents?: true

Size: 2 KB

Versions: 11

Compression:

Stored size: 2 KB

Contents

<% # Dynamic styles added by the admin in the appearances page %>
<style>
<% appearance = Hyrax::Forms::Admin::Appearance.new %>
a { color: <%= appearance.link_color %>; }
.navbar-dark.bg-dark .navbar-link { color: <%= appearance.footer_link_color %>; }

.navbar-dark.bg-dark { background-color: <%= appearance.header_background_color %> !important; }

.navbar-dark.bg-dark .navbar-nav > .open > a,
.navbar-dark.bg-dark .navbar-nav > .open > a:hover,
.navbar-dark.bg-dark .navbar-nav > .open > a:focus { background-color: <%= appearance.header_background_color %>; }

.navbar-dark.bg-dark .navbar-nav > li > a,
.navbar-dark.bg-dark .navbar-text,
.navbar-dark.bg-dark .navbar-brand { color: <%= appearance.header_text_color %>; }

.btn-primary {
  background-color: <%= appearance.primary_button_background_color %>;
  border-color: <%= appearance.primary_button_border_color %>;
}

.btn-primary:focus,
.btn-primary.focus {
  background-color: <%= appearance.primary_button_focus_background_color %>;
  border-color: <%= appearance.primary_button_focus_border_color %>;
}

.btn-primary:hover {
  background-color: <%= appearance.primary_button_hover_background_color %>;
  border-color: <%= appearance.primary_button_hover_border_color %>;
}

.btn-primary:active,
.btn-primary.active {
  background-color: <%= appearance.primary_button_background_color %>;
  border-color: <%= appearance.primary_button_border_color %>;
}

.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-primary:active.focus,
.btn-primary.active:hover,
.btn-primary.active:focus,
.btn-primary.active.focus{
  background-color: <%= appearance.primary_button_background_color %>;
  border-color: <%= appearance.primary_button_border_color %>;
}

.btn-primary.disabled:hover,
.btn-primary.disabled:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary[disabled].focus {
  background-color: <%= appearance.primary_button_background_color %>;
  border-color: <%= appearance.primary_button_border_color %>;
}

</style>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/views/shared/_appearance_styles.html.erb
hyrax-5.0.0 app/views/shared/_appearance_styles.html.erb
hyrax-5.0.0.rc3 app/views/shared/_appearance_styles.html.erb
hyrax-5.0.0.rc2 app/views/shared/_appearance_styles.html.erb
hyrax-5.0.0.rc1 app/views/shared/_appearance_styles.html.erb
hyrax-4.0.0 app/views/shared/_appearance_styles.html.erb
hyrax-4.0.0.rc3 app/views/shared/_appearance_styles.html.erb
hyrax-4.0.0.rc2 app/views/shared/_appearance_styles.html.erb
hyrax-4.0.0.rc1 app/views/shared/_appearance_styles.html.erb
hyrax-4.0.0.beta2 app/views/shared/_appearance_styles.html.erb
hyrax-4.0.0.beta1 app/views/shared/_appearance_styles.html.erb