Skip to content
Responsive Theme for ActiveAdmin
Branch: master
Clone or download
Latest commit e14aede May 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/assets Remove useless margin May 20, 2019
doc update index.png Sep 8, 2017
lib Set version 3.0 May 1, 2019
.gitignore remove .DS_Store Feb 16, 2017
Gemfile remove validate initialize and fix require jquery validate Jun 9, 2017
LICENCE.txt ïnitial commit Feb 5, 2017
README.md Update README.md Apr 15, 2019
arctic_admin.gemspec

README.md

ArcticAdmin

Gem Version Gem Downloads

Simple theme for ActiveAdmin 👌

Complete demo here : https://arctic-admin.herokuapp.com/

admin user : admin@example.com / password

Screenshot

Installation

  • Add this to your Gemfile:
gem 'arctic_admin'
  • Run bundle install.

  • Add this line to the file config/initializers/active_admin.rb

meta_tags_options = { viewport: 'width=device-width, initial-scale=1' }
config.meta_tags = meta_tags_options
config.meta_tags_for_logged_out_pages = meta_tags_options

Usage

CSS

In your active_admin.css, include the css file:

/*
 *= require arctic_admin/base
 */

Remove the line *= require active_admin/base

Then restart your webserver if it was previously running.

Sass Support

❗️ Remove the line @import "active_admin/base"

If you prefer SCSS, add this to your active_admin.scss file:

@import "arctic_admin/base";

If you use the Sass indented syntax, add this to your active_admin.sass file:

@import arctic_admin/base

JS

In your active_admin.js, include the js file:

//= require arctic_admin/base

❗️ Remove the line //= require active_admin/base

Customization

For this, you need to use sass to custom the theme.

You can even change basic color of the theme by placing some other variables:

If you use the SCSS, add this to your active_admin.scss file:

$primary-color: #2dbb43;

@import "arctic_admin/base";

If you use the Sass indented syntax, add this to your active_admin.sass file:

$primary-color: #2dbb43

@import arctic_admin/base

Then restart your webserver if it was previously running.

Contributing

  1. Fork it ( https://github.com/cprodhomme/arctic_admin/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
You can’t perform that action at this time.