2 // Partials to be shared with all .scss files.
4 // To make it easier to use all variables and mixins in any Sass file in this
5 // theme, each .scss file has a @import "base" declaration. And this _base.scss
6 // file is in charge of importing all the other partials needed for the theme.
8 @import "compass/support"; // Add Compass' IE and vendor prefix support variables.
9 @import "variables"; // Add your own shared variables here.
12 @import "compass/css3";
18 // To use a mixin in this file, add this line to the top of your .scss file:
20 // Then to use a mixin for a particular rule, add this inside the ruleset's
22 // @include mix-in-name;
25 // clearfix as defined by Drupal
35 @if $legacy-support-for-ie6 {
41 @if $legacy-support-for-ie7 {
48 // element-invisible as defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
49 @mixin element-invisible {
50 position: absolute !important;
54 @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
55 clip: rect(1px 1px 1px 1px); // IE6 and IE7 use the wrong syntax.
57 clip: rect(1px, 1px, 1px, 1px);
60 // Turns off the element-invisible effect.
61 @mixin element-invisible-off {
62 position: static !important;
69 @mixin element-focusable {
70 @include element-invisible;
74 @include element-invisible-off;
78 // The word "Unpublished" displayed underneath unpublished nodes and comments.
79 @mixin unpublished-div {
85 font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
87 text-transform: uppercase;
89 word-wrap: break-word; // A very nice CSS3 property
91 @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
93 position: relative; // Otherwise these elements will appear below the "Unpublished" text.