viliusluneckas / metro-ui-rails Goto Github PK
View Code? Open in Web Editor NEWMetro UI for Rails 3.1 Asset Pipeline
Home Page: https://github.com/ViliusLuneckas/metro-ui-rails
Metro UI for Rails 3.1 Asset Pipeline
Home Page: https://github.com/ViliusLuneckas/metro-ui-rails
Do i need manually incorporate changes, which occurs in metro-ui-css in gem?
Hi,
I am trying to use metro-ui-rails gem with rails 4. It throws this error when I run rails g metro:install
/home/pravinl/.rvm/gems/ruby-1.9.3-p448/gems/less-rails-2.2.3/lib/less/rails/railtie.rb:22:in `block in class:Railtie': The less-rails plugin requires the asset pipeline to be enabled. (RuntimeError)
Thanks
using
@import 'metro-ui/modern.less';
in application.less will abandon processing for application.css.scss.
Is it any workaround for this?
Interesting bug was noticed.
After making rake and packing gem there is all ok with icons in safari/chrome, but crap in firefox.
My little investigation just finished, and it seems that after regex in rakefile it truncates one char at the end of filename extension for font, in string, that does not contain #iconFont anchor.
This line contains error
regexp = /url\(\'..\/fonts\/([-_.a-zA-Z0-9]+)[\#\?]?\#?\w+'\)/
before regex:
url('../fonts/iconFont.eot?#iefix') format('embedded-opentype'), url('../fonts/iconFont.svg#iconFont') format('svg'), url('../fonts/iconFont.woff') format('woff'), url('../fonts/iconFont.ttf') format('truetype');
after:
url("/assets/metro-ui/iconFont.eot") format("embedded-opentype"), url("/assets/metro-ui/iconFont.svg") format("svg"), url("/assets/metro-ui/iconFont.wof") format("woff"),url("/assets/metro-ui/iconFont.tt") format("truetype");
That is why font does not loaded with Firefox, but is ok with Safari/Chrome.
suddenly responsive menu disappear after resize window. it still display icon but nothing happen when click.
Thank You
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.