Code Monkey home page Code Monkey logo

Comments (11)

s10mcow avatar s10mcow commented on August 10, 2024 1

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.

s10mcow avatar s10mcow commented on August 10, 2024 1

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.

s10mcow avatar s10mcow commented on August 10, 2024 1

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.

doabit avatar doabit commented on August 10, 2024

Which version of rails are you using? I tested it with rails 4.0 and rails 3.2.

from semantic-ui-sass.

doabit avatar doabit commented on August 10, 2024

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.

doabit avatar doabit commented on August 10, 2024

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.

s10mcow avatar s10mcow commented on August 10, 2024

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.

doabit avatar doabit commented on August 10, 2024

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.

doabit avatar doabit commented on August 10, 2024

Ok, i have added you in skype.

from semantic-ui-sass.

endeavour avatar endeavour commented on August 10, 2024

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.

javadKarbasian avatar javadKarbasian commented on August 10, 2024

i have it too. i modified font-face urls but it does not work again

from semantic-ui-sass.

Related Issues (20)

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.