Sha256: cdd3427fdd9a3ba9c3836c580957d55da7e73c2f672ecb8b8c0335eeb0befd41

Contents?: true

Size: 1.95 KB

Versions: 62

Compression:

Stored size: 1.95 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-inverse .navbar-link { color: <%= appearance.footer_link_color %>; }

.navbar-inverse { background-color: <%= appearance.header_background_color %>; }

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

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-text,
.navbar-inverse .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

62 entries across 62 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/shared/_appearance_styles.html.erb
hyrax-3.5.0 app/views/shared/_appearance_styles.html.erb
hyrax-3.4.2 app/views/shared/_appearance_styles.html.erb
hyrax-3.4.1 app/views/shared/_appearance_styles.html.erb
hyrax-3.4.0 app/views/shared/_appearance_styles.html.erb
hyrax-3.3.0 app/views/shared/_appearance_styles.html.erb
hyrax-3.2.0 app/views/shared/_appearance_styles.html.erb
hyrax-2.9.6 app/views/shared/_appearance_styles.html.erb
hyrax-3.1.0 app/views/shared/_appearance_styles.html.erb
hyrax-2.9.5 app/views/shared/_appearance_styles.html.erb
hyrax-3.0.2 app/views/shared/_appearance_styles.html.erb
hyrax-3.0.1 app/views/shared/_appearance_styles.html.erb
hyrax-3.0.0 app/views/shared/_appearance_styles.html.erb
hyrax-3.0.0.pre.rc4 app/views/shared/_appearance_styles.html.erb
hyrax-2.9.4 app/views/shared/_appearance_styles.html.erb
hyrax-3.0.0.pre.rc3 app/views/shared/_appearance_styles.html.erb
hyrax-2.9.3 app/views/shared/_appearance_styles.html.erb
hyrax-2.9.2 app/views/shared/_appearance_styles.html.erb
hyrax-2.9.1 app/views/shared/_appearance_styles.html.erb
hyrax-2.9.0 app/views/shared/_appearance_styles.html.erb