compass

Changing the output directory of the resulting CSS file in Compass/Webby?

I want my resulting *.css file to land in the output/css directory instead of the stylesheets directory. How would I go about doing this? I've already tried: Compass.configuration do |config| config.project_path = File.dirname(__FILE__) config.sass_dir = File.join('src','stylesheets') config.css_dir = 'css' config.output_style...

Help with Sass mixin & variables (var is being ignored)

Hi guys, I have the following mixin in a sass partial: =card-list width: 180px min-height: 150px display: -moz-inline-stack display: inline-block vertical-align: top margin: 5px zoom: 1 *display: inline _height: 250px -moz-border-radius: 10px -webkit-border-radius: 10px Now, when I tried to make it parameterized ...

Hibernate Search or Compass

I can't seem to find any recent talk on the choice. Back in '06 there was criticism on Hibernate Search as being incomplete and not being ready to compete with Compass, is it now? Has anyone used both and have some perspective on making the decision. I am developing a web app in Java in my free time, its just me so I'm looking to cut co...

Can I configure Compass to output the CSS on a different drive?

Let's say that I have a Compass project on D:\Compass (this is where I keep my sources) and I want to output my generated stylesheets on E:\CSS, is that possible in any way? I tried changing the --css-dir but it won't work because it has to be relative to the project dir? Has anyone tried this before? ...

I want to create a compass in my android app, how to do it?

I cannot find any tutorial on the web. How can I do it in a simple way? ...

Search subset of objects using Compass/Lucene

Hi, I'm using the searchable plugin for Grails (which provides an API for Compass, which is itself an API over Lucene). I have an Order class that I would like to search but, I don't want to search all the instances of Order, just a subset of them. Something like this: // This is a Hibernate/GORM call List<Order> searchableOrders = Cus...

Grails searchable plugin

Hi, In my Grails app, I'm using the Searchable plugin for searching/indexing. I want to write a Compass/Lucene query that involves multiple domain classes. Within that query when I want to refer to the id of a class, I can't simply use 'id' because all classes have an 'id' property. Currently, I work around this problem by adding the fo...

How do I enable SASS line numbers in CSS output?

How can I enable line numbers in CSS output if I am using SASS? I found an article but I didn't quite understand where to make the modifications http://pivotallabs.com/users/damon/blog/articles/765-standup-04-07-2009-we-have-questions#comments Could you help me? ...

Why is link_to not taking me where I want it to?

Hi, I have a model 'Asset' and, on the show page, I have this: <%= link_to_remote 'test', :url => { :controller 'looks', :action => 'whatever' } %> The 'looks' controller and 'whatever' action both exist. Now when I go the the show page for the second Asset and click the test link I get this error: Processing AssetsController#2 (...

Grails searchable plugin

Hi, In my Grails app, I have the following domain class that is indexed by the Searchable plugin: class Foo implements Serializable { BookletCategory bookletCategory Date lastUpdated static hasMany = [details: BookletRootDetail] static searchable = { bookletCategory component: true id name: 'bookletRoo...

how to open compass app from native iphone app?

how can we open compass app from our native iphone application? also i am using mapkit and i want to show the direction heading from user location to another location in maps application how can we achieve this? ...

iPhone SDK Point to a specific location

Hi, I'm trying to develop an application that use the GPS and Compass of the iPhone in order to point some sort of pointer to a specific location (like the compass always point to the North). The location is fixed and I always need the pointer to point to that specific location no matter where the user is located. I have the Lat/Long coo...

Rails compass libraries

I have installed compass via rubygems doug:aggio davide$ sudo gem list compass * LOCAL GEMS * compass (0.10.0.pre2) compass-colors (0.3.1) * LOCAL GEMS * fancy-buttons (0.3.7) * LOCAL GEMS * haml (2.2.16, 2.2.14, 2.2.13, 2.2.10, 2.2.9, 2.2.6, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.0.10, 2.0.9) haml-edge (2.3.100, 2.3.97, 2.3.83, 2.3...

iPhone Compass Programming

Hi, I am developing an compass application for iphone 3GS. I have used CoreLocation framework for the compass method I have used... - (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading ...method for getting the heading. My question is how to get a value like "315° NW, 90° E,140° SE" without...

use compass rather than hibernate second level cache

looking forward to hear opinion from you all. do you think just use compass and enabled caching in compass is enough and thus no need to use hibernate second level cache? i even heard compass support memcached. in that case no point to use hibernate second level cache do you all use compass and still enable hibernate 2nd level cache on...

Compass blueprint mixins undefined

I am trying to get compass/sass/haml working using blueprint but not having any luck with the blueprint mixins +column(24) just results in Sass syntax error undefined mixin column I'm sure I am just missing something really obvious but the compass/haml/sass/bluprint combo is just so many things at once I can't sort it out. ...

How use Blueprint's form styles with password_field

I'd like to have my password_fields styled the same as the Blueprint framework's default style for input fields. What do I need to put in my .sass for this? ...

Detect the iPhone rotation spin?

Hello all, I want to create an application could detect the number of spin when user rotates the iPhone device. Currently, I am using the Compass API to get the angle and try many ways to detect spin. Below is the list of solutions that I've tried: 1/ Create 2 angle traps (piece on the full round) on the full round to detect whether the...

Cardinal direction algorithm in Java

This weekend I spend a few minutes thrashing together an algorithm that would take in a heading (in degrees) and return a String for the cardinal direction (I'm using it in an android compass application I'm using). What I ended up with was this: private String headingToString(Float heading) { String strHeading = "?"; Hashtable<...

explain compass @SearchableComponent @SearchableReference

both also used for annotating "foreign key" in jpa entity right? I do understand @searchablecomponent, let say we have category and subcategory. search subcategory will return category in this case of @searchablecomponent. what about @searchablereference ? i cannot understand this one? for case of @searchablereference, will searc...