Skip to content

urbancampus/arctic_admin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArcticAdmin

Gem Version Gem Downloads Dependency Status

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'

and run bundle install.

Usage

CSS

In your active_admin.css, include the css file:

/*
 *= require arctic_admin
 */

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.css.scss file:

@import "arctic_admin";

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

@import arctic_admin

JS

In your active_admin.js, include the js file:

//= require active_admin/base
//= require arctic_admin

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.css.scss file:

$primary-color: #2dbb43;

@import "arctic_admin";

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

$primary-color: #2dbb43

@import arctic_admin

Then restart your webserver if it was previously running.

Contributing

  1. Fork it ( https://github.com/cle61/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

Packages

No packages published

Languages

  • CSS 85.3%
  • Ruby 5.5%
  • JavaScript 5.5%
  • HTML 3.7%