Coder Social home page Coder Social logo

active_admin_theme's Introduction

ActiveAdminTheme

Custom ActiveAdmin templates

Installation

As active_skin is the css theme for the activeadmin administration framework - you have to install if first.

As a Gem

Having active admin installed add the following line to your application's Gemfile:

gem 'active_admin_theme'

And then execute:

$ bundle

Or install it yourself as:

$ gem install active_admin_theme

As a NPM module (Yarn package)

Execute:

$ npm i @activeadmin-plugins/active_admin_theme

Or

$ yarn add @activeadmin-plugins/active_admin_theme

Or add manually to package.json:

"dependencies": {
  "@activeadmin-plugins/active_admin_theme": "1.1.4"
}

and execute:

$ yarn

Usage

In your base stylesheet entry point active_admin.scss (as example), add line:

As a Gem via Sprockets

@import 'wigu/active_admin_theme';

As a NPM module (Yarn package) via Webpacker or any other assets bundler

@import '@activeadmin-plugins/active_admin_theme';

You can change basic colors of the theme by setting some variable above active_admin_theme import line in active_admin.css.scss

...
$skinMainFirstColor: #A5A7AA!default;
$skinMainSecondColor: #0066CC!default;
$skinBorderWindowColor: #B8BABE!default;

@import 'wigu/active_admin_theme';
...

Screen

Contributing

  1. Fork it ( https://github.com/activeadmin-plugins/active_admin_theme/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 a new Pull Request

active_admin_theme's People

Contributors

djjedclash avatar eshaiju avatar fivell avatar gigorok avatar ivanov-anton avatar jeansreal avatar senid231 avatar skumring avatar workgena avatar yhirano55 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

active_admin_theme's Issues

.css depreciation warnings with sass-rails 5.0.4 gem

DEPRECATION WARNING: Extra .css in SCSS file is unnecessary. Rename /Users/jonmarinello/.rvm/gems/ruby-2.2.3/gems/active_admin_theme-1.0.2/app/assets/stylesheets/wigu/active_admin_theme.css.scss to /Users/jonmarinello/.rvm/gems/ruby-2.2.3/gems/active_admin_theme-1.0.2/app/assets/stylesheets/wigu/active_admin_theme.scss. (called from realtime at /Users/jonmarinello/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/benchmark.rb:303)

Not sure when the .css extension was retired but this started happening to me in 5.0.4 of the sass-rails gem.

tabs wrong colors?

I don't know if it is feature or small bug
but I think tabs active/inactive
should exchange their colors

now active tab background is white and
I think should be $skinMainSecondColor

nevertheless great theme @Fivell thx

custom window confirm?

Is there any option - or proposal - in ActiveAdmin
how to replace/style window confirm for delete_links ??

grouped menu

When group a menu,
the hover when moving over a menu link does not change.

It should change so you can see where is the mouse.

Theme not responsive

Hi

This theme looks good , but not responsive. It will be better if we can upgrade this as responsive theme.

SyntaxError: Undefined variable: "$menu-arrow-dark-icon-url".

While running version 1.1.3 i get this following issue:

SASS::SyntaxError: Undefined variable: "$menu-arrow-dark-icon-url".
/bundle/ruby/2.6.0/gems/active_admin_theme-1.1.3/app/assets/stylesheets/wigu/active_admin_theme.scss:99

Downgrading to version 1.1.1 works for now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.