papercloud / flattened_active_admin Goto Github PK
View Code? Open in Web Editor NEWBring your Active Admin up-to-date with this customizable add on
License: MIT License
Bring your Active Admin up-to-date with this customizable add on
License: MIT License
Hi
Firstly, I would like to say thanks for developing this gem.
I followed the the instructions on Installation and Usage sections of README
After running the server and refreshing page, I got the following error.
ActionView::Template::Error (Error: File to import not found or unreadable: bourbon.
on line 11:1 of ../../../.rbenv/versions/2.4.9/lib/ruby/gems/2.4.0/gems/flattened_active_admin-0.0.7/app/assets/stylesheets/flattened_active_admin/mixins/_all.scss
from line 1:1 of ../../../.rbenv/versions/2.4.9/lib/ruby/gems/2.4.0/gems/flattened_active_admin-0.0.7/app/assets/stylesheets/flattened_active_admin/_mixins.scss
from line 11:1 of app/assets/stylesheets/active_admin.scss
>> @import "bourbon";
^
):
I am using:
Ruby - 2.4.9
Rails - 5.2.0
Active Admin - 2.7.0
Adding gem "bourbon"
into Gemfile and running bundle install
solved this problem.
Created this issue for developers if they are having the same issue. I hope this will be helpful.
The issue originated in gem "bourbon"
and it was fixed in newer version, source:
The box-sizing mixin is deprecated and will be removed in the next major version release. This property can now be used un-prefixed.
I tried adding flattened_active_admin the same way you described but I got the exact same layout as before. I double checked and the flattened_active_admin mixin and base are being included and not the regular active_admin files. Is there something I am missing?
Also, how can we achieve the same looks as in the provided Example#1 and Example#2 screenshots?
Thanks!
The Readme is recommending:
gem 'activeadmin', github: 'gregbell/active_admin'
This provides a 404 as the gem should be:
gem 'activeadmin', github: 'activeadmin/activeadmin'
Do I need to write the custom css the achieve the same color theme as your first example?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.