Comments (11)
No rails... compass
Sten Muchow
+31637478658
On Dec 18, 2013, at 5:53 PM, Sean Deng [email protected] wrote:
Which version of rails are you using? I tested it with rails 4.0 and rails 3.2.
—
Reply to this email directly or view it on GitHub.
from semantic-ui-sass.
I figured out the problem - it was with the font-url() function and the svg icon plus a couple others. They were just hanging in the request (when i had it running on the local server) and when i removed the font-url function and hard coded the path it worked.
Just in case you are wondering I did have the font path wired in the config.rb file.
Was a really strange bug maybe you have a better idea of the situation.
Thanks for the help,
Sten Muchow
+31637478658
On Dec 19, 2013, at 1:09 AM, Sean Deng [email protected] wrote:
Oh, i have creteated a demo:
Visit http://localhost:3000(not file:///Users/doabit/Sites/test/compass-project/index.html).—
Reply to this email directly or view it on GitHub.
from semantic-ui-sass.
No worries, i didnt mean to talk just to chat so we could figure it out instead of email chat which is super slow.
Its weird that the font-url() function doesnt work correctly anyways thats for the Sass port! Stoked to be using it!!
Sten Muchow
+31637478658
On Dec 19, 2013, at 2:20 PM, Sean Deng [email protected] wrote:
Thanks, but i think my english is very poor. Absolute path should be good way. i'll update README for this.
—
Reply to this email directly or view it on GitHub.
from semantic-ui-sass.
Which version of rails are you using? I tested it with rails 4.0 and rails 3.2.
from semantic-ui-sass.
Oh, i have creteated a demo:
<link rel="stylesheet" type="text/css" href="stylesheets/styles.css">
<i class="archive icon"></i>
Visit http://localhost:3000
(not file:///Users/doabit/Sites/test/compass-project/index.html
).
from semantic-ui-sass.
css:
@font-face {
font-family: 'Basic Icons';
src: url('/stylesheets/fonts/semantic-ui/basic.icons.eot');
src: url('/stylesheets/fonts/semantic-ui/basic.icons.eot?#iefix') format("embedded-opentype"), url('/stylesheets/fonts/semantic-ui/basic.icons.svg#basic.icons') format("svg"), url('/stylesheets/fonts/semantic-ui/basic.icons.woff') format("woff"), url('/stylesheets/fonts/semantic-ui/basic.icons.ttf') format("truetype");
font-style: normal;
font-weight: normal;
font-variant: normal;
text-decoration: inherit;
text-transform: none;
}
Fonts use absolute path, it only works in server.
from semantic-ui-sass.
Hi Sean,
Do you have skype? We could maybe fix the problem together?
skype: sten_muchow
Thanks,
Sten Muchow
+31637478658
On Dec 19, 2013, at 1:26 PM, Sean Deng [email protected] wrote:
It generates css:
@font-face {
font-family: 'Basic Icons';
src: url('/stylesheets/fonts/semantic-ui/basic.icons.eot');
src: url('/stylesheets/fonts/semantic-ui/basic.icons.eot?#iefix') format("embedded-opentype"), url('/stylesheets/fonts/semantic-ui/basic.icons.svg#basic.icons') format("svg"), url('/stylesheets/fonts/semantic-ui/basic.icons.woff') format("woff"), url('/stylesheets/fonts/semantic-ui/basic.icons.ttf') format("truetype");
font-style: normal;
font-weight: normal;
font-variant: normal;
text-decoration: inherit;
text-transform: none;
}
Font use absolute path, it only works in server.—
Reply to this email directly or view it on GitHub.
from semantic-ui-sass.
Thanks, but i think my english is very poor. Absolute path should be good way. i'll update README for this.
from semantic-ui-sass.
Ok, i have added you in skype.
from semantic-ui-sass.
I'm having this issue too. I think asset-url is a rails function, so it won't work on pure compass sites.
from semantic-ui-sass.
i have it too. i modified font-face urls but it does not work again
from semantic-ui-sass.
Related Issues (20)
- Invalid US-ASCII character HOT 2
- cannot load such file -- semantic-ui-sass HOT 3
- Support Sprockets? HOT 2
- Error in parsing values in web console HOT 12
- $(...).sidebar is not a function HOT 5
- set site-varibles color setting not work. HOT 4
- File to import not found or unreadable: semantic-ui.) HOT 1
- Release of semantic-ui-sass HOT 4
- some icons are missing HOT 3
- Reveal element HOT 1
- Update to 2.4 HOT 1
- Disable "Save" button after clicking it for all forms in the BO
- Support Fomantic-UI, a community fork HOT 3
- (please remove)
- Javascript assets not loading on heroku HOT 2
- Theming Semantic UI HOT 3
- Javascript Insert in Rails 6 HOT 6
- How to add semantic-ui-sass on Rails 6 HOT 2
- Asset Import Issue w/ Webpack HOT 3
- How to install on rails 7 ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semantic-ui-sass.