having trouble getting started with mixins

5 views
Skip to first unread message

maverick

unread,
Nov 6, 2010, 2:17:34 PM11/6/10
to Compass
Hi, what am I doing wrong to start using mixins, such as border-
radius?

At the top of the application.sass I added the following:

@import compass
@import "blueprint/colors"
@import "compass"

However, in my application.css, I added the following:

div#main, div#emails
:clear both
width = !centerwide
:float left
background-color = !white
border-color = !darkblue
:border-width 5px
:border-style solid
:padding 20px
+border-radius

Undefined mixin border-radius

Chris Eppstein

unread,
Nov 6, 2010, 2:20:14 PM11/6/10
to compas...@googlegroups.com
What other steps did you perform to set up compass?


--
You received this message because you are subscribed to the Google Groups "Compass" group.
To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.


maverick

unread,
Nov 6, 2010, 4:27:55 PM11/6/10
to Compass
when I type the following:

compass version


I get the following:

Compass 0.10.6

So it is installed....

On Nov 6, 11:20 am, Chris Eppstein <ch...@eppsteins.net> wrote:
> What other steps did you perform to set up compass?
>
> On Sat, Nov 6, 2010 at 11:17 AM, maverick <actingt...@gmail.com> wrote:
> > Hi, what am I doing wrong to start using mixins, such as border-
> > radius?
>
> > At the top of the application.sass I added the following:
>
> > @import compass
> > @import "blueprint/colors"
> > @import "compass"
>
> > However, in my application.css, I added the following:
>
> > div#main, div#emails
> >  :clear both
> >  width = !centerwide
> >  :float left
> >  background-color = !white
> >  border-color = !darkblue
> >  :border-width 5px
> >  :border-style solid
> >  :padding 20px
> >  +border-radius
>
> > Undefined mixin border-radius
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Compass" group.
> > To post to this group, send email to compas...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > compass-user...@googlegroups.com<compass-users%2Bunsu...@googlegroups.com>
> > .

Chris Eppstein

unread,
Nov 6, 2010, 4:32:42 PM11/6/10
to compas...@googlegroups.com
You didn't answer the question. Please answer the question if you would like support.

Hunt & pecked on my iPhone... Sorry if it's brief!

> To unsubscribe from this group, send email to compass-user...@googlegroups.com.

maverick

unread,
Nov 6, 2010, 5:12:13 PM11/6/10
to Compass
I assumed that if it shows Compass is installed, that shows the steps
taken:

gem install compass

That's it, then I added the @import statements in the application.sass
file as noted above...thanks.

On Nov 6, 1:32 pm, Chris Eppstein <ch...@eppsteins.net> wrote:
> You didn't answer the question. Please answer the question if you would like support.
>
> Hunt & pecked on my iPhone... Sorry if it's brief!
>

Brandon Mathis

unread,
Nov 6, 2010, 6:15:10 PM11/6/10
to compas...@googlegroups.com
Have you followed the steps here? http://compass-style.org/docs/tutorials/blueprint/ That should help if you're using blueprint.

- Brandon Mathis

maverick

unread,
Nov 6, 2010, 6:21:12 PM11/6/10
to Compass
Right now just trying to get the css3 to work....

On Nov 6, 3:15 pm, Brandon Mathis <imat...@me.com> wrote:
> Have you followed the steps here?http://compass-style.org/docs/tutorials/blueprint/That should help if you're using blueprint.

Chris Eppstein

unread,
Nov 6, 2010, 6:29:35 PM11/6/10
to compas...@googlegroups.com
Is it a rails app you're trying to set up? If so go here:

and follow the instructions under "Rails Support"

chris
Reply all
Reply to author
Forward
0 new messages