softwarebrothers / active_skin Goto Github PK
View Code? Open in Web Editor NEWFlat skin for active admin.
License: MIT License
Flat skin for active admin.
License: MIT License
When defining $skinLogo: url("logo.svg") no repeat 0 0;
I get:
Started GET "/assets/logo.svg" for 127.0.0.1 at 2017-07-24 11:02:46 +0200
ActionController::RoutingError (No route matches [GET] "/assets/logo.svg"):
Even though I have it in assets
. What's wrong here?
There is no pusher for footer. If data is bigger than one screen, footer overlays bottom data, making it impossible to see.
No have idea how fix it..(
W, [2017-07-16T02:58:55.108297 #23723] WARN -- : Warning. Error encountered while saving cache 84ab4be3ee80d22bfd40c0fb8262dcd720bb16a2/active_skin.sassc: can't dump hash with default proc
I tried:
RAILS_ENV=production bundle exec rake tmp:cache:clear
and comment:
@import "active_skin";
should be 1px #d3d8dc, after clicking the check should be red.
After deployment logo isnt being precompiled.
This is awesome!
Do u guys have any js improvements in mind for near future?
For eg:
Are there any plans to release the changes already available in master? The last version available in ruby-gems is 0.0.12 (october 2015), and it is very outdated.
Since some of the changes like the bugfix for google fonts issue are critical (without them this gem wont work with rails >= 6.0.1), could you please release a new version of this gem?
I know we can reference the master branch in our gemfiles but I think that it is not the best way as it goes against the purpose of locking specific versions.
@wojtek-krysiak maybe you can give us some hope regarding this topic 🙏! Thank you!
Hello, i have issue with active_skin: malformed url
Fork https://github.com/seesaw/active_skin/commit/7d347bc21f5615491f125793e9a06e5e607aa06d fixed it.
I see many forks with "remove google fonts", may be it can be fixed in upstream.
I think the @import directive on the very top of the active_skin.sass file is causing my application to to slow down because of the slow response from Google Fonts.
Is this an issue with Google Fonts?
Is there a strategy to minimize or to make it load faster?
Anyone find a clean way to keep the link that is defined in the active_admin initializer?
I did the below to fix it on my end.
h1.site_title {
background: none !important;
padding-left: inherit !important;
text-indent: 0 !important;
}
@PatrykZ - please write which colour schemes are ugly and shouldn't be in readme. Also you could write me other - more pleasing to the eye - color schemes (two colors per scheme - header bck + action)
I followed the steps in the 'Readme' and I get the above error when I try to visit an active admin page.
Any chance of releasing a package with the scss on npm to support activeadmin's new webpacker mode?
From a quick look the only issue would be the following line, since it can't find the image.
$skinLogo: #fff image-url("active_skin/default_logo.png") no-repeat 30px 0 !default
everything else should work as-is once published on npm.
Your sample pictures suggest that it is the ability to create drop-down menus.
How do you manage it?
regards
Getting the following error when precompiling. active_skin works fine in development.
ActiveAdmin version: 1.0.0.pre2
Sass::SyntaxError: Undefined mixin 'rounded'.
(in /srv/app/shared/bundle/ruby/2.0.0/gems/active_skin-0.0.12/app/assets/stylesheets/active_skin.sass)
/srv/app/shared/bundle/ruby/2.0.0/gems/active_skin-0.0.12/app/assets/stylesheets/active_skin.sass:42:in `rounded'
/srv/app/shared/bundle/ruby/2.0.0/gems/active_skin-0.0.12/app/assets/stylesheets/active_skin.sass:42
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:349:in `block in visit_mixin'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:98:in `block in with_mixin'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:98:in `with_mixin'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:347:in `visit_mixin'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `block in with_base'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `with_base'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `block (2 levels) in visit_rule'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `map'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `block in visit_rule'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:429:in `visit_rule'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `block in with_base'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `with_base'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `block (2 levels) in visit_rule'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `map'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `block in visit_rule'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:429:in `visit_rule'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `block in with_base'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `with_base'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `map'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `visit_children'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `block in visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:157:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:8:in `visit'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/root_node.rb:36:in `css_tree'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/tree/root_node.rb:20:in `render'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-3.4.21/lib/sass/engine.rb:278:in `render'
/srv/app/shared/bundle/ruby/2.0.0/gems/sass-rails-3.2.6/lib/sass/rails/template_handlers.rb:106:in `evaluate'
/srv/app/shared/bundle/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/context.rb:193:in `block in evaluate'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/context.rb:190:in `each'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/context.rb:190:in `evaluate'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/processed_asset.rb:12:in `initialize'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:249:in `new'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:249:in `block in build_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:270:in `circular_call_protection'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:248:in `build_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/index.rb:93:in `block in build_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/caching.rb:19:in `cache_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/index.rb:92:in `build_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:169:in `find_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/index.rb:60:in `find_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/bundled_asset.rb:16:in `initialize'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:252:in `new'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:252:in `build_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/index.rb:93:in `block in build_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/caching.rb:19:in `cache_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/index.rb:92:in `build_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:169:in `find_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/index.rb:60:in `find_asset'
/srv/app/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.19/lib/sprockets/static_compiler.rb:19:in `block in compile'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:219:in `block in each_logical_path'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:196:in `each'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:196:in `each_entry'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:204:in `block in each_file'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:203:in `each'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:203:in `each_file'
/srv/app/shared/bundle/ruby/2.0.0/gems/sprockets-2.2.3/lib/sprockets/base.rb:217:in `each_logical_path'
/srv/app/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.19/lib/sprockets/static_compiler.rb:18:in `compile'
/srv/app/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.19/lib/sprockets/assets.rake:56:in `internal_precompile'
/srv/app/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.19/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/srv/app/shared/bundle/ruby/2.0.0/gems/actionpack-3.2.19/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
Tasks: TOP => assets:precompile:primary
when I am using active_skin with active admin 0.6.0 for rails 3.2.13.
The css contains body.active_admin prefix to the styles and it is causing the issues, here is a snippet:
body.active_admin #header ul.tabs { display: inline-block; height: 100%; margin: 0; padding: 0; } body.active_admin #header .header-item { float: left; height: 20px; position: relative; top: 2px; }
Please guide me what I am missing here.
sometimes we need do it in my phone.
on line 1:9 of ../../../.rvm/gems/ruby-2.6.0/gems/active_skin-0.0.12/app/assets/stylesheets/active_skin.sass
from line 19:1 of app/assets/stylesheets/active_admin.css.scss
@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:400,"600","700
error when compiling:
https://github.com/SoftwareBrothers/active_skin/blob/master/app/assets/stylesheets/active_skin.sass#L1
Please give me the best solution to this issue, thank you.
Here is a screenshot of active_skin view from README:
https://raw.githubusercontent.com/ilu2112/active_skin/master/doc/active-skin-users.png
As You can see - there is a button with "Stwórz obiekt użytkownik" string.
Here is how I see it after adding active_skin to rails 4.1.6 project:
"New Admin User" button has different style.
EDIT: this issue seems to be fixed with commit:
Design was made in CMYK so colors are a little darker than they should be (especially action color). @PatrykZ - please change it.
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.