I created a sub-theme to sasson. And written to the file style.css in the theme. Style name nav (tag) or #main-menu-links. But style does not apply to nav or #main-menu-links Because there is a conflict between this style set style master.

Here's a picture
1
Sorry about the English

CommentFileSizeAuthor
Untitled-1.jpg505.47 KBisrael dahan

Comments

tsi’s picture

This seems like a problem with drupal core, I have opened an issue about it.
Anyway, we are working on an internal fix for that in sasson, meanwhile there are two things you can do :
1. Work in your style-rtl.css and not style.css if you are creating an RTL theme.
2. copy the file that has this rule from the parent theme and into the sub-theme, call it from your .info file and change whatever you need to change, this should override what is comming from the parent theme

tsi’s picture

Status: Active » Fixed

Fixed in dev and in the next release -

When loading style-sheets in your .info file Sasson allows you to specify settings like media queries, browsers, weight and any option available to drupal_add_css(), this example will load sasson.scss with an extra weight for screen only (not print) on browsers wider then 400px and on IE7 or older only :

styles[styles/sasson.scss][options][weight] = 1
styles[styles/sasson.scss][options][media] = screen and (max-width:400px)
styles[styles/sasson.scss][options][browsers][IE] = lte IE 7
styles[styles/sasson.scss][options][browsers][!IE] = FALSE

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.