diff --git a/lib/sass/Phamlp.php b/lib/sass/Phamlp.php
deleted file mode 100644
index 7bec175270..0000000000
--- a/lib/sass/Phamlp.php
+++ /dev/null
@@ -1,72 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- */
-/**
- * Phamlp class.
- * Static support classes.
- * @package PHamlP
- */
-class Phamlp {
- /**
- * @var string Language used to translate messages
- */
- public static $language;
- /**
- * @var array Messages used for translation
- */
- public static $messages;
-
- /**
- * Translates a message to the specified language.
- * @param string message category.
- * @param string the original message
- * @param array parameters to be applied to the message using strtr.
- * @return string the translated message
- */
- public static function t($category, $message, $params = array()) {
- if (!empty(self::$language)) {
- $message = self::translate($category, $message);
- }
- return $params!==array() ? strtr($message,$params) : $message;
- }
-
- /**
- * Translates a message to the specified language.
- * If the language or the message in the specified language is not defined the
- * original message is returned.
- * @param string message category
- * @param string the original message
- * @return string the translated message
- */
- private static function translate($category, $message) {
- if (empty(self::$messages[$category])) self::loadMessages($category);
- return (empty(self::$messages[$category][$message]) ? $message : self::$messages[$category][$message]);
- }
-
- /**
- * Loads the specified language message file for translation.
- * Message files are PHP files in the "category/messages" directory and named
- * "language.php", where category is either haml or sass, and language is the
- * specified language.
- * The message file returns an array of (source, translation) pairs; for example:
- *
- * return array(
- * 'original message 1' => 'translated message 1',
- * 'original message 2' => 'translated message 2',
- * );
- *
- * @param string message category
- */
- private static function loadMessages($category) {
- $messageFile = dirname(__FILE__).DIRECTORY_SEPARATOR.$category.DIRECTORY_SEPARATOR.'messages'.DIRECTORY_SEPARATOR.self::$language.'.php';
- if (file_exists($messageFile)) {
- self::$messages[$category] = require_once($messageFile);
- }
- }
-}
\ No newline at end of file
diff --git a/lib/sass/PhamlpException.php b/lib/sass/PhamlpException.php
deleted file mode 100644
index 1dc32032e1..0000000000
--- a/lib/sass/PhamlpException.php
+++ /dev/null
@@ -1,31 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- */
-
-require_once('Phamlp.php');
-
-/**
- * Phamlp exception class.
- * Base class for PHamlP::Haml and PHamlP::Sass exceptions.
- * Translates exception messages.
- * @package PHamlP
- */
-class PhamlpException extends Exception {
- /**
- * Phamlp Exception.
- * @param string Category (haml|sass)
- * @param string Exception message
- * @param array parameters to be applied to the message using strtr.
- */
- public function __construct($category, $message, $params, $object) {
- parent::__construct(Phamlp::t($category, $message, $params) .
- (is_object($object) ? ": {$object->filename}::{$object->line}\nSource: {$object->source}" : '')
- );
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/HamlException.php b/lib/sass/haml/HamlException.php
deleted file mode 100644
index e83f45ef5d..0000000000
--- a/lib/sass/haml/HamlException.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml
- */
-
-require_once(dirname(__FILE__).'/../PhamlpException.php');
-
-/**
- * Haml exception class.
- * @package PHamlP
- * @subpackage Haml
- */
-class HamlException extends PhamlpException {
- /**
- * Haml Exception.
- * @param string Exception message
- * @param array parameters to be applied to the message using strtr.
- * @param object object with source code and meta data
- */
- public function __construct($message, $params = array(), $object = null) {
- parent::__construct('haml', $message, $params, $object);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/HamlHelpers.php b/lib/sass/haml/HamlHelpers.php
deleted file mode 100644
index 769f7ecffc..0000000000
--- a/lib/sass/haml/HamlHelpers.php
+++ /dev/null
@@ -1,199 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml
- */
-
-/**
- * HamlHelpers class.
- * Contains methods to make it easier to do various tasks.
- *
- * The class can be extended to provide user defined helper methods. The
- * signature for user defined helper methods is ($block, $other, $arguments);
- * $block is the string generated by the Haml block being operated on.
- *
- * Tthe path to the extended class is provided to HamlParser in the config
- * array; class name == file name.
- *
- * HamlHelpers and any extended class are automatically included in the context
- * that a Haml template is parsed in, so all the methods are at your disposal
- * from within the template.
- *
- * @package PHamlP
- * @subpackage Haml
- */
-class HamlHelpers {
- const XMLNS = 'http://www.w3.org/1999/xhtml';
-
- /**
- * Returns the block with string appended.
- * @see succeed
- * @param string Haml block
- * @param string string to append
- * @return string the block with string appended.
- */
- public static function append($block, $string) {
- return $block.$string;
- }
-
- /**
- * Escapes HTML entities in text, but without escaping an ampersand that is
- * already part of an escaped entity.
- * @param string Haml block
- * @return string the block with HTML entities escaped.
- */
- public static function escape_once($block) {
- return htmlentities(html_entity_decode($block));
- }
-
- /**
- * Returns an array containing default assignments for the xmlns, lang, and
- * xml:lang attributes of the html element.
- * This helper method is for use in the html element only.
- *
- * Examples:
- * %html(html_attrs())
- * produces
- *
- *
- * %html(html_attrs('en-gb'))
- * produces
- *
- *
- * %html(html_attrs('en-gb', false))
- * produces
- *
- *
- * Although handled in HamlParser, the notes below are here for completeness.
- * Other attributes are defined as normal. e.g.
- * %html(xmlns:me="http://www.example.com/me" html_attrs('en-gb', false))
- * produces
- *
- *
- * PHamlP also allows for the language to be defined using PHP code that can
- * be eval'd; the code must end with a semi-colon (;). e.g.
- * %html(html_attrs("FW::app()->language);", false))
- * produces (assuming FW::app()->language returns 'en-gb')
- *
- *
- * @param string document language. Default = en-us
- * @param boolean whether the html element has the lang attribute. Default: true
- * Should be set false for XHTML 1.1 or greater documents
- * @return string the block with string appended.
- */
- public static function html_attrs($language = 'en-us', $lang = true) {
- return ($lang ?
- array('xmlns'=>self::XMLNS, 'xml:lang'=>$language, 'lang'=>$language) :
- array('xmlns'=>self::XMLNS, 'xml:lang'=>$language));
- }
-
- /**
- * Returns a copy of text with ampersands, angle brackets and quotes escaped
- * into HTML entities.
- * @param string Haml block
- * @return string the block with HTML entities escaped.
- */
- public static function html_escape($block) {
- return htmlspecialchars($block);
- }
-
- /**
- * Iterates an array and using the block to generate a element for each
- * array element.
- * Examples:
- * = list_of(array('red', 'orange', ...., 'violet'), 'colour')
- * = colour
- * Produces:
- * red
- * orange
- * |
- * |
- * violet>
- *
- * = list_of(array('Fly Fishing' => 'JR Hartley', 'Lord of the Rings' => 'JRR Tolkien'), 'title', 'author')
- * %h3= title
- * %p= author
- * Produces:
- *
- * Fly Fishing
- * JR Hartley
- *
- *
- * Lord of the Rings
- * JRR Tolkien
- *
- *
- * @param string Haml block
- * @param array items
- * @param string string in block to replace with item key or item value
- * @param string string in block to replace with item value
- * @return string list items.
- */
- public static function list_of($block, $items, $key, $value = null) {
- $output = '';
- foreach ($items as $_key=>$_value) {
- $output .= '' . strtr($block, (empty($value) ? array($key=>$_value) :
- array($key=>$_key, $value=>$_value))) . ' ';
- } // foreach
- return $output;
- }
-
- /**
- * Alias for prepend.
- * @see prepend
- * @param string Haml block
- * @param string string to prepend
- * @return string the block with string prepended
- */
- public static function preceed($block, $string) {
- return self::prepend($block, $string);
- }
-
- /**
- * Returns the block with string prepended.
- * @param string Haml block
- * @param string string to prepend
- * @return string the block with string prepended
- */
- public static function prepend($block, $string) {
- return $string.$block;
- }
-
- /**
- * Converts newlines in the block to HTML entities.
- * @param string Haml block
- * @return string the block with newlines converted to HTML entities
- */
- public static function preserve($block) {
- return str_replace("\n", '
', $block);
- }
-
- /**
- * Alias for append.
- * @see append
- * @param string Haml block
- * @param string string to apppend
- * @return string the block with string apppended
- */
- public static function succeed($block, $string) {
- return self::append($block, $string);
- }
-
- /**
- * Surrounds a block of Haml code with strings.
- * If $back is not given it defaults to $front.
- * @param string Haml block
- * @param string string to prepend
- * @param string string to apppend
- * @return string the block surrounded by the strings
- */
- public static function surround($block, $front, $back=null) {
- return $front.$block.(is_null($back) ? $front : $back);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/HamlParser.php b/lib/sass/haml/HamlParser.php
deleted file mode 100644
index 47721d6580..0000000000
--- a/lib/sass/haml/HamlParser.php
+++ /dev/null
@@ -1,1249 +0,0 @@
-
- * Debug (addition)
- * Source debug - adds comments to the output showing each source line above
- * the result - ?#s+ to turn on, ?#s- to turn off, ?#s! to toggle
- * Output debug - shows the output directly in the browser - ?#o+ to turn on, ?#o- to turn off, ?#o! to toggle
- * Control both at once - ?#so+ to turn on, ?#so- to turn off, ?#so! to toggle
- * Ugly mode can be controlled by the template
- *
- * Ugly mode is turned off when in debug
- * "-" command (notes)
- * PHP does not require ending ";"
- * PHP control blocks are automatically bracketed
- * Switch Case statements do not end with ":"
- * do-while control blocks are written as "do (expression)"
- *
- * Comes with filters that run "out of the box":
- * + plain : useful for large chunks of text to ensure Haml doesn't do anything.
- * + escaped : like plain but the output is (x)html escaped.
- * + preserve : like plain but preserves the whitespace.
- * + cdata : wraps the content in CDATA tags.
- * + javascript : wraps the content in \n";
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/filters/HamlPhpFilter.php b/lib/sass/haml/filters/HamlPhpFilter.php
deleted file mode 100644
index 6fdbb1f280..0000000000
--- a/lib/sass/haml/filters/HamlPhpFilter.php
+++ /dev/null
@@ -1,27 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.filters
- */
-
-/**
- * PHP Filter for {@link http://haml-lang.com/ Haml} class.
- * The text will be parsed with the PHP interpreter.
- * @package PHamlP
- * @subpackage Haml.filters
- */
-class HamlPhpFilter extends HamlBaseFilter {
- /**
- * Run the filter
- * @param string text to filter
- * @return string filtered text
- */
- public function run($text) {
- return "\n";
- }
-}
diff --git a/lib/sass/haml/filters/HamlPlainFilter.php b/lib/sass/haml/filters/HamlPlainFilter.php
deleted file mode 100644
index 33bbe0b1d3..0000000000
--- a/lib/sass/haml/filters/HamlPlainFilter.php
+++ /dev/null
@@ -1,28 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.filters
- */
-
-/**
- * Plain Filter for {@link http://haml-lang.com/ Haml} class.
- * Does not parse the filtered text. This is useful for large blocks of text
- * without HTML tags when lines are not to be parsed.
- * @package PHamlP
- * @subpackage Haml.filters
- */
-class HamlPlainFilter extends HamlBaseFilter {
- /**
- * Run the filter
- * @param string text to filter
- * @return string filtered text
- */
- public function run($text) {
- return preg_replace(HamlParser::MATCH_INTERPOLATION, '', $text). "\n";
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/filters/HamlPreserveFilter.php b/lib/sass/haml/filters/HamlPreserveFilter.php
deleted file mode 100644
index 03a2cd3270..0000000000
--- a/lib/sass/haml/filters/HamlPreserveFilter.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.filters
- */
-
-/**
- * Preserve Filter for {@link http://haml-lang.com/ Haml} class.
- * Does not parse the filtered text and preserves line breaks.
- * @package PHamlP
- * @subpackage Haml.filters
- */
-class HamlPreserveFilter extends HamlBaseFilter {
- /**
- * Run the filter
- * @param string text to filter
- * @return string filtered text
- */
- public function run($text) {
- return str_replace("\n", '
',
- preg_replace(HamlParser::MATCH_INTERPOLATION, '', $text)
- ) . "\n";
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/filters/HamlSassFilter.php b/lib/sass/haml/filters/HamlSassFilter.php
deleted file mode 100644
index ce2ece6ce3..0000000000
--- a/lib/sass/haml/filters/HamlSassFilter.php
+++ /dev/null
@@ -1,37 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.filters
- */
-
-require_once('HamlCssFilter.php');
-require_once(dirname(__FILE__).'/../../sass/SassParser.php');
-
-/**
- * {@link Sass http://sass-lang.com/} Filter for
- * {@link http://haml-lang.com/ Haml} class.
- * Parses the text as Sass then calls the CSS filter.
- * Useful for including inline Sass.
- * @package PHamlP
- * @subpackage Haml.filters
- */
-class HamlSassFilter extends HamlBaseFilter {
- /**
- * Run the filter
- * @param string text to filter
- * @return string filtered text
- */
- public function run($text) {
- $sass = new SassParser();
- $css = new HamlCssFilter();
- $css->init();
-
- return $css->run($sass->toCss(preg_replace(HamlParser::MATCH_INTERPOLATION, '', $text), false));
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/filters/HamlScssFilter.php b/lib/sass/haml/filters/HamlScssFilter.php
deleted file mode 100644
index 7c783106a1..0000000000
--- a/lib/sass/haml/filters/HamlScssFilter.php
+++ /dev/null
@@ -1,37 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.filters
- */
-
-require_once('HamlCssFilter.php');
-require_once(dirname(__FILE__).'/../../sass/SassParser.php');
-
-/**
- * {@link Sass http://sass-lang.com/} Filter for
- * {@link http://haml-lang.com/ Haml} class.
- * Parses the text as Sass then calls the CSS filter.
- * Useful for including inline Sass.
- * @package PHamlP
- * @subpackage Haml.filters
- */
-class HamlScssFilter extends HamlBaseFilter {
- /**
- * Run the filter
- * @param string text to filter
- * @return string filtered text
- */
- public function run($text) {
- $sass = new SassParser(array('syntax'=>'scss'));
- $css = new HamlCssFilter();
- $css->init();
-
- return $css->run($sass->toCss(preg_replace(HamlParser::MATCH_INTERPOLATION, '', $text), false));
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/filters/_HamlMarkdownFilter.php b/lib/sass/haml/filters/_HamlMarkdownFilter.php
deleted file mode 100644
index c7db577fda..0000000000
--- a/lib/sass/haml/filters/_HamlMarkdownFilter.php
+++ /dev/null
@@ -1,50 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.filters
- */
-
-/**
- * Markdown Filter for {@link http://haml-lang.com/ Haml} class.
- * Parses the text with Markdown.
- *
- * This is an abstract class that must be extended and the init() method
- * implemented to provide the vendorPath if the vendor class is not imported
- * elsewhere in the application (e.g. by a framework) and vendorClass if the
- * default class name is not correct.
- * @package PHamlP
- * @subpackage Haml.filters
- */
-abstract class _HamlMarkdownFilter extends HamlBaseFilter {
- /**
- * @var string Path to Markdown Parser
- */
- protected $vendorPath;
- /**
- * @var string Markdown class
- * Override this value if the class name is different in your environment
- */
- protected $vendorClass = 'MarkdownExtra_Parser';
-
- /**
- * Child classes must implement this method.
- * Typically the child class will set $vendorPath and $vendorClass
- */
- public function init() {}
-
- /**
- * Run the filter
- * @param string text to filter
- * @return string filtered text
- */
- public function run($text) {
- return 'vendorPath)?'require_once "'.$this->vendorPath.'";':'').'$markdown___=new '.$this->vendorClass.'();echo $markdown___->safeTransform("'.preg_replace(HamlParser::MATCH_INTERPOLATION, '".\1."', $text).'");?>';
- }
-}
diff --git a/lib/sass/haml/filters/_HamlTextileFilter.php b/lib/sass/haml/filters/_HamlTextileFilter.php
deleted file mode 100644
index 1bb3cdaa8e..0000000000
--- a/lib/sass/haml/filters/_HamlTextileFilter.php
+++ /dev/null
@@ -1,50 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.filters
- */
-
-/**
- * Textile Filter for {@link http://haml-lang.com/ Haml} class.
- * Parses the text with Textile.
- *
- * This is an abstract class that must be extended and the init() method
- * implemented to provide the vendorPath if the vendor class is not imported
- * elsewhere in the application (e.g. by a framework) and vendorClass if the
- * default class name is not correct.
- * @package PHamlP
- * @subpackage Haml.filters
- */
-abstract class _HamlTextileFilter extends HamlBaseFilter {
- /**
- * @var string Path to Textile Parser
- */
- protected $vendorPath;
- /**
- * @var string Textile class
- * Override this value if the class name is different in your environment
- */
- protected $vendorClass = 'Textile';
-
- /**
- * Child classes must implement this method.
- * Typically the child class will set $vendorPath and $vendorClass
- */
- public function init() {}
-
- /**
- * Run the filter
- * @param string text to filter
- * @return string filtered text
- */
- public function run($text) {
- return 'vendorPath)?'require_once "'.$this->vendorPath.'";':'').'$textile___=new '.$this->vendorClass.'();echo $textile___->TextileThis("'.preg_replace(HamlParser::MATCH_INTERPOLATION, '".\1."', $text).'");?>';
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/messages/_i18n.php b/lib/sass/haml/messages/_i18n.php
deleted file mode 100644
index c878297cfc..0000000000
--- a/lib/sass/haml/messages/_i18n.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.messages
- */
- return array (
- 'Attribute must be "class" or "id" with array value'=>'',
- 'Illegal indentation level ({indentLevel}); indentation level can only increase by one'=>'',
- 'Invalid indentation'=>'',
- 'Invalid {what} ({value})'=>'',
- 'Invalid {what} ({value}); must be one of "{options}"'=>'',
- 'Mixed indentation not allowed'=>'',
- 'No getter function for {what}'=>'',
- 'No setter function for {what}'=>'',
- 'Unable to find {what}: {filename}'=>'',
- '{what} must extend {base} class'=>'',
- );
\ No newline at end of file
diff --git a/lib/sass/haml/messages/de.php b/lib/sass/haml/messages/de.php
deleted file mode 100644
index 84f41fdb15..0000000000
--- a/lib/sass/haml/messages/de.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.messages
- */
- return array (
- 'Attribute must be "class" or "id" with array value'=>'Attribute müssen "class" oder "id" mit array-wert',
- 'Illegal indentation level ({indentLevel}); indentation level can only increase by one'=>'Illegale einrückungsebene ({indentLevel}); einrückungsebene kann nur von einem anstieg',
- 'Invalid indentation'=>'Ungültige einrückung',
- 'Invalid {what}'=>'Ungültige {what}',
- 'Invalid {what} ({value}); must be one of "{options}"'=>'Ungültige {what} ({value}); muss einer der "{options}"',
- 'Mixed indentation not allowed'=>'Mixed einzug nicht erlaubt',
- 'No getter function for {what}'=>'Kein getter-funktion für {what}',
- 'No setter function for {what}'=>'Kein setter-funktion für {what}',
- 'Unable to find {what}: {filename}'=>'Kann zu finden {what}: {filename}',
- '{what} must extend {base} class'=>'{what} muss {base} klasse erweitern',
- );
\ No newline at end of file
diff --git a/lib/sass/haml/messages/fr.php b/lib/sass/haml/messages/fr.php
deleted file mode 100644
index ebb0485abf..0000000000
--- a/lib/sass/haml/messages/fr.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.messages
- */
- return array (
- 'Attribute must be "class" or "id" with array value'=>"D'attributs doivent être \"class\" ou \"id\" avec valeur de array",
- 'Illegal indentation level ({indentLevel}); indentation level can only increase by one: {file}::{line}'=>"Niveau niveau d'indentation illégale ({indentLevel}); ne peut augmenter d'un: {file}::{line}",
- 'Invalid indentation: {line}::{file}'=>'Indentation blancs: {line}::{file}',
- 'Invalid {what} ({value}): {file}::{line}'=>'Invalide {what} ({value}): {file}::{line}',
- 'Invalid {what} ({value}); must be one of "{options}".'=>"Invalide {what} ({value}); doit être l'un des \"{options}\"",
- 'Mixed indentation not allowed: {file}::{line}'=>'Indentation mixte pas autorisé: {file}::{line}',
- 'No getter function for {what}'=>'Pas de fonction getter pour {what}',
- 'No setter function for {what}'=>'Pas de fonction setter pour {what}',
- 'Unable to find {what}: {filename}.'=>'Impossible de trouver {what}: {filename}.',
- '{what} must extend {base} class.'=>"{what} doit s'étendre classe {base}",
- );
\ No newline at end of file
diff --git a/lib/sass/haml/renderers/HamlCompactRenderer.php b/lib/sass/haml/renderers/HamlCompactRenderer.php
deleted file mode 100644
index aaa7f1077d..0000000000
--- a/lib/sass/haml/renderers/HamlCompactRenderer.php
+++ /dev/null
@@ -1,32 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-
-/**
- * HamlCompactRenderer class.
- * Renders blocks on single lines.
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-class HamlCompactRenderer extends HamlRenderer {
- /**
- * Renders the opening tag of an element
- */
- public function renderOpeningTag($node) {
- return ($node->isBlock ? '' : ' ') . parent::renderOpeningTag($node);
- }
-
- /**
- * Renders the closing tag of an element
- */
- public function renderClosingTag($node) {
- return parent::renderClosingTag($node) . ($node->isBlock ? "\n" : ' ');
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/renderers/HamlCompressedRenderer.php b/lib/sass/haml/renderers/HamlCompressedRenderer.php
deleted file mode 100644
index 5f68c70336..0000000000
--- a/lib/sass/haml/renderers/HamlCompressedRenderer.php
+++ /dev/null
@@ -1,48 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-
-/**
- * HamlCompressedRenderer class.
- * Output has minimal whitespace.
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-class HamlCompressedRenderer extends HamlRenderer {
- /**
- * Renders the opening of a comment.
- * Only conditional comments are rendered
- */
- public function renderOpenComment($node) {
- if ($node->isConditional) return parent::renderOpenComment($node);
- }
-
- /**
- * Renders the closing of a comment.
- * Only conditional comments are rendered
- */
- public function renderCloseComment($node) {
- if ($node->isConditional) return parent::renderCloseComment($node);
- }
-
- /**
- * Renders the opening tag of an element
- */
- public function renderOpeningTag($node) {
- return ($node->isBlock ? '' : ' ') . parent::renderOpeningTag($node);
- }
-
- /**
- * Renders the closing tag of an element
- */
- public function renderClosingTag($node) {
- return parent::renderClosingTag($node) . ($node->isBlock ? '' : ' ');
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/renderers/HamlExpandedRenderer.php b/lib/sass/haml/renderers/HamlExpandedRenderer.php
deleted file mode 100644
index 8bb4657c42..0000000000
--- a/lib/sass/haml/renderers/HamlExpandedRenderer.php
+++ /dev/null
@@ -1,58 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-
-/**
- * HamlExpandedRenderer class.
- * Blocks are on single lines and content indented.
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-class HamlExpandedRenderer extends HamlRenderer {
- /**
- * Renders the opening tag of an element
- */
- public function renderOpeningTag($node) {
- return parent::renderOpeningTag($node) .
- ($node->whitespaceControl['inner'] ? '' :
- ($node->isSelfClosing && $node->whitespaceControl['outer'] ? '' : "\n"));
- }
-
- /**
- * Renders the closing tag of an element
- */
- public function renderClosingTag($node) {
- return ($node->isSelfClosing ? '' : parent::renderClosingTag($node) .
- ($node->whitespaceControl['outer'] ? '' : "\n"));
- }
-
- /**
- * Renders content.
- * @param HamlNode the node being rendered
- * @return string the rendered content
- */
- public function renderContent($node) {
- return self::INDENT . parent::renderContent($node) . "\n";
- }
-
- /**
- * Renders the start of a code block
- */
- public function renderStartCodeBlock($node) {
- return parent::renderStartCodeBlock($node) . "\n";
- }
-
- /**
- * Renders the end of a code block
- */
- public function renderEndCodeBlock($node) {
- return parent::renderEndCodeBlock($node) . "\n";
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/renderers/HamlNestedRenderer.php b/lib/sass/haml/renderers/HamlNestedRenderer.php
deleted file mode 100644
index f3135d4e08..0000000000
--- a/lib/sass/haml/renderers/HamlNestedRenderer.php
+++ /dev/null
@@ -1,77 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-
-/**
- * HamlNestedRenderer class.
- * Blocks and content are indented according to their nesting level.
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-class HamlNestedRenderer extends HamlRenderer {
- /**
- * Renders the opening tag of an element
- */
- public function renderOpeningTag($node) {
- return ($node->whitespaceControl['outer'] ? '' : $this->getIndent($node)) .
- parent::renderOpeningTag($node) . ($node->whitespaceControl['inner'] ? '' :
- ($node->isSelfClosing && $node->whitespaceControl['outer'] ? '' : "\n"));
- }
-
- /**
- * Renders the closing tag of an element
- */
- public function renderClosingTag($node) {
- return ($node->isSelfClosing ? '' : ($node->whitespaceControl['inner'] ? '' :
- $this->getIndent($node)) . parent::renderClosingTag($node) .
- ($node->whitespaceControl['outer'] ? '' : "\n"));
- }
-
- /**
- * Renders content.
- * @param HamlNode the node being rendered
- * @return string the rendered content
- */
- public function renderContent($node) {
- return $this->getIndent($node) . parent::renderContent($node) . "\n";
- }
-
- /**
- * Renders the opening of a comment
- */
- public function renderOpenComment($node) {
- return parent::renderOpenComment($node) . (empty($node->content) ? "\n" : '');
- }
-
- /**
- * Renders the closing of a comment
- */
- public function renderCloseComment($node) {
- return parent::renderCloseComment($node) . "\n";
- }
-
- /**
- * Renders the start of a code block
- */
- public function renderStartCodeBlock($node) {
- return $this->getIndent($node) . parent::renderStartCodeBlock($node) . "\n";
- }
-
- /**
- * Renders the end of a code block
- */
- public function renderEndCodeBlock($node) {
- return $this->getIndent($node) . parent::renderEndCodeBlock($node) . "\n";
- }
-
- private function getIndent($node) {
- return str_repeat(' ', 2 * $node->line['indentLevel']);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/renderers/HamlRenderer.php b/lib/sass/haml/renderers/HamlRenderer.php
deleted file mode 100644
index e707a203e2..0000000000
--- a/lib/sass/haml/renderers/HamlRenderer.php
+++ /dev/null
@@ -1,137 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-
-require_once('HamlCompressedRenderer.php');
-require_once('HamlCompactRenderer.php');
-require_once('HamlExpandedRenderer.php');
-require_once('HamlNestedRenderer.php');
-
-/**
- * HamlRenderer class.
- * Provides the most common version of each method. Child classs override
- * methods to provide style specific rendering.
- * @package PHamlP
- * @subpackage Haml.renderers
- */
-class HamlRenderer {
- /**#@+
- * Output Styles
- */
- const STYLE_COMPRESSED = 'compressed';
- const STYLE_COMPACT = 'compact';
- const STYLE_EXPANDED = 'expanded';
- const STYLE_NESTED = 'nested';
- /**#@-*/
-
- const INDENT = ' ';
-
- private $format;
- private $attrWrapper;
- private $minimizedAttributes;
-
- /**
- * Returns the renderer for the required render style.
- * @param string render style
- * @return HamlRenderer
- */
- static public function getRenderer($style, $options) {
- switch ($style) {
- case self::STYLE_COMPACT:
- return new HamlCompactRenderer($options);
- case self::STYLE_COMPRESSED:
- return new HamlCompressedRenderer($options);
- case self::STYLE_EXPANDED:
- return new HamlExpandedRenderer($options);
- case self::STYLE_NESTED:
- return new HamlNestedRenderer($options);
- } // switch
- }
-
- public function __construct($options) {
- foreach ($options as $name => $value) {
- $this->$name = $value;
- } // foreach
- }
-
- /**
- * Renders element attributes
- */
- private function renderAttributes($attributes) {
- $output = '';
- foreach ($attributes as $name => $value) {
- if (is_integer($name)) { // attribute function
- $output .= " $value";
- }
- elseif ($name == $value &&
- ($this->format === 'html4' || $this->format === 'html5')) {
- $output .= " $name";
- }
- else {
- $output .= " $name={$this->attrWrapper}$value{$this->attrWrapper}";
- }
- }
- return $output;
- }
-
- /**
- * Renders the opening tag of an element
- */
- public function renderOpeningTag($node) {
- $output = "<{$node->content}";
- $output .= $this->renderAttributes($node->attributes);
- $output .= ($node->isSelfClosing ? ' /' : '') . '>';
- return $output;
- }
-
- /**
- * Renders the closing tag of an element
- */
- public function renderClosingTag($node) {
- return ($node->isSelfClosing ? '' : "{$node->content}>");
- }
-
- /**
- * Renders the opening of a comment
- */
- public function renderOpenComment($node) {
- return ($node->isConditional ? "\n\n" : '') . "' . ($node->isConditional ? "\n" : '');
- }
-
- /**
- * Renders the start of a code block
- */
- public function renderStartCodeBlock($node) {
- return $this->renderContent($node);
- }
-
- /**
- * Renders the end of a code block
- */
- public function renderEndCodeBlock($node) {
- return 'doWhile) ? " {$node->doWhile}" : '') . ' ?>';
- }
-
- /**
- * Renders content.
- * @param HamlNode the node being rendered
- * @return string the rendered content
- */
- public function renderContent($node) {
- return $node->content;
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlCodeBlockNode.php b/lib/sass/haml/tree/HamlCodeBlockNode.php
deleted file mode 100644
index 4252397ae9..0000000000
--- a/lib/sass/haml/tree/HamlCodeBlockNode.php
+++ /dev/null
@@ -1,58 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-require_once('HamlRootNode.php');
-require_once('HamlNodeExceptions.php');
-
-/**
- * HamlCodeBlockNode class.
- * Represents a code block - if, elseif, else, foreach, do, and while.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlCodeBlockNode extends HamlNode {
- /**
- * @var HamlCodeBlockNode else nodes for if statements
- */
- public $else;
- /**
- * @var string while clause for do-while loops
- */
- public $doWhile;
-
- /**
- * Adds an "else" statement to this node.
- * @param SassIfNode "else" statement node to add
- * @return SassIfNode this node
- */
- public function addElse($node) {
- if (is_null($this->else)) {
- $node->root = $this->root;
- $node->parent = $this->parent;
- $this->else = $node;
- }
- else {
- $this->else->addElse($node);
- }
- return $this;
- }
-
- public function render() {
- $output = $this->renderer->renderStartCodeBlock($this);
- foreach ($this->children as $child) {
- $output .= $child->render();
- } // foreach
- $output .= (empty($this->else) ?
- $this->renderer->renderEndCodeBlock($this) : $this->else->render());
-
- return $this->debug($output);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlCommentNode.php b/lib/sass/haml/tree/HamlCommentNode.php
deleted file mode 100644
index 230244256d..0000000000
--- a/lib/sass/haml/tree/HamlCommentNode.php
+++ /dev/null
@@ -1,41 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-/**
- * HamlCommentNode class.
- * Represents a comment, including MSIE conditional comments.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlCommentNode extends HamlNode {
- private $isConditional;
-
- public function __construct($content, $parent) {
- $this->content = $content;
- $this->isConditional = (bool)preg_match('/^\[.+\]$/', $content, $matches);
- $this->parent = $parent;
- $this->root = $parent->root;
- $parent->children[] = $this;
- }
-
- public function getIsConditional() {
- return $this->isConditional;
- }
-
- public function render() {
- $output = $this->renderer->renderOpenComment($this);
- foreach ($this->children as $child) {
- $output .= $child->render();
- } // foreach
- $output .= $this->renderer->renderCloseComment($this);
- return $this->debug($output);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlDoctypeNode.php b/lib/sass/haml/tree/HamlDoctypeNode.php
deleted file mode 100644
index e64d416bef..0000000000
--- a/lib/sass/haml/tree/HamlDoctypeNode.php
+++ /dev/null
@@ -1,27 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-/**
- * HamlDoctypeNode class.
- * Represents a Doctype.
- * Doctypes are always rendered on a single line with a newline.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlDoctypeNode extends HamlNode {
- /**
- * Render this node.
- * @return string the rendered node
- */
- public function render() {
- return $this->debug($this->content . "\n");
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlElementNode.php b/lib/sass/haml/tree/HamlElementNode.php
deleted file mode 100644
index 5dfd9ef175..0000000000
--- a/lib/sass/haml/tree/HamlElementNode.php
+++ /dev/null
@@ -1,52 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-require_once('HamlRootNode.php');
-require_once('HamlNodeExceptions.php');
-
-/**
- * HamlElementNode class.
- * Represents an element.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlElementNode extends HamlNode {
- public $isBlock;
- public $isSelfClosing;
- public $attributes;
- public $whitespaceControl;
- public $escapeHTML;
-
- public function render() {
- $renderer = $this->renderer;
- $this->output = $renderer->renderOpeningTag($this);
- $close = $renderer->renderClosingTag($this);
-
- if ($this->whitespaceControl['outer']['left']) {
- $this->output = ltrim($this->output);
- $close = rtrim($close);
- $this->parent->output = rtrim($this->parent->output);
- }
-
- foreach ($this->children as $index=>$child) {
- $output = $child->render();
- $output = ($this->whitespaceControl['inner'] ? trim($output) : $output);
- if ($index && $this->children[$index-1] instanceof HamlElementNode && $this->children[$index-1]->whitespaceControl['outer']['right']) {
- $output = ltrim($output);
- }
- $this->output .= $output;
- } // foreach
-
- return $this->debug($this->output . (isset($child) &&
- $child instanceof HamlElementNode &&
- $child->whitespaceControl['outer']['right'] ? ltrim($close) : $close));
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlFilterNode.php b/lib/sass/haml/tree/HamlFilterNode.php
deleted file mode 100644
index c92cd2875e..0000000000
--- a/lib/sass/haml/tree/HamlFilterNode.php
+++ /dev/null
@@ -1,50 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-/**
- * HamlFilterNode class.
- * Represent a filter in the Haml source.
- * The filter is run on the output from child nodes when the node is rendered.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlFilterNode extends HamlNode {
- /**
- * @var HamlBaseFilter the filter to run
- */
- private $filter;
-
- /**
- * HamlFilterNode constructor.
- * Sets the filter.
- * @param HamlBaseFilter the filter to run
- * @return HamlFilterNode
- */
- public function __construct($filter, $parent) {
- $this->filter = $filter;
- $this->parent = $parent;
- $this->root = $parent->root;
- $parent->children[] = $this;
- }
-
- /**
- * Render this node.
- * The filter is run on the content of child nodes before being returned.
- * @return string the rendered node
- */
- public function render() {
- $output = '';
- foreach ($this->children as $child) {
- $output .= $child->getContent();
- } // foreach
- return $this->debug($this->filter->run($output));
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlHelperNode.php b/lib/sass/haml/tree/HamlHelperNode.php
deleted file mode 100644
index 1066b7739e..0000000000
--- a/lib/sass/haml/tree/HamlHelperNode.php
+++ /dev/null
@@ -1,73 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-/**
- * HamlHelperNode class.
- * Represent a helper in the Haml source.
- * The helper is run on the output from child nodes when the node is rendered.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlHelperNode extends HamlNode {
- const MATCH = '/(.*?)(\w+)\((.+?)\)(?:\s+(.*))?$/';
- const PRE = 1;
- const NAME = 2;
- const ARGS = 3;
- const BLOCK = 4;
-
- /**
- * @var string the helper class name
- */
- private $class;
- /**
- * @var string helper method name
- */
- private $pre;
- /**
- * @var string helper method name
- */
- private $name;
- /**
- * @var string helper method arguments
- */
- private $args;
-
- /**
- * HamlFilterNode constructor.
- * Sets the filter.
- * @param string helper class.
- * @param string helper call.
- * @return HamlHelperNode
- */
- public function __construct($class, $pre, $name, $args, $parent) {
- $this->class = $class;
- $this->pre = $pre;
- $this->name = $name;
- $this->args = $args;
- $this->parent = $parent;
- $this->root = $parent->root;
- $parent->children[] = $this;
- }
-
- /**
- * Render this node.
- * The filter is run on the content of child nodes before being returned.
- * @return string the rendered node
- */
- public function render() {
- $children = '';
- foreach ($this->children as $child) {
- $children .= trim($child->render());
- } // foreach
- $output = 'pre) ? 'echo' : $this->pre)." {$this->class}::{$this->name}('$children',{$this->args}); ?>";
- return $this->debug($output);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlNode.php b/lib/sass/haml/tree/HamlNode.php
deleted file mode 100644
index beec66767e..0000000000
--- a/lib/sass/haml/tree/HamlNode.php
+++ /dev/null
@@ -1,253 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-require_once('HamlRootNode.php');
-require_once('HamlCommentNode.php');
-require_once('HamlDoctypeNode.php');
-require_once('HamlElementNode.php');
-require_once('HamlFilterNode.php');
-require_once('HamlHelperNode.php');
-require_once('HamlCodeBlockNode.php');
-require_once('HamlNodeExceptions.php');
-
-/**
- * HamlNode class.
- * Base class for all Haml nodes.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlNode {
- /**
- * @var HamlNode root node of this node
- */
- protected $root;
- /**
- * @var HamlNode parent of this node
- */
- protected $parent;
- /**
- * @var array children of this node
- */
- protected $children = array();
- /**
- * @var array source line token
- */
- public $token;
- /**
- * @var boolean whether to show the output in the browser for debug
- */
- public $showOutput;
- /**
- * @var boolean whether to show the source in the browser for debug
- */
- public $showSource;
- /**
- * @var string content to render
- */
- public $content;
- /**
- * @var string output buffer
- */
- protected $output;
- /**
- * @var HamlRenderer Renderer object
- */
- private $_r;
- /**
- * @var array Options
- */
- private $_o;
-
- public function __construct($content, $parent) {
- $this->content = $content;
- if (!is_null($parent)) { // $parent === null for "else" code blocks
- $this->parent = $parent;
- $this->root = $parent->root;
- $parent->children[] = $this;
- }
-
- }
-
- /**
- * Getter.
- * @param string name of property to get
- * @return mixed return value of getter function
- */
- public function __get($name) {
- $getter = 'get' . ucfirst($name);
- if (method_exists($this, $getter)) {
- return $this->$getter();
- }
- throw new HamlNodeException('No getter function for {what}', array('{what}'=>$name));
- }
-
- /**
- * Setter.
- * @param string name of property to set
- * @return mixed value of property
- * @return HamlNode this node
- */
- public function __set($name, $value) {
- $setter = 'set' . ucfirst($name);
- if (method_exists($this, $setter)) {
- $this->$setter($value);
- return $this;
- }
- throw new HamlNodeException('No setter function for {what}', array('{what}'=>$name));
- }
-
- /**
- * Return a value indicating if this node has a parent
- * @return array the node's parent
- */
- public function hasParent() {
- return !empty($this->parent);
- }
-
- /**
- * Returns the node's content and that of its child nodes
- * @param integer the indent level. This is to allow properly indented output
- * that filters (e.g. Sass) may need.
- * @return string the node's content and that of its child nodes
- */
- public function getContent($indentLevel = 0) {
- $output = str_repeat(' ', 2 * $indentLevel++) . $this->content . "\n";
- foreach ($this->children as $child) {
- $output .= $child->getContent($indentLevel);
- } // foreach
- return $output;
- }
-
- /**
- * Returns the node's parent
- * @return array the node's parent
- */
- public function getParent() {
- return $this->parent;
- }
-
- /**
- * Returns a value indicating if this node has children
- * @return boolean true if the node has children, false if not
- */
- public function hasChildren() {
- return !empty($this->children);
- }
-
- /**
- * Returns the node's children
- * @return array the node's children
- */
- public function getChildren() {
- return $this->children;
- }
-
- /**
- * Returns the last child node of this node.
- * @return HamlNode the last child node of this node
- */
- public function getLastChild() {
- return $this->children[count($this->children) - 1];
- }
-
- /**
- * Returns the indent level of this node.
- * @return integer the indent level of this node
- */
- private function getLevel() {
- return $this->token['level'];
- }
-
- /**
- * Sets the indent level of this node.
- * Used during rendering to give correct indentation.
- * @param integer the indent level of this node
- * @return HamlNode this node
- */
- private function setLevel($level) {
- $this->token['level'] = $level;
- return $this;
- }
-
- /**
- * Returns the source for this node
- * @return string the source for this node
- */
- private function getSource() {
- return $this->token[HamlParser::HAML_SOURCE];
- }
-
- /**
- * Returns the source for this node
- * @return string the source for this node
- */
- private function getLine() {
- return $this->token['line'];
- }
-
- /**
- * Returns the filename for this node
- * @return string the filename for this node
- */
- private function getFilename() {
- return $this->token['filename'];
- }
-
- /**
- * Returns the options.
- * @return array the options
- */
- public function getOptions() {
- if (empty($this->_o)) {
- $this->_r = $this->root->options;
- }
- return $this->_o;
- }
-
- /**
- * Returns the renderer.
- * @return HamlRenderer the rendered
- */
- public function getRenderer() {
- if (empty($this->_r)) {
- $this->_r = $this->root->renderer;
- }
- return $this->_r;
- }
-
- public function render() {
- $output = $this->renderer->renderContent($this);
- foreach ($this->children as $child) {
- $output .= $child->render();
- } // foreach
- return $this->debug($output);
- }
-
- protected function debug($output) {
- $output = ($this->showSource ? $this->showSource($output) : $output);
- return ($this->showOutput && $this->line['indentLevel'] == 0 ?
- nl2br(str_replace(' ', ' ', htmlspecialchars($output))) :
- $output);
- }
-
- /**
- * Adds a comment with source debug information for the current line to the output.
- * The debug information is:
- * + source file (relative to the application path)
- * + line number
- * + indent level
- * + source code
- * @param array source line(s) that generated the ouput
- */
- protected function showSource($output) {
- return "\n$output";
- }
-}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlNodeExceptions.php b/lib/sass/haml/tree/HamlNodeExceptions.php
deleted file mode 100644
index 9bf0c670f3..0000000000
--- a/lib/sass/haml/tree/HamlNodeExceptions.php
+++ /dev/null
@@ -1,19 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-require_once(dirname(__FILE__).'/../HamlException.php');
-
-/**
- * HamlNodeException class.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlNodeException extends HamlException {}
\ No newline at end of file
diff --git a/lib/sass/haml/tree/HamlRootNode.php b/lib/sass/haml/tree/HamlRootNode.php
deleted file mode 100644
index fa0463b78d..0000000000
--- a/lib/sass/haml/tree/HamlRootNode.php
+++ /dev/null
@@ -1,58 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Haml.tree
- */
-
-require_once(dirname(__FILE__).'/../renderers/HamlRenderer.php');
-
-/**
- * HamlRootNode class.
- * Also the root node of a document.
- * @package PHamlP
- * @subpackage Haml.tree
- */
-class HamlRootNode extends HamlNode {
- /**
- * @var HamlRenderer the renderer for this node
- */
- protected $renderer;
- /**
- * @var array options
- */
- protected $options;
-
- /**
- * Root HamlNode constructor.
- * @param array options for the tree
- * @return HamlNode
- */
- public function __construct($options) {
- $this->root = $this;
- $this->options = $options;
- $this->renderer = HamlRenderer::getRenderer($this->options['style'],
- array(
- 'format' => $this->options['format'],
- 'attrWrapper' => $this->options['attrWrapper'],
- 'minimizedAttributes' => $this->options['minimizedAttributes'],
- )
- );
- $this->token = array('level' => -1);
- }
-
- /**
- * Render this node.
- * @return string the rendered node
- */
- public function render() {
- foreach ($this->children as $child) {
- $this->output .= $child->render();
- } // foreach
- return $this->output;
- }
-}
diff --git a/lib/sass/sass/SassException.php b/lib/sass/sass/SassException.php
deleted file mode 100644
index 850a407e21..0000000000
--- a/lib/sass/sass/SassException.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass
- */
-
-require_once(dirname(__FILE__).'/../PhamlpException.php');
-
-/**
- * Sass exception class.
- * @package PHamlP
- * @subpackage Sass
- */
-class SassException extends PhamlpException {
- /**
- * Sass Exception.
- * @param string Exception message
- * @param array parameters to be applied to the message using strtr.
- * @param object object with source code and meta data
- */
- public function __construct($message, $params = array(), $object = null) {
- parent::__construct('sass', $message, $params, $object);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/SassFile.php b/lib/sass/sass/SassFile.php
deleted file mode 100644
index 3c071a6b3a..0000000000
--- a/lib/sass/sass/SassFile.php
+++ /dev/null
@@ -1,164 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass
- */
-
-/**
- * SassFile class.
- * @package PHamlP
- * @subpackage Sass
- */
-class SassFile {
- const SASS = 'sass';
- const SCSS = 'scss';
- const SASSC = 'sassc';
-
- private static $extensions = array(self::SASS, self::SCSS);
-
- /**
- * Returns the parse tree for a file.
- * If caching is enabled a cached version will be used if possible; if not the
- * parsed file will be cached.
- * @param string filename to parse
- * @param SassParser Sass parser
- * @return SassRootNode
- */
- public static function getTree($filename, $parser) {
- if ($parser->cache) {
- $cached = self::getCachedFile($filename, $parser->cache_location);
- if ($cached !== false) {
- return $cached;
- }
- }
-
- $sassParser = new SassParser(array_merge($parser->options, array('line'=>1)));
- $tree = $sassParser->parse($filename);
- if ($parser->cache) {
- self::setCachedFile($tree, $filename, $parser->cache_location);
- }
- return $tree;
- }
-
- /**
- * Returns the full path to a file to parse.
- * The file is looked for recursively under the load_paths directories and
- * the template_location directory.
- * If the filename does not end in .sass or .scss try the current syntax first
- * then, if a file is not found, try the other syntax.
- * @param string filename to find
- * @param SassParser Sass parser
- * @return string path to file
- * @throws SassException if file not found
- */
- public static function getFile($filename, $parser) {
- $ext = substr($filename, -5);
-
- foreach (self::$extensions as $i=>$extension) {
- if ($ext !== '.'.self::SASS && $ext !== '.'.self::SCSS) {
- if ($i===0) {
- $_filename = "$filename.{$parser->syntax}";
- }
- else {
- $_filename = $filename.'.'.($parser->syntax === self::SASS ? self::SCSS : self::SASS);
- }
- }
- else {
- $_filename = $filename;
- }
-
- if (file_exists($_filename)) {
- return $_filename;
- }
-
- foreach (array_merge(array(dirname($parser->filename)), $parser->load_paths) as $loadPath) {
- $path = self::findFile($_filename, realpath($loadPath));
- if ($path !== false) {
- return $path;
- }
- } // foreach
-
- if (!empty($parser->template_location)) {
- $path = self::findFile($_filename, realpath($parser->template_location));
- if ($path !== false) {
- return $path;
- }
- }
- }
-
- throw new SassException('Unable to find {what}: {filename}', array('{what}'=>'import file', '{filename}'=>$filename));
- }
-
- /**
- * Looks for the file recursively in the specified directory.
- * This will also look for _filename to handle Sass partials.
- * @param string filename to look for
- * @param string path to directory to look in and under
- * @return mixed string: full path to file if found, false if not
- */
- public static function findFile($filename, $dir) {
- $partialname = dirname($filename).DIRECTORY_SEPARATOR.'_'.basename($filename);
-
- foreach (array($filename, $partialname) as $file) {
- if (file_exists($dir . DIRECTORY_SEPARATOR . $file)) {
- return realpath($dir . DIRECTORY_SEPARATOR . $file);
- }
- }
-
- $files = array_slice(scandir($dir), 2);
-
- foreach ($files as $file) {
- if (is_dir($dir . DIRECTORY_SEPARATOR . $file)) {
- $path = self::findFile($filename, $dir . DIRECTORY_SEPARATOR . $file);
- if ($path !== false) {
- return $path;
- }
- }
- } // foreach
- return false;
- }
-
- /**
- * Returns a cached version of the file if available.
- * @param string filename to fetch
- * @param string path to cache location
- * @return mixed the cached file if available or false if it is not
- */
- public static function getCachedFile($filename, $cacheLocation) {
- $cached = realpath($cacheLocation) . DIRECTORY_SEPARATOR .
- md5($filename) . '.'.self::SASSC;
-
- if ($cached && file_exists($cached) &&
- filemtime($cached) >= filemtime($filename)) {
- return unserialize(file_get_contents($cached));
- }
- return false;
- }
-
- /**
- * Saves a cached version of the file.
- * @param SassRootNode Sass tree to save
- * @param string filename to save
- * @param string path to cache location
- * @return mixed the cached file if available or false if it is not
- */
- public static function setCachedFile($sassc, $filename, $cacheLocation) {
- $cacheDir = realpath($cacheLocation);
-
- if (!$cacheDir) {
- mkdir($cacheLocation);
- @chmod($cacheLocation, 0777);
- $cacheDir = realpath($cacheLocation);
- }
-
- $cached = $cacheDir . DIRECTORY_SEPARATOR . md5($filename) . '.'.self::SASSC;
-
- return file_put_contents($cached, serialize($sassc));
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/SassParser.php b/lib/sass/sass/SassParser.php
deleted file mode 100644
index 7d728acd5e..0000000000
--- a/lib/sass/sass/SassParser.php
+++ /dev/null
@@ -1,848 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass
- */
-
-require_once('SassFile.php');
-require_once('SassException.php');
-require_once('tree/SassNode.php');
-
-/**
- * SassParser class.
- * Parses {@link http://sass-lang.com/ .sass and .sccs} files.
- * @package PHamlP
- * @subpackage Sass
- */
-class SassParser {
- /**#@+
- * Default option values
- */
- const CACHE = true;
- const CACHE_LOCATION = './sass-cache';
- const CSS_LOCATION = './css';
- const TEMPLATE_LOCATION = './sass-templates';
- const BEGIN_COMMENT = '/';
- const BEGIN_CSS_COMMENT = '/*';
- const END_CSS_COMMENT = '*/';
- const BEGIN_SASS_COMMENT= '//';
- const BEGIN_INTERPOLATION = '#';
- const BEGIN_INTERPOLATION_BLOCK = '#{';
- const BEGIN_BLOCK = '{';
- const END_BLOCK = '}';
- const END_STATEMENT = ';';
- const DOUBLE_QUOTE = '"';
- const SINGLE_QUOTE = "'";
-
- /**
- * @var string the character used for indenting
- * @see indentChars
- * @see indentSpaces
- */
- private $indentChar;
- /**
- * @var array allowable characters for indenting
- */
- private $indentChars = array(' ', "\t");
- /**
- * @var integer number of spaces for indentation.
- * Used to calculate {@link Level} if {@link indentChar} is space.
- */
- private $indentSpaces = 2;
-
- /**
- * @var string source
- */
- private $source;
-
- /**#@+
- * Option
- */
- /**
- * cache:
- * @var boolean Whether parsed Sass files should be cached, allowing greater
- * speed.
- *
- * Defaults to true.
- */
- private $cache;
-
- /**
- * cache_location:
- * @var string The path where the cached sassc files should be written to.
- *
- * Defaults to './sass-cache'.
- */
- private $cache_location;
-
- /**
- * css_location:
- * @var string The path where CSS output should be written to.
- *
- * Defaults to './css'.
- */
- private $css_location;
-
- /**
- * debug_info:
- * @var boolean When true the line number and file where a selector is defined
- * is emitted into the compiled CSS in a format that can be understood by the
- * {@link https://addons.mozilla.org/en-US/firefox/addon/103988/
- * FireSass Firebug extension}.
- * Disabled when using the compressed output style.
- *
- * Defaults to false.
- * @see style
- */
- private $debug_info;
-
- /**
- * extensions:
- * @var array Sass extensions, e.g. Compass. An associative array of the form
- * $name => $options where $name is the name of the extension and $options
- * is an array of name=>value options pairs.
- */
- protected $extensions;
-
- /**
- * filename:
- * @var string The filename of the file being rendered.
- * This is used solely for reporting errors.
- */
- protected $filename;
-
- /**
- * function_paths:
- * @var array An array of filesystem paths which should be searched for
- * SassScript functions.
- */
- private $function_paths;
-
- /**
- * line:
- * @var integer The number of the first line of the Sass template. Used for
- * reporting line numbers for errors. This is useful to set if the Sass
- * template is embedded.
- *
- * Defaults to 1.
- */
- private $line;
-
- /**
- * line_numbers:
- * @var boolean When true the line number and filename where a selector is
- * defined is emitted into the compiled CSS as a comment. Useful for debugging
- * especially when using imports and mixins.
- * Disabled when using the compressed output style or the debug_info option.
- *
- * Defaults to false.
- * @see debug_info
- * @see style
- */
- private $line_numbers;
-
- /**
- * load_paths:
- * @var array An array of filesystem paths which should be searched for
- * Sass templates imported with the @import directive.
- *
- * Defaults to './sass-templates'.
- */
- private $load_paths;
-
- /**
- * property_syntax:
- * @var string Forces the document to use one syntax for
- * properties. If the correct syntax isn't used, an error is thrown.
- * Value can be:
- * + new - forces the use of a colon or equals sign after the property name.
- * For example color: #0f3 or width: $main_width.
- * + old - forces the use of a colon before the property name.
- * For example: :color #0f3 or :width = $main_width.
- *
- * By default, either syntax is valid.
- *
- * Ignored for SCSS files which alaways use the new style.
- */
- private $property_syntax;
-
- /**
- * quiet:
- * @var boolean When set to true, causes warnings to be disabled.
- * Defaults to false.
- */
- private $quiet;
-
- /**
- * style:
- * @var string the style of the CSS output.
- * Value can be:
- * + nested - Nested is the default Sass style, because it reflects the
- * structure of the document in much the same way Sass does. Each selector
- * and rule has its own line with indentation is based on how deeply the rule
- * is nested. Nested style is very useful when looking at large CSS files as
- * it allows you to very easily grasp the structure of the file without
- * actually reading anything.
- * + expanded - Expanded is the typical human-made CSS style, with each selector
- * and property taking up one line. Selectors are not indented; properties are
- * indented within the rules.
- * + compact - Each CSS rule takes up only one line, with every property defined
- * on that line. Nested rules are placed with each other while groups of rules
- * are separated by a blank line.
- * + compressed - Compressed has no whitespace except that necessary to separate
- * selectors and properties. It's not meant to be human-readable.
- *
- * Defaults to 'nested'.
- */
- private $style;
-
- /**
- * syntax:
- * @var string The syntax of the input file.
- * 'sass' for the indented syntax and 'scss' for the CSS-extension syntax.
- *
- * This is set automatically when parsing a file, else defaults to 'sass'.
- */
- private $syntax;
-
- /**
- * template_location:
- * @var string Path to the root sass template directory for your
- * application.
- */
- private $template_location;
-
- /**
- * vendor_properties:
- * If enabled a property need only be written in the standard form and vendor
- * specific versions will be added to the style sheet.
- * @var mixed array: vendor properties, merged with the built-in vendor
- * properties, to automatically apply.
- * Boolean true: use built in vendor properties.
- *
- * Defaults to vendor_properties disabled.
- * @see _vendorProperties
- */
- private $vendor_properties = array();
-
- /**#@-*/
- /**
- * Defines the build-in vendor properties
- * @var array built-in vendor properties
- * @see vendor_properties
- */
- private $_vendorProperties = array(
- 'border-radius' => array(
- '-moz-border-radius',
- '-webkit-border-radius',
- '-khtml-border-radius'
- ),
- 'border-top-right-radius' => array(
- '-moz-border-radius-topright',
- '-webkit-border-top-right-radius',
- '-khtml-border-top-right-radius'
- ),
- 'border-bottom-right-radius' => array(
- '-moz-border-radius-bottomright',
- '-webkit-border-bottom-right-radius',
- '-khtml-border-bottom-right-radius'
- ),
- 'border-bottom-left-radius' => array(
- '-moz-border-radius-bottomleft',
- '-webkit-border-bottom-left-radius',
- '-khtml-border-bottom-left-radius'
- ),
- 'border-top-left-radius' => array(
- '-moz-border-radius-topleft',
- '-webkit-border-top-left-radius',
- '-khtml-border-top-left-radius'
- ),
- 'box-shadow' => array('-moz-box-shadow', '-webkit-box-shadow'),
- 'box-sizing' => array('-moz-box-sizing', '-webkit-box-sizing'),
- 'opacity' => array('-moz-opacity', '-webkit-opacity', '-khtml-opacity'),
- );
-
- /**
- * Constructor.
- * Sets parser options
- * @param array $options
- * @return SassParser
- */
- public function __construct($options = array()) {
- if (!is_array($options)) {
- throw new SassException('{what} must be a {type}', array('{what}'=>'options', '{type}'=>'array'));
- }
- if (!empty($options['language'])) {
- Phamlp::$language = $options['language'];
- }
-
- if (!empty($options['extensions'])) {
- foreach ($options['extensions'] as $extension=>$extOptions) {
- include dirname(__FILE__).DIRECTORY_SEPARATOR.'extensions'.DIRECTORY_SEPARATOR.$extension.DIRECTORY_SEPARATOR.'config.php';
- $configClass = 'SassExtentions'.$extension.'Config';
- $config = new $configClass;
- $config->config($extOptions);
-
- $lp = dirname(__FILE__).DIRECTORY_SEPARATOR.'extensions'.DIRECTORY_SEPARATOR.$extension.DIRECTORY_SEPARATOR.'frameworks';
- $fp = dirname(__FILE__).DIRECTORY_SEPARATOR.'extensions'.DIRECTORY_SEPARATOR.$extension.DIRECTORY_SEPARATOR.'functions';
- $options['load_paths'] = (empty($options['load_paths']) ?
- array($lp) : array_merge($options['load_paths'], $lp));
- $options['function_paths'] = (empty($options['function_paths']) ?
- array($fp) : array_merge($options['function_paths'], $fp));
- }
- }
-
- if (!empty($options['vendor_properties'])) {
- if ($options['vendor_properties'] === true) {
- $this->vendor_properties = $this->_vendorProperties;
- }
- elseif (is_array($options['vendor_properties'])) {
- $this->vendor_properties = array_merge($this->vendor_properties, $this->_vendorProperties);
- }
- }
- unset($options['language'], $options['vendor_properties']);
-
- $defaultOptions = array(
- 'cache' => self::CACHE,
- 'cache_location' => dirname(__FILE__) . DIRECTORY_SEPARATOR . self::CACHE_LOCATION,
- 'css_location' => dirname(__FILE__) . DIRECTORY_SEPARATOR . self::CSS_LOCATION,
- 'debug_info' => false,
- 'filename' => array('dirname' => '', 'basename' => ''),
- 'function_paths' => array(),
- 'load_paths' => array(dirname(__FILE__) . DIRECTORY_SEPARATOR . self::TEMPLATE_LOCATION),
- 'line' => 1,
- 'line_numbers' => false,
- 'style' => SassRenderer::STYLE_NESTED,
- 'syntax' => SassFile::SASS
- );
-
- foreach (array_merge($defaultOptions, $options) as $name=>$value) {
- if (property_exists($this, $name)) {
- $this->$name = $value;
- }
- }
- }
-
- /**
- * Getter.
- * @param string name of property to get
- * @return mixed return value of getter function
- */
- public function __get($name) {
- $getter = 'get' . ucfirst($name);
- if (method_exists($this, $getter)) {
- return $this->$getter();
- }
- throw new SassException('No getter function for {what}', array('{what}'=>$name));
- }
-
- public function getCache() {
- return $this->cache;
- }
-
- public function getCache_location() {
- return $this->cache_location;
- }
-
- public function getCss_location() {
- return $this->css_location;
- }
-
- public function getDebug_info() {
- return $this->debug_info;
- }
-
- public function getFilename() {
- return $this->filename;
- }
-
- public function getLine() {
- return $this->line;
- }
-
- public function getSource() {
- return $this->source;
- }
-
- public function getLine_numbers() {
- return $this->line_numbers;
- }
-
- public function getFunction_paths() {
- return $this->function_paths;
- }
-
- public function getLoad_paths() {
- return $this->load_paths;
- }
-
- public function getProperty_syntax() {
- return $this->property_syntax;
- }
-
- public function getQuiet() {
- return $this->quiet;
- }
-
- public function getStyle() {
- return $this->style;
- }
-
- public function getSyntax() {
- return $this->syntax;
- }
-
- public function getTemplate_location() {
- return $this->template_location;
- }
-
- public function getVendor_properties() {
- return $this->vendor_properties;
- }
-
- public function getOptions() {
- return array(
- 'cache' => $this->cache,
- 'cache_location' => $this->cache_location,
- 'css_location' => $this->css_location,
- 'filename' => $this->filename,
- 'function_paths' => $this->function_paths,
- 'line' => $this->line,
- 'line_numbers' => $this->line_numbers,
- 'load_paths' => $this->load_paths,
- 'property_syntax' => $this->property_syntax,
- 'quiet' => $this->quiet,
- 'style' => $this->style,
- 'syntax' => $this->syntax,
- 'template_location' => $this->template_location,
- 'vendor_properties' => $this->vendor_properties
- );
- }
-
- /**
- * Parse a sass file or Sass source code and returns the CSS.
- * @param string name of source file or Sass source
- * @return string CSS
- */
- public function toCss($source, $isFile = true) {
- return $this->parse($source, $isFile)->render();
- }
-
- /**
- * Parse a sass file or Sass source code and
- * returns the document tree that can then be rendered.
- * The file will be searched for in the directories specified by the
- * load_paths option.
- * If caching is enabled a cached version will be used if possible or the
- * compiled version cached if not.
- * @param string name of source file or Sass source
- * @return SassRootNode Root node of document tree
- */
- public function parse($source, $isFile = true) {
- if ($isFile) {
- $this->filename = SassFile::getFile($source, $this);
-
- if ($isFile) {
- $this->syntax = substr($this->filename, -4);
- }
- elseif ($this->syntax !== SassFile::SASS && $this->syntax !== SassFile::SCSS) {
- throw new SassException('Invalid {what}', array('{what}'=>'syntax option'));
- }
-
- if ($this->cache) {
- $cached = SassFile::getCachedFile($this->filename, $this->cache_location);
- if ($cached !== false) {
- return $cached;
- }
- }
-
- $tree = $this->toTree(file_get_contents($this->filename));
-
- if ($this->cache) {
- SassFile::setCachedFile($tree, $this->filename, $this->cache_location);
- }
-
- return $tree;
- }
- else {
- return $this->toTree($source);
- }
- }
-
- /**
- * Parse Sass source into a document tree.
- * If the tree is already created return that.
- * @param string Sass source
- * @return SassRootNode the root of this document tree
- */
- private function toTree($source) {
- if ($this->syntax === SassFile::SASS) {
- $this->source = explode("\n", $source);
- $this->setIndentChar();
- }
- else {
- $this->source = $source;
- }
- unset($source);
- $root = new SassRootNode($this);
- $this->buildTree($root);
- return $root;
- }
-
- /**
- * Builds a parse tree under the parent node.
- * Called recursivly until the source is parsed.
- * @param SassNode the node
- */
- private function buildTree($parent) {
- $node = $this->getNode($parent);
- while (is_object($node) && $node->isChildOf($parent)) {
- $parent->addChild($node);
- $node = $this->buildTree($node);
- }
- return $node;
- }
-
- /**
- * Creates and returns the next SassNode.
- * The tpye of SassNode depends on the content of the SassToken.
- * @return SassNode a SassNode of the appropriate type. Null when no more
- * source to parse.
- */
- private function getNode($node) {
- $token = $this->getToken();
- if (empty($token)) return null;
- switch (true) {
- case SassDirectiveNode::isa($token):
- return $this->parseDirective($token, $node);
- break;
- case SassCommentNode::isa($token):
- return new SassCommentNode($token);
- break;
- case SassVariableNode::isa($token):
- return new SassVariableNode($token);
- break;
- case SassPropertyNode::isa($token, $this->property_syntax):
- return new SassPropertyNode($token, $this->property_syntax);
- break;
- case SassMixinDefinitionNode::isa($token):
- if ($this->syntax === SassFile::SCSS) {
- throw new SassException('Mixin {which} shortcut not allowed in SCSS', array('{which}'=>'definition'), $this);
- }
- return new SassMixinDefinitionNode($token);
- break;
- case SassMixinNode::isa($token):
- if ($this->syntax === SassFile::SCSS) {
- throw new SassException('Mixin {which} shortcut not allowed in SCSS', array('{which}'=>'include'), $this);
- }
- return new SassMixinNode($token);
- break;
- default:
- return new SassRuleNode($token);
- break;
- } // switch
- }
-
- /**
- * Returns a token object that contains the next source statement and
- * meta data about it.
- * @return object
- */
- private function getToken() {
- return ($this->syntax === SassFile::SASS ? $this->sass2Token() : $this->scss2Token());
- }
-
- /**
- * Returns an object that contains the next source statement and meta data
- * about it from SASS source.
- * Sass statements are passed over. Statements spanning multiple lines, e.g.
- * CSS comments and selectors, are assembled into a single statement.
- * @return object Statement token. Null if end of source.
- */
- private function sass2Token() {
- $statement = ''; // source line being tokenised
- $token = null;
-
- while (is_null($token) && !empty($this->source)) {
- while (empty($statement) && !empty($this->source)) {
- $source = array_shift($this->source);
- $statement = trim($source);
- $this->line++;
- }
-
- if (empty($statement)) {
- break;
- }
-
- $level = $this->getLevel($source);
-
- // Comment statements can span multiple lines
- if ($statement[0] === self::BEGIN_COMMENT) {
- // Consume Sass comments
- if (substr($statement, 0, strlen(self::BEGIN_SASS_COMMENT))
- === self::BEGIN_SASS_COMMENT) {
- unset($statement);
- while($this->getLevel($this->source[0]) > $level) {
- array_shift($this->source);
- $this->line++;
- }
- continue;
- }
- // Build CSS comments
- elseif (substr($statement, 0, strlen(self::BEGIN_CSS_COMMENT))
- === self::BEGIN_CSS_COMMENT) {
- while($this->getLevel($this->source[0]) > $level) {
- $statement .= "\n" . ltrim(array_shift($this->source));
- $this->line++;
- }
- }
- else {
- $this->source = $statement;
- throw new SassException('Illegal comment type', array(), $this);
- }
- }
- // Selector statements can span multiple lines
- elseif (substr($statement, -1) === SassRuleNode::CONTINUED) {
- // Build the selector statement
- while($this->getLevel($this->source[0]) === $level) {
- $statement .= ltrim(array_shift($this->source));
- $this->line++;
- }
- }
-
- $token = (object) array(
- 'source' => $statement,
- 'level' => $level,
- 'filename' => $this->filename,
- 'line' => $this->line - 1,
- );
- }
- return $token;
- }
-
- /**
- * Returns the level of the line.
- * Used for .sass source
- * @param string the source
- * @return integer the level of the source
- * @throws Exception if the source indentation is invalid
- */
- private function getLevel($source) {
- $indent = strlen($source) - strlen(ltrim($source));
- $level = $indent/$this->indentSpaces;
- if (!is_int($level) ||
- preg_match("/[^{$this->indentChar}]/", substr($source, 0, $indent))) {
- $this->source = $source;
- throw new SassException('Invalid indentation', array(), $this);
- }
- return $level;
- }
-
- /**
- * Returns an object that contains the next source statement and meta data
- * about it from SCSS source.
- * @return object Statement token. Null if end of source.
- */
- private function scss2Token() {
- static $srcpos = 0; // current position in the source stream
- static $srclen; // the length of the source stream
-
- $statement = '';
- $token = null;
- if (empty($srclen)) {
- $srclen = strlen($this->source);
- }
- while (is_null($token) && $srcpos < $srclen) {
- $c = $this->source[$srcpos++];
- switch ($c) {
- case self::BEGIN_COMMENT:
- if (substr($this->source, $srcpos-1, strlen(self::BEGIN_SASS_COMMENT))
- === self::BEGIN_SASS_COMMENT) {
- while ($this->source[$srcpos++] !== "\n");
- $statement .= "\n";
- }
- elseif (substr($this->source, $srcpos-1, strlen(self::BEGIN_CSS_COMMENT))
- === self::BEGIN_CSS_COMMENT) {
- if (ltrim($statement)) {
- throw new SassException('Invalid {what}', array('{what}'=>'comment'), (object) array(
- 'source' => $statement,
- 'filename' => $this->filename,
- 'line' => $this->line,
- ));
- }
- $statement .= $c.$this->source[$srcpos++];
- while (substr($this->source, $srcpos, strlen(self::END_CSS_COMMENT))
- !== self::END_CSS_COMMENT) {
- $statement .= $this->source[$srcpos++];
- }
- $srcpos += strlen(self::END_CSS_COMMENT);
- $token = $this->createToken($statement.self::END_CSS_COMMENT);
- }
- else {
- $statement .= $c;
- }
- break;
- case self::DOUBLE_QUOTE:
- case self::SINGLE_QUOTE:
- $statement .= $c;
- while ($this->source[$srcpos] !== $c) {
- $statement .= $this->source[$srcpos++];
- }
- $statement .= $this->source[$srcpos++];
- break;
- case self::BEGIN_INTERPOLATION:
- $statement .= $c;
- if (substr($this->source, $srcpos-1, strlen(self::BEGIN_INTERPOLATION_BLOCK))
- === self::BEGIN_INTERPOLATION_BLOCK) {
- while ($this->source[$srcpos] !== self::END_BLOCK) {
- $statement .= $this->source[$srcpos++];
- }
- $statement .= $this->source[$srcpos++];
- }
- break;
- case self::BEGIN_BLOCK:
- case self::END_BLOCK:
- case self::END_STATEMENT:
- $token = $this->createToken($statement . $c);
- if (is_null($token)) $statement = '';
- break;
- default:
- $statement .= $c;
- break;
- }
- }
-
- if (is_null($token))
- $srclen = $srcpos = 0;
-
- return $token;
- }
-
- /**
- * Returns an object that contains the source statement and meta data about
- * it.
- * If the statement is just and end block we update the meta data and return null.
- * @param string source statement
- * @return SassToken
- */
- private function createToken($statement) {
- static $level = 0;
-
- $this->line += substr_count($statement, "\n");
- $statement = trim($statement);
- if (substr($statement, 0, strlen(self::BEGIN_CSS_COMMENT)) !== self::BEGIN_CSS_COMMENT) {
- $statement = str_replace(array("\n","\r"), '', $statement);
- }
- $last = substr($statement, -1);
- // Trim the statement removing whitespace, end statement (;), begin block ({), and (unless the statement ends in an interpolation block) end block (})
- $statement = rtrim($statement, ' '.self::BEGIN_BLOCK.self::END_STATEMENT);
- $statement = (preg_match('/#\{.+?\}$/i', $statement) ? $statement : rtrim($statement, self::END_BLOCK));
- $token = ($statement ? (object) array(
- 'source' => $statement,
- 'level' => $level,
- 'filename' => $this->filename,
- 'line' => $this->line,
- ) : null);
- $level += ($last === self::BEGIN_BLOCK ? 1 : ($last === self::END_BLOCK ? -1 : 0));
- return $token;
- }
-
- /**
- * Parses a directive
- * @param SassToken token to parse
- * @param SassNode parent node
- * @return SassNode a Sass directive node
- */
- private function parseDirective($token, $parent) {
- switch (SassDirectiveNode::extractDirective($token)) {
- case '@extend':
- return new SassExtendNode($token);
- break;
- case '@mixin':
- return new SassMixinDefinitionNode($token);
- break;
- case '@include':
- return new SassMixinNode($token);
- break;
- case '@import':
- if ($this->syntax == SassFile::SASS) {
- $i = 0;
- $source = '';
- while (!empty($this->source) && empty($source)) {
- $source = $this->source[$i++];
- }
- if (!empty($source) && $this->getLevel($source) > $token->level) {
- throw new SassException('Nesting not allowed beneath {what}', array('{what}'=>'@import directive'), $token);
- }
- }
- return new SassImportNode($token);
- break;
- case '@for':
- return new SassForNode($token);
- break;
- case '@if':
- return new SassIfNode($token);
- break;
- case '@else': // handles else and else if directives
- return new SassElseNode($token);
- break;
- case '@do':
- case '@while':
- return new SassWhileNode($token);
- break;
- case '@debug':
- return new SassDebugNode($token);
- break;
- case '@warn':
- return new SassDebugNode($token, true);
- break;
- default:
- return new SassDirectiveNode($token);
- break;
- }
- }
-
- /**
- * Determine the indent character and indent spaces.
- * The first character of the first indented line determines the character.
- * If this is a space the number of spaces determines the indentSpaces; this
- * is always 1 if the indent character is a tab.
- * Only used for .sass files.
- * @throws SassException if the indent is mixed or
- * the indent character can not be determined
- */
- private function setIndentChar() {
- foreach ($this->source as $l=>$source) {
- if (!empty($source) && in_array($source[0], $this->indentChars)) {
- $this->indentChar = $source[0];
- for ($i = 0, $len = strlen($source); $i < $len && $source[$i] == $this->indentChar; $i++);
- if ($i < $len && in_array($source[$i], $this->indentChars)) {
- $this->line = ++$l;
- $this->source = $source;
- throw new SassException('Mixed indentation not allowed', array(), $this);
- }
- $this->indentSpaces = ($this->indentChar == ' ' ? $i : 1);
- return;
- }
- } // foreach
- $this->indentChar = ' ';
- $this->indentSpaces = 2;
- }
-}
diff --git a/lib/sass/sass/extensions/compass/config.php b/lib/sass/sass/extensions/compass/config.php
deleted file mode 100644
index 0ae79f1f6b..0000000000
--- a/lib/sass/sass/extensions/compass/config.php
+++ /dev/null
@@ -1,65 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass
- */
-
-/**
- * Compass extension configuration class.
- * @package PHamlP
- * @subpackage Sass.extensions.compass
- */
-class SassExtentionsCompassConfig {
- public static $config;
- private static $defaultConfig = array(
- 'project_path' => '',
- 'http_path' => '/',
- 'css_dir' => 'css',
- 'css_path' => '',
- 'http_css_path' => '',
- 'fonts_dir' => 'fonts',
- 'fonts_path' => '',
- 'http_fonts_path' => '',
- 'images_dir' => 'images',
- 'images_path' => '',
- 'http_images_path' => '',
- 'javascripts_dir' => 'javascripts',
- 'javascripts_path' => '',
- 'http_javascripts_path' => '',
- 'relative_assets' => true,
- );
-
- /**
- * Sets configuration settings or returns a configuration setting.
- * @param mixed array: configuration settings; string: configuration setting to return
- * @return string configuration setting. Null if setting does not exist.
- */
- public function config($config) {
- if (is_array($config)) {
- self::$config = array_merge(self::$defaultConfig, $config);
- self::setDefaults();
- }
- elseif (is_string($config) && isset(self::$config[$config])) {
- return self::$config[$config];
- }
- }
-
- /**
- * Sets default values for paths not specified
- */
- private static function setDefaults() {
- foreach (array('css', 'images', 'fonts', 'javascripts') as $asset) {
- if (empty(self::$config[$asset.'_path'])) {
- self::$config[$asset.'_path'] = self::$config['project_path'].DIRECTORY_SEPARATOR.self::$config[$asset.'_dir'];
- }
- if (empty(self::$config['http_'.$asset.'_path'])) {
- self::$config['http_'.$asset.'_path'] = self::$config['http_path'].self::$config[$asset.'_dir'];
- }
- }
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/_blueprint.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/_blueprint.scss
deleted file mode 100644
index 067f84e540..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/_blueprint.scss
+++ /dev/null
@@ -1,47 +0,0 @@
-@import "blueprint/colors";
-@import "blueprint/grid";
-@import "blueprint/typography";
-@import "blueprint/utilities";
-@import "blueprint/form";
-@import "blueprint/interaction";
-@import "blueprint/debug";
-@import "blueprint/print";
-@import "blueprint/ie";
-
-// ### Usage examples:
-//
-// As a top-level mixin, apply to any page that includes the stylesheet:
-//
-// +blueprint
-//
-//
-// Scoped by a presentational class:
-//
-// body.blueprint
-// +blueprint(true)
-//
-//
-// Scoped by semantic selectors:
-//
-// body#page-1, body#page-2, body.a-special-page-type
-// +blueprint(true)
-//
-//
-// #### Deprecated:
-// You use to be able to pass the body selector as the first argument when used as a top-level mixin
-//
-// +blueprint("body#page-1, body#page-2, body.a-special-page-type")
-//
-
-@mixin blueprint($body_selector: body) {
- //@doc off
- @if not ($body_selector == "body" or $body_selector == true) {
- @warn "[DEPRECATED] To specify a the selector \"#{$body_selector}\" to +blueprint, pass true as the first argument and mix it into #{$body_selector}."; }
- //@doc on
- @include blueprint-typography($body_selector);
- @include blueprint-utilities;
- @include blueprint-grid;
- @include blueprint-debug;
- @include blueprint-interaction;
- @include blueprint-form;
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.scss
deleted file mode 100644
index 14af822420..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.scss
+++ /dev/null
@@ -1,101 +0,0 @@
-@import "compass/css3/inline-block";
-@import "compass/utilities/general/float";
-
-// Button Font
-$blueprint_button_font_family: unquote('"Lucida Grande", Tahoma, Arial, Verdana, sans-serif') !default;
-
-// Default Button Colors
-$blueprint_button_border_color: #dedede !default;
-$blueprint_button_background_color: #f5f5f5 !default;
-$blueprint_button_font_color: #565656 !default;
-
-// Default Button Hover Colors
-$blueprint_button_hover_border_color: #c2e1ef !default;
-$blueprint_button_hover_background_color: #dff4ff !default;
-$blueprint_button_hover_font_color: #336699 !default;
-
-// Default Button Active Colors
-$blueprint_button_active_border_color: #6299c5 !default;
-$blueprint_button_active_background_color: #6299c5 !default;
-$blueprint_button_active_font_color: white !default;
-
-//**
-// Sets the colors for a button
-// @param border_highlight_color
-// The highlight color defaults to whatever is the value of the border_color but it's one shade lighter.
-@mixin button-colors(
- $font_color: $blueprint_button_font_color,
- $bg_color: $blueprint_button_background_color,
- $border_color: $blueprint_button_border_color,
- $border_highlight_color: $border_color + #101010
-) {
- background-color: $bg_color;
- border-color: $border_highlight_color $border_color $border_color $border_highlight_color;
- color: $font_color;
-}
-
-//**
-// Sets the colors for a button in the active state
-// @param border_highlight_color
-// The highlight color defaults to whatever is the value of the border_color but it's one shade lighter.
-@mixin button-active-colors(
- $font_color: $blueprint_button_active_font_color,
- $bg_color: $blueprint_button_active_background_color,
- $border_color: $blueprint_button_active_border_color,
- $border_highlight_color: $border_color + #101010
-) {
- &:active {
- @include button-colors($font_color, $bg_color, $border_color, $border_highlight_color);
- }
-}
-
-//**
-// Sets the colors for a button in the hover state.
-// @param border_highlight_color
-// The highlight color defaults to whatever is the value of the border_color but it's one shade lighter.
-@mixin button-hover-colors(
- $font_color: $blueprint_button_hover_font_color,
- $bg_color: $blueprint_button_hover_background_color,
- $border_color: $blueprint_button_hover_border_color,
- $border_highlight_color: $border_color + #101010
-) {
- &:hover {
- @include button-colors($font_color, $bg_color, $border_color, $border_highlight_color);
- }
-}
-
-@mixin button-base($float: false) {
- @if $float { @include float($float); display: block; }
- @else { @include inline-block; }
- margin: 0.7em 0.5em 0.7em 0;
- border-width: 1px; border-style: solid;
- font-family: $blueprint_button_font_family; font-size: 100%; line-height: 130%; font-weight: bold;
- text-decoration: none;
- cursor: pointer;
- img {
- margin: 0 3px -3px 0 !important;
- padding: 0;
- border: none;
- width: 16px;
- height: 16px;
- float: none;
- }
-}
-
-@mixin anchor-button($float: false) {
- @include button-base($float);
- padding: 5px 10px 5px 7px;
-}
-
-@mixin button-button($float: false) {
- @include button-base($float);
- width: auto;
- overflow: visible;
- padding: 4px 10px 3px 7px;
- &[type] {
- padding: 4px 10px 4px 7px;
- line-height: 17px; }
- *:first-child+html &[type] {
- padding: 4px 10px 3px 7px;
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_colors.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_colors.scss
deleted file mode 100644
index 6817a2d451..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_colors.scss
+++ /dev/null
@@ -1,32 +0,0 @@
-$font_color: #333333 !default;
-$quiet_color: $font_color + #333333 !default;
-$loud_color: $font_color - #222222 !default;
-$header_color: $font_color - #111111 !default;
-$alt_text_color: #666666 !default;
-$blueprint_background_color: #eeeeee !default;
-
-$link_color: #000099 !default;
-$link_hover_color: black !default;
-$link_focus_color: $link_hover_color !default;
-$link_active_color: $link_color + #cc0000 !default;
-$link_visited_color: $link_color - #333333 !default;
-
-$feedback_border_color: #dddddd !default;
-$success_color: #264409 !default;
-$success_bg_color: #e6efc2 !default;
-$success_border_color: #c6d880 !default;
-$notice_color: #514721 !default;
-$notice_bg_color: #fff6bf !default;
-$notice_border_color: #ffd324 !default;
-$error_color: #8a1f11 !default;
-$error_bg_color: #fbe3e4 !default;
-$error_border_color: #fbc2c4 !default;
-
-$highlight_color: yellow !default;
-$added_color: white !default;
-$added_bg_color: #006600 !default;
-$removed_color: white !default;
-$removed_bg_color: #990000 !default;
-
-$blueprint_table_header_color: #c3d9ff !default;
-$blueprint_table_stripe_color: #e5ecf9 !default;
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_debug.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_debug.scss
deleted file mode 100644
index b37a89c0af..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_debug.scss
+++ /dev/null
@@ -1,11 +0,0 @@
-@mixin showgrid($image: "grid.png") {
- background: image_url($image);
-}
-
-@mixin blueprint-debug($grid_image: unquote("grid.png")) {
- // Use this class on any column or container to see the grid.
- // TODO: prefix this with the project path.
- .showgrid {
- @include showgrid($grid_image);
- }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss
deleted file mode 100644
index b6bf33c8f8..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss
+++ /dev/null
@@ -1,86 +0,0 @@
-@import "typography";
-
-$alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiqua", Georgia, serif !default;
-// To install the fancy type plugin:
-// 1. import the fancy_type module: @import blueprint/fancy_type
-// 2. mixin +fancy-type to your project's body or at the top level of your stylesheet:
-// body
-// +fancy-type
-
-@mixin fancy-type {
- @include fancy-paragraphs;
- .caps { @include caps; }
- .dquo { @include dquo; }
- .alt { @include alt; }
-}
-
-// Indentation instead of line shifts for sibling paragraphs. Mixin to a style like p + p
-@mixin sibling-indentation {
- text-indent: 2em;
- margin-top: -1.5em;
- /* Don't want this in forms. */
- form & { text-indent: 0; }
-}
-
-// For great looking type, use this code instead of asdf:
-// asdf
-// Best used on prepositions and ampersands.
-
-@mixin alt {
- color: $alt-text-color;
- font-family: $alternate-text-font;
- font-style: italic;
- font-weight: normal;
-}
-
-// For great looking quote marks in titles, replace "asdf" with:
-// “ asdf”
-// (That is, when the title starts with a quote mark).
-// (You may have to change this value depending on your font size).
-
-@mixin dquo($offset: 0.5em) {
- margin-left: -$offset;
-}
-
-// Reduced size type with incremental leading
-// (http://www.markboulton.co.uk/journal/comments/incremental_leading/)
-//
-// This could be used for side notes. For smaller type, you don't necessarily want to
-// follow the 1.5x vertical rhythm -- the line-height is too much.
-//
-// Using this mixin, reduces your font size and line-height so that for
-// every four lines of normal sized type, there is five lines of the sidenote. eg:
-//
-// Arguments:
-// `$font-size` - The desired font size in pixels. This will be converted to ems for you. Defaults to 10px.
-// `$base-font-size` - The base font size in pixels. Defaults to 12px
-// `$old-line-height` - The old line height. Defaults to 1.5 times the base-font-size
-
-@mixin incr(
- $font-size: 10px,
- $base-font-size: $blueprint-font-size,
- $old-line-height: $base-font-size * 1.5
-) {
- font-size: 1em * $font-size / $base-font-size;
- line-height: 1em * $old-line-height / $font-size * 4 / 5;
- margin-bottom: 1.5em;
-}
-
-// Surround uppercase words and abbreviations with this class.
-// Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/]
-
-@mixin caps {
- font-variant: small-caps;
- letter-spacing: 1px;
- text-transform: lowercase;
- font-size: 1.2em;
- line-height: 1%;
- font-weight: bold;
- padding: 0 2px;
-}
-
-@mixin fancy-paragraphs {
- p + p { @include sibling-indentation; }
- p.incr,
- .incr p { @include incr; }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_form.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_form.scss
deleted file mode 100644
index fe4afe38d8..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_form.scss
+++ /dev/null
@@ -1,68 +0,0 @@
-@import "colors";
-
-// Mixin for producing Blueprint "inline" forms. Should be used with the blueprint-form mixin.
-@mixin blueprint-inline-form {
- line-height: 3;
- p {
- margin-bottom: 0;
- }
-}
-
-@mixin blueprint-form {
- @include blueprint-form-layout;
- @include blueprint-form-borders;
- @include blueprint-form-sizes;
-}
-
-@mixin blueprint-form-layout {
- label { font-weight: bold; }
- fieldset { padding: 1.4em; margin: 0 0 1.5em 0; }
- legend { font-weight: bold; font-size: 1.2em; }
- input {
- &.text,
- &.title,
- &[type=email],
- &[type=text],
- &[type=password] { margin: 0.5em 0; background-color: white; padding: 5px; }
- &.title { font-size: 1.5em; }
- &[type=checkbox],
- &.checkbox,
- &[type=radio],
- &.radio { position: relative; top: 0.25em; }
- }
- textarea { margin: 0.5em 0; padding: 5px; }
- select { margin: 0.5em 0; }
-}
-
-@mixin blueprint-form-sizes
-(
- $input_width: 300px,
- $textarea_width: 390px,
- $textarea_height: 250px
-) {
- input {
- &.text,
- &.title,
- &[type=email],
- &[type=text],
- &[type=password] { width: $input_width; }
- }
- textarea { width: $textarea_width; height: $textarea_height; }
-}
-
-@mixin blueprint-form-borders
-(
- $unfocused_border_color: #bbbbbb,
- $focus_border_color: #666666,
- $fieldset_border_color: #cccccc
-) {
- fieldset {
- border: 1px solid $fieldset_border_color; }
- input.text, input.title, input[type=email], input[type=text], input[type=password],
- textarea, select {
- border: 1px solid $unfocused_border_color;
- &:focus {
- border: 1px solid $focus_border_color;
- }
- }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_grid.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_grid.scss
deleted file mode 100644
index 78f509e20c..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_grid.scss
+++ /dev/null
@@ -1,249 +0,0 @@
-// --------------------------------------------------------------
-// SASS Gridification
-// * Author: Chris Eppstein
-// A SASS adaptation of Blueprint CSS
-// * Version: 0.7.1 (2008-02-25)
-// * Website: http://code.google.com/p/blueprintcss/
-// Based on work by:
-// * Lorin Tackett [lorintackett.com]
-// * Olav Bjorkoy [bjorkoy.com]
-// * Nathan Borror [playgroundblues.com]
-// * Jeff Croft [jeffcroft.com]
-// * Christian Metts [mintchaos.com]
-// * Khoi Vinh [subtraction.com]
-// Read more about using a grid here:
-// * http://www.subtraction.com/2007/03/18/oh-yeeaahh
-// --------------------------------------------------------------
-
-@import "compass/utilities/general/float";
-@import "compass/utilities/general/clearfix";
-
-// The number of columns in the grid.
-$blueprint_grid_columns: 24 !default;
-
-// The width of a column
-$blueprint_grid_width: 30px !default;
-
-// The amount of margin between columns
-$blueprint_grid_margin: 10px !default;
-
-// The width of a column including the margin. With default settings this is `40px`.
-$blueprint_grid_outer_width: $blueprint_grid_width + $blueprint_grid_margin;
-
-// The width of the container. With default settings this is `950px`.
-$blueprint_container_size: $blueprint_grid_outer_width * $blueprint_grid_columns - $blueprint_grid_margin;
-
-// Generates presentational class names that you can use
-// in your html to layout your pages.
-//
-// #### Note:
-// Best practices discourage using this mixin,
-// but it is provided to support legacy websites
-// and to test the sass port against blueprint's example pages.
-
-@mixin blueprint-grid {
- // A container should group all your columns
- .container {
- @include container; }
- .column, #{enumerate("div.span", 1, $blueprint_grid_columns)} {
- @include column-base; }
- // The last column in a row needs this class (or mixin) or it will end up on the next row.
- .last, div.last {
- @include last; }
- // Use these classes (or mixins) to set the width of a column.
- @for $n from 1 to $blueprint_grid_columns {
- .span-#{$n} {
- @include span($n); } }
- .span-#{$blueprint_grid_columns}, div.span-#{$blueprint_grid_columns} {
- @include span($blueprint_grid_columns);
- margin: 0; }
- input, textarea, select {
- @for $n from 1 through $blueprint_grid_columns {
- &.span-#{$n} {
- @include span($n, true); } } }
- // Add these to a column to append empty cols.
- @for $n from 1 to $blueprint_grid_columns {
- .append-#{$n} {
- @include append($n); } }
- // Add these to a column to prepend empty cols.
- @for $n from 1 to $blueprint_grid_columns {
- .prepend-#{$n} {
- @include prepend($n); } }
- // Use these classes on an element to push it into the
- // next column, or to pull it into the previous column.
- #{enumerate(".pull", 1, $blueprint_grid_columns)} {
- @include pull-base; }
- @for $n from 1 through $blueprint_grid_columns {
- .pull-#{$n} {
- @include pull-margins($n); } }
- #{enumerate(".push", 1, $blueprint_grid_columns)} {
- @include push-base; }
- @for $n from 1 through $blueprint_grid_columns {
- .push-#{$n} {
- @include push-margins($n); } }
- .prepend-top {
- @include prepend-top; }
- .append-bottom {
- @include append-bottom; } }
-
-// A container for your columns.
-//
-// #### Note:
-// If you use this mixin without the class and want to support ie6
-// you must set text-align left on your container element in an IE stylesheet.
-@mixin container {
- width: $blueprint_container_size;
- margin: 0 auto;
- @include clearfix; }
-
-// The last column in a row needs this mixin or it will end up
-// on the next row in some browsers.
-@mixin last {
- margin-right: 0; }
-
-// Use this mixins to set the width of n columns.
-@mixin column($n, $last: false) {
- @include column-base($last);
- @include span($n); }
-
-// Set only the width of an element to align it with the grid.
-// Most of the time you'll want to use `+column` instead.
-//
-// This mixin is especially useful for aligning tables to the grid.
-@mixin span($n, $override: false) {
- $width: $blueprint_grid_width * $n + $blueprint_grid_margin * ($n - 1);
- @if $override {
- width: $width !important; }
- @else {
- width: $width; } }
-
-// The basic set of styles needed to make an element
-// behave like a column:
-//
-// * floated to left
-// * gutter margin on the right (unless the last column)
-// * Some IE fixes
-//
-// #### Note:
-// This mixin gets applied automatically when using `+column`
-// so you probably don't need to use it directly unless
-// you need to deviate from the grid or are trying
-// to reduce the amount of generated CSS.
-@mixin column-base($last: false) {
- @include float-left;
- @if $last {
- @include last; }
- @else {
- margin-right: $blueprint_grid_margin; }
- * html & {
- overflow-x: hidden; } }
-
-// Mixin to a column to append n empty columns to the right
-// by adding right padding to the column.
-@mixin append($n) {
- padding-right: $blueprint_grid_outer_width * $n; }
-
-// Mixin to a column to append n empty columns to the left
-// by adding left padding to the column.
-@mixin prepend($n) {
- padding-left: $blueprint_grid_outer_width * $n; }
-
-// Adds trailing margin.
-@mixin append-bottom($amount: 1.5em) {
- margin-bottom: $amount; }
-
-// Adds leading margin.
-@mixin prepend-top($amount: 1.5em) {
- margin-top: $amount; }
-
-// Base styles that make it possible to pull an element to the left.
-// #### Note:
-// This mixin gets applied automatically when using `+pull`
-// so you probably don't need to use it directly unless
-// you need to deviate from the grid or are trying
-// to reduce the amount of generated CSS.
-@mixin pull-base {
- @include float-left;
- position: relative; }
-
-// The amount of pulling for element to the left.
-// #### Note:
-// This mixin gets applied automatically when using `+pull`
-// so you probably don't need to use it directly unless
-// you need to deviate from the grid or are trying
-// to reduce the amount of generated CSS.
-@mixin pull-margins($n, $last: false) {
- @if $last {
- margin-left: -$blueprint_grid_outer_width * $n + $blueprint_grid_margin; }
- @else {
- margin-left: -$blueprint_grid_outer_width * $n; } }
-
-// Moves a column `n` columns to the left.
-//
-// This mixin can also be used to change the display order of columns.
-//
-// If pulling past the last (visually) element in a row,
-// pass `true` as the second argument so the calculations can adjust
-// accordingly.
-
-// For example:
-//
-// HTML:
-//
-// One
-// Two
-//
-// Sass:
-//
-// #one
-// +column(18, true)
-// +prepend(6)
-// #two
-// +column(6)
-// +pull(18, true)
-//
-@mixin pull($n, $last: false) {
- @include pull-base;
- @include pull-margins($n, $last); }
-
-@mixin push-base {
- @include float-right;
- position: relative; }
-
-@mixin push-margins($n) {
- margin: 0 (-$blueprint_grid_outer_width * $n) 1.5em $blueprint_grid_outer_width * $n; }
-
-// mixin to a column to push it n columns to the right
-@mixin push($n) {
- @include push-base;
- @include push-margins($n); }
-
-// Border on right hand side of a column.
-@mixin border($border_color: #eeeeee, $border_width: 1px) {
- padding-right: $blueprint_grid_margin / 2 - $border_width;
- margin-right: $blueprint_grid_margin / 2;
- border-right: #{$border_width} solid #{$border_color}; }
-
-// Border with more whitespace, spans one column.
-@mixin colborder($border_color: #eeeeee, $border_width: 1px) {
- padding-right: floor(($blueprint_grid_width + 2 * $blueprint_grid_margin - $border_width) / 2);
- margin-right: ceil(($blueprint_grid_width + 2 * $blueprint_grid_margin - $border_width) / 2);
- border-right: #{$border_width} solid #{$border_color}; }
-
-// Mixin this to an hr to make a horizontal ruler across a column.
-@mixin colruler($border_color: #dddddd) {
- background: $border_color;
- color: $border_color;
- clear: both;
- float: none;
- width: 100%;
- height: 0.1em;
- margin: 0 0 1.45em;
- border: none; }
-
-// Mixin this to an hr to make a horizontal spacer across a column.
-@mixin colspacer {
- @include colruler;
- background: white;
- color: white;
- visibility: hidden; }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_ie.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_ie.scss
deleted file mode 100644
index fb3fe5f782..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_ie.scss
+++ /dev/null
@@ -1,109 +0,0 @@
-// @doc off
-// The blueprint IE mixins should be mixed into a stylesheet that gets conditionally included
-// into IE like so:
-//
-// @doc on
-
-//| Usage Examples
-//| --------------
-//|
-//| As a top-level mixin, apply to any page that includes the stylesheet:
-//|
-//| +blueprint-ie
-//|
-//| Scoped by a presentational class:
-//|
-//| body.blueprint
-//| +blueprint-ie(true)
-//|
-//| Scoped by semantic selectors:
-//|
-//| body#page-1, body#page-2, body.a-special-page-type
-//| +blueprint-ie(true)
-//|
-//| **Deprecated:** You can pass the body selector as the first argument when used as a top-level mixin
-//|
-//| +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type")
-//|
-@mixin blueprint-ie($body_selector: body) {
- @if $body_selector == true {
- @include blueprint-ie-body;
- @include blueprint-ie-defaults; }
- @else {
- #{$body_selector} {
- @include blueprint-ie-body;
- @if $body_selector != "body" {
- @warn "[DEPRECATED] To specify a the selector \"#{$body_selector}\" to +blueprint-ie, pass true as the first argument and mix it into #{$body_selector}.";
- @include blueprint-ie-defaults; } }
- @if $body_selector == "body" {
- @include blueprint-ie-defaults; } } }
-
-@mixin blueprint-ie-body {
- text-align: center;
- @include blueprint-ie-hacks; }
-
-@mixin blueprint-ie-hacks {
- * html & {
- legend {
- margin: 0px -8px 16px 0;
- padding: 0; } }
- html>& {
- p code {
- *white-space: normal; } } }
-
-// Fixes for Blueprint "inline" forms in IE
-@mixin blueprint-inline-form-ie {
- div, p {
- vertical-align: middle; }
- label {
- position: relative;
- top: -0.25em; }
- input {
- &.checkbox, &.radio, &.button, button {
- margin: 0.5em 0; } } }
-
-@mixin blueprint-ie-defaults {
- .container {
- text-align: left; }
- sup {
- vertical-align: text-top; }
- sub {
- vertical-align: text-bottom; }
- hr {
- margin: -8px auto 11px; }
- img {
- -ms-interpolation-mode: bicubic; }
- fieldset {
- padding-top: 0; }
- textarea {
- overflow: auto; }
- input {
- &.text {
- margin: 0.5em 0;
- background-color: white;
- border: 1px solid #bbbbbb;
- &:focus {
- border: 1px solid #666666; } }
- &.title {
- margin: 0.5em 0;
- background-color: white;
- border: 1px solid #bbbbbb;
- &:focus {
- border: 1px solid #666666; } }
- &.checkbox {
- position: relative;
- top: 0.25em; }
- &.radio {
- position: relative;
- top: 0.25em; }
- &.button {
- position: relative;
- top: 0.25em; } }
- textarea {
- margin: 0.5em 0; }
- select {
- margin: 0.5em 0; }
- button {
- position: relative;
- top: 0.25em; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.scss
deleted file mode 100644
index 00a4760e9d..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.scss
+++ /dev/null
@@ -1,57 +0,0 @@
-@import "colors";
-
-@mixin blueprint-interaction {
- .error {
- @include error; }
- .notice {
- @include notice; }
- .success {
- @include success; }
- .hide {
- display: none; }
- .highlight {
- @include highlight; }
- .added {
- @include added; }
- .removed {
- @include removed; } }
-
-@mixin feedback-base {
- padding: 0.8em;
- margin-bottom: 1em;
- border: 2px solid $feedback_border_color; }
-
-@mixin error {
- @include feedback-base;
- background: $error_bg_color;
- color: $error_color;
- border-color: $error_border_color;
- a {
- color: $error_color; } }
-
-@mixin notice {
- @include feedback-base;
- background: $notice_bg_color;
- color: $notice_color;
- border-color: $notice_border_color;
- a {
- color: $notice_color; } }
-
-@mixin success {
- @include feedback-base;
- background: $success_bg_color;
- color: $success_color;
- border-color: $success_border_color;
- a {
- color: $success_color; } }
-
-@mixin highlight {
- background: $highlight_color; }
-
-@mixin added {
- background: $added_bg_color;
- color: $added_color; }
-
-@mixin removed {
- background: $removed_bg_color;
- color: $removed_color; }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss
deleted file mode 100644
index d81159dff4..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss
+++ /dev/null
@@ -1,37 +0,0 @@
-@mixin no-link-icon {
- background: transparent none !important;
- padding: 0 !important;
- margin: 0 !important;
-}
-
-@mixin link-icon-base {
- padding: 2px 22px 2px 0;
- margin: -2px 0;
- background-repeat: no-repeat;
- background-position: right center;
-}
-
-@mixin link-icon($name, $include-base: true) {
- @if $include-base { @include link-icon-base; }
- background-image: image-url("link_icons/#{$name}"); }
-
-@mixin link-icons {
- a[href^="http:"],
- a[href^="mailto:"],
- a[href^="http:"]:visited,
- a[href$=".pdf"],
- a[href$=".doc"],
- a[href$=".xls"],
- a[href$=".rss"],
- a[href$=".rdf"],
- a[href^="aim:"] { @include link-icon-base; }
- a[href^="http:"] { @include link-icon("external.png", false); }
- a[href^="mailto:"] { @include link-icon("email.png", false); }
- a[href^="http:"]:visited { @include link-icon("visited.png", false); }
- a[href$=".pdf"] { @include link-icon("pdf.png", false); }
- a[href$=".doc"] { @include link-icon("doc.png", false); }
- a[href$=".xls"] { @include link-icon("xls.png", false); }
- a[href$=".rss"],
- a[href$=".rdf"] { @include link-icon("feed.png", false); }
- a[href^="aim:"] { @include link-icon("im.png", false); }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.scss
deleted file mode 100644
index 03bb02e87c..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.scss
+++ /dev/null
@@ -1,147 +0,0 @@
-// --------------------------------------------------------------
-// SASS Gridification
-// * Author: Geoff Garside
-// A SASS adaptation of Blueprint CSS
-// * Version: 0.7.1 (2008-02-25)
-// * Website: http://code.google.com/p/blueprintcss/
-// Based on work by:
-// * Chris Eppstein [eppsteins.net]
-// * Lorin Tacket [lorintackett.com]
-// * Olav Bjorkoy [bjorkoy.com]
-// * Nathan Borror [playgroundblues.com]
-// * Jeff Croft [jeffcroft.com]
-// * Christian Metts [mintchaos.com]
-// * Khoi Vinh [subtraction.com]
-// Liquid grid work by:
-// * Ben Listwon
-// * David Bedingfield
-// * Andrei Michael Herasimchuk
-// Involution Studios, http://www.involutionstudios.com
-// Read more about using a grid here:
-// * subtraction.com/archives/2007/0318_oh_yeeaahh.php
-// -----
-// By default, the grid is 80% of window width, with 24 columns.
-//
-// To make the grid fixed, simply change the .container width
-// property to a pixel value. e.g., 960px.
-// -----
-// To use:
-// This module is a REPLACEMENT for the grid module. Simply import it:
-// @import blueprint
-// @import blueprint/liquid
-// -------------------------------------------------------------------
-
-@import "compass/utilities/general/clearfix";
-@import "compass/utilities/general/float";
-
-// Main layout grid, override these constants to build your grid and container sizes.
-// The width shown gives the right floored percentage values.
-$blueprint_liquid_grid_columns: 24 !default;
-
-$blueprint_liquid_grid_width: 3.167% !default;
-
-$blueprint_liquid_grid_margin: 1.042% !default;
-
-// Do not edit below this line unless you really know what you're doing.
-$blueprint_liquid_container_width: 80% !default;
-
-$blueprint_liquid_container_min_width: 950px !default;
-
-$blueprint_liquid_grid_push_pull: -($blueprint_liquid_grid_margin + $blueprint_liquid_grid_width) !default;
-
-@mixin blueprint-liquid-grid {
- // A container should group all your columns
- .container {
- @include container; }
- // Use these classes (or mixins) to set the width of a column.
- @for $n from 1 to $blueprint_liquid_grid_columns + 1 {
- .span-#{$n} {
- @include span($n); }
- div {
- &.span-#{$n} {
- @include column($n, $n == $blueprint_liquid_grid_columns); } } }
- // The last column in a row needs this class (or mixin) or it will end up on the next row.
- div.last {
- @include last; }
- // Add these to a column to append empty cols.
- @for $n from 1 to $blueprint_liquid_grid_columns {
- .append-#{$n} {
- @include append($n); } }
- // Add these to a column to prepend empty cols.
- @for $n from 1 to $blueprint_liquid_grid_columns {
- .prepend-#{$n} {
- @include prepend($n); } }
- // Use these classes on an element to push it into the
- // next column, or to pull it into the previous column.
- @for $n from 1 to $blueprint_liquid_grid_columns + 1 {
- .pull-#{$n} {
- @include pull($n); } }
- @for $n from 1 to $blueprint_liquid_grid_columns + 1 {
- .push-#{$n} {
- @include push($n); } } }
-
-@mixin container {
- min-width: $blueprint_liquid_container_min_width;
- width: $blueprint_liquid_container_width;
- margin: 0 auto;
- @include clearfix; }
-
-@mixin span($n, $override: false) {
- $width: $blueprint_liquid_grid_width * $n + $blueprint_liquid_grid_margin * ($n - 1);
- @if $override {
- width: $width !important; }
- @else {
- width: $width; } }
-
-@mixin last {
- margin-right: 0; }
-
-@mixin column($n, $last: false) {
- @include float-left;
- overflow: hidden;
- @include span($n);
- @if $last {
- @include last; }
- @else {
- margin-right: $blueprint_liquid_grid_margin; } }
-
-@mixin append($n) {
- padding-right: ($blueprint_liquid_grid_width + $blueprint_liquid_grid_margin) * $n; }
-
-@mixin prepend($n) {
- padding-left: ($blueprint_liquid_grid_width + $blueprint_liquid_grid_margin) * $n; }
-
-@mixin pull($n, $last: false) {
- margin-left: $blueprint_liquid_grid_push_pull * $n; }
-
-@mixin push($n) {
- @include float-right;
- margin: {
- top: 0;
- left: $blueprint_liquid_grid_margin;
- right: $blueprint_liquid_grid_push_pull * $n;
- bottom: 0; }; }
-
-@mixin border {
- border-right: 1px solid #eeeeee; }
-
-@mixin colborder {
- padding-right: $blueprint_liquid_grid_margin * 2;
- margin-right: $blueprint_liquid_grid_margin * 2;
- @include border; }
-
-@mixin colruler {
- background: #dddddd;
- color: #dddddd;
- clear: both;
- width: 100%;
- height: 0.083em;
- margin: 0;
- margin-left: $blueprint_liquid_grid_margin * 2;
- margin-right: $blueprint_liquid_grid_margin * 2;
- border: none; }
-
-@mixin colspacer {
- @include colruler;
- background: white;
- color: white; }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_print.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_print.scss
deleted file mode 100644
index 9dd020e724..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_print.scss
+++ /dev/null
@@ -1,93 +0,0 @@
-@import "typography";
-@import "compass/utilities/general/float";
-
-// Usage examples:
-// As a top-level mixin, apply to any page that includes the stylesheet:
-//
-// +blueprint-print
-//
-// Scoped by a presentational class:
-//
-// body.blueprint
-// +blueprint-print(true)
-//
-// Scoped by semantic selectors:
-//
-// body#page-1, body#page-2, body.a-special-page-type
-// +blueprint-print(true)
-//
-// Deprecated:
-// You can pass the body selector as the first argument when used as a top-level mixin
-//
-// +blueprint-print("body#page-1, body#page-2, body.a-special-page-type")
-//
-@mixin blueprint-print($body_selector: body) {
- @if $body_selector == true {
- @include blueprint-print-body;
- @include blueprint-print-defaults; }
- @else {
- #{$body_selector} {
- @include blueprint-print-body;
- @if $body_selector != "body" {
- @warn "[DEPRECATED] To specify a the selector \"#{$body_selector}\" to +blueprint-print, pass true as the first argument and mix it into #{$body_selector}.";
- @include blueprint-print-defaults; } }
- @if $body_selector == "body" {
- @include blueprint-print-defaults; } } }
-
-// This style is in blueprint, but I think it's annoying and it doesn't work in all browsers.
-// Feel free to mix it into anchors where you want it.
-@mixin blueprint-show-link-urls {
- &:after {
- content: " (" attr(href) ")";
- font-size: 90%; } }
-
-@mixin blueprint-print-body {
- line-height: 1.5;
- font-family: $blueprint_font_family;
- color: black;
- background: none;
- font-size: 10pt; }
-
-@mixin blueprint-print-defaults {
- .container {
- background: none; }
- hr {
- background: #cccccc;
- color: #cccccc;
- width: 100%;
- height: 2px;
- margin: 2em 0;
- padding: 0;
- border: none;
- &.space {
- background: white;
- color: white; } }
- h1, h2, h3, h4, h5, h6 {
- font-family: $blueprint_font_family; }
- code {
- font: {
- size: 0.9em;
- family: $blueprint_fixed_font_family; }; }
- a {
- img {
- border: none; }
- &:link,
- &:visited {
- background: transparent;
- font-weight: 700;
- text-decoration: underline; } }
- p img.top {
- margin-top: 0; }
- blockquote {
- margin: 1.5em;
- padding: 1em;
- font-style: italic;
- font-size: 0.9em; }
- .small {
- font-size: 0.9em; }
- .large {
- font-size: 1.1em; }
- .quiet {
- color: #999999; }
- .hide {
- display: none; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_reset.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_reset.scss
deleted file mode 100644
index 934a63ea85..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_reset.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "reset/utilities";
-
-@include blueprint-global-reset;
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.scss
deleted file mode 100644
index 4cf281d604..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.scss
+++ /dev/null
@@ -1,133 +0,0 @@
-@import "grid";
-@import "compass/utilities/general/float";
-
-// Main layout grid, override these constants to build your grid and container sizes.
-$blueprint_grid_columns: 24 !default;
-
-$blueprint_grid_width: 30px !default;
-
-$blueprint_grid_margin: 10px !default;
-
-$blueprint_grid_outer_width: $blueprint_grid_width + $blueprint_grid_margin;
-
-$blueprint_container_size: $blueprint_grid_outer_width * $blueprint_grid_columns - $blueprint_grid_margin;
-
-// Columns
-// Note: If you use this mixin without the class and want to support ie6
-// you must set text-align left on your container element in an IE stylesheet.
-@mixin container {
- width: $blueprint_container_size;
- margin: 0 auto;
- direction: rtl;
- @include clearfix; }
-
-// The last column in a row needs this mixin or it will end up on the next row.
-// TODO add this to span mixin when we have optional arguments
-@mixin last {
- margin-left: 0; }
-
-@mixin column-base($last: false) {
- @include float-right;
- @if $last {
- @include last; }
- @else {
- margin-left: $blueprint_grid_margin; }
- text-align: right;
- * html & {
- overflow-x: hidden; } }
-
-// Mixin to a column to append n empty cols.
-@mixin append($n) {
- padding-left: $blueprint_grid_outer_width * $n; }
-
-// Mixin to a column to prepend n empty cols.
-@mixin prepend($n) {
- padding-right: $blueprint_grid_outer_width * $n; }
-
-// mixin to a column to move it n columns to the left
-@mixin pull($n, $last: false) {
- position: relative;
- @if $last {
- margin-right: -$blueprint_grid_outer_width * $n + $blueprint_grid_margin; }
- @else {
- margin-right: -$blueprint_grid_outer_width * $n; } }
-
-// mixin to a column to push it n columns to the right
-@mixin push($n) {
- @include float-right;
- position: relative;
- margin: {
- top: 0;
- left: -$blueprint_grid_outer_width * $n;
- bottom: 1.5em;
- right: $blueprint_grid_outer_width * $n; }; }
-
-// Border on left hand side of a column.
-@mixin border {
- padding-left: $blueprint_grid_margin / 2 - 1;
- margin-left: $blueprint_grid_margin / 2;
- border-left: 1px solid #eeeeee; }
-
-// Border with more whitespace, spans one column.
-@mixin colborder {
- padding-left: ($blueprint_grid_width - 2 * $blueprint_grid_margin - 1) / 2;
- margin-left: ($blueprint_grid_width - 2 * $blueprint_grid_margin) / 2;
- border-left: 1px solid #eeeeee; }
-
-// Usage examples:
-// As a top-level mixin, apply to any page that includes the stylesheet:
-//
-// +rtl-typography
-//
-//
-// Scoped by a presentational class:
-//
-// body.blueprint
-// +rtl-typography(true)
-//
-//
-// Scoped by semantic selectors:
-//
-// body#page-1, body#page-2, body.a-special-page-type
-// +rtl-typography(true)
-//
-//
-// **Deprecated**:
-// You can pass the body selector as the first argument when used as a top-level mixin
-//
-// +rtl-typography("body#page-1, body#page-2, body.a-special-page-type")
-//
-@mixin rtl-typography($body_selector: body) {
- @if $body_selector == true {
- html & {
- font-family: Arial, sans-serif; }
- @include rtl-typography-defaults; }
- @else {
- html #{$body_selector} {
- font-family: Arial, sans-serif;
- @if $body_selector != "body" {
- @warn "[DEPRECATED] To specify a the selector \"#{$body_selector}\" to +rtl-typography, pass true as the first argument and mix it into #{$body_selector}.";
- @include rtl-typography-defaults; } }
- @if $body_selector == "body" {
- body {
- @include rtl-typography-defaults; } } } }
-
-@mixin rtl-typography-defaults {
- h1, h2, h3, h4, h5, h6 {
- font-family: Arial, sans-serif; }
- pre, code, tt {
- font-family: monospace; }
- p {
- img.right {
- @include float-left;
- margin: 1.5em 1.5em 1.5em 0;
- padding: 0; }
- img.left {
- @include float-right;
- margin: 1.5em 0 1.5em 1.5em;
- padding: 0; } }
- dd, ul, ol {
- margin-left: 0;
- margin-right: 1.5em; }
- td, th {
- text-align: right; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss
deleted file mode 100644
index 57cf88754f..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss
+++ /dev/null
@@ -1,54 +0,0 @@
-@import "grid";
-@import "form";
-
-// The styles contained here are meant to provide for an attractive experience out of the box
-// and are expected to be removed once custom visual design begins.
-
-// The +blueprint-scaffolding mixin must be mixed into the top level of your stylesheet.
-// However, you can customize the body selector if you wish to control the scope
-// of this mixin. Examples:
-// Apply to any page including the stylesheet:
-// +blueprint-scaffolding
-// Scoped by a single presentational body class:
-// +blueprint-scaffolding("body.blueprint")
-// Semantically:
-// +blueprint-scaffolding("body#page-1, body#page-2, body.a-special-page-type")
-// Alternatively, you can use the +blueprint-scaffolding-body and +blueprint-scaffolding-defaults
-// mixins to construct your own semantic style rules.
-
-@mixin blueprint-scaffolding($body_selector: body) {
- @if $body_selector != body {
- #{$body_selector} {
- @include blueprint-scaffolding-defaults;
- }
- } @else {
- @include blueprint-scaffolding-defaults;
- }
-}
-
-// The styles this mixin provides were deprecated in Blueprint 0.9 and is no longer part of the
-// main scaffolding, but the mixin is still available if you want to use it.
-@mixin blueprint-scaffolding-body {
- margin: 1.5em 0; }
-
-// Mixin +box to create a padded box inside a column.
-@mixin box {
- padding: 1.5em;
- margin-bottom: 1.5em;
- background: #e5ecf9; }
-
-@mixin blueprint-scaffolding-defaults {
- .box {
- @include box; }
- // Border on right hand side of a column. You can comment this out if you don't plan to use it.
- div.border {
- @include border; }
- // Border with more whitespace, spans one column.
- div.colborder {
- @include colborder; }
- hr {
- @include colruler; }
- hr.space {
- @include colspacer; }
- form.inline {
- @include blueprint-inline-form; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_typography.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_typography.scss
deleted file mode 100644
index ec095fc86d..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_typography.scss
+++ /dev/null
@@ -1,104 +0,0 @@
-@import "colors";
-@import "compass/utilities/links/link-colors";
-@import "compass/utilities/general/float";
-
-$blueprint-font-family: "Helvetica Neue", Arial, Helvetica, sans-serif !default;
-
-$blueprint-fixed-font-family: "andale mono", "lucida console", monospace !default;
-
-$blueprint-font-size: 12px !default;
-
-// Usage examples:
-// As a top-level mixin, apply to any page that includes the stylesheet:
-//
-// +blueprint-typography
-//
-//
-// Scoped by a presentational class:
-//
-// body.blueprint
-// +blueprint-typography(true)
-//
-//
-// Scoped by semantic selectors:
-//
-// body#page-1, body#page-2, body.a-special-page-type
-// +blueprint-typography(true)
-//
-//
-// **Deprecated**:
-// You can pass the body selector as the first argument when used as a top-level mixin
-//
-// +blueprint-typography("body#page-1, body#page-2, body.a-special-page-type")
-//
-@mixin blueprint-typography($body-selector: body) {
- @if $body-selector == true {
- @include blueprint-typography-body;
- @include blueprint-typography-defaults;
- } @else {
- #{$body-selector} {
- @include blueprint-typography-body;
- @if $body-selector != body {
- @warn "[DEPRECATED] To specify the selector \"#{$body-selector}\" to +blueprint-typography, pass true as the first argument and mix it into #{$body-selector}.";
- @include blueprint-typography-defaults;
- }
- }
- @if $body-selector == body {
- @include blueprint-typography-defaults;
- }
- }
-}
-
-@mixin normal-text { font-family: $blueprint-font-family; color: $font-color; }
-@mixin fixed-width-text { font: 1em $blueprint-fixed-font-family; line-height: 1.5; }
-@mixin header-text { font-weight: normal; color: $header-color; }
-@mixin quiet { color: $quiet-color; }
-@mixin loud { color: $loud-color; }
-
-@mixin blueprint-typography-body($font-size: $blueprint-font-size) {
- line-height: 1.5;
- @include normal-text;
- font-size: 100% * $font-size / 16px;
-}
-
-@mixin blueprint-typography-defaults {
- #{headers(all)} { @include header-text;
- img { margin: 0; } }
- h1 { font-size: 3em; line-height: 1; margin-bottom: 0.50em; }
- h2 { font-size: 2em; margin-bottom: 0.75em; }
- h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1.00em; }
- h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
- h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.50em; }
- h6 { font-size: 1em; font-weight: bold; }
- p { margin: 0 0 1.5em;
- img.left { @include float-left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
- img.right { @include float-right; margin: 1.5em 0 1.5em 1.5em; padding: 0; }
- }
- a { text-decoration: underline; @include link-colors($link-color, $link-hover-color, $link-active-color, $link-visited-color, $link-focus-color); }
- blockquote { margin: 1.5em; color: $alt_text_color; font-style: italic; }
- strong { font-weight: bold; }
- em { font-style: italic; }
- dfn { font-style: italic; font-weight: bold; }
- sup, sub { line-height: 0; }
- abbr, acronym { border-bottom: 1px dotted #666666; }
- address { margin: 0 0 1.5em; font-style: italic; }
- del { color: $alt_text_color; }
- pre { margin: 1.5em 0; white-space: pre; }
- pre, code, tt { @include fixed-width-text; }
- li ul, li ol { margin: 0; }
- ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; }
- ul { list-style-type: disc; }
- ol { list-style-type: decimal; }
- dl { margin: 0 0 1.5em 0;
- dt { font-weight: bold; } }
- dd { margin-left: 1.5em; }
- table { margin-bottom: 1.4em; width: 100%; }
- th { font-weight: bold; }
- thead th { background: $blueprint-table-header-color; }
- th, td, caption { padding: 4px 10px 4px 5px; }
- tr.even td { background: $blueprint-table-stripe-color; }
- tfoot { font-style: italic; }
- caption { background: $blueprint_background_color; }
- .quiet { @include quiet; }
- .loud { @include loud; }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.scss
deleted file mode 100644
index 12b898709d..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.scss
+++ /dev/null
@@ -1,37 +0,0 @@
-@import "compass/utilities/text/nowrap";
-@import "compass/utilities/general/clearfix";
-
-// Most of these utility classes are not "semantic". If you use them,
-// you are mixing your content and presentation. For shame!
-
-@mixin blueprint-utilities {
- // Regular clearing apply to column that should drop below previous ones.
- .clear {
- clear: both; }
- // turn off text wrapping for the element.
- .nowrap {
- @include nowrap; }
- // Apply to an element that has floated children to make the bottom
- // of the element fall _below_ the floated children.
- .clearfix {
- @include clearfix; }
- .small {
- font-size: 0.8em;
- margin-bottom: 1.875em;
- line-height: 1.875em; }
- .large {
- font-size: 1.2em;
- line-height: 2.5em;
- margin-bottom: 1.25em; }
- .first {
- margin-left: 0;
- padding-left: 0; }
- .last {
- margin-right: 0;
- padding-right: 0; }
- .top {
- margin-top: 0;
- padding-top: 0; }
- .bottom {
- margin-bottom: 0;
- padding-bottom: 0; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss b/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss
deleted file mode 100644
index 620d68be44..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/stylesheets/blueprint/reset/_utilities.scss
+++ /dev/null
@@ -1,58 +0,0 @@
-// Global reset rules.
-// For more specific resets, use the reset mixins provided below
-@mixin blueprint-global-reset {
- html, body {
- @include blueprint-reset; }
- html {
- font-size: 100.01%; }
- @include blueprint-nested-reset; }
-
-// Reset all elements within some selector scope.To reset the selector itself,
-// mixin the appropriate reset mixin for that element type as well. This could be
-// useful if you want to style a part of your page in a dramatically different way.
-@mixin blueprint-nested-reset {
- div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
- pre, a, abbr, acronym, address, code, del, dfn, em, img,
- dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
- @include blueprint-reset; }
- blockquote, q {
- @include blueprint-reset-quotation; }
- th, td, caption {
- @include blueprint-reset-table-cell; }
- table {
- @include blueprint-reset-table; }
- a img {
- border: none; } }
-
-@mixin blueprint-reset-box-model {
- margin: 0;
- padding: 0;
- border: 0; }
-
-@mixin blueprint-reset {
- @include blueprint-reset-box-model;
- font: {
- weight: inherit;
- style: inherit;
- size: 100%;
- family: inherit; };
- vertical-align: baseline; }
-
-@mixin blueprint-reset-quotation {
- @include blueprint-reset;
- quotes: "" "";
- &:before,
- &:after {
- content: ""; } }
-
-@mixin blueprint-reset-table-cell {
- @include blueprint-reset;
- text-align: left;
- font-weight: normal;
- vertical-align: middle; }
-
-@mixin blueprint-reset-table {
- @include blueprint-reset;
- border-collapse: separate;
- border-spacing: 0;
- vertical-align: middle; }
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/grid.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/grid.png
deleted file mode 100644
index 129d4a29fb..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/grid.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/ie.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/ie.sass
deleted file mode 100644
index 9423f8035c..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/ie.sass
+++ /dev/null
@@ -1,4 +0,0 @@
-@import blueprint
-
-// Generate the blueprint IE-specific customizations:
-+blueprint-ie
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/manifest.rb
deleted file mode 100644
index 8ab1251c3b..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/manifest.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-description "A basic blueprint install that mimics the actual blueprint css."
-
-stylesheet 'screen.sass', :media => 'screen, projection'
-stylesheet 'partials/_base.sass'
-stylesheet 'print.sass', :media => 'print'
-stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
-
-image 'grid.png'
-
-help %Q{
-Please see the blueprint website for documentation on how blueprint works:
-
- http://blueprintcss.org/
-
-Docs on the compass port of blueprint can be found on the wiki:
-
- http://wiki.github.com/chriseppstein/compass/blueprint-documentation
-}
-
-welcome_message %Q{
-Please see the blueprint website for documentation on how blueprint works:
-
- http://blueprintcss.org/
-
-Docs on the compass port of blueprint can be found on the wiki:
-
- http://wiki.github.com/chriseppstein/compass/blueprint-documentation
-
-To get started, edit the screen.sass file and read the comments and code there.
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/partials/_base.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/partials/_base.sass
deleted file mode 100644
index cb437bf81e..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/partials/_base.sass
+++ /dev/null
@@ -1,10 +0,0 @@
-// Here is where you can define your constants for your application and to configure the blueprint framework.
-// Feel free to delete these if you want keep the defaults:
-
-$blueprint-grid-columns : 24
-$blueprint-grid-width : 30px
-$blueprint-grid-margin : 10px
-
-// If you change your grid column dimensions
-// you can make a new grid background image from the command line like this:
-// compass grid-img 30+10x16
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/print.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/print.sass
deleted file mode 100644
index e92c4631b8..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/print.sass
+++ /dev/null
@@ -1,4 +0,0 @@
-@import blueprint
-
-// Generate the blueprint print styles:
-+blueprint-print
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/screen.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/screen.sass
deleted file mode 100644
index aa724869f7..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/basic/screen.sass
+++ /dev/null
@@ -1,12 +0,0 @@
-// This import applies a global reset to any page that imports this stylesheet.
-@import blueprint/reset
-// To configure blueprint, edit the partials/_base.sass file.
-@import partials/base
-// Import all the default blueprint modules so that we can access their mixins.
-@import blueprint
-// Import the non-default scaffolding module.
-@import blueprint/scaffolding
-
-// Generate the blueprint framework according to your configuration:
-+blueprint
-+blueprint-scaffolding
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons.sass
deleted file mode 100644
index b03736a391..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons.sass
+++ /dev/null
@@ -1,49 +0,0 @@
-@import compass/utilities/general/float
-@import blueprint/buttons
-
-//
- Use the following HTML code to place the buttons on your site:
-
-
- Save
-
-
-
- Change Password
-
-
-
- Cancel
-
-
-a.button
- // you can pass "left" or "right" to +anchor-button to float it in that direction
- // or you can pass no argument to leave it inline-block (cross browser safe!) within
- // the flow of your page.
- +anchor-button(left)
- // All the button color mixins take 4 optional arguments:
- // font color, background color, border color, border highlight color
- // the first three default to constants set in blueprint/buttons.sass
- // the last one defaults to a shade lighter than the border color.
- +button-colors
- +button-hover-colors
- +button-active-colors
-
-button
- // The +button-button mixin is just like the +anchor-button mixin, but for elements.
- +button-button(left)
- +button-colors
- +button-hover-colors
- +button-active-colors
-
-// We can change the colors for buttons of certain classes, etc.
-a.positive, button.positive
- color: #529214
- +button-hover-colors(#529214, #E6EFC2, #C6D880)
- +button-active-colors(#FFF, #529214, #529214)
-
-a.negative, button.negative
- color: #D12F19
- +button-hover-colors(#D12F19, #FBE3E4, #FBC2C4)
- +button-active-colors(#FFF, #D12F19, #D12F19)
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/cross.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/cross.png
deleted file mode 100644
index 1514d51a3c..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/cross.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/key.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/key.png
deleted file mode 100644
index a9d5e4f8cc..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/key.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/tick.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/tick.png
deleted file mode 100644
index a9925a06ab..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/buttons/tick.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/manifest.rb
deleted file mode 100644
index e9821ca256..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/buttons/manifest.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-description "Button Plugin"
-stylesheet 'buttons.sass', :media => 'screen, projection'
-
-image 'buttons/cross.png'
-image 'buttons/key.png'
-image 'buttons/tick.png'
-
-help %Q{
-To install the button plugin:
- compass init --using blueprint/buttons
-
-The buttons.sass file is just a recommendation to show you how to use the button mixins.
-}
-
-welcome_message %Q{
-The buttons.sass file is just a recommendation to show you how to use the button mixins.
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons.sass
deleted file mode 100644
index a45f0d099a..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons.sass
+++ /dev/null
@@ -1,13 +0,0 @@
-@import blueprint/link-icons
-
-// This turns link icons on for all links. You can change the scoping selector from
-// body to something more specific if you prefer.
-body
- +link-icons
- // Use this class if a link gets an icon when it shouldn't.
- a.noicon
- +no-link-icon
- // Not all links have a url structure that can be detected,
- // So you can set them explicitly yourself like so:
- a#this-is-a-pdf-link
- +link-icon("pdf.png")
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png
deleted file mode 100644
index 834cdfaf48..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png
deleted file mode 100644
index 7348aed77f..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png
deleted file mode 100644
index cf1cfb4268..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png
deleted file mode 100644
index 315c4f4fa6..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png
deleted file mode 100644
index 79f35ccbda..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png
deleted file mode 100644
index 8f8095e46f..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png
deleted file mode 100644
index ebf206def2..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png
deleted file mode 100644
index b977d7e52e..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/manifest.rb
deleted file mode 100644
index 9d0dc09a95..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/link_icons/manifest.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-description "Icons for common types of links"
-
-stylesheet "link_icons.sass", :media => 'screen, projection'
-
-image 'link_icons/doc.png'
-image 'link_icons/email.png'
-image 'link_icons/external.png'
-image 'link_icons/feed.png'
-image 'link_icons/im.png'
-image 'link_icons/pdf.png'
-image 'link_icons/visited.png'
-image 'link_icons/xls.png'
-
-help %Q{
-To install the link_icons plugin:
- compass init --using blueprint/link_icons
-
-The link_icons.sass file is just a recommendation to show you how to use the link mixins.
-}
-
-welcome_message %Q{
-The link_icons.sass file is just a recommendation to show you how to use the link mixins.
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/grid.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/grid.png
deleted file mode 100644
index 129d4a29fb..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/grid.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/ie.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/ie.sass
deleted file mode 100644
index c2104c01d4..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/ie.sass
+++ /dev/null
@@ -1,16 +0,0 @@
-@import blueprint
-
-// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
-// @include blueprint-ie
-
-//Recommended Blueprint configuration with scoping and semantic layout:
-body.bp
- +blueprint-ie(true)
- // Note: Blueprint centers text to fix IE6 container centering.
- // This means all your texts will be centered under all version of IE by default.
- // If your container does not have the .container class, don't forget to restore
- // the correct behavior to your main container (but not the body tag!)
- // Example:
- // .my-container
- // text-align: left
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/manifest.rb
deleted file mode 100644
index 3c101942a4..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/manifest.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-description "The blueprint framework."
-
-stylesheet 'screen.sass', :media => 'screen, projection'
-stylesheet 'partials/_base.sass'
-stylesheet 'print.sass', :media => 'print'
-stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
-
-image 'grid.png'
-
-help %Q{
-Please see the blueprint website for documentation on how blueprint works:
-
- http://blueprintcss.org/
-
-Docs on the compass port of blueprint can be found on the wiki:
-
- http://wiki.github.com/chriseppstein/compass/blueprint-documentation
-}
-
-welcome_message %Q{
-Please see the blueprint website for documentation on how blueprint works:
-
- http://blueprintcss.org/
-
-Docs on the compass port of blueprint can be found on the wiki:
-
- http://wiki.github.com/chriseppstein/compass/blueprint-documentation
-
-To get started, edit the screen.sass file and read the comments and code there.
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/partials/_base.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/partials/_base.sass
deleted file mode 100644
index 5629fe2d4b..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/partials/_base.sass
+++ /dev/null
@@ -1,11 +0,0 @@
-// Here is where you can define your constants for your application and to configure the blueprint framework.
-// Feel free to delete these if you want keep the defaults:
-
-$blueprint-grid-columns : 24
-$blueprint-container-size : 950px
-$blueprint-grid-margin : 10px
-
-// Use this to calculate the width based on the total width.
-// Or you can set !blueprint_grid_width to a fixed value and unset !blueprint_container_size -- it will be calculated for you.
-$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/print.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/print.sass
deleted file mode 100644
index 216c9e09c3..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/print.sass
+++ /dev/null
@@ -1,8 +0,0 @@
-@import blueprint
-
-// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
-// @include blueprint-print
-
-//Recommended Blueprint configuration with scoping and semantic layout:
-body.bp
- +blueprint-print(true)
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/screen.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/screen.sass
deleted file mode 100644
index 88b5e0be55..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/project/screen.sass
+++ /dev/null
@@ -1,45 +0,0 @@
-// This import applies a global reset to any page that imports this stylesheet.
-@import blueprint/reset
-// To configure blueprint, edit the partials/base.sass file.
-@import partials/base
-// Import all the default blueprint modules so that we can access their mixins.
-@import blueprint
-// Import the non-default scaffolding module.
-@import blueprint/scaffolding
-
-// To generate css equivalent to the blueprint css but with your
-// configuration applied, uncomment:
-// @include blueprint
-
-// But Compass recommends that you scope your blueprint styles
-// So that you can better control what pages use blueprint
-// when stylesheets are concatenated together.
-+blueprint-scaffolding("body.bp")
-body.bp
- +blueprint-typography(true)
- +blueprint-utilities
- +blueprint-debug
- +blueprint-interaction
- // Remove the scaffolding when you're ready to start doing visual design.
- // Or leave it in if you're happy with how blueprint looks out-of-the-box
-form.bp
- +blueprint-form
-
-// Page layout can be done using mixins applied to your semantic classes and IDs:
-body.two-col
- #container
- +container
- #header, #footer
- +column($blueprint-grid-columns)
- #sidebar
- // One third of the grid columns, rounding down. With 24 cols, this is 8.
- $sidebar-columns: floor($blueprint-grid-columns / 3)
- +column($sidebar-columns)
- #content
- // Two thirds of the grid columns, rounding up.
- // With 24 cols, this is 16.
- $content-columns: ceil(2 * $blueprint-grid-columns / 3)
- // true means it's the last column in the row
- +column($content-columns, true)
-
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/grid.png b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/grid.png
deleted file mode 100644
index 129d4a29fb..0000000000
Binary files a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/grid.png and /dev/null differ
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/ie.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/ie.sass
deleted file mode 100644
index 21441e1f43..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/ie.sass
+++ /dev/null
@@ -1,16 +0,0 @@
-@import blueprint
-
-// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
-// +blueprint-ie
-
-//Recommended Blueprint configuration with scoping and semantic layout:
-body.bp
- +blueprint-ie(true)
- // Note: Blueprint centers text to fix IE6 container centering.
- // This means all your texts will be centered under all version of IE by default.
- // If your container does not have the .container class, don't forget to restore
- // the correct behavior to your main container (but not the body tag!)
- // Example:
- // .my-container
- // text-align: left
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/manifest.rb
deleted file mode 100644
index 59b5a6f987..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/manifest.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-description "The blueprint framework for use with semantic markup."
-
-stylesheet 'screen.sass', :media => 'screen, projection'
-stylesheet 'partials/_base.sass'
-stylesheet 'partials/_form.sass'
-stylesheet 'partials/_page.sass'
-stylesheet 'partials/_two_col.sass'
-stylesheet 'print.sass', :media => 'print'
-stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
-
-image 'grid.png'
-
-help %Q{
-Please see the blueprint website for documentation on how blueprint works:
-
- http://blueprintcss.org/
-
-Docs on the compass port of blueprint can be found on the wiki:
-
- http://wiki.github.com/chriseppstein/compass/blueprint-documentation
-}
-
-welcome_message %Q{
-Please see the blueprint website for documentation on how blueprint works:
-
- http://blueprintcss.org/
-
-Docs on the compass port of blueprint can be found on the wiki:
-
- http://wiki.github.com/chriseppstein/compass/blueprint-documentation
-
-To get started, edit the screen.sass file and read the comments and code there.
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_base.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_base.sass
deleted file mode 100644
index c5ed1ccffa..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_base.sass
+++ /dev/null
@@ -1,10 +0,0 @@
-// Here is where you can define your constants for your application and to configure the blueprint framework.
-// Feel free to delete these if you want keep the defaults:
-
-$blueprint-grid-columns: 24
-$blueprint-container-size: 950px
-$blueprint-grid-margin: 10px
-
-// Use this to calculate the width based on the total width.
-// Or you can set !blueprint_grid_width to a fixed value and unset !blueprint_container_size -- it will be calculated for you.
-$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_form.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_form.sass
deleted file mode 100644
index 9d6109838d..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_form.sass
+++ /dev/null
@@ -1,6 +0,0 @@
-// Only apply the blueprint form styles to forms with
-// a class of "bp". This makes it easier to style
-// forms from scratch if you need to.
-
-form.bp
- +blueprint-form
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_page.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_page.sass
deleted file mode 100644
index 59123903d8..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_page.sass
+++ /dev/null
@@ -1,18 +0,0 @@
-// Import the non-default scaffolding module to help us get started.
-@import blueprint/scaffolding
-
-// This configuration will only apply the
-// blueprint styles to pages with a body class of "bp"
-// This makes it easier to have pages without blueprint styles
-// when you're using a single/combined stylesheet.
-
-body.bp
- +blueprint-typography(true)
- +blueprint-utilities
- +blueprint-debug
- +blueprint-interaction
-
-// Remove the scaffolding when you're ready to start doing visual design.
-// Or leave it in if you're happy with how blueprint looks out-of-the-box
-+blueprint-scaffolding("body.bp")
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_two_col.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_two_col.sass
deleted file mode 100644
index 710137b848..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/partials/_two_col.sass
+++ /dev/null
@@ -1,38 +0,0 @@
-// Page layout can be done using mixins applied to your semantic classes and IDs
-// For instance this layout defines a two column layout on pages with
-// a body class of "two-col".
-//
-// The markup would look like:
-//
-//
-// and the layout would look like:
-// +------------------------+
-// | #header |
-// +--------+---------------+
-// | | |
-// |#sidebar| #content |
-// | | |
-// +------------------------+
-// | #footer |
-// +--------+---------------+
-
-body.two-col
- #container
- +container
- #header, #footer
- +column($blueprint-grid-columns)
- #sidebar
- // One third of the grid columns, rounding down. With 24 cols, this is 8.
- $sidebar-columns: floor($blueprint-grid-columns / 3)
- +column($sidebar-columns)
- #content
- // Two thirds of the grid columns, rounding up.
- // With 24 cols, this is 16.
- $content-columns: ceil(2 * $blueprint-grid-columns / 3)
- // true means it's the last column in the row
- +column($content-columns, true)
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/print.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/print.sass
deleted file mode 100644
index 024e76feeb..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/print.sass
+++ /dev/null
@@ -1,5 +0,0 @@
-@import blueprint
-
-//Recommended Blueprint configuration with scoping and semantic layout:
-body.bp
- +blueprint-print(true)
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/screen.sass b/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/screen.sass
deleted file mode 100644
index 08070bd325..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/blueprint/templates/semantic/screen.sass
+++ /dev/null
@@ -1,14 +0,0 @@
-// This import applies a global reset to any page that imports this stylesheet.
-@import blueprint/reset
-
-// To configure blueprint, edit the partials/base.sass file.
-@import partials/base
-
-// Import all the default blueprint modules so that we can access their mixins.
-@import blueprint
-
-// Combine the partials into a single screen stylesheet.
-@import partials/page
-@import partials/form
-@import partials/two_col
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/_compass.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/_compass.scss
deleted file mode 100644
index c3eeb8acf9..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/_compass.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "compass/utilities";
-@import "compass/css3";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_css3.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_css3.scss
deleted file mode 100644
index c87e3d455b..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_css3.scss
+++ /dev/null
@@ -1,15 +0,0 @@
-@import "css3/border-radius";
-@import "css3/inline-block";
-@import "css3/opacity";
-@import "css3/box-shadow";
-@import "css3/text-shadow";
-@import "css3/columns";
-@import "css3/box-sizing";
-@import "css3/box";
-@import "css3/gradient";
-@import "css3/background-clip";
-@import "css3/background-origin";
-@import "css3/background-size";
-@import "css3/font-face";
-@import "css3/transform";
-@import "css3/transition";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_layout.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_layout.scss
deleted file mode 100644
index 7f0fda1d89..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_layout.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "layout/sticky-footer";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_reset.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_reset.scss
deleted file mode 100644
index e181dd780c..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_reset.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "reset/utilities";
-
-@include global-reset;
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_utilities.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_utilities.scss
deleted file mode 100644
index fcb735ca13..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/_utilities.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "utilities/general";
-@import "utilities/links";
-@import "utilities/lists";
-@import "utilities/sprites";
-@import "utilities/tables";
-@import "utilities/text";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-clip.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-clip.scss
deleted file mode 100644
index 2d35fdb4fe..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-clip.scss
+++ /dev/null
@@ -1,43 +0,0 @@
-@import "shared";
-
-// The default value is `padding-box` -- the box model used by modern browsers.
-//
-// If you wish to do so, you can override the default constant with `border-box`
-//
-// To override to the default border-box model, use this code:
-// $default-background-clip = border-box
-
-$default-background-clip: padding-box !default;
-
-// Clip the background (image and color) at the edge of the padding or border.
-//
-// Legal Values:
-//
-// * padding-box
-// * border-box
-// * text
-
-@mixin background-clip($clip: $default-background-clip) {
- // webkit and mozilla use the deprecated short [border | padding]
- $clip: unquote($clip);
- $deprecated: $clip;
- @if $clip == padding-box { $deprecated: padding; }
- @if $clip == border-box { $deprecated: border; }
- // Support for webkit and mozilla's use of the deprecated short form
- @include experimental(background-clip, $deprecated,
- -moz,
- -webkit,
- not -o,
- not -ms,
- not -khtml,
- not official
- );
- @include experimental(background-clip, $clip,
- not -moz,
- not -webkit,
- -o,
- -ms,
- -khtml,
- official
- );
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-origin.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-origin.scss
deleted file mode 100644
index bc8eaa8aa8..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-origin.scss
+++ /dev/null
@@ -1,42 +0,0 @@
-// Override `$default-background-origin` to change the default.
-
-@import "shared";
-
-$default-background-origin: content-box !default;
-
-// Position the background off the edge of the padding, border or content
-//
-// * Possible values:
-// * `padding-box`
-// * `border-box`
-// * `content-box`
-// * browser defaults to `padding-box`
-// * mixin defaults to `content-box`
-
-
-@mixin background-origin($origin: $default-background-origin) {
- $origin: unquote($origin);
- // webkit and mozilla use the deprecated short [border | padding | content]
- $deprecated: $origin;
- @if $origin == padding-box { $deprecated: padding; }
- @if $origin == border-box { $deprecated: border; }
- @if $origin == content-box { $deprecated: content; }
-
- // Support for webkit and mozilla's use of the deprecated short form
- @include experimental(background-origin, $deprecated,
- -moz,
- -webkit,
- not -o,
- not -ms,
- not -khtml,
- not official
- );
- @include experimental(background-origin, $origin,
- not -moz,
- not -webkit,
- -o,
- -ms,
- -khtml,
- official
- );
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-size.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-size.scss
deleted file mode 100644
index 84c1109702..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_background-size.scss
+++ /dev/null
@@ -1,14 +0,0 @@
-@import "shared";
-
-// override to change the default
-$default-background-size: 100% auto !default;
-
-// Set the size of background images using px, width and height, or percentages.
-// Currently supported in: Opera, Gecko, Webkit.
-//
-// * percentages are relative to the background-origin (default = padding-box)
-// * mixin defaults to: `$default-background-size`
-@mixin background-size($size: $default-background-size) {
- $size: unquote($size);
- @include experimental(background-size, $size, -moz, -webkit, -o, not -ms, not -khtml);
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_border-radius.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_border-radius.scss
deleted file mode 100644
index 4870b1e9c5..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_border-radius.scss
+++ /dev/null
@@ -1,135 +0,0 @@
-@import "shared";
-
-$default-border-radius: 5px !default;
-
-// Round all corners by a specific amount, defaults to value of `$default-border-radius`.
-//
-// When two values are passed, the first is the horizontal radius
-// and the second is the vertical radius.
-//
-// Note: webkit does not support shorthand syntax for several corners at once.
-// So in the case where you pass several values only the first will be passed to webkit.
-//
-// Examples:
-//
-// .simple { @include border-radius(4px, 4px); }
-// .compound { @include border-radius(2px 5px, 3px 6px); }
-// .crazy { @include border-radius(1px 3px 5px 7px, 2px 4px 6px 8px)}
-//
-// Which generates:
-// .simple {
-// -webkit-border-radius: 4px 4px;
-// -moz-border-radius: 4px / 4px;
-// -o-border-radius: 4px / 4px;
-// -ms-border-radius: 4px / 4px;
-// -khtml-border-radius: 4px / 4px;
-// border-radius: 4px / 4px; }
-//
-// .compound {
-// -webkit-border-radius: 2px 3px;
-// -moz-border-radius: 2px 5px / 3px 6px;
-// -o-border-radius: 2px 5px / 3px 6px;
-// -ms-border-radius: 2px 5px / 3px 6px;
-// -khtml-border-radius: 2px 5px / 3px 6px;
-// border-radius: 2px 5px / 3px 6px; }
-//
-// .crazy {
-// -webkit-border-radius: 1px 2px;
-// -moz-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
-// -o-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
-// -ms-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
-// -khtml-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
-// border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px; }
-
-@mixin border-radius($radius: $default-border-radius, $vertical-radius: false) {
-
- @if $vertical-radius {
- // Webkit doesn't understand the official shorthand syntax for specifying
- // a vertical radius unless so in case there's several we only take the first.
- @include experimental(border-radius, first-value-of($radius) first-value-of($vertical-radius),
- not -moz,
- -webkit,
- not -o,
- not -ms,
- not -khtml,
- not official
- );
- @include experimental("border-radius", $radius unquote("/") $vertical-radius,
- -moz,
- not -webkit,
- -o,
- -ms,
- -khtml,
- official
- );
- }
- @else {
- @include experimental(border-radius, $radius);
- }
-}
-
-// Round radius at position by amount.
-//
-// * legal values for `$vert`: `top`, `bottom`
-// * legal values for `$horz`: `left`, `right`
-
-@mixin border-corner-radius($vert, $horz, $radius: $default-border-radius) {
- // Support for mozilla's syntax for specifying a corner
- @include experimental("border-radius-#{$vert}#{$horz}", $radius,
- -moz,
- not -webkit,
- not -o,
- not -ms,
- not -khtml,
- not official
- );
- @include experimental("border-#{$vert}-#{$horz}-radius", $radius,
- not -moz,
- -webkit,
- -o,
- -ms,
- -khtml,
- official
- );
-
-}
-
-// Round top-left corner only
-
-@mixin border-top-left-radius($radius: $default-border-radius) {
- @include border-corner-radius(top, left, $radius); }
-
-// Round top-right corner only
-
-@mixin border-top-right-radius($radius: $default-border-radius) {
- @include border-corner-radius(top, right, $radius); }
-
-// Round bottom-left corner only
-
-@mixin border-bottom-left-radius($radius: $default-border-radius) {
- @include border-corner-radius(bottom, left, $radius); }
-
-// Round bottom-right corner only
-
-@mixin border-bottom-right-radius($radius: $default-border-radius) {
- @include border-corner-radius(bottom, right, $radius); }
-
-// Round both top corners by amount
-@mixin border-top-radius($radius: $default-border-radius) {
- @include border-top-left-radius($radius);
- @include border-top-right-radius($radius); }
-
-// Round both right corners by amount
-@mixin border-right-radius($radius: $default-border-radius) {
- @include border-top-right-radius($radius);
- @include border-bottom-right-radius($radius); }
-
-// Round both bottom corners by amount
-@mixin border-bottom-radius($radius: $default-border-radius) {
- @include border-bottom-left-radius($radius);
- @include border-bottom-right-radius($radius); }
-
-// Round both left corners by amount
-@mixin border-left-radius($radius: $default-border-radius) {
- @include border-top-left-radius($radius);
- @include border-bottom-left-radius($radius); }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss
deleted file mode 100644
index 76b78b9134..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss
+++ /dev/null
@@ -1,50 +0,0 @@
-// @doc off
-// These defaults make the arguments optional for this mixin
-// If you like, set different defaults before importing.
-// @doc on
-
-@import "shared";
-
-// The default color for box shadows
-$default-box-shadow-color: #333333 !default;
-
-// The default horizontal offset. Positive is to the right.
-$default-box-shadow-h-offset: 1px !default;
-
-// The default vertical offset. Positive is down.
-$default-box-shadow-v-offset: 1px !default;
-
-// The default blur length.
-$default-box-shadow-blur: 5px !default;
-
-// The default spread length.
-$default-box-shadow-spread : 0 !default;
-
-// The default shadow instet: inset or false (for standard shadow).
-$default-box-shadow-inset : false !default;
-
-// Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3.
-// Arguments are color, horizontal offset, vertical offset, blur length, spread length, and inset.
-
-@mixin box-shadow(
- $color : $default-box-shadow-color,
- $hoff : $default-box-shadow-h-offset,
- $voff : $default-box-shadow-v-offset,
- $blur : $default-box-shadow-blur,
- $spread : $default-box-shadow-spread,
- $inset : $default-box-shadow-inset
-) {
- $full : $color $hoff $voff $blur $spread;
- @if $inset {
- $full: $full $inset;
- }
- @if $color == none {
- @include experimental(box-shadow, none,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
- } @else {
- @include experimental(box-shadow, $full,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
- }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss
deleted file mode 100644
index 5f480ac26d..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss
+++ /dev/null
@@ -1,13 +0,0 @@
-@import "shared";
-
-// Change the box model for Mozilla, Webkit, IE8 and the future
-//
-// @param $bs
-// [ content-box | border-box ]
-
-@mixin box-sizing($bs) {
- $bs: unquote($bs);
- @include experimental(box-sizing, $bs,
- -moz, -webkit, not -o, -ms, not -khtml, official
- );
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box.scss
deleted file mode 100644
index 09e14a0173..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_box.scss
+++ /dev/null
@@ -1,112 +0,0 @@
-@import "shared";
-
-// display:box; must be used for any of the other flexbox mixins to work properly
-@mixin display-box {
- @include experimental-value(display, box,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// Default box orientation, assuming that the user wants something less block-like
-$default-box-orient: horizontal !default;
-
-// Box orientation [ horizontal | vertical | inline-axis | block-axis | inherit ]
-@mixin box-orient(
- $orientation: $default-box-orient
-) {
- $orientation : unquote($orientation);
- @include experimental(box-orient, $orientation,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// Default box-align
-$default-box-align: stretch !default;
-
-// Box align [ start | end | center | baseline | stretch ]
-@mixin box-align(
- $alignment: $default-box-align
-) {
- $alignment : unquote($alignment);
- @include experimental(box-align, $alignment,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// Default box flex
-$default-box-flex: 0 !default;
-
-// mixin which takes an int argument for box flex. Apply this to the children inside the box.
-//
-// For example: "div.display-box > div.child-box" would get the box flex mixin.
-@mixin box-flex(
- $flex: $default-box-flex
-) {
- @include experimental(box-flex, $flex,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
- display: block;
-}
-
-// Default flex group
-$default-box-flex-group: 1 !default;
-
-// mixin which takes an int argument for flexible grouping
-@mixin box-flex-group(
- $group: $default-box-flex-group
-) {
- @include experimental(box-flex-group, $group,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// default for ordinal group
-$default-box-ordinal-group: 1 !default;
-
-// mixin which takes an int argument for ordinal grouping and rearranging the order
-@mixin box-ordinal-group(
- $group: $default-ordinal-flex-group
-) {
- @include experimental(box-ordinal-group, $group,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// Box direction default value
-$default-box-direction: normal !default;
-
-// mixin for box-direction [ normal | reverse | inherit ]
-@mixin box-direction(
- $direction: $default-box-direction
-) {
- $direction: unquote($direction);
- @include experimental(box-direction, $direction,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// default for box lines
-$default-box-lines: single !default;
-
-// mixin for box lines [ single | multiple ]
-@mixin box-lines(
- $lines: $default-box-lines
-) {
- $lines: unquote($lines);
- @include experimental(box-lines, $lines,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// default for box pack
-$default-box-pack: start !default;
-
-// mixin for box pack [ start | end | center | justify ]
-@mixin box-pack(
- $pack: $default-box-pack
-) {
- $pack: unquote($pack);
- @include experimental(box-pack, $pack,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_columns.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_columns.scss
deleted file mode 100644
index 520f57c06b..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_columns.scss
+++ /dev/null
@@ -1,55 +0,0 @@
-@import "shared";
-
-// Specify the number of columns
-@mixin column-count($n) {
- @include experimental(column-count, $n,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the gap between columns e.g. `20px`
-@mixin column-gap($u) {
- @include experimental(column-gap, $u,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the width of columns e.g. `100px`
-@mixin column-width($u) {
- @include experimental(column-width, $u,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the width of the rule between columns e.g. `1px`
-@mixin column-rule-width($w) {
- @include experimental(rule-width, $w,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the style of the rule between columns e.g. `dotted`.
-// This works like border-style.
-@mixin column-rule-style($s) {
- @include experimental(rule-style, unquote($s),
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the style of the rule between columns e.g. `dotted`.
-// This works like border-color.
-
-@mixin column-rule-color($c) {
- @include experimental(rule-color, unquote($s),
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Mixin encompassing all column rule rules
-// For example:
-// +column-rule(1px, solid, #c00)
-@mixin column-rule($w, $s: solid, $c: black) {
- @include experimental(column-rule, $w $s $c,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_font-face.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_font-face.scss
deleted file mode 100644
index 7c9030b08b..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_font-face.scss
+++ /dev/null
@@ -1,33 +0,0 @@
-@import "shared";
-
-// Cross-browser support for @font-face. Supports IE, Gecko, Webkit, Opera.
-//
-// * $name is required, arbitrary, and what you will use in font stacks.
-// * $font-files is required using font-files('relative/location', 'format').
-// for best results use this order: woff, opentype/truetype, svg
-// * $eot is required by IE, and is a relative location of the eot file.
-
-@mixin font-face($name, $font-files, $eot: false, $postscript: false, $style: false) {
- @if $postscript or $style {
- @warn "The $postscript and $style variables have been deprecated in favor of the Paul Irish smiley bulletproof technique.";
- }
- @font-face {
- font-family: quote($name);
- @if $eot {
- src: font-url($eot); }
- src: local("☺"), $font-files;
- }
-}
-
-// EXAMPLE
-// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot")
-//
-// will generate:
-//
-// @font-face {
-// font-family: 'this name';
-// src: url('fonts/this.eot');
-// src: local("☺"),
-// url('fonts/this.otf') format('woff'),
-// url('fonts/this.woff') format('opentype');
-// }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_gradient.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_gradient.scss
deleted file mode 100644
index 52704120d9..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_gradient.scss
+++ /dev/null
@@ -1,82 +0,0 @@
-@import "shared";
-
-// This yields a linear gradient spanning from top to bottom
-//
-// +linear-gradient(color-stops(white, black))
-//
-// This yields a linear gradient spanning from bottom to top
-//
-// +linear-gradient(color-stops(white, black), bottom)
-//
-// This yields a linear gradient spanning from left to right
-//
-// +linear-gradient(color-stops(white, black), left)
-//
-// This yields a linear gradient starting at white passing
-// thru blue at 33% down and then to black
-//
-// +linear-gradient(color-stops(white, blue 33%, black))
-//
-// This yields a linear gradient starting at white passing
-// thru blue at 33% down and then to black at 67% until the end
-//
-// +linear-gradient(color-stops(white, blue 33%, black 67%))
-//
-// This yields a linear gradient on top of a background image
-//
-// +linear-gradient(color_stops(white,black), top, image-url('noise.png'))
-// Browsers Supported:
-//
-// - Chrome
-// - Safari
-// - Firefox 3.6
-
-@mixin linear-gradient($color-stops, $start: top, $image: false) {
- // Firefox's gradient api is nice.
- // Webkit's gradient api sucks -- hence these backflips:
- $background: unquote("");
- @if $image { $background : $image + unquote(", "); }
- $start: unquote($start);
- $end: opposite-position($start);
- @if $experimental-support-for-webkit {
- background-image: #{$background}-webkit-gradient(linear, grad-point($start), grad-point($end), grad-color-stops($color-stops));
- }
- @if $experimental-support-for-mozilla {
- background-image: #{$background}-moz-linear-gradient($start, $color-stops);
- }
- background-image: linear-gradient($start, $color-stops);
-}
-
-// Due to limitation's of webkit, the radial gradient mixin works best if you use
-// pixel-based color stops.
-//
-// Examples:
-//
-// // Defaults to a centered, 100px radius gradient
-// +radial-gradient(color-stops(#c00, #00c))
-// // 100px radius gradient in the top left corner
-// +radial-gradient(color-stops(#c00, #00c), top left)
-// // Three colors, ending at 50px and passing thru #fff at 25px
-// +radial-gradient(color-stops(#c00, #fff, #00c 50px))
-// // a background image on top of the gradient
-// // Requires an image with an alpha-layer.
-// +radial-gradient(color_stops(#c00, #fff), top left, circle, image-url("noise.png")))
-// Browsers Supported:
-//
-// - Chrome
-// - Safari
-// - Firefox 3.6
-
-@mixin radial-gradient($color-stops, $center-position: center center, $image: false) {
- $center-position: unquote($center-position);
- $end-pos: grad-end-position($color-stops, true);
- $background: unquote("");
- @if $image { $background: $image + unquote(", "); }
- @if $experimental-support-for-webkit {
- background-image: #{$background}-webkit-gradient(radial, grad-point($center-position), 0, grad-point($center-position), $end-pos, grad-color-stops($color-stops));
- }
- @if $experimental-support-for-mozilla {
- background-image: #{$background}-moz-radial-gradient($center-position, circle, $color-stops);
- }
- background-image: radial-gradient($center-position, circle, $color-stops);
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_inline-block.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_inline-block.scss
deleted file mode 100644
index f50293ad68..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_inline-block.scss
+++ /dev/null
@@ -1,12 +0,0 @@
-@import "shared";
-
-// Provides a cross-browser method to implement `display: inline-block;`
-
-@mixin inline-block {
- display: -moz-inline-box;
- -moz-box-orient: vertical;
- display: inline-block;
- vertical-align: middle;
- *display: inline;
- *vertical-align: auto;
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_opacity.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_opacity.scss
deleted file mode 100644
index 38093c6a07..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_opacity.scss
+++ /dev/null
@@ -1,27 +0,0 @@
-@import "shared";
-
-// Provides cross-browser CSS opacity. Takes a number between 0 and 1 as the argument, e.g. 0.5 for 50% opacity.
-//
-// @param $opacity
-// A number between 0 and 1, where 0 is transparent and 1 is opaque.
-
-@mixin opacity($opacity) {
- opacity: $opacity;
- @if $experimental-support-for-microsoft {
- $value: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})");
- @include experimental(filter, $value,
- not -moz,
- not -webkit,
- not -o,
- -ms,
- not -khtml,
- official // even though filter is not an official css3 property, IE 6/7 expect it.
- );
- }
-}
-
-// Make an element completely transparent.
-@mixin transparent { @include opacity(0); }
-
-// Make an element completely opaque.
-@mixin opaque { @include opacity(1); }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_shared.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_shared.scss
deleted file mode 100644
index 87cbf43118..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_shared.scss
+++ /dev/null
@@ -1,47 +0,0 @@
-// Support for mozilla in experimental css3 properties.
-$experimental-support-for-mozilla : true !default;
-// Support for webkit in experimental css3 properties.
-$experimental-support-for-webkit : true !default;
-// Support for opera in experimental css3 properties.
-$experimental-support-for-opera : true !default;
-// Support for microsoft in experimental css3 properties.
-$experimental-support-for-microsoft : true !default;
-// Support for khtml in experimental css3 properties.
-$experimental-support-for-khtml : true !default;
-
-// This mixin provides basic support for CSS3 properties and
-// their corresponding experimental CSS2 properties when
-// the implementations are identical except for the property
-// prefix.
-@mixin experimental($property, $value,
- $moz : $experimental-support-for-mozilla,
- $webkit : $experimental-support-for-webkit,
- $o : $experimental-support-for-opera,
- $ms : $experimental-support-for-microsoft,
- $khtml : $experimental-support-for-khtml,
- $official : true
-) {
- @if $moz and $experimental-support-for-mozilla { -moz-#{$property} : $value; }
- @if $webkit and $experimental-support-for-webkit { -webkit-#{$property} : $value; }
- @if $o and $experimental-support-for-opera { -o-#{$property} : $value; }
- @if $ms and $experimental-support-for-microsoft { -ms-#{$property} : $value; }
- @if $khtml and $experimental-support-for-khtml { -khtml-#{$property} : $value; }
- @if $official { #{$property} : $value; }
-}
-
-// Same as experimental(), but for cases when the property is the same and the value is vendorized
-@mixin experimental-value($property, $value,
- $moz : $experimental-support-for-mozilla,
- $webkit : $experimental-support-for-webkit,
- $o : $experimental-support-for-opera,
- $ms : $experimental-support-for-microsoft,
- $khtml : $experimental-support-for-khtml,
- $official : true
-) {
- @if $moz and $experimental-support-for-mozilla { #{$property} : -moz-#{$value}; }
- @if $webkit and $experimental-support-for-webkit { #{$property} : -webkit-#{$value}; }
- @if $o and $experimental-support-for-opera { #{$property} : -o-#{$value}; }
- @if $ms and $experimental-support-for-microsoft { #{$property} : -ms-#{$value}; }
- @if $khtml and $experimental-support-for-khtml { #{$property} : -khtml-#{$value}; }
- @if $official { #{$property} : #{$value}; }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss
deleted file mode 100644
index 3097f9a456..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss
+++ /dev/null
@@ -1,25 +0,0 @@
-@import "shared";
-
-// These defaults make the arguments optional for this mixin
-// If you like, set different defaults in your project
-
-$default-text-shadow-color: #aaa !default;
-$default-text-shadow-h-offset: 1px !default;
-$default-text-shadow-v-offset: 1px !default;
-$default-text-shadow-blur: 1px !default;
-
-// Provides CSS text shadows.
-// Arguments are color, horizontal offset, vertical offset, and blur
-@mixin text-shadow(
- $color: $default-text-shadow-color,
- $hoff: $default-text-shadow-h-offset,
- $voff: $default-text-shadow-v-offset,
- $blur: $default-text-shadow-blur
-) {
- // XXX I'm surprised we don't need experimental support for this property.
- @if $color == none {
- text-shadow: none;
- } @else {
- text-shadow: $color $hoff $voff $blur;
- }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_transform.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_transform.scss
deleted file mode 100644
index 9d566e45ee..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_transform.scss
+++ /dev/null
@@ -1,85 +0,0 @@
-@import "shared";
-
-// CSS Transform and Transform-Origin
-
-// Apply a transform sent as a complete string.
-
-@mixin apply-transform($transform) {
- @include experimental(transform, $transform,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Apply a transform-origin sent as a complete string.
-
-@mixin apply-origin($origin) {
- @include experimental(transform-origin, $origin,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// transform-origin requires x and y coordinates
-//
-// * only applies the coordinates if they are there so that it can be called by scale, rotate and skew safely
-
-@mixin transform-origin($originx: 50%, $originy: 50%) {
- @if $originx or $originy {
- @if $originy {
- @include apply-origin($originx or 50% $originy);
- } @else {
- @include apply-origin($originx);
- }
- }
-}
-
-// A full transform mixin with everything you could want
-//
-// * including origin adjustments if you want them
-// * scale, rotate and skew require units of degrees(deg)
-// * scale takes a multiplier, rotate and skew take degrees
-
-@mixin transform(
- $scale: 1,
- $rotate: 0deg,
- $transx: 0,
- $transy: 0,
- $skewx: 0deg,
- $skewy: 0deg,
- $originx: false,
- $originy: false
-) {
- $transform : scale($scale) rotate($rotate) translate($transx, $transy) skew($skewx, $skewy);
- @include apply-transform($transform);
- @include transform-origin($originx, $originy);
-}
-
-// Transform Partials
-//
-// These work well on their own, but they don't add to each other, they override.
-// Use them with extra origin args, or along side +transform-origin
-
-// Adjust only the scale, with optional origin coordinates
-
-@mixin scale($scale: 1.25, $originx: false, $originy: false) {
- @include apply-transform(scale($scale));
- @include transform-origin($originx, $originy);
-}
-
-// Adjust only the rotation, with optional origin coordinates
-
-@mixin rotate($rotate: 45deg, $originx: false, $originy: false) {
- @include apply-transform(rotate($rotate));
- @include transform-origin($originx, $originy);
-}
-
-// Adjust only the translation
-
-@mixin translate($transx: 0, $transy: 0) {
- @include apply-transform(translate($transx, $transy));
-}
-
-// Adjust only the skew, with optional origin coordinates
-@mixin skew($skewx: 0deg, $skewy: 0deg, $originx: false, $originy: false) {
- @include apply-transform(skew($skewx, $skewy));
- @include transform-origin($originx, $originy);
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_transition.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_transition.scss
deleted file mode 100644
index 60487bcc3f..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/css3/_transition.scss
+++ /dev/null
@@ -1,85 +0,0 @@
-@import "shared";
-
-// CSS Transitions
-// Currently only works in Webkit.
-//
-// * expected in CSS3, FireFox 3.6/7 and Opera Presto 2.3
-// * We'll be prepared.
-//
-// Including this submodule sets following defaults for the mixins:
-//
-// $default-transition-property : all
-// $default-transition-duration : 1s
-// $default-transition-function : false
-// $default-transition-delay : false
-//
-// Override them if you like. Timing-function and delay are set to false for browser defaults (ease, 0s).
-
-$default-transition-property: all !default;
-
-$default-transition-duration: 1s !default;
-
-$default-transition-function: false !default;
-
-$default-transition-delay: false !default;
-
-// One or more properties to transition
-//
-// * for multiple, use a comma-delimited list
-// * also accepts "all" or "none"
-
-@mixin transition-property($properties: $default-transition-property) {
- @include experimental(transition-property, unquote($properties),
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// One or more durations in seconds
-//
-// * for multiple, use a comma-delimited list
-// * these durations will affect the properties in the same list position
-
-@mixin transition-duration($duration: $default-transition-duration) {
- @if type-of($duration) == string { $duration: unquote($duration); }
- @include experimental(transition-duration, $duration,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// One or more timing functions
-//
-// * [ ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)]
-// * For multiple, use a comma-delimited list
-// * These functions will effect the properties in the same list position
-
-@mixin transition-timing-function($function: $default-transition-function) {
- @include experimental(transition-timing-function, unquote($function),
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// One or more transition-delays in seconds
-//
-// * for multiple, use a comma-delimited list
-// * these delays will effect the properties in the same list position
-
-@mixin transition-delay($delay: $default-transition-delay) {
- @if type-of($delay) == string { $delay: unquote($delay); }
- @include experimental(transition-delay, $delay,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Transition all-in-one shorthand
-
-@mixin transition(
- $properties: $default-transition-property,
- $duration: $default-transition-duration,
- $function: $default-transition-function,
- $delay: $default-transition-delay
-) {
- @include transition-property($properties);
- @include transition-duration($duration);
- @if $function { @include transition-timing-function($function); }
- @if $delay { @include transition-delay($delay); }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss
deleted file mode 100644
index 055f641635..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss
+++ /dev/null
@@ -1,23 +0,0 @@
-// Based on a [blog post by Ryan Fait](http://ryanfait.com/resources/footer-stick-to-bottom-of-page/).
-//
-// Must be mixed into the top level of your stylesheet.
-//
-// Footer element must be outside of root wrapper element.
-//
-// Footer must be a fixed height.
-
-@mixin sticky-footer($footer-height, $root-selector: unquote("#root"), $root-footer-selector: unquote("#root_footer"), $footer-selector: unquote("#footer")) {
- html, body {
- height: 100%; }
- #{$root-selector} {
- clear: both;
- min-height: 100%;
- height: auto !important;
- height: 100%;
- margin-bottom: -$footer-height;
- #{$root-footer-selector} {
- height: $footer-height; } }
- #{$footer-selector} {
- clear: both;
- position: relative;
- height: $footer-height; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/reset/_utilities.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/reset/_utilities.scss
deleted file mode 100644
index d9ba6d9c58..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/reset/_utilities.scss
+++ /dev/null
@@ -1,133 +0,0 @@
-// Based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/)
-// Global reset rules.
-// For more specific resets, use the reset mixins provided below
-//
-// *Please Note*: tables still need `cellspacing="0"` in the markup.
-@mixin global-reset {
- html, body, div, span, applet, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, big, cite, code,
- del, dfn, em, font, img, ins, kbd, q, s, samp,
- small, strike, strong, sub, sup, tt, var,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td {
- @include reset-box-model;
- @include reset-font; }
- body {
- @include reset-body; }
- ol, ul {
- @include reset-list-style; }
- table {
- @include reset-table; }
- caption, th, td {
- @include reset-table-cell; }
- q, blockquote {
- @include reset-quotation; }
- a img {
- @include reset-image-anchor-border; } }
-
-// Reset all elements within some selector scope. To reset the selector itself,
-// mixin the appropriate reset mixin for that element type as well. This could be
-// useful if you want to style a part of your page in a dramatically different way.
-//
-// *Please Note*: tables still need `cellspacing="0"` in the markup.
-@mixin nested-reset {
- div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
- pre, a, abbr, acronym, address, code, del, dfn, em, img,
- dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
- @include reset-box-model;
- @include reset-font; }
- table {
- @include reset-table; }
- caption, th, td {
- @include reset-table-cell; }
- q, blockquote {
- @include reset-quotation; }
- a img {
- @include reset-image-anchor-border; } }
-
-// Reset the box model measurements.
-@mixin reset-box-model {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0; }
-
-// Reset the font and vertical alignment.
-@mixin reset-font {
- font: {
- weight: inherit;
- style: inherit;
- size: 100%;
- family: inherit; };
- vertical-align: baseline; }
-
-// Resets the outline when focus.
-// For accessibility you need to apply some styling in its place.
-@mixin reset-focus {
- outline: 0; }
-
-// Reset a body element.
-@mixin reset-body {
- line-height: 1;
- color: black;
- background: white; }
-
-// Reset the list style of an element.
-@mixin reset-list-style {
- list-style: none; }
-
-// Reset a table
-@mixin reset-table {
- border-collapse: separate;
- border-spacing: 0;
- vertical-align: middle; }
-
-// Reset a table cell (`th`, `td`)
-@mixin reset-table-cell {
- text-align: left;
- font-weight: normal;
- vertical-align: middle; }
-
-// Reset a quotation (`q`, `blockquote`)
-@mixin reset-quotation {
- quotes: "" "";
- &:before, &:after {
- content: ""; } }
-
-// Resets the border.
-@mixin reset-image-anchor-border {
- border: none; }
-
-// Unrecognized elements are displayed inline.
-// This reset provides a basic reset for html5 elements
-// so they are rendered correctly in browsers that don't recognize them.
-@mixin reset-html5 {
- article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
- display: block; } }
-
-// Resets the display of inline and block elements to their default display
-// according to their tag type. Elements that have a default display that varies across
-// versions of html or browser are not handled here, but this covers the 90% use case.
-// Usage Example:
-//
-// // Turn off the display for both of these classes
-// .unregistered-only, .registered-only
-// display: none
-// // Now turn only one of them back on depending on some other context.
-// body.registered
-// +reset-display(".registered-only")
-// body.unregistered
-// +reset-display(".unregistered-only")
-@mixin reset-display($selector: "", $important: false) {
- #{append-selector(elements-of-type("inline"), $selector)} {
- @if $important {
- display: inline !important; }
- @else {
- display: inline; } }
- #{append-selector(elements-of-type("block"), $selector)} {
- @if $important {
- display: block !important; }
- @else {
- display: block; } } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_general.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_general.scss
deleted file mode 100644
index 047e6368dc..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_general.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "general/reset";
-@import "general/clearfix";
-@import "general/float";
-@import "general/tag-cloud";
-@import "general/hacks";
-@import "general/min";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_links.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_links.scss
deleted file mode 100644
index 735000e019..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_links.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "links/hover-link";
-@import "links/link-colors";
-@import "links/unstyled-link";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_lists.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_lists.scss
deleted file mode 100644
index 3365f30a19..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_lists.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-@import "lists/horizontal-list";
-@import "lists/inline-list";
-@import "lists/inline-block-list";
-@import "lists/bullets";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_print.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_print.scss
deleted file mode 100644
index 4771e080a0..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_print.scss
+++ /dev/null
@@ -1,17 +0,0 @@
-// Classes that are useful for controlling what gets printed.
-// You must mix `+print-utilities` into your print stylesheet
-// and `+print-utilities(screen)` into your screen stylesheet.
-// Note: these aren't semantic.
-@mixin print-utilities($media: print) {
- @if $media == print {
- .noprint, .no-print { display: none; }
- #{elements-of-type(block)} {
- &.print-only { display: block; }
- }
- #{elements-of-type(inline)} {
- &.print-only { display: inline; }
- }
- } @else {
- .print-only { display: none; }
- }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.scss
deleted file mode 100644
index 981afaaf33..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "sprites/sprite-img";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_tables.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_tables.scss
deleted file mode 100644
index 4af1d51b31..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_tables.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "tables/alternating-rows-and-columns";
-@import "tables/borders";
-@import "tables/scaffolding";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_text.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_text.scss
deleted file mode 100644
index 9cd3f0a17a..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/_text.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "text/ellipsis";
-@import "text/nowrap";
-@import "text/replacement";
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss
deleted file mode 100644
index 2c097cc1c8..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss
+++ /dev/null
@@ -1,31 +0,0 @@
-// @doc off
-// Extends the bottom of the element to enclose any floats it contains.
-// @doc on
-
-@import "hacks";
-
-// This basic method is preferred for the usual case, when positioned
-// content will not show outside the bounds of the container.
-//
-// Recommendations include using this in conjunction with a width.
-// Credit: [quirksmode.org](http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html)
-@mixin clearfix {
- overflow: hidden;
- @include has-layout;
-}
-
-// This older method from Position Is Everything called
-// [Easy Clearing](http://www.positioniseverything.net/easyclearing.html)
-// has the advantage of allowing positioned elements to hang
-// outside the bounds of the container at the expense of more tricky CSS.
-@mixin pie-clearfix {
- &:after {
- content : "\0020";
- display : block;
- height : 0;
- clear : both;
- overflow : hidden;
- visibility : hidden;
- }
- @include has-layout;
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.scss
deleted file mode 100644
index c0e2ddbfc1..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.scss
+++ /dev/null
@@ -1,15 +0,0 @@
-// Implementation of float:left with fix for the
-// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
-@mixin float-left {
- @include float(left); }
-
-// Implementation of float:right with fix for the
-// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
-@mixin float-right {
- @include float(right); }
-
-// Direction independent float mixin that fixes the
-// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
-@mixin float($side: left) {
- display: inline;
- float: unquote($side); }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss
deleted file mode 100644
index 4f6ec87d37..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss
+++ /dev/null
@@ -1,35 +0,0 @@
-// The `zoom` approach generates less CSS but does not validate.
-// Set this to `block` to use the display-property to hack the
-// element to gain layout.
-$default-has-layout-approach: zoom !default;
-
-// This mixin causes an element matching the selector
-// to gain the "hasLayout" property in internet explorer.
-// More information on [hasLayout](http://reference.sitepoint.com/css/haslayout).
-@mixin has-layout($using: $default-has-layout-approach) {
- @if $using == zoom {
- @include has-layout-zoom;
- } @else if $using == block {
- @include has-layout-block;
- } @else {
- @warn "Unknown has-layout approach: #{$using}";
- @include has-layout-zoom;
- }
-}
-
-@mixin has-layout-zoom {
- *zoom: 1;
-}
-
-@mixin has-layout-block {
- // This makes ie6 get layout
- display: inline-block;
- // and this puts it back to block
- & { display: block; }
-}
-
-// A hack to supply IE6 (and below) with a different property value.
-// [Read more](http://www.cssportal.com/css-hacks/#in_css-important).
-@mixin bang-hack($property, $value, $ie6-value) {
- #{$property}: #{$value} !important;
- #{$property}: #{$ie6-value}; }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_min.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_min.scss
deleted file mode 100644
index 99a676b333..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_min.scss
+++ /dev/null
@@ -1,16 +0,0 @@
-@import "hacks";
-
-//**
-// Cross browser min-height mixin.
-@mixin min-height($value) {
- @include hacked-minimum(height, $value); }
-
-//**
-// Cross browser min-width mixin.
-@mixin min-width($value) {
- @include hacked-minimum(width, $value); }
-
-// @private This mixin is not meant to be used directly.
-@mixin hacked-minimum($property, $value) {
- min-#{$property}: $value;
- @include bang-hack($property, auto, $value); }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.scss
deleted file mode 100644
index f5f64877e1..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-// This module has moved.
-@import "compass/reset/utilities";
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.scss
deleted file mode 100644
index 8b13789179..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.scss
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag-cloud.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag-cloud.scss
deleted file mode 100644
index 7ccae05517..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag-cloud.scss
+++ /dev/null
@@ -1,18 +0,0 @@
-// Emits styles for a tag cloud
-@mixin tag-cloud($base-size: 1em) {
- font-size: $base-size;
- line-height: 1.2 * $base-size;
- .xxs, .xs, .s, .l, .xl, .xxl {
- line-height: 1.2 * $base-size; }
- .xxs {
- font-size: $base-size / 2; }
- .xs {
- font-size: 2 * $base-size / 3; }
- .s {
- font-size: 3 * $base-size / 4; }
- .l {
- font-size: 4 * $base-size / 3; }
- .xl {
- font-size: 3 * $base-size / 2; }
- .xxl {
- font-size: 2 * $base-size; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover-link.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover-link.scss
deleted file mode 100644
index 8c72bc1fde..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover-link.scss
+++ /dev/null
@@ -1,5 +0,0 @@
-// a link that only has an underline when you hover over it
-@mixin hover-link {
- text-decoration: none;
- &:hover {
- text-decoration: underline; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss
deleted file mode 100644
index 5d641f7818..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss
+++ /dev/null
@@ -1,28 +0,0 @@
-// Set all the colors for a link with one mixin call.
-// Order of arguments is:
-//
-// 1. normal
-// 2. hover
-// 3. active
-// 4. visited
-// 5. focus
-//
-// Those states not specified will inherit.
-// Mixin to an anchor link like so:
-// a
-// +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
-
-@mixin link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false) {
- color: $normal;
- @if $visited {
- &:visited {
- color: $visited; } }
- @if $focus {
- &:focus {
- color: $focus; } }
- @if $hover {
- &:hover {
- color: $hover; } }
- @if $active {
- &:active {
- color: $active; } } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled-link.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled-link.scss
deleted file mode 100644
index e39c2d6783..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled-link.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-// A link that looks and acts like the text it is contained within
-@mixin unstyled-link {
- color: inherit;
- text-decoration: inherit;
- cursor: inherit;
- &:active, &:focus {
- outline: none; } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss
deleted file mode 100644
index aabe802a6f..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-// Turn off the bullet for an element of a list
-@mixin no-bullet {
- list-style-image : none;
- list-style-type : none;
- margin-left : 0px;
-}
-
-// turns off the bullets for an entire list
-@mixin no-bullets {
- list-style: none;
- li { @include no-bullet; }
-}
-
-// Make a list(ul/ol) have an image bullet.
-//
-// The mixin should be used like this for an icon that is 5x7:
-//
-// ul.pretty
-// +pretty-bullets("my-icon.png", 5px, 7px)
-//
-// Additionally, if the image dimensions are not provided,
-// The image dimensions will be extracted from the image itself.
-//
-// ul.pretty
-// +pretty-bullets("my-icon.png")
-//
-@mixin pretty-bullets($bullet-icon, $width: image-width($bullet-icon), $height: image-height($bullet-icon), $line-height: 18px, $padding: 14px) {
- margin-left: 0;
- li {
- padding-left: $padding;
- background: image-url($bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
- list-style-type: none;
- }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss
deleted file mode 100644
index 5e98b718f0..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss
+++ /dev/null
@@ -1,52 +0,0 @@
-// Horizontal list layout module.
-//
-// Easy mode using simple descendant li selectors:
-//
-// ul.nav
-// +horizontal-list
-//
-// Advanced mode:
-// If you need to target the list items using a different selector then use
-// +horizontal-list-container on your ul/ol and +horizontal-list-item on your li.
-// This may help when working on layouts involving nested lists. For example:
-//
-// ul.nav
-// +horizontal-list-container
-// > li
-// +horizontal-list-item
-
-@import "bullets";
-@import "compass/utilities/general/clearfix";
-@import "compass/utilities/general/reset";
-@import "compass/utilities/general/float";
-
-// Can be mixed into any selector that target a ul or ol that is meant
-// to have a horizontal layout. Used to implement +horizontal-list.
-@mixin horizontal-list-container {
- @include reset-box-model;
- @include clearfix; }
-
-// Can be mixed into any li selector that is meant to participate in a horizontal layout.
-// Used to implement +horizontal-list.
-//
-// :last-child is not fully supported
-// see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
-
-@mixin horizontal-list-item($padding: 4px, $direction: left) {
- @include no-bullet;
- white-space: nowrap;
- @include float($direction);
- padding: {
- left: $padding;
- right: $padding;
- };
- &:first-child, &.first { padding-#{$direction}: 0px; }
- &:last-child, &.last { padding-#{opposite-position($direction)}: 0px; }
-}
-
-// A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
-// This is not an inline list.
-@mixin horizontal-list($padding: 4px, $direction: left) {
- @include horizontal-list-container;
- li {
- @include horizontal-list-item($padding, $direction); } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss
deleted file mode 100644
index 907d443afd..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss
+++ /dev/null
@@ -1,47 +0,0 @@
-// Inline-Block list layout module.
-//
-// Easy mode using simple descendant li selectors:
-//
-// ul.nav
-// +inline-block-list
-//
-// Advanced mode:
-// If you need to target the list items using a different selector then use
-// +inline-block-list-container on your ul/ol and +inline-block-list-item on your li.
-// This may help when working on layouts involving nested lists. For example:
-//
-// ul.nav
-// +inline-block-list-container
-// > li
-// +inline-block-list-item
-
-@import "bullets";
-@import "horizontal-list";
-@import "compass/utilities/general/float";
-@import "compass/css3/inline-block";
-
-// Can be mixed into any selector that target a ul or ol that is meant
-// to have an inline-block layout. Used to implement +inline-block-list.
-@mixin inline-block-list-container {
- @include horizontal-list-container; }
-
-// Can be mixed into any li selector that is meant to participate in a horizontal layout.
-// Used to implement +inline-block-list.
-
-@mixin inline-block-list-item($padding: false) {
- @include no-bullet;
- @include inline-block;
- white-space: nowrap;
- @if $padding {
- padding: {
- left: $padding;
- right: $padding;
- };
- }
-}
-
-// A list(ol,ul) that is layed out such that the elements are inline-block and won't wrap.
-@mixin inline-block-list($padding: false) {
- @include inline-block-list-container;
- li {
- @include inline-block-list-item($padding); } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
deleted file mode 100644
index 6a26f1b4eb..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
+++ /dev/null
@@ -1,29 +0,0 @@
-// makes a list inline.
-
-@mixin inline-list {
- list-style-type: none;
- &, & li {
- margin: 0px;
- padding: 0px;
- display: inline;
- }
-}
-
-// makes an inline list that is comma delimited.
-// Please make note of the browser support issues before using this mixin.
-//
-// use of `content` and `:after` is not fully supported in all browsers.
-// See quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t15)
-//
-// `:last-child` is not fully supported.
-// see quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t29).
-
-@mixin comma-delimited-list {
- @include inline-list;
- li {
- &:after { content: ", "; }
- &:last-child, &.last {
- &:after { content: ""; }
- }
- }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss
deleted file mode 100644
index b14536bec1..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss
+++ /dev/null
@@ -1,56 +0,0 @@
-// @doc off
-// Example 1:
-//
-// a.twitter
-// +sprite-img("icons-32.png", 1)
-// a.facebook
-// +sprite-img("icons-32png", 2)
-//
-// Example 2:
-//
-// a
-// +sprite-background("icons-32.png")
-// a.twitter
-// +sprite-column(1)
-// a.facebook
-// +sprite-row(2)
-// @doc on
-
-$sprite-default-size: 32px !default;
-
-$sprite-default-margin: 0px !default;
-
-$sprite-image-default-width: $sprite-default-size !default;
-
-$sprite-image-default-height: $sprite-default-size !default;
-
-// Sets all the rules for a sprite from a given sprite image to show just one of the sprites.
-// To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning.
-@mixin sprite-img($img, $col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
- @include sprite-background($img, $width, $height);
- @include sprite-position($col, $row, $width, $height, $margin); }
-
-// Sets rules common for all sprites, assumes you want a square, but allows a rectangular region.
-@mixin sprite-background($img, $width: $sprite-default-size, $height: $width) {
- @include sprite-background-rectangle($img, $width, $height); }
-
-// Sets rules common for all sprites, assumes a rectangular region.
-@mixin sprite-background-rectangle($img, $width: $sprite-image-default-width, $height: $sprite-image-default-height) {
- background: image-url($img) no-repeat;
- width: $width;
- height: $height;
- overflow: hidden; }
-
-// Allows horizontal sprite positioning optimized for a single row of sprites.
-@mixin sprite-column($col, $width: $sprite-image-default-width, $margin: $sprite-default-margin) {
- @include sprite-position($col, 1, $width, 0px, $margin); }
-
-// Allows vertical sprite positioning optimized for a single column of sprites.
-@mixin sprite-row($row, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
- @include sprite-position(1, $row, 0px, $height, $margin); }
-
-// Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites.
-@mixin sprite-position($col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
- $x: ($col - 1) * -$width - ($col - 1) * $margin;
- $y: ($row - 1) * -$height - ($row - 1) * $margin;
- background-position: $x $y; }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
deleted file mode 100644
index 8dd3a714e8..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
+++ /dev/null
@@ -1,20 +0,0 @@
-@mixin alternating-rows-and-columns($even-row-color, $odd-row-color, $dark-intersection, $header-color: white, $footer-color: white) {
- th {
- background-color: $header-color;
- &.even, &:nth-child(2n) {
- background-color: $header-color - $dark-intersection; } }
- tr.odd {
- td {
- background-color: $odd-row-color;
- &.even, &:nth-child(2n) {
- background-color: $odd-row-color - $dark-intersection; } } }
- tr.even {
- td {
- background-color: $even-row-color;
- &.even, &:nth-child(2n) {
- background-color: $even-row-color - $dark-intersection; } } }
- tfoot {
- th, td {
- background-color: $footer-color;
- &.even, &:nth-child(2n) {
- background-color: $footer-color - $dark-intersection; } } } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss
deleted file mode 100644
index 81434d9f73..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss
+++ /dev/null
@@ -1,27 +0,0 @@
-@mixin outer-table-borders($width: 2px, $color: black) {
- border: $width solid $color;
- thead {
- th {
- border-bottom: $width solid $color; } }
- tfoot {
- th, td {
- border-top: $width solid $color; } }
- th {
- &:first-child {
- border-right: $width solid $color; } } }
-
-@mixin inner-table-borders($width: 2px, $color: black) {
- th, td {
- border: {
- right: $width solid $color;
- bottom: $width solid $color;
- left-width: 0px;
- top-width: 0px; };
- &:last-child,
- &.last {
- border-right-width: 0px; } }
- tbody, tfoot {
- tr:last-child,
- tr.last {
- th, td {
- border-bottom-width: 0px; } } } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.scss
deleted file mode 100644
index cc19d0404e..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-@mixin table-scaffolding {
- th {
- text-align: center;
- font-weight: bold; }
- td,
- th {
- padding: 2px;
- &.numeric {
- text-align: right; } } }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss
deleted file mode 100644
index 3b3db25d74..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss
+++ /dev/null
@@ -1,25 +0,0 @@
-@import "compass/css3/shared";
-
-// To get full firefox support, you must install the ellipsis pattern:
-//
-// compass install compass/ellipsis
-$use-mozilla-ellipsis-binding: false !default;
-
-// This technique, by [Justin Maxwell](http://code404.com/), was originally
-// published [here](http://mattsnider.com/css/css-string-truncation-with-ellipsis/).
-// Firefox implementation by [Rikkert Koppes](http://www.rikkertkoppes.com/thoughts/2008/6/).
-@mixin ellipsis($no-wrap: true) {
- @if $no-wrap { white-space: nowrap; }
- overflow: hidden;
- @include experimental(text-overflow, ellipsis,
- not -moz,
- not -webkit,
- -o,
- -ms,
- not -khtml,
- official
- );
- @if $experimental-support-for-mozilla and $use-mozilla-ellipsis-binding {
- -moz-binding: stylesheet-url(unquote("xml/ellipsis.xml#ellipsis"));
- }
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.scss
deleted file mode 100644
index 1613dd6715..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-// When remembering whether or not there's a hyphen in white-space is too hard
-@mixin nowrap { white-space: nowrap; }
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss b/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss
deleted file mode 100644
index 041f105393..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-// Hides html text and replaces it with an image.
-// If you use this on an inline element, you will need to change the display to block or inline-block.
-// Also, if the size of the image differs significantly from the font size, you'll need to set the width and/or height.
-//
-// Parameters:
-//
-// * `img` -- the relative path from the project image directory to the image.
-// * `x` -- the x position of the background image.
-// * `y` -- the y position of the background image.
-@mixin replace-text($img, $x: 50%, $y: 50%) {
- @include hide-text;
- background: {
- image: image-url($img);
- repeat: no-repeat;
- position: $x $y;
- };
-}
-
-// Like the `replace-text` mixin, but also sets the width
-// and height of the element according the dimensions of the image.
-@mixin replace-text-with-dimensions($img, $x: 50%, $y: 50%) {
- @include replace-text($img, $x, $y);
- width: image-width($img);
- height: image-height($img);
-}
-
-// Hides text in an element so you can see the background.
-@mixin hide-text {
- $approximate_em_value: 12px / 1em;
- $wider_than_any_screen: -9999em;
- text-indent: $wider_than_any_screen * $approximate_em_value;
- overflow: hidden;
- text-align: left;
-}
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/ellipsis.sass b/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/ellipsis.sass
deleted file mode 100644
index 6285df65ad..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/ellipsis.sass
+++ /dev/null
@@ -1,9 +0,0 @@
-// Since you've installed the xml file, you should set
-// $use-mozilla-ellipsis-binding to true before importing.
-$use-mozilla-ellipsis-binding: true
-@import compass/utilities/text/ellipsis
-
-// You can delete this sass file if you want, it's just an example of how to use the ellipsis mixin.
-// By default, ellipsis text is no-wrap. Pass false as the first argument if you don't want that.
-.ellipsis
- +ellipsis
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/manifest.rb
deleted file mode 100644
index 5de7d67335..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/manifest.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-description "Plugin for cross-browser ellipsis truncated text."
-
-file 'xml/ellipsis.xml', :like => :css
-stylesheet 'ellipsis.sass'
-
-help %Q{
-First, install the plugin to get the xml file that makes this work in firfox:
-
- compass init --using blueprint/link_icons
-
-Then mix +ellipsis into your selectors to enable ellipsis
-there when text gets too long.
-
-The ellipsis.sass file is just an example for how to use this plugin,
-feel free to delete it.
-
-For more information see:
- http://mattsnider.com/css/css-string-truncation-with-ellipsis/
-}
-
-welcome_message %Q{
-The ellipsis.sass file is just an example for how to use this plugin,
-feel free to delete it.
-
-For more information see:
- http://mattsnider.com/css/css-string-truncation-with-ellipsis/
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml b/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml
deleted file mode 100644
index 3f94b6e254..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/manifest.rb
deleted file mode 100644
index 89efbe21a3..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/manifest.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-description "Generate a compass extension."
-
-file 'stylesheets/main.sass', :to => "stylesheets/_#{File.basename(options[:pattern_name]||options[:project_name]||'main')}.sass"
-file 'templates/project/manifest.rb'
-file 'templates/project/screen.sass'
-
-help %Q{
- To generate a compass extension:
- compass create my_extension --using compass/extension
-}
-
-welcome_message %Q{
-For a full tutorial on how to build your own extension see:
-
-http://compass-style.org/docs/tutorials/extensions/
-
-}, :replace => true
-
-no_configuration_file!
-skip_compilation!
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/stylesheets/main.sass b/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/stylesheets/main.sass
deleted file mode 100644
index bcccf41f8e..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/stylesheets/main.sass
+++ /dev/null
@@ -1 +0,0 @@
-// This is your framework's main stylesheet. Use it to import all default modules.
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/templates/project/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/templates/project/manifest.rb
deleted file mode 100644
index 61591194bc..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/templates/project/manifest.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-# Make sure you list all the project template files here in the manifest.
-stylesheet 'screen.sass', :media => 'screen, projection'
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/templates/project/screen.sass b/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/templates/project/screen.sass
deleted file mode 100644
index 4558d13391..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/extension/templates/project/screen.sass
+++ /dev/null
@@ -1,2 +0,0 @@
-// This is where you put the contents of the main stylesheet for the user's project.
-// It should import your sass stylesheets and demonstrate how to use them.
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/USAGE.markdown b/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/USAGE.markdown
deleted file mode 100644
index 21b5fb6104..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/USAGE.markdown
+++ /dev/null
@@ -1,32 +0,0 @@
-When no framework is specified, a new compass project is set up with three stylesheets:
-
-* screen.sass
-* print.sass
-* ie.sass
-
-It is expected that you will link your html to these like so:
-
-
-
-
-
-
-
-You don't have to use these three stylesheets, they are just a recommendation.
-You can rename them, make new stylesheets, and delete them. Compass will
-happily compile whatever sass files you place into your project.
-
-Any folders you create in your source directory with sass files in them will be folders
-that get created with css files in them when compiled.
-
-Sass files beginning with an underscore are called partials, they are not directly
-compiled to their own css file. You can use these partials by importing them
-into other stylesheets. This is useful for keeping your stylesheets small and manageable
-and single-focused. It is common to create a file called _base.sass at the top level
-of your stylesheets and to import this to set up project-wide constants and mixins.
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/ie.sass b/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/ie.sass
deleted file mode 100644
index b38d08b426..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/ie.sass
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
- Welcome to Compass. Use this file to write IE specific override styles.
- Import this file using the following HTML or equivalent:
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/manifest.rb b/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/manifest.rb
deleted file mode 100644
index fade058b33..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/manifest.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-description "The default project layout."
-stylesheet 'screen.sass', :media => 'screen, projection'
-stylesheet 'print.sass', :media => 'print'
-stylesheet 'ie.sass', :media => 'screen, projection', :condition => "IE"
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/print.sass b/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/print.sass
deleted file mode 100644
index 34991cab73..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/print.sass
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
- Welcome to Compass. Use this file to define print styles.
- Import this file using the following HTML or equivalent:
-
-
-
diff --git a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/screen.sass b/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/screen.sass
deleted file mode 100644
index df9ac38c12..0000000000
--- a/lib/sass/sass/extensions/compass/frameworks/compass/templates/project/screen.sass
+++ /dev/null
@@ -1,7 +0,0 @@
-/*
- Welcome to Compass.
- In this file you should write your main styles. (or centralize your imports)
- Import this file using the following HTML or equivalent:
-
-
-@import compass/reset
diff --git a/lib/sass/sass/extensions/compass/functions/colourStops.php b/lib/sass/sass/extensions/compass/functions/colourStops.php
deleted file mode 100644
index 5f88bf6d5a..0000000000
--- a/lib/sass/sass/extensions/compass/functions/colourStops.php
+++ /dev/null
@@ -1,268 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-
-/**
- * Compass extension List object.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class CompassList extends SassLiteral {
- public function __construct($values) {
- $this->value = $values;
- }
-
- public function getValues() {
- return $this->value;
- }
-
- /**
- * Returns the type of this
- * @return string the type of this
- */
- protected function getTypeOf() {
- return 'list';
- }
-
- public function toString() {
- $values = array();
- foreach ($this->value as $value) {
- $values[] = $value->toString();
- }
- return join(', ', $values);
- }
-
- public static function isa($subject) {}
-}
-
-class CompassColourStop extends SassLiteral {
- private $colour;
- public $stop;
-
- public function __construct($colour, $stop = null) {
- $this->colour = $colour;
- $this->stop = $stop;
- }
-
- protected function getColor() {
- return $this->getColour();
- }
-
- protected function getColour() {
- return $this->colour;
- }
-
- public function toString() {
- $s = $this->colour->toString();
- if (!empty($this->stop)) {
- $s .= ' ';
- if ($this->stop->isUnitless()) {
- $s .= $this->stop->op_times(new SassNumber('100%'))->toString();
- }
- else {
- $s .= $this->stop->toString();
- }
- }
- return $s;
- }
-
- public static function isa($subject) {}
-}
-
-/**
- * Compass extension SassScript colour stops functions class.
- * A collection of functions for use in SassSCript.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class SassExtentionsCompassFunctionsColourStops {
- # returns color-stop() calls for use in webkit.
- public static function grad_color_stops($colour_list) {
- return self::grad_colour_stops($colour_list);
- }
-
- public static function grad_colour_stops($colour_list) {
- SassLiteral::assertType($colour_list, 'CompassList');
- self::normalize_stops($colour_list);
- $v = array_reverse($colour_list->values);
- $max = $v[0]->stop;
- $last_value = null;
-
- $colourStops = array();
-
- foreach ($colour_list->values as $pos) {
- # have to convert absolute units to percentages for use in colour stop functions.
- $stop = $pos->stop;
- if ($stop->numeratorUnits === $max->numeratorUnits) {
- $stop = $stop->op_div($max)->op_times(new SassNumber('100%'));
- }
- # Make sure the colour stops are specified in the right order.
- if ($last_value && $last_value->value > $stop->value) {
- throw new SassScriptFunctionException('Colour stops must be specified in increasing order', array(), SassScriptParser::$context->node);
- }
-
- $last_value = $stop;
- $colourStops[] = "colour-stop({$stop->toString()}, {$pos->colour->toString()})";
- }
-
- return new SassString(join(', ', $colourStops));
- }
-
- # returns the end position of the gradient from the colour stop
- public static function grad_end_position($colourList, $radial = null) {
- SassLiteral::assertType($colourList, 'CompassList');
- if (is_null($radial)) {
- $radial = new SassBoolean(false);
- }
- else {
- SassLiteral::assertType($radial, 'SassBoolean');
- }
- return self::grad_position($colourList, new SassNumber(sizeof($colourList->values)), new SassNumber(100), $radial);
- }
-
- public static function grad_position($colourList, $index, $default, $radial = null) {
- SassLiteral::assertType($colourList, 'CompassList');
- if (is_null($radial)) {
- $radial = new SassBoolean(false);
- }
- else {
- SassLiteral::assertType($radial, 'SassBoolean');
- }
- $stop = $colourList->values[$index->value - 1]->stop;
- if ($stop && $radial->value) {
- $orig_stop = $stop;
- if ($stop->isUnitless()) {
- if ($stop->value <= 1) {
- # A unitless number is assumed to be a percentage when it's between 0 and 1
- $stop = $stop->op_times(new SassNumber('100%'));
- }
- else {
- # Otherwise, a unitless number is assumed to be in pixels
- $stop = $stop->op_times(new SassNumber('1px'));
- }
- }
-
- if ($stop->numeratorUnits === '%' && isset($colourList->values[sizeof($colourList->values)-1]->stop) && $colourList->values[sizeof($colourList->values)-1]->stop->numeratorUnits === 'px')
- $stop = $stop->op_times($colourList->values[sizeof($colourList->values)-1]->stop)->op_div(new SassNumber('100%'));
- //Compass::Logger.new.record(:warning, "Webkit only supports pixels for the start and end stops for radial gradients. Got: #{orig_stop}") if stop.numerator_units != ["px"];
- return $stop->op_div(new SassNumber('1'.$stop->units));
- }
- elseif ($stop)
- return $stop;
- else
- return $default;
- }
-
- # takes the given position and returns a point in percentages
- public static function grad_point($position) {
- $position = $position->value;
- if (strpos($position, ' ') !== false) {
- if (preg_match('/(top|bottom|center) (left|right|center)/', $position, $matches))
- $position = "{$matches[2]} {$matches[1]}";
- }
- else {
- switch ($position) {
- case 'top':
- case 'bottom':
- $position = "left $position";
- break;
- case 'left':
- case 'right':
- $position .= ' top';
- break;
- }
- }
-
- return new SassString(preg_replace(
- array('/top/', '/bottom/', '/left/', '/right/', '/center/'),
- array('0%', '100%', '0%', '100%', '50%'), $position
- ));
- }
-
- public static function color_stops() {
- return self::colour_stops(func_get_args());
- }
-
- public static function colour_stops() {
- $args = func_get_args();
- $list = array();
-
- foreach ($args as $arg) {
- if ($arg instanceof SassColour) {
- $list[] = new CompassColourStop($arg);
- }
- elseif ($arg instanceof SassString) {
- # We get a string as the result of concatenation
- # So we have to reparse the expression
- $colour = $stop = null;
- if (empty($parser))
- $parser = new SassScriptParser();
- $expr = $parser->parse($arg->value, SassScriptParser::$context);
-
- $x = array_pop($expr);
-
- if ($x instanceof SassColour)
- $colour = $x;
- elseif ($x instanceof SassScriptOperation) {
- if ($x->operator != 'concat')
- # This should never happen.
- throw new SassScriptFunctionException("Couldn't parse a colour stop from: {value}", array('{value}'=>$arg->value), SassScriptParser::$context->node);
- $colour = $expr[0];
- $stop = $expr[1];
- }
- else
- throw new SassScriptFunctionException("Couldn't parse a colour stop from: {value}", array('{value}'=>$arg->value), SassScriptParser::$context->node);
- $list[] = new CompassColourStop($colour, $stop);
- }
- else
- throw new SassScriptFunctionException('Not a valid color stop: {arg}', array('{arg}'=>$arg->value), SassScriptParser::$context->node);
- }
- return new CompassList($list);
- }
-
- private static function normalize_stops($colourList) {
- $positions = $colourList->values;
- $s = sizeof($positions);
-
- # fill in the start and end positions, if unspecified
- if (empty($positions[0]->stop))
- $positions[0]->stop = new SassNumber(0);
- if (empty($positions[$s-1]->stop))
- $positions[$s-1]->stop = new SassNumber('100%');
-
- # fill in empty values
- for ($i = 0; $i<$s; $i++) {
- if (is_null($positions[$i]->stop)) {
- $num = 2;
- for ($j = $i+1; $j<$s; $j++) {
- if (isset($positions[$j]->stop)) {
- $positions[$i]->stop = $positions[$i-1]->stop->op_plus($positions[$j]->stop->op_minus($positions[$i-1]->stop))->op_div(new SassNumber($num));
- break;
- }
- else
- $num += 1;
- }
- }
- }
- # normalize unitless numbers
- foreach ($positions as &$pos) {
- if ($pos->stop->isUnitless()) {
- $pos->stop = ($pos->stop->value <= 1 ?
- $pos->stop->op_times(new SassNumber('100%')) :
- $pos->stop->op_times(new SassNumber('1px'))
- );
- }
- }
- if ($positions[$s-1]->stop->op_eq(new SassNumber('0px'))->toBoolean() ||
- $positions[$s-1]->stop->op_eq(new SassNumber('0%'))->toBoolean())
- throw new SassScriptFunctionException('Colour stops must be specified in increasing order', array(), SassScriptParser::$context->node);
- return null;
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/functions/constants.php b/lib/sass/sass/extensions/compass/functions/constants.php
deleted file mode 100644
index a263e23693..0000000000
--- a/lib/sass/sass/extensions/compass/functions/constants.php
+++ /dev/null
@@ -1,44 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-
-/**
- * Compass extension SassScript constants functions class.
- * A collection of functions for use in SassSCript.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class SassExtentionsCompassFunctionsConstants {
- public static function opposite_position($pos) {
- $opposites = array();
- foreach (explode(' ', $pos->toString()) as $position) {
- switch (trim($position)) {
- case 'top':
- $opposites[] = 'bottom';
- break;
- case 'right':
- $opposites[] = 'left';
- break;
- case 'bottom':
- $opposites[] = 'top';
- break;
- case 'left':
- $opposites[] = 'right';
- break;
- case 'center':
- $opposites[] = 'center';
- break;
- default:
- throw new Exception('Cannot determine the opposite of '.trim($position));
- }
- }
- return new SassString(join(' ', $opposites));
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/functions/fontFiles.php b/lib/sass/sass/extensions/compass/functions/fontFiles.php
deleted file mode 100644
index 4b1c8c1025..0000000000
--- a/lib/sass/sass/extensions/compass/functions/fontFiles.php
+++ /dev/null
@@ -1,30 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-
-/**
- * Compass extension SassScript font files functions class.
- * A collection of functions for use in SassSCript.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class SassExtentionsCompassFunctionsFontFiles {
- public function font_files() {
- if (func_num_args() % 2)
- throw new SassScriptFunctionException('An even number of arguments must be passed to font_files()', array(), SassScriptParser::$context->node);
-
- $args = func_get_args();
- $files = array();
- while ($args) {
- $files[] = '#{font_url('.array_shift($args)."} format('".array_shift($args)."')";
- }
- return new SassString(join(", ", $files));
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/functions/imageSize.php b/lib/sass/sass/extensions/compass/functions/imageSize.php
deleted file mode 100644
index d2d58d2ea3..0000000000
--- a/lib/sass/sass/extensions/compass/functions/imageSize.php
+++ /dev/null
@@ -1,39 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-
-/**
- * Compass extension SassScript image size functions class.
- * A collection of functions for use in SassSCript.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class SassExtentionsCompassFunctionsImageSize {
- # Returns the $width of the image relative to the images directory
- public function image_width($image_file) {
- $image_size = getimagesize(self::real_path($image_file));
- return new SassNumber($image_size[0].'px');
- }
-
- # Returns the height of the image relative to the images directory
- public function image_height($image_file) {
- $image_size = getimagesize(self::real_path($image_file));
- return new SassNumber($image_size[1].'px');
- }
-
- private function real_path($image_file) {
- $path = $image_file->value;
- # Compute the real path to the image on the file stystem if the images_dir is set.
- if (SassExtentionsCompassConfig::config('images_path'))
- return SassExtentionsCompassConfig::config('images_path').DIRECTORY_SEPARATOR.$path;
- else
- return SassExtentionsCompassConfig::config('project_path').DIRECTORY_SEPARATOR.$path;
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/functions/inlineData.php b/lib/sass/sass/extensions/compass/functions/inlineData.php
deleted file mode 100644
index 9fb8347189..0000000000
--- a/lib/sass/sass/extensions/compass/functions/inlineData.php
+++ /dev/null
@@ -1,84 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-
-/**
- * Compass extension SassScript inline data functions class.
- * A collection of functions for use in SassSCript.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class SassExtentionsCompassFunctionsInlineData {
- public function inline_image($path, $mime_type = null) {
- $path = $path->value;
- $real_path = SassExtentionsCompassConfig::config('images_path').DIRECTORY_SEPARATOR.$path;
- $url = 'url(data:'.self::compute_mime_type($path, $mime_type).';base64,'.self::data($real_path).')';
- return new SassString($url);
- }
-
- public function inline_font_files() {
- if (func_num_args() % 2)
- throw new SassScriptFunctionException('An even number of arguments must be passed to inline_font_files()', array(), SassScriptParser::$context->node);
-
- $args = func_get_args();
- $files = array();
- while ($args) {
- $path = array_shift($args);
- $real_path = SassExtentionsCompassConfig::config('fonts_path').DIRECTORY_SEPARATOR.$path->value;
- $fp = fopen($real_path, 'rb');
- $url = 'url(data:'.self::compute_mime_type($path).';base64,'.self::data($real_path).')';
- $files[] = "$url format('".array_shift($args)."')";
- }
- return new SassString(join(", ", $files));
- }
-
- private function compute_mime_type($path, $mime_type = null) {
- if ($mime_type) return $mime_type;
-
- switch (true) {
- case preg_match('/\.png$/i', $path):
- return 'image/png';
- break;
- case preg_match('/\.jpe?g$/i', $path):
- return 'image/jpeg';
- break;
- case preg_match('/\.gif$/i', $path):
- return 'image/gif';
- break;
- case preg_match('/\.otf$/i', $path):
- return 'font/opentype';
- break;
- case preg_match('/\.ttf$/i', $path):
- return 'font/truetype';
- break;
- case preg_match(' /\.woff$/i', $path):
- return 'font/woff';
- break;
- case preg_match(' /\.off$/i', $path):
- return 'font/openfont';
- break;
- case preg_match('/\.([a-zA-Z]+)$/i', $path, $matches):
- return 'image/'.strtolower($matches[1]);
- break;
- default:
- throw new SassScriptFunctionException('Unable to determine mime type for {what}, please specify one explicitly', array('{what}'=>$path), SassScriptParser::$context->node);
- break;
- }
- }
-
- private function data($real_path) {
- if (file_exists($real_path)) {
- $fp = fopen($real_path, 'rb');
- return base64_encode(fread($fp, filesize($real_path)));
- }
- else
- throw new SassScriptFunctionException('Unable to find {what}: {filename}', array('{what}'=>'file', '{filename}'=>$real_path), SassScriptParser::$context->node);
- }
-}
diff --git a/lib/sass/sass/extensions/compass/functions/lists.php b/lib/sass/sass/extensions/compass/functions/lists.php
deleted file mode 100644
index a95cf24143..0000000000
--- a/lib/sass/sass/extensions/compass/functions/lists.php
+++ /dev/null
@@ -1,47 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-
-/**
- * Compass extension SassScript lists functions class.
- * A collection of functions for use in SassSCript.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class SassExtentionsCompassFunctionsLists {
- const SPACE_SEPARATOR = '/\s+/';
-
- # Return the first value from a space separated list.
- public static function first_value_of($list) {
- if ($list instanceof SassString) {
- $items = preg_split(self::SPACE_SEPARATOR, $list->value);
- return new SassString($items[0]);
- }
- else return $list;
- }
-
- # Return the nth value from a space separated list.
- public static function nth_value_of($list, $n) {
- if ($list instanceof SassString) {
- $items = preg_split(self::SPACE_SEPARATOR, $list->value);
- return new SassString($items[$n->toInt()-1]);
- }
- else return $list;
- }
-
- # Return the last value from a space separated list.
- public static function last_value_of($list) {
- if ($list instanceof SassString) {
- $items = array_reverse(preg_split(self::SPACE_SEPARATOR, $list->value));
- return new SassString($items[0]);
- }
- else return $list;
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/functions/selectors.php b/lib/sass/sass/extensions/compass/functions/selectors.php
deleted file mode 100644
index 63974eeca2..0000000000
--- a/lib/sass/sass/extensions/compass/functions/selectors.php
+++ /dev/null
@@ -1,128 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-
-/**
- * Compass extension SassScript selectors functions class.
- * A collection of functions for use in SassSCript.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class SassExtentionsCompassFunctionsSelectors {
- const COMMA_SEPARATOR = '/\s*,\s*/';
-
- private static $defaultDisplay = array(
- 'block' => array('address', 'blockquote', 'center', 'dir', 'div', 'dd',
- 'dl', 'dt', 'fieldset', 'form', 'frameset h1', 'h2', 'h3', 'h4', 'h5',
- 'h6', 'hr', 'isindex', 'menu', 'noframes', 'noscript', 'ol', 'p', 'pre',
- 'ul'),
- 'inline' => array('a', 'abbr', 'acronym', 'b', 'basefont', 'bdo', 'big',
- 'br', 'cite', 'code', 'dfn', 'em', 'font', 'i', 'img', 'input', 'kbd',
- 'label', 'q', 's', 'samp', 'select', 'small', 'span', 'strike', 'strong',
- 'sub', 'sup', 'textarea', 'tt', 'u', 'var'),
- 'table' => array('table'),
- 'list-item' => array('li'),
- 'table-row-group' => array('tbody'),
- 'table-header-group' => array('thead'),
- 'table-footer-group' => array('tfoot'),
- 'table-row' => array('tr'),
- 'table-cell' => array('th', 'td')
- );
-
- # Permute multiple selectors each of which may be comma delimited, the end result is
- # a new selector that is the equivalent of nesting each under the previous selector.
- # To illustrate, the following mixins are equivalent:
- # =mixin-a($selector1, $selector2, $selector3)
- # #{$selector1}
- # #{$selector2}
- # #{$selector3}
- # width: 2px
- # =mixin-b($selector1, $selector2, $selector3)
- # #{nest($selector, $selector2, $selector3)}
- # width: 2px
- public static function nest() {
- if (func_num_args() < 2)
- throw new SassScriptFunctionException('nest() requires two or more arguments', array(), SassScriptParser::$context->node);
-
- $args = func_get_args();
- $arg = array_shift($args);
- $ancestors = preg_split(self::COMMA_SEPARATOR, $arg->value);
-
- foreach ($args as $arg) {
- $nested = array();
- foreach (preg_split(self::COMMA_SEPARATOR, $arg->value) as $descenant) {
- foreach ($ancestors as $ancestor) {
- $nested[] = "$ancestor $descenant";
- }
- }
- $ancestors = $nested;
- }
- sort($nested);
- return new SassString(join(', ', $nested));
- }
-
- # Permute two selectors, the first may be comma delimited.
- # The end result is a new selector that is the equivalent of nesting the second
- # selector under the first one in a sass file and preceding it with an &.
- # To illustrate, the following mixins are equivalent:
- # =mixin-a($selector, $to_append)
- # #{$selector}
- # {$to_append}
- # width: 2px
- # =mixin-b($selector, $to_append)
- # #{append_selector($selector, $to_append)}
- # width: 2px
- public static function append_selector($selector, $to_append) {
- $appended = array();
- foreach (preg_split(self::COMMA_SEPARATOR, $selector->value) as $ancestor) {
- foreach (preg_split(self::COMMA_SEPARATOR, $to_append->value) as $descendant) {
- $appended[] = $ancestor.$descendant;
- }
- }
- return new SassString(join(', ', $appended));
- }
-
- # Return the header selectors for the levels indicated
- # Defaults to all headers h1 through h6
- # For example:
- # headers(all) => h1, h2, h3, h4, h5, h6
- # headers(4) => h1, h2, h3, h4
- # headers(2,4) => h2, h3, h4
- public static function headers($from = null, $to = null) {
- if (!$from || ($from instanceof SassString && $from->value === "all")) {
- $from = new SassNumber(1);
- $to = new SassNumber(6);
- }
- elseif ($from && !$to) {
- $to = $from;
- $from = new SassNumber(1);
- }
-
- return new SassString('h' . join(', h', range($from->value, $to->value)));
- }
-
- public static function headings($from = null, $to = null) {
- return self::headers($from, $to);
- }
-
- # Return an enumerated set of comma separated selectors.
- # For example
- # enumerate('foo', 1, 4) => foo-1, foo-2, foo-3, foo-4
- public static function enumerate($prefix, $from, $to, $separator = null) {
- $_prefix = $prefix->value . (!$separator ? '-' : $separator->value);
- return new SassString($_prefix . join(', '.$_prefix, range($from->value, $to->value)));
- }
-
- # returns a comma delimited string for all the
- # elements according to their default css3 display value.
- public static function elements_of_type($display) {
- return new SassString(join(', ', self::$defaultDisplay[$display->value]));
- }
-}
diff --git a/lib/sass/sass/extensions/compass/functions/urls.php b/lib/sass/sass/extensions/compass/functions/urls.php
deleted file mode 100644
index 4102790d54..0000000000
--- a/lib/sass/sass/extensions/compass/functions/urls.php
+++ /dev/null
@@ -1,143 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-
-/**
- * Compass extension SassScript urls functions class.
- * A collection of functions for use in SassSCript.
- * @package PHamlP
- * @subpackage Sass.extensions.compass.functions
- */
-class SassExtentionsCompassFunctionsUrls {
- public function stylesheet_url($path, $only_path = null) {
- $path = $path->value; # get to the string value of the literal.
-
- # Compute the $path to the stylesheet, either root relative or stylesheet relative
- # or nil if the http_images_path is not set in the configuration.
- if (SassExtentionsCompassConfig::config('relative_assets'))
- $http_css_path = self::compute_relative_path(SassExtentionsCompassConfig::config('css_path'));
- elseif (SassExtentionsCompassConfig::config('http_css_path'))
- $http_css_path = SassExtentionsCompassConfig::config('http_css_path');
- else
- $http_css_path = SassExtentionsCompassConfig::config('css_dir');
-
- return new SassString(self::clean("$http_css_path/$path", $only_path));
- }
-
- public function font_url($path, $only_path = null) {
- $path = $path->value; # get to the string value of the literal.
-
- # Short circuit if they have provided an absolute url.
- if (self::is_absolute_path($path)) {
- return new SassString("url('$path')");
- }
-
- # Compute the $path to the font file, either root relative or stylesheet relative
- # or nil if the http_fonts_path cannot be determined from the configuration.
- if (SassExtentionsCompassConfig::config('relative_assets'))
- $http_fonts_path = self::compute_relative_path(SassExtentionsCompassConfig::config('fonts_path'));
- else
- $http_fonts_path = SassExtentionsCompassConfig::config('http_fonts_path');
-
- return new SassString(self::clean("$http_fonts_path/$path", $only_path));
- }
-
- public function image_url($path, $only_path = null) {
- $path = $path->value; # get to the string value of the literal.
-
- if (preg_match('%^'.preg_quote(SassExtentionsCompassConfig::config('http_images_path'), '%').'/(.*)%',$path, $matches))
- # Treat root relative urls (without a protocol) like normal if they start with
- # the images $path.
- $path = $matches[1];
- elseif (self::is_absolute_path($path))
- # Short curcuit if they have provided an absolute url.
- return new SassString("url('$path')");
-
- # Compute the $path to the image, either root relative or stylesheet relative
- # or nil if the http_images_path is not set in the configuration.
- if (SassExtentionsCompassConfig::config('relative_assets'))
- $http_images_path = self::compute_relative_path(SassExtentionsCompassConfig::config('images_path'));
- elseif (SassExtentionsCompassConfig::config('http_images_path'))
- $http_images_path = SassExtentionsCompassConfig::config('http_images_path');
- else
- $http_images_path = SassExtentionsCompassConfig::config('images_dir');
-
- # Compute the real $path to the image on the file stystem if the images_dir is set.
- if (SassExtentionsCompassConfig::config('images_dir'))
- $real_path = SassExtentionsCompassConfig::config('project_path').
- DIRECTORY_SEPARATOR.SassExtentionsCompassConfig::config('images_dir').
- DIRECTORY_SEPARATOR.$path;
-
- # prepend the $path to the image if there's one
- if ($http_images_path) {
- $http_images_path .= (substr($http_images_path, -1) === '/' ? '' : '/');
- $path = $http_images_path.$path;
- }
-
-/* # Compute the asset host unless in relative mode.
- asset_host = if !(self::relative()) && Compass.configuration.asset_host
- Compass.configuration.asset_host.call($path)
- }
-
- # Compute and append the cache buster if there is one.
- if buster = compute_cache_buster($path, real_path)
- $path += "?#{buster}"
- }
-
- # prepend the asset host if there is one.
- $path = "#{asset_host}#{'/' unless $path[0..0] == "/"}#{$path}" if asset_host*/
-
- return new SassString(self::clean($path, $only_path));
- }
-
- # takes off any leading "./".
- # if $only_path emits a $path, else emits a url
- private function clean($url, $only_path) {
- if (!$only_path instanceof SassBoolean) {
- $only_path = new SassBoolean('false');
- }
-
- $url = (substr($url, 0, 2) === './' ? substr($url, 2) : $url);
- return ($only_path->toBoolean() ? $url : "url('$url')");
- }
-
- private function is_absolute_path($path) {
- return ($path[0] === '/' || substr($path, 0, 4) === 'http');
- }
-
- // returns the path relative to the target css file
- private function compute_relative_path($path) {
- return $path;
-/* if (target_css_file = options[:css_filename]) {
- Pathname.new($path).relative_path_from(Pathname.new(File.dirname(target_css_file))).to_s
- }*/
- }
-
-/* private function compute_cache_buster($path, real_path) {
- if Compass.configuration.asset_cache_buster {
- args = [$path]
- if Compass.configuration.asset_cache_buster.arity > 1 {
- args << (File.new(real_path) if real_path)
- }
- Compass.configuration.asset_cache_buster.call(*args)
- elseif real_path {
- default_cache_buster($path, real_path)
- }
- }
-
- private function default_cache_buster($path, real_path) {
- if File.readable?(real_path) {
- File.mtime(real_path).to_i.to_s
- }
- else {
- $stderr.puts "WARNING: '#{File.basename($path)}' was not found (or cannot be read) in #{File.dirname(real_path)}"
- }
- } */
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/stylesheets/_compass.scss b/lib/sass/sass/extensions/compass/stylesheets/_compass.scss
deleted file mode 100644
index c3eeb8acf9..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/_compass.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "compass/utilities";
-@import "compass/css3";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/_css3.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/_css3.scss
deleted file mode 100644
index c87e3d455b..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/_css3.scss
+++ /dev/null
@@ -1,15 +0,0 @@
-@import "css3/border-radius";
-@import "css3/inline-block";
-@import "css3/opacity";
-@import "css3/box-shadow";
-@import "css3/text-shadow";
-@import "css3/columns";
-@import "css3/box-sizing";
-@import "css3/box";
-@import "css3/gradient";
-@import "css3/background-clip";
-@import "css3/background-origin";
-@import "css3/background-size";
-@import "css3/font-face";
-@import "css3/transform";
-@import "css3/transition";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/_layout.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/_layout.scss
deleted file mode 100644
index 7f0fda1d89..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/_layout.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "layout/sticky-footer";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/_reset.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/_reset.scss
deleted file mode 100644
index e181dd780c..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/_reset.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "reset/utilities";
-
-@include global-reset;
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/_utilities.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/_utilities.scss
deleted file mode 100644
index fcb735ca13..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/_utilities.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "utilities/general";
-@import "utilities/links";
-@import "utilities/lists";
-@import "utilities/sprites";
-@import "utilities/tables";
-@import "utilities/text";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-clip.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-clip.scss
deleted file mode 100644
index 2d35fdb4fe..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-clip.scss
+++ /dev/null
@@ -1,43 +0,0 @@
-@import "shared";
-
-// The default value is `padding-box` -- the box model used by modern browsers.
-//
-// If you wish to do so, you can override the default constant with `border-box`
-//
-// To override to the default border-box model, use this code:
-// $default-background-clip = border-box
-
-$default-background-clip: padding-box !default;
-
-// Clip the background (image and color) at the edge of the padding or border.
-//
-// Legal Values:
-//
-// * padding-box
-// * border-box
-// * text
-
-@mixin background-clip($clip: $default-background-clip) {
- // webkit and mozilla use the deprecated short [border | padding]
- $clip: unquote($clip);
- $deprecated: $clip;
- @if $clip == padding-box { $deprecated: padding; }
- @if $clip == border-box { $deprecated: border; }
- // Support for webkit and mozilla's use of the deprecated short form
- @include experimental(background-clip, $deprecated,
- -moz,
- -webkit,
- not -o,
- not -ms,
- not -khtml,
- not official
- );
- @include experimental(background-clip, $clip,
- not -moz,
- not -webkit,
- -o,
- -ms,
- -khtml,
- official
- );
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-origin.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-origin.scss
deleted file mode 100644
index bc8eaa8aa8..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-origin.scss
+++ /dev/null
@@ -1,42 +0,0 @@
-// Override `$default-background-origin` to change the default.
-
-@import "shared";
-
-$default-background-origin: content-box !default;
-
-// Position the background off the edge of the padding, border or content
-//
-// * Possible values:
-// * `padding-box`
-// * `border-box`
-// * `content-box`
-// * browser defaults to `padding-box`
-// * mixin defaults to `content-box`
-
-
-@mixin background-origin($origin: $default-background-origin) {
- $origin: unquote($origin);
- // webkit and mozilla use the deprecated short [border | padding | content]
- $deprecated: $origin;
- @if $origin == padding-box { $deprecated: padding; }
- @if $origin == border-box { $deprecated: border; }
- @if $origin == content-box { $deprecated: content; }
-
- // Support for webkit and mozilla's use of the deprecated short form
- @include experimental(background-origin, $deprecated,
- -moz,
- -webkit,
- not -o,
- not -ms,
- not -khtml,
- not official
- );
- @include experimental(background-origin, $origin,
- not -moz,
- not -webkit,
- -o,
- -ms,
- -khtml,
- official
- );
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-size.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-size.scss
deleted file mode 100644
index 84c1109702..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_background-size.scss
+++ /dev/null
@@ -1,14 +0,0 @@
-@import "shared";
-
-// override to change the default
-$default-background-size: 100% auto !default;
-
-// Set the size of background images using px, width and height, or percentages.
-// Currently supported in: Opera, Gecko, Webkit.
-//
-// * percentages are relative to the background-origin (default = padding-box)
-// * mixin defaults to: `$default-background-size`
-@mixin background-size($size: $default-background-size) {
- $size: unquote($size);
- @include experimental(background-size, $size, -moz, -webkit, -o, not -ms, not -khtml);
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_border-radius.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_border-radius.scss
deleted file mode 100644
index 4870b1e9c5..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_border-radius.scss
+++ /dev/null
@@ -1,135 +0,0 @@
-@import "shared";
-
-$default-border-radius: 5px !default;
-
-// Round all corners by a specific amount, defaults to value of `$default-border-radius`.
-//
-// When two values are passed, the first is the horizontal radius
-// and the second is the vertical radius.
-//
-// Note: webkit does not support shorthand syntax for several corners at once.
-// So in the case where you pass several values only the first will be passed to webkit.
-//
-// Examples:
-//
-// .simple { @include border-radius(4px, 4px); }
-// .compound { @include border-radius(2px 5px, 3px 6px); }
-// .crazy { @include border-radius(1px 3px 5px 7px, 2px 4px 6px 8px)}
-//
-// Which generates:
-// .simple {
-// -webkit-border-radius: 4px 4px;
-// -moz-border-radius: 4px / 4px;
-// -o-border-radius: 4px / 4px;
-// -ms-border-radius: 4px / 4px;
-// -khtml-border-radius: 4px / 4px;
-// border-radius: 4px / 4px; }
-//
-// .compound {
-// -webkit-border-radius: 2px 3px;
-// -moz-border-radius: 2px 5px / 3px 6px;
-// -o-border-radius: 2px 5px / 3px 6px;
-// -ms-border-radius: 2px 5px / 3px 6px;
-// -khtml-border-radius: 2px 5px / 3px 6px;
-// border-radius: 2px 5px / 3px 6px; }
-//
-// .crazy {
-// -webkit-border-radius: 1px 2px;
-// -moz-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
-// -o-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
-// -ms-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
-// -khtml-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
-// border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px; }
-
-@mixin border-radius($radius: $default-border-radius, $vertical-radius: false) {
-
- @if $vertical-radius {
- // Webkit doesn't understand the official shorthand syntax for specifying
- // a vertical radius unless so in case there's several we only take the first.
- @include experimental(border-radius, first-value-of($radius) first-value-of($vertical-radius),
- not -moz,
- -webkit,
- not -o,
- not -ms,
- not -khtml,
- not official
- );
- @include experimental("border-radius", $radius unquote("/") $vertical-radius,
- -moz,
- not -webkit,
- -o,
- -ms,
- -khtml,
- official
- );
- }
- @else {
- @include experimental(border-radius, $radius);
- }
-}
-
-// Round radius at position by amount.
-//
-// * legal values for `$vert`: `top`, `bottom`
-// * legal values for `$horz`: `left`, `right`
-
-@mixin border-corner-radius($vert, $horz, $radius: $default-border-radius) {
- // Support for mozilla's syntax for specifying a corner
- @include experimental("border-radius-#{$vert}#{$horz}", $radius,
- -moz,
- not -webkit,
- not -o,
- not -ms,
- not -khtml,
- not official
- );
- @include experimental("border-#{$vert}-#{$horz}-radius", $radius,
- not -moz,
- -webkit,
- -o,
- -ms,
- -khtml,
- official
- );
-
-}
-
-// Round top-left corner only
-
-@mixin border-top-left-radius($radius: $default-border-radius) {
- @include border-corner-radius(top, left, $radius); }
-
-// Round top-right corner only
-
-@mixin border-top-right-radius($radius: $default-border-radius) {
- @include border-corner-radius(top, right, $radius); }
-
-// Round bottom-left corner only
-
-@mixin border-bottom-left-radius($radius: $default-border-radius) {
- @include border-corner-radius(bottom, left, $radius); }
-
-// Round bottom-right corner only
-
-@mixin border-bottom-right-radius($radius: $default-border-radius) {
- @include border-corner-radius(bottom, right, $radius); }
-
-// Round both top corners by amount
-@mixin border-top-radius($radius: $default-border-radius) {
- @include border-top-left-radius($radius);
- @include border-top-right-radius($radius); }
-
-// Round both right corners by amount
-@mixin border-right-radius($radius: $default-border-radius) {
- @include border-top-right-radius($radius);
- @include border-bottom-right-radius($radius); }
-
-// Round both bottom corners by amount
-@mixin border-bottom-radius($radius: $default-border-radius) {
- @include border-bottom-left-radius($radius);
- @include border-bottom-right-radius($radius); }
-
-// Round both left corners by amount
-@mixin border-left-radius($radius: $default-border-radius) {
- @include border-top-left-radius($radius);
- @include border-bottom-left-radius($radius); }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box-shadow.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box-shadow.scss
deleted file mode 100644
index 76b78b9134..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box-shadow.scss
+++ /dev/null
@@ -1,50 +0,0 @@
-// @doc off
-// These defaults make the arguments optional for this mixin
-// If you like, set different defaults before importing.
-// @doc on
-
-@import "shared";
-
-// The default color for box shadows
-$default-box-shadow-color: #333333 !default;
-
-// The default horizontal offset. Positive is to the right.
-$default-box-shadow-h-offset: 1px !default;
-
-// The default vertical offset. Positive is down.
-$default-box-shadow-v-offset: 1px !default;
-
-// The default blur length.
-$default-box-shadow-blur: 5px !default;
-
-// The default spread length.
-$default-box-shadow-spread : 0 !default;
-
-// The default shadow instet: inset or false (for standard shadow).
-$default-box-shadow-inset : false !default;
-
-// Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3.
-// Arguments are color, horizontal offset, vertical offset, blur length, spread length, and inset.
-
-@mixin box-shadow(
- $color : $default-box-shadow-color,
- $hoff : $default-box-shadow-h-offset,
- $voff : $default-box-shadow-v-offset,
- $blur : $default-box-shadow-blur,
- $spread : $default-box-shadow-spread,
- $inset : $default-box-shadow-inset
-) {
- $full : $color $hoff $voff $blur $spread;
- @if $inset {
- $full: $full $inset;
- }
- @if $color == none {
- @include experimental(box-shadow, none,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
- } @else {
- @include experimental(box-shadow, $full,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
- }
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box-sizing.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box-sizing.scss
deleted file mode 100644
index 5f480ac26d..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box-sizing.scss
+++ /dev/null
@@ -1,13 +0,0 @@
-@import "shared";
-
-// Change the box model for Mozilla, Webkit, IE8 and the future
-//
-// @param $bs
-// [ content-box | border-box ]
-
-@mixin box-sizing($bs) {
- $bs: unquote($bs);
- @include experimental(box-sizing, $bs,
- -moz, -webkit, not -o, -ms, not -khtml, official
- );
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box.scss
deleted file mode 100644
index 09e14a0173..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_box.scss
+++ /dev/null
@@ -1,112 +0,0 @@
-@import "shared";
-
-// display:box; must be used for any of the other flexbox mixins to work properly
-@mixin display-box {
- @include experimental-value(display, box,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// Default box orientation, assuming that the user wants something less block-like
-$default-box-orient: horizontal !default;
-
-// Box orientation [ horizontal | vertical | inline-axis | block-axis | inherit ]
-@mixin box-orient(
- $orientation: $default-box-orient
-) {
- $orientation : unquote($orientation);
- @include experimental(box-orient, $orientation,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// Default box-align
-$default-box-align: stretch !default;
-
-// Box align [ start | end | center | baseline | stretch ]
-@mixin box-align(
- $alignment: $default-box-align
-) {
- $alignment : unquote($alignment);
- @include experimental(box-align, $alignment,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// Default box flex
-$default-box-flex: 0 !default;
-
-// mixin which takes an int argument for box flex. Apply this to the children inside the box.
-//
-// For example: "div.display-box > div.child-box" would get the box flex mixin.
-@mixin box-flex(
- $flex: $default-box-flex
-) {
- @include experimental(box-flex, $flex,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
- display: block;
-}
-
-// Default flex group
-$default-box-flex-group: 1 !default;
-
-// mixin which takes an int argument for flexible grouping
-@mixin box-flex-group(
- $group: $default-box-flex-group
-) {
- @include experimental(box-flex-group, $group,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// default for ordinal group
-$default-box-ordinal-group: 1 !default;
-
-// mixin which takes an int argument for ordinal grouping and rearranging the order
-@mixin box-ordinal-group(
- $group: $default-ordinal-flex-group
-) {
- @include experimental(box-ordinal-group, $group,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// Box direction default value
-$default-box-direction: normal !default;
-
-// mixin for box-direction [ normal | reverse | inherit ]
-@mixin box-direction(
- $direction: $default-box-direction
-) {
- $direction: unquote($direction);
- @include experimental(box-direction, $direction,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// default for box lines
-$default-box-lines: single !default;
-
-// mixin for box lines [ single | multiple ]
-@mixin box-lines(
- $lines: $default-box-lines
-) {
- $lines: unquote($lines);
- @include experimental(box-lines, $lines,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
-
-// default for box pack
-$default-box-pack: start !default;
-
-// mixin for box pack [ start | end | center | justify ]
-@mixin box-pack(
- $pack: $default-box-pack
-) {
- $pack: unquote($pack);
- @include experimental(box-pack, $pack,
- -moz, -webkit, not -o, not -ms, not -khtml, official
- );
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_columns.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_columns.scss
deleted file mode 100644
index 520f57c06b..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_columns.scss
+++ /dev/null
@@ -1,55 +0,0 @@
-@import "shared";
-
-// Specify the number of columns
-@mixin column-count($n) {
- @include experimental(column-count, $n,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the gap between columns e.g. `20px`
-@mixin column-gap($u) {
- @include experimental(column-gap, $u,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the width of columns e.g. `100px`
-@mixin column-width($u) {
- @include experimental(column-width, $u,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the width of the rule between columns e.g. `1px`
-@mixin column-rule-width($w) {
- @include experimental(rule-width, $w,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the style of the rule between columns e.g. `dotted`.
-// This works like border-style.
-@mixin column-rule-style($s) {
- @include experimental(rule-style, unquote($s),
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Specify the style of the rule between columns e.g. `dotted`.
-// This works like border-color.
-
-@mixin column-rule-color($c) {
- @include experimental(rule-color, unquote($s),
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Mixin encompassing all column rule rules
-// For example:
-// +column-rule(1px, solid, #c00)
-@mixin column-rule($w, $s: solid, $c: black) {
- @include experimental(column-rule, $w $s $c,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_font-face.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_font-face.scss
deleted file mode 100644
index 7c9030b08b..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_font-face.scss
+++ /dev/null
@@ -1,33 +0,0 @@
-@import "shared";
-
-// Cross-browser support for @font-face. Supports IE, Gecko, Webkit, Opera.
-//
-// * $name is required, arbitrary, and what you will use in font stacks.
-// * $font-files is required using font-files('relative/location', 'format').
-// for best results use this order: woff, opentype/truetype, svg
-// * $eot is required by IE, and is a relative location of the eot file.
-
-@mixin font-face($name, $font-files, $eot: false, $postscript: false, $style: false) {
- @if $postscript or $style {
- @warn "The $postscript and $style variables have been deprecated in favor of the Paul Irish smiley bulletproof technique.";
- }
- @font-face {
- font-family: quote($name);
- @if $eot {
- src: font-url($eot); }
- src: local("☺"), $font-files;
- }
-}
-
-// EXAMPLE
-// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot")
-//
-// will generate:
-//
-// @font-face {
-// font-family: 'this name';
-// src: url('fonts/this.eot');
-// src: local("☺"),
-// url('fonts/this.otf') format('woff'),
-// url('fonts/this.woff') format('opentype');
-// }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_gradient.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_gradient.scss
deleted file mode 100644
index dccda3e1e1..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_gradient.scss
+++ /dev/null
@@ -1,96 +0,0 @@
-@import "shared";
-
-// This yields a linear gradient spanning from top to bottom
-//
-// +linear-gradient(color-stops(white, black))
-//
-// This yields a linear gradient spanning from bottom to top
-//
-// +linear-gradient(color-stops(white, black), bottom)
-//
-// This yields a linear gradient spanning from left to right
-//
-// +linear-gradient(color-stops(white, black), left)
-//
-// This yields a linear gradient starting at white passing
-// thru blue at 33% down and then to black
-//
-// +linear-gradient(color-stops(white, blue 33%, black))
-//
-// This yields a linear gradient starting at white passing
-// thru blue at 33% down and then to black at 67% until the end
-//
-// +linear-gradient(color-stops(white, blue 33%, black 67%))
-//
-// This yields a linear gradient on top of a background image
-//
-// +linear-gradient(color_stops(white,black), top, image-url('noise.png'))
-// Browsers Supported:
-//
-// - Chrome
-// - Safari
-// - Firefox 3.6
-
-@mixin linear-gradient($color-stops, $start: top, $image: false) {
- // Firefox's gradient api is nice.
- // Webkit's gradient api sucks -- hence these backflips:
- $background: unquote("");
- @if $image { $background : $image + unquote(", "); }
- $start: unquote($start);
- $end: opposite-position($start);
- @if $experimental-support-for-webkit {
- background-image: #{$background}-webkit-gradient(linear, grad-point($start), grad-point($end), grad-color-stops($color-stops));
- }
- @if $experimental-support-for-mozilla {
- background-image: #{$background}-moz-linear-gradient($start, $color-stops);
- }
- background-image: linear-gradient($start, $color-stops);
-}
-
-// Due to limitation's of webkit, the radial gradient mixin works best if you use
-// pixel-based color stops.
-//
-// Examples:
-//
-// // Defaults to a centered, 100px radius gradient
-// +radial-gradient(color-stops(#c00, #00c))
-// // 100px radius gradient in the top left corner
-// +radial-gradient(color-stops(#c00, #00c), top left)
-// // Three colors, ending at 50px and passing thru #fff at 25px
-// +radial-gradient(color-stops(#c00, #fff, #00c 50px))
-// // a background image on top of the gradient
-// // Requires an image with an alpha-layer.
-// +radial-gradient(color_stops(#c00, #fff), top left, circle, image-url("noise.png")))
-// Browsers Supported:
-//
-// - Chrome
-// - Safari
-// - Firefox 3.6
-
-@mixin radial-gradient($color-stops, $center-position: center center, $shape: ellipse, $image: false) {
- $center-position: unquote($center-position);
- $end-pos: grad-end-position($color-stops, true);
- $background: unquote("");
- @if $image { $background: $image + unquote(", "); }
- @if $experimental-support-for-webkit {
- background-image: #{$background}-webkit-gradient(radial, grad-point($center-position), 0, grad-point($center-position), $end-pos, grad-color-stops($color-stops));
- }
- @if $experimental-support-for-mozilla {
- background-image: #{$background}-moz-radial-gradient($center-position, $shape, $color-stops);
- }
- background-image: radial-gradient($center-position, $shape, $color-stops);
-}
-
-@mixin repeating-radial-gradient($color-stops, $center-position: center center, $shape: ellipse, $image: false) {
- $center-position: unquote($center-position);
- $end-pos: grad-end-position($color-stops, true);
- $background: unquote("");
- @if $image { $background: $image + unquote(", "); }
- //@if $experimental-support-for-webkit {
- //background-image: #{$background}-webkit-gradient(radial, grad-point($center-position), 0, grad-point($center-position), $end-pos, grad-color-stops($color-stops));
- //}
- @if $experimental-support-for-mozilla {
- background-image: #{$background}-moz-repeating-radial-gradient($center-position, $shape, $color-stops);
- }
- background-image: radial-gradient($center-position, $shape, $color-stops);
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_inline-block.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_inline-block.scss
deleted file mode 100644
index f50293ad68..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_inline-block.scss
+++ /dev/null
@@ -1,12 +0,0 @@
-@import "shared";
-
-// Provides a cross-browser method to implement `display: inline-block;`
-
-@mixin inline-block {
- display: -moz-inline-box;
- -moz-box-orient: vertical;
- display: inline-block;
- vertical-align: middle;
- *display: inline;
- *vertical-align: auto;
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_opacity.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_opacity.scss
deleted file mode 100644
index 38093c6a07..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_opacity.scss
+++ /dev/null
@@ -1,27 +0,0 @@
-@import "shared";
-
-// Provides cross-browser CSS opacity. Takes a number between 0 and 1 as the argument, e.g. 0.5 for 50% opacity.
-//
-// @param $opacity
-// A number between 0 and 1, where 0 is transparent and 1 is opaque.
-
-@mixin opacity($opacity) {
- opacity: $opacity;
- @if $experimental-support-for-microsoft {
- $value: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})");
- @include experimental(filter, $value,
- not -moz,
- not -webkit,
- not -o,
- -ms,
- not -khtml,
- official // even though filter is not an official css3 property, IE 6/7 expect it.
- );
- }
-}
-
-// Make an element completely transparent.
-@mixin transparent { @include opacity(0); }
-
-// Make an element completely opaque.
-@mixin opaque { @include opacity(1); }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_shared.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_shared.scss
deleted file mode 100644
index 87cbf43118..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_shared.scss
+++ /dev/null
@@ -1,47 +0,0 @@
-// Support for mozilla in experimental css3 properties.
-$experimental-support-for-mozilla : true !default;
-// Support for webkit in experimental css3 properties.
-$experimental-support-for-webkit : true !default;
-// Support for opera in experimental css3 properties.
-$experimental-support-for-opera : true !default;
-// Support for microsoft in experimental css3 properties.
-$experimental-support-for-microsoft : true !default;
-// Support for khtml in experimental css3 properties.
-$experimental-support-for-khtml : true !default;
-
-// This mixin provides basic support for CSS3 properties and
-// their corresponding experimental CSS2 properties when
-// the implementations are identical except for the property
-// prefix.
-@mixin experimental($property, $value,
- $moz : $experimental-support-for-mozilla,
- $webkit : $experimental-support-for-webkit,
- $o : $experimental-support-for-opera,
- $ms : $experimental-support-for-microsoft,
- $khtml : $experimental-support-for-khtml,
- $official : true
-) {
- @if $moz and $experimental-support-for-mozilla { -moz-#{$property} : $value; }
- @if $webkit and $experimental-support-for-webkit { -webkit-#{$property} : $value; }
- @if $o and $experimental-support-for-opera { -o-#{$property} : $value; }
- @if $ms and $experimental-support-for-microsoft { -ms-#{$property} : $value; }
- @if $khtml and $experimental-support-for-khtml { -khtml-#{$property} : $value; }
- @if $official { #{$property} : $value; }
-}
-
-// Same as experimental(), but for cases when the property is the same and the value is vendorized
-@mixin experimental-value($property, $value,
- $moz : $experimental-support-for-mozilla,
- $webkit : $experimental-support-for-webkit,
- $o : $experimental-support-for-opera,
- $ms : $experimental-support-for-microsoft,
- $khtml : $experimental-support-for-khtml,
- $official : true
-) {
- @if $moz and $experimental-support-for-mozilla { #{$property} : -moz-#{$value}; }
- @if $webkit and $experimental-support-for-webkit { #{$property} : -webkit-#{$value}; }
- @if $o and $experimental-support-for-opera { #{$property} : -o-#{$value}; }
- @if $ms and $experimental-support-for-microsoft { #{$property} : -ms-#{$value}; }
- @if $khtml and $experimental-support-for-khtml { #{$property} : -khtml-#{$value}; }
- @if $official { #{$property} : #{$value}; }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_text-shadow.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_text-shadow.scss
deleted file mode 100644
index 3097f9a456..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_text-shadow.scss
+++ /dev/null
@@ -1,25 +0,0 @@
-@import "shared";
-
-// These defaults make the arguments optional for this mixin
-// If you like, set different defaults in your project
-
-$default-text-shadow-color: #aaa !default;
-$default-text-shadow-h-offset: 1px !default;
-$default-text-shadow-v-offset: 1px !default;
-$default-text-shadow-blur: 1px !default;
-
-// Provides CSS text shadows.
-// Arguments are color, horizontal offset, vertical offset, and blur
-@mixin text-shadow(
- $color: $default-text-shadow-color,
- $hoff: $default-text-shadow-h-offset,
- $voff: $default-text-shadow-v-offset,
- $blur: $default-text-shadow-blur
-) {
- // XXX I'm surprised we don't need experimental support for this property.
- @if $color == none {
- text-shadow: none;
- } @else {
- text-shadow: $color $hoff $voff $blur;
- }
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_transform.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_transform.scss
deleted file mode 100644
index 9d566e45ee..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_transform.scss
+++ /dev/null
@@ -1,85 +0,0 @@
-@import "shared";
-
-// CSS Transform and Transform-Origin
-
-// Apply a transform sent as a complete string.
-
-@mixin apply-transform($transform) {
- @include experimental(transform, $transform,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Apply a transform-origin sent as a complete string.
-
-@mixin apply-origin($origin) {
- @include experimental(transform-origin, $origin,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// transform-origin requires x and y coordinates
-//
-// * only applies the coordinates if they are there so that it can be called by scale, rotate and skew safely
-
-@mixin transform-origin($originx: 50%, $originy: 50%) {
- @if $originx or $originy {
- @if $originy {
- @include apply-origin($originx or 50% $originy);
- } @else {
- @include apply-origin($originx);
- }
- }
-}
-
-// A full transform mixin with everything you could want
-//
-// * including origin adjustments if you want them
-// * scale, rotate and skew require units of degrees(deg)
-// * scale takes a multiplier, rotate and skew take degrees
-
-@mixin transform(
- $scale: 1,
- $rotate: 0deg,
- $transx: 0,
- $transy: 0,
- $skewx: 0deg,
- $skewy: 0deg,
- $originx: false,
- $originy: false
-) {
- $transform : scale($scale) rotate($rotate) translate($transx, $transy) skew($skewx, $skewy);
- @include apply-transform($transform);
- @include transform-origin($originx, $originy);
-}
-
-// Transform Partials
-//
-// These work well on their own, but they don't add to each other, they override.
-// Use them with extra origin args, or along side +transform-origin
-
-// Adjust only the scale, with optional origin coordinates
-
-@mixin scale($scale: 1.25, $originx: false, $originy: false) {
- @include apply-transform(scale($scale));
- @include transform-origin($originx, $originy);
-}
-
-// Adjust only the rotation, with optional origin coordinates
-
-@mixin rotate($rotate: 45deg, $originx: false, $originy: false) {
- @include apply-transform(rotate($rotate));
- @include transform-origin($originx, $originy);
-}
-
-// Adjust only the translation
-
-@mixin translate($transx: 0, $transy: 0) {
- @include apply-transform(translate($transx, $transy));
-}
-
-// Adjust only the skew, with optional origin coordinates
-@mixin skew($skewx: 0deg, $skewy: 0deg, $originx: false, $originy: false) {
- @include apply-transform(skew($skewx, $skewy));
- @include transform-origin($originx, $originy);
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_transition.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_transition.scss
deleted file mode 100644
index 60487bcc3f..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/css3/_transition.scss
+++ /dev/null
@@ -1,85 +0,0 @@
-@import "shared";
-
-// CSS Transitions
-// Currently only works in Webkit.
-//
-// * expected in CSS3, FireFox 3.6/7 and Opera Presto 2.3
-// * We'll be prepared.
-//
-// Including this submodule sets following defaults for the mixins:
-//
-// $default-transition-property : all
-// $default-transition-duration : 1s
-// $default-transition-function : false
-// $default-transition-delay : false
-//
-// Override them if you like. Timing-function and delay are set to false for browser defaults (ease, 0s).
-
-$default-transition-property: all !default;
-
-$default-transition-duration: 1s !default;
-
-$default-transition-function: false !default;
-
-$default-transition-delay: false !default;
-
-// One or more properties to transition
-//
-// * for multiple, use a comma-delimited list
-// * also accepts "all" or "none"
-
-@mixin transition-property($properties: $default-transition-property) {
- @include experimental(transition-property, unquote($properties),
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// One or more durations in seconds
-//
-// * for multiple, use a comma-delimited list
-// * these durations will affect the properties in the same list position
-
-@mixin transition-duration($duration: $default-transition-duration) {
- @if type-of($duration) == string { $duration: unquote($duration); }
- @include experimental(transition-duration, $duration,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// One or more timing functions
-//
-// * [ ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)]
-// * For multiple, use a comma-delimited list
-// * These functions will effect the properties in the same list position
-
-@mixin transition-timing-function($function: $default-transition-function) {
- @include experimental(transition-timing-function, unquote($function),
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// One or more transition-delays in seconds
-//
-// * for multiple, use a comma-delimited list
-// * these delays will effect the properties in the same list position
-
-@mixin transition-delay($delay: $default-transition-delay) {
- @if type-of($delay) == string { $delay: unquote($delay); }
- @include experimental(transition-delay, $delay,
- -moz, -webkit, -o, not -ms, not -khtml, official
- );
-}
-
-// Transition all-in-one shorthand
-
-@mixin transition(
- $properties: $default-transition-property,
- $duration: $default-transition-duration,
- $function: $default-transition-function,
- $delay: $default-transition-delay
-) {
- @include transition-property($properties);
- @include transition-duration($duration);
- @if $function { @include transition-timing-function($function); }
- @if $delay { @include transition-delay($delay); }
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/layout/_sticky-footer.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/layout/_sticky-footer.scss
deleted file mode 100644
index 055f641635..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/layout/_sticky-footer.scss
+++ /dev/null
@@ -1,23 +0,0 @@
-// Based on a [blog post by Ryan Fait](http://ryanfait.com/resources/footer-stick-to-bottom-of-page/).
-//
-// Must be mixed into the top level of your stylesheet.
-//
-// Footer element must be outside of root wrapper element.
-//
-// Footer must be a fixed height.
-
-@mixin sticky-footer($footer-height, $root-selector: unquote("#root"), $root-footer-selector: unquote("#root_footer"), $footer-selector: unquote("#footer")) {
- html, body {
- height: 100%; }
- #{$root-selector} {
- clear: both;
- min-height: 100%;
- height: auto !important;
- height: 100%;
- margin-bottom: -$footer-height;
- #{$root-footer-selector} {
- height: $footer-height; } }
- #{$footer-selector} {
- clear: both;
- position: relative;
- height: $footer-height; } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/reset/_utilities.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/reset/_utilities.scss
deleted file mode 100644
index d9ba6d9c58..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/reset/_utilities.scss
+++ /dev/null
@@ -1,133 +0,0 @@
-// Based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/)
-// Global reset rules.
-// For more specific resets, use the reset mixins provided below
-//
-// *Please Note*: tables still need `cellspacing="0"` in the markup.
-@mixin global-reset {
- html, body, div, span, applet, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, big, cite, code,
- del, dfn, em, font, img, ins, kbd, q, s, samp,
- small, strike, strong, sub, sup, tt, var,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td {
- @include reset-box-model;
- @include reset-font; }
- body {
- @include reset-body; }
- ol, ul {
- @include reset-list-style; }
- table {
- @include reset-table; }
- caption, th, td {
- @include reset-table-cell; }
- q, blockquote {
- @include reset-quotation; }
- a img {
- @include reset-image-anchor-border; } }
-
-// Reset all elements within some selector scope. To reset the selector itself,
-// mixin the appropriate reset mixin for that element type as well. This could be
-// useful if you want to style a part of your page in a dramatically different way.
-//
-// *Please Note*: tables still need `cellspacing="0"` in the markup.
-@mixin nested-reset {
- div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
- pre, a, abbr, acronym, address, code, del, dfn, em, img,
- dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
- @include reset-box-model;
- @include reset-font; }
- table {
- @include reset-table; }
- caption, th, td {
- @include reset-table-cell; }
- q, blockquote {
- @include reset-quotation; }
- a img {
- @include reset-image-anchor-border; } }
-
-// Reset the box model measurements.
-@mixin reset-box-model {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0; }
-
-// Reset the font and vertical alignment.
-@mixin reset-font {
- font: {
- weight: inherit;
- style: inherit;
- size: 100%;
- family: inherit; };
- vertical-align: baseline; }
-
-// Resets the outline when focus.
-// For accessibility you need to apply some styling in its place.
-@mixin reset-focus {
- outline: 0; }
-
-// Reset a body element.
-@mixin reset-body {
- line-height: 1;
- color: black;
- background: white; }
-
-// Reset the list style of an element.
-@mixin reset-list-style {
- list-style: none; }
-
-// Reset a table
-@mixin reset-table {
- border-collapse: separate;
- border-spacing: 0;
- vertical-align: middle; }
-
-// Reset a table cell (`th`, `td`)
-@mixin reset-table-cell {
- text-align: left;
- font-weight: normal;
- vertical-align: middle; }
-
-// Reset a quotation (`q`, `blockquote`)
-@mixin reset-quotation {
- quotes: "" "";
- &:before, &:after {
- content: ""; } }
-
-// Resets the border.
-@mixin reset-image-anchor-border {
- border: none; }
-
-// Unrecognized elements are displayed inline.
-// This reset provides a basic reset for html5 elements
-// so they are rendered correctly in browsers that don't recognize them.
-@mixin reset-html5 {
- article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
- display: block; } }
-
-// Resets the display of inline and block elements to their default display
-// according to their tag type. Elements that have a default display that varies across
-// versions of html or browser are not handled here, but this covers the 90% use case.
-// Usage Example:
-//
-// // Turn off the display for both of these classes
-// .unregistered-only, .registered-only
-// display: none
-// // Now turn only one of them back on depending on some other context.
-// body.registered
-// +reset-display(".registered-only")
-// body.unregistered
-// +reset-display(".unregistered-only")
-@mixin reset-display($selector: "", $important: false) {
- #{append-selector(elements-of-type("inline"), $selector)} {
- @if $important {
- display: inline !important; }
- @else {
- display: inline; } }
- #{append-selector(elements-of-type("block"), $selector)} {
- @if $important {
- display: block !important; }
- @else {
- display: block; } } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_general.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_general.scss
deleted file mode 100644
index 047e6368dc..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_general.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "general/reset";
-@import "general/clearfix";
-@import "general/float";
-@import "general/tag-cloud";
-@import "general/hacks";
-@import "general/min";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_links.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_links.scss
deleted file mode 100644
index 735000e019..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_links.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "links/hover-link";
-@import "links/link-colors";
-@import "links/unstyled-link";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_lists.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_lists.scss
deleted file mode 100644
index 3365f30a19..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_lists.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-@import "lists/horizontal-list";
-@import "lists/inline-list";
-@import "lists/inline-block-list";
-@import "lists/bullets";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_print.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_print.scss
deleted file mode 100644
index 4771e080a0..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_print.scss
+++ /dev/null
@@ -1,17 +0,0 @@
-// Classes that are useful for controlling what gets printed.
-// You must mix `+print-utilities` into your print stylesheet
-// and `+print-utilities(screen)` into your screen stylesheet.
-// Note: these aren't semantic.
-@mixin print-utilities($media: print) {
- @if $media == print {
- .noprint, .no-print { display: none; }
- #{elements-of-type(block)} {
- &.print-only { display: block; }
- }
- #{elements-of-type(inline)} {
- &.print-only { display: inline; }
- }
- } @else {
- .print-only { display: none; }
- }
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_sprites.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_sprites.scss
deleted file mode 100644
index 981afaaf33..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_sprites.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "sprites/sprite-img";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_tables.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_tables.scss
deleted file mode 100644
index 4af1d51b31..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_tables.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "tables/alternating-rows-and-columns";
-@import "tables/borders";
-@import "tables/scaffolding";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_text.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_text.scss
deleted file mode 100644
index 9cd3f0a17a..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/_text.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "text/ellipsis";
-@import "text/nowrap";
-@import "text/replacement";
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_clearfix.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_clearfix.scss
deleted file mode 100644
index 2c097cc1c8..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_clearfix.scss
+++ /dev/null
@@ -1,31 +0,0 @@
-// @doc off
-// Extends the bottom of the element to enclose any floats it contains.
-// @doc on
-
-@import "hacks";
-
-// This basic method is preferred for the usual case, when positioned
-// content will not show outside the bounds of the container.
-//
-// Recommendations include using this in conjunction with a width.
-// Credit: [quirksmode.org](http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html)
-@mixin clearfix {
- overflow: hidden;
- @include has-layout;
-}
-
-// This older method from Position Is Everything called
-// [Easy Clearing](http://www.positioniseverything.net/easyclearing.html)
-// has the advantage of allowing positioned elements to hang
-// outside the bounds of the container at the expense of more tricky CSS.
-@mixin pie-clearfix {
- &:after {
- content : "\0020";
- display : block;
- height : 0;
- clear : both;
- overflow : hidden;
- visibility : hidden;
- }
- @include has-layout;
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_float.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_float.scss
deleted file mode 100644
index c0e2ddbfc1..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_float.scss
+++ /dev/null
@@ -1,15 +0,0 @@
-// Implementation of float:left with fix for the
-// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
-@mixin float-left {
- @include float(left); }
-
-// Implementation of float:right with fix for the
-// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
-@mixin float-right {
- @include float(right); }
-
-// Direction independent float mixin that fixes the
-// [double-margin bug in IE5/6](http://www.positioniseverything.net/explorer/doubled-margin.html)
-@mixin float($side: left) {
- display: inline;
- float: unquote($side); }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_hacks.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_hacks.scss
deleted file mode 100644
index 4f6ec87d37..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_hacks.scss
+++ /dev/null
@@ -1,35 +0,0 @@
-// The `zoom` approach generates less CSS but does not validate.
-// Set this to `block` to use the display-property to hack the
-// element to gain layout.
-$default-has-layout-approach: zoom !default;
-
-// This mixin causes an element matching the selector
-// to gain the "hasLayout" property in internet explorer.
-// More information on [hasLayout](http://reference.sitepoint.com/css/haslayout).
-@mixin has-layout($using: $default-has-layout-approach) {
- @if $using == zoom {
- @include has-layout-zoom;
- } @else if $using == block {
- @include has-layout-block;
- } @else {
- @warn "Unknown has-layout approach: #{$using}";
- @include has-layout-zoom;
- }
-}
-
-@mixin has-layout-zoom {
- *zoom: 1;
-}
-
-@mixin has-layout-block {
- // This makes ie6 get layout
- display: inline-block;
- // and this puts it back to block
- & { display: block; }
-}
-
-// A hack to supply IE6 (and below) with a different property value.
-// [Read more](http://www.cssportal.com/css-hacks/#in_css-important).
-@mixin bang-hack($property, $value, $ie6-value) {
- #{$property}: #{$value} !important;
- #{$property}: #{$ie6-value}; }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_min.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_min.scss
deleted file mode 100644
index 99a676b333..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_min.scss
+++ /dev/null
@@ -1,16 +0,0 @@
-@import "hacks";
-
-//**
-// Cross browser min-height mixin.
-@mixin min-height($value) {
- @include hacked-minimum(height, $value); }
-
-//**
-// Cross browser min-width mixin.
-@mixin min-width($value) {
- @include hacked-minimum(width, $value); }
-
-// @private This mixin is not meant to be used directly.
-@mixin hacked-minimum($property, $value) {
- min-#{$property}: $value;
- @include bang-hack($property, auto, $value); }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_reset.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_reset.scss
deleted file mode 100644
index f5f64877e1..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_reset.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-// This module has moved.
-@import "compass/reset/utilities";
\ No newline at end of file
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_tabs.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_tabs.scss
deleted file mode 100644
index 8b13789179..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_tabs.scss
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_tag-cloud.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_tag-cloud.scss
deleted file mode 100644
index 7ccae05517..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/general/_tag-cloud.scss
+++ /dev/null
@@ -1,18 +0,0 @@
-// Emits styles for a tag cloud
-@mixin tag-cloud($base-size: 1em) {
- font-size: $base-size;
- line-height: 1.2 * $base-size;
- .xxs, .xs, .s, .l, .xl, .xxl {
- line-height: 1.2 * $base-size; }
- .xxs {
- font-size: $base-size / 2; }
- .xs {
- font-size: 2 * $base-size / 3; }
- .s {
- font-size: 3 * $base-size / 4; }
- .l {
- font-size: 4 * $base-size / 3; }
- .xl {
- font-size: 3 * $base-size / 2; }
- .xxl {
- font-size: 2 * $base-size; } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_hover-link.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_hover-link.scss
deleted file mode 100644
index 8c72bc1fde..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_hover-link.scss
+++ /dev/null
@@ -1,5 +0,0 @@
-// a link that only has an underline when you hover over it
-@mixin hover-link {
- text-decoration: none;
- &:hover {
- text-decoration: underline; } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_link-colors.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_link-colors.scss
deleted file mode 100644
index 5d641f7818..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_link-colors.scss
+++ /dev/null
@@ -1,28 +0,0 @@
-// Set all the colors for a link with one mixin call.
-// Order of arguments is:
-//
-// 1. normal
-// 2. hover
-// 3. active
-// 4. visited
-// 5. focus
-//
-// Those states not specified will inherit.
-// Mixin to an anchor link like so:
-// a
-// +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
-
-@mixin link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false) {
- color: $normal;
- @if $visited {
- &:visited {
- color: $visited; } }
- @if $focus {
- &:focus {
- color: $focus; } }
- @if $hover {
- &:hover {
- color: $hover; } }
- @if $active {
- &:active {
- color: $active; } } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_unstyled-link.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_unstyled-link.scss
deleted file mode 100644
index e39c2d6783..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/links/_unstyled-link.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-// A link that looks and acts like the text it is contained within
-@mixin unstyled-link {
- color: inherit;
- text-decoration: inherit;
- cursor: inherit;
- &:active, &:focus {
- outline: none; } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_bullets.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_bullets.scss
deleted file mode 100644
index aabe802a6f..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_bullets.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-// Turn off the bullet for an element of a list
-@mixin no-bullet {
- list-style-image : none;
- list-style-type : none;
- margin-left : 0px;
-}
-
-// turns off the bullets for an entire list
-@mixin no-bullets {
- list-style: none;
- li { @include no-bullet; }
-}
-
-// Make a list(ul/ol) have an image bullet.
-//
-// The mixin should be used like this for an icon that is 5x7:
-//
-// ul.pretty
-// +pretty-bullets("my-icon.png", 5px, 7px)
-//
-// Additionally, if the image dimensions are not provided,
-// The image dimensions will be extracted from the image itself.
-//
-// ul.pretty
-// +pretty-bullets("my-icon.png")
-//
-@mixin pretty-bullets($bullet-icon, $width: image-width($bullet-icon), $height: image-height($bullet-icon), $line-height: 18px, $padding: 14px) {
- margin-left: 0;
- li {
- padding-left: $padding;
- background: image-url($bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
- list-style-type: none;
- }
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss
deleted file mode 100644
index 5e98b718f0..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss
+++ /dev/null
@@ -1,52 +0,0 @@
-// Horizontal list layout module.
-//
-// Easy mode using simple descendant li selectors:
-//
-// ul.nav
-// +horizontal-list
-//
-// Advanced mode:
-// If you need to target the list items using a different selector then use
-// +horizontal-list-container on your ul/ol and +horizontal-list-item on your li.
-// This may help when working on layouts involving nested lists. For example:
-//
-// ul.nav
-// +horizontal-list-container
-// > li
-// +horizontal-list-item
-
-@import "bullets";
-@import "compass/utilities/general/clearfix";
-@import "compass/utilities/general/reset";
-@import "compass/utilities/general/float";
-
-// Can be mixed into any selector that target a ul or ol that is meant
-// to have a horizontal layout. Used to implement +horizontal-list.
-@mixin horizontal-list-container {
- @include reset-box-model;
- @include clearfix; }
-
-// Can be mixed into any li selector that is meant to participate in a horizontal layout.
-// Used to implement +horizontal-list.
-//
-// :last-child is not fully supported
-// see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
-
-@mixin horizontal-list-item($padding: 4px, $direction: left) {
- @include no-bullet;
- white-space: nowrap;
- @include float($direction);
- padding: {
- left: $padding;
- right: $padding;
- };
- &:first-child, &.first { padding-#{$direction}: 0px; }
- &:last-child, &.last { padding-#{opposite-position($direction)}: 0px; }
-}
-
-// A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
-// This is not an inline list.
-@mixin horizontal-list($padding: 4px, $direction: left) {
- @include horizontal-list-container;
- li {
- @include horizontal-list-item($padding, $direction); } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss
deleted file mode 100644
index 907d443afd..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-block-list.scss
+++ /dev/null
@@ -1,47 +0,0 @@
-// Inline-Block list layout module.
-//
-// Easy mode using simple descendant li selectors:
-//
-// ul.nav
-// +inline-block-list
-//
-// Advanced mode:
-// If you need to target the list items using a different selector then use
-// +inline-block-list-container on your ul/ol and +inline-block-list-item on your li.
-// This may help when working on layouts involving nested lists. For example:
-//
-// ul.nav
-// +inline-block-list-container
-// > li
-// +inline-block-list-item
-
-@import "bullets";
-@import "horizontal-list";
-@import "compass/utilities/general/float";
-@import "compass/css3/inline-block";
-
-// Can be mixed into any selector that target a ul or ol that is meant
-// to have an inline-block layout. Used to implement +inline-block-list.
-@mixin inline-block-list-container {
- @include horizontal-list-container; }
-
-// Can be mixed into any li selector that is meant to participate in a horizontal layout.
-// Used to implement +inline-block-list.
-
-@mixin inline-block-list-item($padding: false) {
- @include no-bullet;
- @include inline-block;
- white-space: nowrap;
- @if $padding {
- padding: {
- left: $padding;
- right: $padding;
- };
- }
-}
-
-// A list(ol,ul) that is layed out such that the elements are inline-block and won't wrap.
-@mixin inline-block-list($padding: false) {
- @include inline-block-list-container;
- li {
- @include inline-block-list-item($padding); } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-list.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-list.scss
deleted file mode 100644
index 6a26f1b4eb..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-list.scss
+++ /dev/null
@@ -1,29 +0,0 @@
-// makes a list inline.
-
-@mixin inline-list {
- list-style-type: none;
- &, & li {
- margin: 0px;
- padding: 0px;
- display: inline;
- }
-}
-
-// makes an inline list that is comma delimited.
-// Please make note of the browser support issues before using this mixin.
-//
-// use of `content` and `:after` is not fully supported in all browsers.
-// See quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t15)
-//
-// `:last-child` is not fully supported.
-// see quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t29).
-
-@mixin comma-delimited-list {
- @include inline-list;
- li {
- &:after { content: ", "; }
- &:last-child, &.last {
- &:after { content: ""; }
- }
- }
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss
deleted file mode 100644
index b14536bec1..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss
+++ /dev/null
@@ -1,56 +0,0 @@
-// @doc off
-// Example 1:
-//
-// a.twitter
-// +sprite-img("icons-32.png", 1)
-// a.facebook
-// +sprite-img("icons-32png", 2)
-//
-// Example 2:
-//
-// a
-// +sprite-background("icons-32.png")
-// a.twitter
-// +sprite-column(1)
-// a.facebook
-// +sprite-row(2)
-// @doc on
-
-$sprite-default-size: 32px !default;
-
-$sprite-default-margin: 0px !default;
-
-$sprite-image-default-width: $sprite-default-size !default;
-
-$sprite-image-default-height: $sprite-default-size !default;
-
-// Sets all the rules for a sprite from a given sprite image to show just one of the sprites.
-// To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning.
-@mixin sprite-img($img, $col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
- @include sprite-background($img, $width, $height);
- @include sprite-position($col, $row, $width, $height, $margin); }
-
-// Sets rules common for all sprites, assumes you want a square, but allows a rectangular region.
-@mixin sprite-background($img, $width: $sprite-default-size, $height: $width) {
- @include sprite-background-rectangle($img, $width, $height); }
-
-// Sets rules common for all sprites, assumes a rectangular region.
-@mixin sprite-background-rectangle($img, $width: $sprite-image-default-width, $height: $sprite-image-default-height) {
- background: image-url($img) no-repeat;
- width: $width;
- height: $height;
- overflow: hidden; }
-
-// Allows horizontal sprite positioning optimized for a single row of sprites.
-@mixin sprite-column($col, $width: $sprite-image-default-width, $margin: $sprite-default-margin) {
- @include sprite-position($col, 1, $width, 0px, $margin); }
-
-// Allows vertical sprite positioning optimized for a single column of sprites.
-@mixin sprite-row($row, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
- @include sprite-position(1, $row, 0px, $height, $margin); }
-
-// Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites.
-@mixin sprite-position($col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
- $x: ($col - 1) * -$width - ($col - 1) * $margin;
- $y: ($row - 1) * -$height - ($row - 1) * $margin;
- background-position: $x $y; }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
deleted file mode 100644
index 8dd3a714e8..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
+++ /dev/null
@@ -1,20 +0,0 @@
-@mixin alternating-rows-and-columns($even-row-color, $odd-row-color, $dark-intersection, $header-color: white, $footer-color: white) {
- th {
- background-color: $header-color;
- &.even, &:nth-child(2n) {
- background-color: $header-color - $dark-intersection; } }
- tr.odd {
- td {
- background-color: $odd-row-color;
- &.even, &:nth-child(2n) {
- background-color: $odd-row-color - $dark-intersection; } } }
- tr.even {
- td {
- background-color: $even-row-color;
- &.even, &:nth-child(2n) {
- background-color: $even-row-color - $dark-intersection; } } }
- tfoot {
- th, td {
- background-color: $footer-color;
- &.even, &:nth-child(2n) {
- background-color: $footer-color - $dark-intersection; } } } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_borders.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_borders.scss
deleted file mode 100644
index 81434d9f73..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_borders.scss
+++ /dev/null
@@ -1,27 +0,0 @@
-@mixin outer-table-borders($width: 2px, $color: black) {
- border: $width solid $color;
- thead {
- th {
- border-bottom: $width solid $color; } }
- tfoot {
- th, td {
- border-top: $width solid $color; } }
- th {
- &:first-child {
- border-right: $width solid $color; } } }
-
-@mixin inner-table-borders($width: 2px, $color: black) {
- th, td {
- border: {
- right: $width solid $color;
- bottom: $width solid $color;
- left-width: 0px;
- top-width: 0px; };
- &:last-child,
- &.last {
- border-right-width: 0px; } }
- tbody, tfoot {
- tr:last-child,
- tr.last {
- th, td {
- border-bottom-width: 0px; } } } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_scaffolding.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_scaffolding.scss
deleted file mode 100644
index cc19d0404e..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/tables/_scaffolding.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-@mixin table-scaffolding {
- th {
- text-align: center;
- font-weight: bold; }
- td,
- th {
- padding: 2px;
- &.numeric {
- text-align: right; } } }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_ellipsis.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_ellipsis.scss
deleted file mode 100644
index 3b3db25d74..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_ellipsis.scss
+++ /dev/null
@@ -1,25 +0,0 @@
-@import "compass/css3/shared";
-
-// To get full firefox support, you must install the ellipsis pattern:
-//
-// compass install compass/ellipsis
-$use-mozilla-ellipsis-binding: false !default;
-
-// This technique, by [Justin Maxwell](http://code404.com/), was originally
-// published [here](http://mattsnider.com/css/css-string-truncation-with-ellipsis/).
-// Firefox implementation by [Rikkert Koppes](http://www.rikkertkoppes.com/thoughts/2008/6/).
-@mixin ellipsis($no-wrap: true) {
- @if $no-wrap { white-space: nowrap; }
- overflow: hidden;
- @include experimental(text-overflow, ellipsis,
- not -moz,
- not -webkit,
- -o,
- -ms,
- not -khtml,
- official
- );
- @if $experimental-support-for-mozilla and $use-mozilla-ellipsis-binding {
- -moz-binding: stylesheet-url(unquote("xml/ellipsis.xml#ellipsis"));
- }
-}
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_nowrap.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_nowrap.scss
deleted file mode 100644
index 1613dd6715..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_nowrap.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-// When remembering whether or not there's a hyphen in white-space is too hard
-@mixin nowrap { white-space: nowrap; }
diff --git a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_replacement.scss b/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_replacement.scss
deleted file mode 100644
index 041f105393..0000000000
--- a/lib/sass/sass/extensions/compass/stylesheets/compass/utilities/text/_replacement.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-// Hides html text and replaces it with an image.
-// If you use this on an inline element, you will need to change the display to block or inline-block.
-// Also, if the size of the image differs significantly from the font size, you'll need to set the width and/or height.
-//
-// Parameters:
-//
-// * `img` -- the relative path from the project image directory to the image.
-// * `x` -- the x position of the background image.
-// * `y` -- the y position of the background image.
-@mixin replace-text($img, $x: 50%, $y: 50%) {
- @include hide-text;
- background: {
- image: image-url($img);
- repeat: no-repeat;
- position: $x $y;
- };
-}
-
-// Like the `replace-text` mixin, but also sets the width
-// and height of the element according the dimensions of the image.
-@mixin replace-text-with-dimensions($img, $x: 50%, $y: 50%) {
- @include replace-text($img, $x, $y);
- width: image-width($img);
- height: image-height($img);
-}
-
-// Hides text in an element so you can see the background.
-@mixin hide-text {
- $approximate_em_value: 12px / 1em;
- $wider_than_any_screen: -9999em;
- text-indent: $wider_than_any_screen * $approximate_em_value;
- overflow: hidden;
- text-align: left;
-}
diff --git a/lib/sass/sass/messages/_i18n.php b/lib/sass/sass/messages/_i18n.php
deleted file mode 100644
index 08265b14de..0000000000
--- a/lib/sass/sass/messages/_i18n.php
+++ /dev/null
@@ -1,122 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.messages
- */
- return array (
- '@else(if) directive must come after @(else)if'=>'',
- 'Amount to shift left'=>'',
- 'Amount to shift right'=>'',
- 'between {min} and {max} inclusive'=>'',
- 'Can not use parent selector (&) when no parent selectors'=>'',
- 'Child classes must override this method'=>'',
- '{class} does not support {operation}.'=>'',
- 'Colour'=>'',
- 'colours'=>'',
- 'Illegal comment type'=>'',
- 'Illegal indentation ({level}); indentation can only increase by one'=>'',
- 'import directives'=>'',
- 'Incompatible units: {from} and {to}'=>'',
- 'Incorrect argument count for {method}; expected {expected}, received {received}'=>'',
- 'Incorrect operand count for {operation}; expected {expected}, received {received}'=>'',
- 'Invalid indentation'=>'',
- 'Invalid units: {value}'=>'',
- 'Invalid variable definition; name and expression required'=>'',
- 'Invalid {what}'=>'',
- 'Mixed indentation not allowed'=>'',
- 'Mixin {which} directive shortcut not allowed in SCSS'=>'',
- "Mixin::{mname}: Required variable ({vname}) not given.\nMixin defined: {dfile}::{dline}\nMixin used"=>"",
- 'Mixin::{name}: Required variables must be defined before optional variables'=>'',
- 'Mixins can only be defined at root level'=>'',
- 'Nesting not allowed beneath {what}'=>'',
- 'No getter function for {what}'=>'',
- 'No setter function for {what}'=>'',
- 'number'=>'',
- 'Number'=>'',
- 'Properties can not be assigned at root level'=>'',
- 'SassColour can not have HSL and RGB keys specified'=>'',
- 'SassColour must have all {colourSpace} keys specified'=>'',
- 'SassColour array must have at least 3 elements'=>'',
- 'Selectors can not end in a comma'=>'',
- 'Setting variables with "{sassDefault}=" is deprecated; use "${name}: {value}{scssDefault}"'=>'',
- 'Unable to create document tree for {uri}'=>'',
- 'Unable to find {what}: {filename}'=>'',
- 'Undefined operation "{operation}" for {what}'=>'',
- 'Undefined {what}: {name}'=>'',
- 'unitless number'=>'',
- 'Unknown property: {name}'=>'',
- 'Unmatched parentheses'=>'',
- 'Value'=>'',
- 'variables'=>'',
- 'Variables prefixed with "!" is deprecated; use "${name}"'=>'',
- 'Warning'=>'',
- '{what} must be a {type}'=>'',
- '{what} must be {inRange}'=>'',
- );
-
-/**
-* The lines below can be used in Google translate
-@else(if) directive must come after @(else)if
-Amount to shift left
-Amount to shift right
-between {min} and {max} inclusive
-Can not use parent selector (&) when no parent selectors
-Child classes must override this method
-{class} does not support {operation}.
-Colour
-colours
-Illegal comment type
-Illegal indentation ({level}); indentation can only increase by one
-import directives
-Incompatible units: {value1} and {value2}
-Incorrect argument count for {method}; expected {expected}, received {received}
-Incorrect operand count for {operation}; expected {expected}, received {received}
-Invalid indentation
-Invalid units: {value}
-Invalid variable definition; name and expression required
-Invalid {what}
-Mixed indentation not allowed
-Mixin {which} directive shortcut not allowed in SCSS
-Mixin::{mname}: Required variable ({vname}) not given.\nMixin defined: {dfile}::{dline}\nMixin used
-Mixin::{name}: Required variables must be defined before optional variables
-Mixins can only be defined at root level
-Nesting not allowed beneath {what}
-No getter function for {what}
-No setter function for {what}
-number
-Number
-Properties can not be assigned at root level
-SassColour can not have HSL and RGB keys specified
-SassColour must have all {colourSpace} keys specified
-SassColour array must have at least 3 elements
-Selectors can not end in a comma
-Setting variables with "{sassDefault}=" is deprecated; use "${name}: {value}{scssDefault}"
-Unable to create document tree for {uri}
-Unable to find {what}: {filename}
-Undefined operation "{operation}" for {what}
-Undefined {what}: {name}
-unitless number
-Unknown property: {name}
-Unmatched parentheses
-Value
-variables
-Variables prefixed with "!" is deprecated; use "${name}"
-Warning
-{what} must be a {type}
-{what} must be {inRange}
-*/
\ No newline at end of file
diff --git a/lib/sass/sass/messages/de.php b/lib/sass/sass/messages/de.php
deleted file mode 100644
index 2c3879198a..0000000000
--- a/lib/sass/sass/messages/de.php
+++ /dev/null
@@ -1,70 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.messages
- */
- return array (
- '@else(if) directive must come after @(else)if'=>'@else(if) directive muss kommen nach @(else)if',
- 'Amount to shift left'=>'Betrag nach links verschieben ',
- 'Amount to shift right'=>'Betrag nach rechts verschieben ',
- 'between {min} and {max} inclusive'=>'zwischen {min} und {max} inclusive',
- 'Can not use parent selector (&) when no parent selectors'=>'Kann nicht verwenden Muttergesellschaft Selektor (&) wenn kein Elternteil Selektoren',
- 'Child classes must override this method'=>'Child-Klassen müssen diese Methode überschreiben ',
- '{class} does not support {operation}.'=>'{class} unterstützt keine {operation}',
- 'Colour'=>'Farbe',
- 'colours'=>'farben',
- 'Illegal comment type'=>'Illegal Art Kommentar',
- 'Illegal indentation ({level}); indentation can only increase by one'=>'Illegale einrückungsebene ({level}); einrückungsebene kann nur von einem',
- 'import directives'=>'import-richtlinien',
- 'Incompatible units: {from} and {to}'=>'Unvereinbare Einheiten: {from} und {to}',
- 'Incorrect argument count for {method}; expected {expected}, received {received}'=>'Falscher argument zählen für den {method}; erwartet {expected}, erhielt {received}',
- 'Incorrect operand count for {operation}; expected {expected}, received {received}'=>'Falscher operand zählen für den {operation}; erwartet {expected}, erhielt {received}',
- 'Invalid indentation'=>'Ungültige einrückung',
- 'Invalid units: {value}'=>'Ungültige einheiten: {value}',
- 'Invalid variable definition; name and expression required'=>'ungültige definition der variablen, namen und ausdruck erforderlich',
- 'Invalid {what}'=>'Ungültige {what}',
- 'Mixed indentation not allowed'=>'Mixed einzug nicht erlaubt',
- 'Mixin {which} directive shortcut not allowed in SCSS'=>'Mixin {which} directive verknüpfung nicht erlaubt in SCSS',
- "Mixin::{mname}: Required variable ({vname}) not given.\nMixin defined: {dfile}::{dline}\nMixin used"=>"Mixin::{mname}:: Erforderliche Variablen ({vname}) nicht gegeben.\nMixin definiert:{dfile}::{dline}\nMixin verwendet",
- 'Mixin::{name}: Required variables must be defined before optional variables'=>'Mixin::{name}: Erforderliche Variablen müssen vor dem fakultativen Variablen definiert werden',
- 'Mixins can only be defined at root level'=>'Mixins kann nur auf Root-Ebene definiert werden',
- 'Nesting not allowed beneath {what}'=>'Verschachtelung nicht erlaubt unter {what}',
- 'No getter function for {what}'=>'Kein getter-funktion für {what}',
- 'No setter function for {what}'=>'Kein setter-funktion für {what}',
- 'number'=>'zahl',
- 'Number'=>'Zahl',
- 'Properties can not be assigned at root level'=>'Eigenschaften können nicht auf Root-Ebene zugeordnet werden',
- 'SassColour can not have HSL and RGB keys specified'=>'SassColour kann nicht sein, HSL und RGB schlüssel angegeben',
- 'SassColour must have all {colourSpace} keys specified'=>'SassColour müssen alle {colourSpace} schlüssel angegeben',
- 'SassColour array must have at least 3 elements'=>'SassColour array muss mindestens 3 elemente',
- 'Selectors can not end in a comma'=>'Selektoren können nicht in ein Komma Ende',
- 'Setting variables with "{sassDefault}=" is deprecated; use "${name}: {value}{scssDefault}"'=>'Variablen setzen mit "{sassDefault}=" ist veraltet; use "${name}: {value}{scssDefault}"',
- 'Unable to create document tree for {uri}'=>'Kann dokument baum create für {uri}',
- 'Unable to find {what}: {filename}'=>'Kann zu finden {what}: {filename}',
- 'Undefined operation "{operation}" for {what}'=>'Undefined Betrieb "{operation}" für {what}',
- 'Undefined {what}: {name}'=>'Undefined {what}: {name}',
- 'unitless number'=>'unitless zahl',
- 'Unknown property: {name}'=>'Unbekannte eigenschaft: {name}',
- 'Unmatched parentheses'=>'Unübertroffene klammern',
- 'Value'=>'Wert',
- 'variables'=>'variablen',
- 'Variables prefixed with "!" is deprecated; use "${name}"'=>'Variablen mit dem präfix "!" ist veraltet; benutzen "${name}"',
- 'Warning'=>'Warnung',
- '{what} must be a {type}'=>'{what} muss eine {type}',
- '{what} must be {inRange}'=>'{what} muss {inRange}',
- );
\ No newline at end of file
diff --git a/lib/sass/sass/messages/fr.php b/lib/sass/sass/messages/fr.php
deleted file mode 100644
index 5347454047..0000000000
--- a/lib/sass/sass/messages/fr.php
+++ /dev/null
@@ -1,70 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.messages
- */
- return array (
- '@else(if) directive must come after @(else)if'=>'@else(if) directive doit venir après @(else)if',
- 'Amount to shift left'=>'Montant à décalage à gauche',
- 'Amount to shift right'=>'Montant à décalage à droite',
- 'between {min} and {max} inclusive'=>'entre les {min} et {max} inclusivement',
- 'Can not use parent selector (&) when no parent selectors'=>"Impossible d'utiliser le sélecteur parent (&) si aucun parent sélecteurs",
- 'Child classes must override this method'=>'Classes enfants doivent redéfinir cette méthode',
- '{class} does not support {operation}.'=>'{class} ne mettre en œuvre {operation}.',
- 'Colours'=>'Couleur',
- 'colours'=>'couleurs',
- 'Illegal comment type'=>'Type de commentaire illégale',
- 'Illegal indentation ({level}); indentation can only increase by one'=>"Niveau niveau d'indentation illégale ({level}); ne peut augmenter d'un",
- 'import directives'=>"directives à l'importation",
- 'Incompatible units: {from} and {to}'=>'Unités incompatibles: {from} et {to}',
- 'Incorrect argument count for {method}; expected {expected}, received {received}'=>'Argument incorrect comptent pour {method}; attendu {expected}, reçu {received}',
- 'Incorrect operand count for {operation}; expected {expected}, received {received}'=>'Opérande incorrect comptent pour {operation}; attendu {expected}, reçu {received}',
- 'Invalid indentation'=>'Indentation blancs',
- 'Invalid units: {value}'=>'Unités blancs',
- 'Invalid variable definition; name and expression required'=>"Définition de la variable blancs, le nom et l'expression nécessaire",
- 'Invalid {what}'=>'Invalide {what}',
- 'Mixed indentation not allowed'=>'Indentation mixte pas autorisé',
- 'Mixin {which} directive shortcut not allowed in SCSS'=>'Mixin {which} directive shortcutraccourci pas admis dans SCSS',
- "Mixin::{mname}: Required variable ({vname}) not given.\nMixin defined: {dfile}::{dline}\nMixin used: {ufile}::{uline}"=>"Mixin::{mname}: Variable requise ({vname}) n'est pas donnée.\nMixin défini: {dfile}::{dline}\nMixin utilisés",
- 'Mixin::{name}: Required variables must be defined before optional variables'=>'Mixin::{name}: Variables requises doivent être définies avant les variables facultatives',
- 'Mixins can only be defined at root level'=>'Mixins ne peuvent être définis au niveau de la racine',
- 'Nesting not allowed beneath {what}'=>'La mise en pages ne peuvent, sous',
- 'No getter function for {what}'=>'Pas de fonction getter pour {what}',
- 'No setter function for {what}'=>'Pas de fonction setter pour {what}',
- 'number'=>'nombre',
- 'Number'=>'Nombre',
- 'Properties can not be assigned at root level'=>'Propriétés ne peut pas être attribué au niveau de la racine',
- 'SassColour can not have HSL and RGB keys specified'=>'SassColour ne peut pas avoir HSL et RGB touches spécifiées',
- 'SassColour must have all {colourSpace} keys specified'=>'SassColour doit disposer de tous {colourSpace} touches spécifiées',
- 'SassColour array must have at least 3 elements'=>'SassColour array doit avoir au moins 3 éléments',
- 'Selectors can not end in a comma'=>'Sélecteurs ne peut pas se terminer par une virgule',
- 'Setting variables with "{sassDefault}=" is deprecated; use "${name}: {value}{scssDefault}"'=>'Définition des variables avec "{sassDefault}=" est obsolète, utiliser "${name}: {value}"',
- 'Unable to create document tree for {uri}'=>"Impossible de créer le document d'arbres pour {uri}",
- 'Unable to find {what}: {filename}'=>'Impossible de trouver {what}: {filename}',
- 'Undefined operation "{operation}" for {what}'=>'Non fonctionnement "{operation}" for {what}',
- 'Undefined {what}: {name}'=>'Indéfini {what}: {name}',
- 'unitless number'=>'nombre sans unité',
- 'Unknown property: {name}'=>'Propriété inconnue: {name}',
- 'Unmatched parentheses'=>'Inégalée parenthèses',
- 'Value'=>'Valeur',
- 'variables'=>'variables',
- 'Variables prefixed with "!" is deprecated; use "${name}"'=>'Variables préfixées par "!" est obsolète; utiliser "${name}',
- 'Warning'=>'Alerte',
- '{what} must be a {type}'=>'{what} doit être un {type}',
- '{what} must be {inRange}'=>'{what} doit être {inRange}',
- );
diff --git a/lib/sass/sass/renderers/SassCompactRenderer.php b/lib/sass/sass/renderers/SassCompactRenderer.php
deleted file mode 100644
index 6e1234baad..0000000000
--- a/lib/sass/sass/renderers/SassCompactRenderer.php
+++ /dev/null
@@ -1,130 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-
-require_once('SassCompressedRenderer.php');
-
-/**
- * SassCompactRenderer class.
- * Each CSS rule takes up only one line, with every property defined on that
- * line. Nested rules are placed next to each other with no newline, while
- * groups of rules have newlines between them.
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-class SassCompactRenderer extends SassCompressedRenderer {
- const DEBUG_INFO_RULE = '@media -sass-debug-info';
- const DEBUG_INFO_PROPERTY = 'font-family';
-
- /**
- * Renders the brace between the selectors and the properties
- * @return string the brace between the selectors and the properties
- */
- protected function between() {
- return ' { ';
- }
-
- /**
- * Renders the brace at the end of the rule
- * @return string the brace between the rule and its properties
- */
- protected function end() {
- return " }\n";
- }
-
- /**
- * Renders a comment.
- * Comments preceeding a rule are on their own line.
- * Comments within a rule are on the same line as the rule.
- * @param SassNode the node being rendered
- * @return string the rendered commnt
- */
- public function renderComment($node) {
- $nl = ($node->parent instanceof SassRuleNode?'':"\n");
- return "$nl/* " . join("\n * ", $node->children) . " */$nl" ;
- }
-
- /**
- * Renders a directive.
- * @param SassNode the node being rendered
- * @param array properties of the directive
- * @return string the rendered directive
- */
- public function renderDirective($node, $properties) {
- return str_replace("\n", '', parent::renderDirective($node, $properties)) .
- "\n\n";
- }
-
- /**
- * Renders properties.
- * @param SassNode the node being rendered
- * @param array properties to render
- * @return string the rendered properties
- */
- public function renderProperties($node, $properties) {
- return join(' ', $properties);
- }
-
- /**
- * Renders a property.
- * @param SassNode the node being rendered
- * @return string the rendered property
- */
- public function renderProperty($node) {
- return "{$node->name}: {$node->value};";
- }
-
- /**
- * Renders a rule.
- * @param SassNode the node being rendered
- * @param array rule properties
- * @param string rendered rules
- * @return string the rendered rule
- */
- public function renderRule($node, $properties, $rules) {
- return $this->renderDebug($node) . parent::renderRule($node, $properties,
- str_replace("\n\n", "\n", $rules)) . "\n";
- }
-
- /**
- * Renders debug information.
- * If the node has the debug_info options set true the line number and filename
- * are rendered in a format compatible with
- * {@link https://addons.mozilla.org/en-US/firefox/addon/103988/ FireSass}.
- * Else if the node has the line_numbers option set true the line number and
- * filename are rendered in a comment.
- * @param SassNode the node being rendered
- * @return string the debug information
- */
- protected function renderDebug($node) {
- $indent = $this->getIndent($node);
- $debug = '';
-
- if ($node->debug_info) {
- $debug = $indent . self::DEBUG_INFO_RULE . '{';
- $debug .= 'filename{' . self::DEBUG_INFO_PROPERTY . ':' . preg_replace('/([^-\w])/', '\\\\\1', "file://{$node->filename}") . ';}';
- $debug .= 'line{' . self::DEBUG_INFO_PROPERTY . ":'{$node->line}';}";
- $debug .= "}\n";
- }
- elseif ($node->line_numbers) {
- $debug .= "$indent/* line {$node->line} {$node->filename} */\n";
- }
- return $debug;
- }
-
- /**
- * Renders rule selectors.
- * @param SassNode the node being rendered
- * @return string the rendered selectors
- */
- protected function renderSelectors($node) {
- return join(', ', $node->selectors);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/renderers/SassCompressedRenderer.php b/lib/sass/sass/renderers/SassCompressedRenderer.php
deleted file mode 100644
index 9f322d82e1..0000000000
--- a/lib/sass/sass/renderers/SassCompressedRenderer.php
+++ /dev/null
@@ -1,102 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-/**
- * SassCompressedRenderer class.
- * Compressed style takes up the minimum amount of space possible, having no
- * whitespace except that necessary to separate selectors and a newline at the
- * end of the file. It's not meant to be human-readable
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-class SassCompressedRenderer extends SassRenderer {
- /**
- * Renders the brace between the selectors and the properties
- * @return string the brace between the selectors and the properties
- */
- protected function between() {
- return '{';
- }
-
- /**
- * Renders the brace at the end of the rule
- * @return string the brace between the rule and its properties
- */
- protected function end() {
- return '}';
- }
-
- /**
- * Returns the indent string for the node
- * @param SassNode the node to return the indent string for
- * @return string the indent string for this SassNode
- */
- protected function getIndent($node) {
- return '';
- }
-
- /**
- * Renders a comment.
- * @param SassNode the node being rendered
- * @return string the rendered comment
- */
- public function renderComment($node) {
- return '';
- }
-
- /**
- * Renders a directive.
- * @param SassNode the node being rendered
- * @param array properties of the directive
- * @return string the rendered directive
- */
- public function renderDirective($node, $properties) {
- return $node->directive . $this->between() . $this->renderProperties($node, $properties) . $this->end();
- }
-
- /**
- * Renders properties.
- * @param SassNode the node being rendered
- * @param array properties to render
- * @return string the rendered properties
- */
- public function renderProperties($node, $properties) {
- return join('', $properties);
- }
-
- /**
- * Renders a property.
- * @param SassNode the node being rendered
- * @return string the rendered property
- */
- public function renderProperty($node) {
- return "{$node->name}:{$node->value};";
- }
-
- /**
- * Renders a rule.
- * @param SassNode the node being rendered
- * @param array rule properties
- * @param string rendered rules
- * @return string the rendered directive
- */
- public function renderRule($node, $properties, $rules) {
- return (!empty($properties) ? $this->renderSelectors($node) . $this->between() . $this->renderProperties($node, $properties) . $this->end() : '') . $rules;
- }
-
- /**
- * Renders the rule's selectors
- * @param SassNode the node being rendered
- * @return string the rendered selectors
- */
- protected function renderSelectors($node) {
- return join(',', $node->selectors);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/renderers/SassExpandedRenderer.php b/lib/sass/sass/renderers/SassExpandedRenderer.php
deleted file mode 100644
index ddaf126121..0000000000
--- a/lib/sass/sass/renderers/SassExpandedRenderer.php
+++ /dev/null
@@ -1,62 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-
-require_once('SassCompactRenderer.php');
-
-/**
- * SassExpandedRenderer class.
- * Expanded is the typical human-made CSS style, with each property and rule
- * taking up one line. Properties are indented within the rules, but the rules
- * are not indented in any special way.
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-class SassExpandedRenderer extends SassCompactRenderer {
- /**
- * Renders the brace between the selectors and the properties
- * @return string the brace between the selectors and the properties
- */
- protected function between() {
- return " {\n" ;
- }
-
- /**
- * Renders the brace at the end of the rule
- * @return string the brace between the rule and its properties
- */
- protected function end() {
- return "\n}\n\n";
- }
-
- /**
- * Renders a comment.
- * @param SassNode the node being rendered
- * @return string the rendered commnt
- */
- public function renderComment($node) {
- $indent = $this->getIndent($node);
- $lines = explode("\n", $node->value);
- foreach ($lines as &$line) {
- $line = trim($line);
- }
- return "$indent/*\n$indent * ".join("\n$indent * ", $lines)."\n$indent */".(empty($indent)?"\n":'');
- }
-
- /**
- * Renders properties.
- * @param array properties to render
- * @return string the rendered properties
- */
- public function renderProperties($node, $properties) {
- $indent = $this->getIndent($node).self::INDENT;
- return $indent.join("\n$indent", $properties);
- }
-}
diff --git a/lib/sass/sass/renderers/SassNestedRenderer.php b/lib/sass/sass/renderers/SassNestedRenderer.php
deleted file mode 100644
index fa738f7cc0..0000000000
--- a/lib/sass/sass/renderers/SassNestedRenderer.php
+++ /dev/null
@@ -1,61 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-
-require_once('SassExpandedRenderer.php');
-
-/**
- * SassNestedRenderer class.
- * Nested style is the default Sass style, because it reflects the structure of
- * the document in much the same way Sass does. Each rule is indented based on
- * how deeply it's nested. Each property has its own line and is indented
- * within the rule.
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-class SassNestedRenderer extends SassExpandedRenderer {
- /**
- * Renders the brace at the end of the rule
- * @return string the brace between the rule and its properties
- */
- protected function end() {
- return " }\n";
- }
-
- /**
- * Returns the indent string for the node
- * @param SassNode the node being rendered
- * @return string the indent string for this SassNode
- */
- protected function getIndent($node) {
- return str_repeat(self::INDENT, $node->level);
- }
-
- /**
- * Renders a directive.
- * @param SassNode the node being rendered
- * @param array properties of the directive
- * @return string the rendered directive
- */
- public function renderDirective($node, $properties) {
- $directive = $this->getIndent($node) . $node->directive . $this->between() . $this->renderProperties($properties);
- return preg_replace('/(.*})\n$/', '\1', $directive) . $this->end();
- }
-
- /**
- * Renders rule selectors.
- * @param SassNode the node being rendered
- * @return string the rendered selectors
- */
- protected function renderSelectors($node) {
- $indent = $this->getIndent($node);
- return $indent.join(",\n$indent", $node->selectors);
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/renderers/SassRenderer.php b/lib/sass/sass/renderers/SassRenderer.php
deleted file mode 100644
index b83b711509..0000000000
--- a/lib/sass/sass/renderers/SassRenderer.php
+++ /dev/null
@@ -1,51 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-
-require_once('SassCompactRenderer.php');
-require_once('SassCompressedRenderer.php');
-require_once('SassExpandedRenderer.php');
-require_once('SassNestedRenderer.php');
-
-/**
- * SassRenderer class.
- * @package PHamlP
- * @subpackage Sass.renderers
- */
-class SassRenderer {
- /**#@+
- * Output Styles
- */
- const STYLE_COMPRESSED = 'compressed';
- const STYLE_COMPACT = 'compact';
- const STYLE_EXPANDED = 'expanded';
- const STYLE_NESTED = 'nested';
- /**#@-*/
-
- const INDENT = ' ';
-
- /**
- * Returns the renderer for the required render style.
- * @param string render style
- * @return SassRenderer
- */
- public static function getRenderer($style) {
- switch ($style) {
- case self::STYLE_COMPACT:
- return new SassCompactRenderer();
- case self::STYLE_COMPRESSED:
- return new SassCompressedRenderer();
- case self::STYLE_EXPANDED:
- return new SassExpandedRenderer();
- case self::STYLE_NESTED:
- return new SassNestedRenderer();
- } // switch
- }
-}
\ No newline at end of file
diff --git a/lib/sass/sass/script/SassScriptFunction.php b/lib/sass/sass/script/SassScriptFunction.php
deleted file mode 100644
index aad8fc07a8..0000000000
--- a/lib/sass/sass/script/SassScriptFunction.php
+++ /dev/null
@@ -1,169 +0,0 @@
-
- * @copyright Copyright (c) 2010 PBM Web Development
- * @license http://phamlp.googlecode.com/files/license.txt
- * @package PHamlP
- * @subpackage Sass.script
- */
-
-/**
- * SassScriptFunction class.
- * Preforms a SassScript function.
- * @package PHamlP
- * @subpackage Sass.script
- */
-class SassScriptFunction {
- /**@#+
- * Regexes for matching and extracting functions and arguments
- */
- const MATCH = '/^(((-\w)|(\w))[-\w]*)\(/';
- const MATCH_FUNC = '/^((?:(?:-\w)|(?:\w))[-\w]*)\((.*)\)/';
- const SPLIT_ARGS = '/\s*((?:[\'"].*?["\'])|(?:.+?(?:\(.*\).*?)?))\s*(?:,|$)/';
- const NAME = 1;
- const ARGS = 2;
-
- private $name;
- private $args;
-
- /**
- * SassScriptFunction constructor
- * @param string name of the function
- * @param array arguments for the function
- * @return SassScriptFunction
- */
- public function __construct($name, $args) {
- $this->name = $name;
- $this->args = $args;
- }
-
- /**
- * Evaluates the function.
- * Look for a user defined function first - this allows users to override
- * pre-defined functions, then try the pre-defined functions.
- * @return Function the value of this Function
- * @throws SassScriptFunctionException if function is undefined
- */
- public function perform() {
- $name = str_replace('-', '_', $this->name);
- foreach (SassScriptParser::$context->node->parser->function_paths as $path) {
- $_path = explode(DIRECTORY_SEPARATOR, $path);
- $_class = ucfirst($_path[sizeof($_path) - 2]);
- foreach (array_slice(scandir($path), 2) as $file) {
- $filename = $path . DIRECTORY_SEPARATOR . $file;
- if (is_file($filename)) {
- require_once($filename);
- $class = 'SassExtentions'.$_class.'Functions'. ucfirst(substr($file, 0, -4));
- if (method_exists($class, $name)) {
- return call_user_func_array(array($class, $name), $this->args);
- }
- }
- } // foreach
- } // foreach
-
- require_once('SassScriptFunctions.php');
- if (method_exists('SassScriptFunctions', $name)) {
- return call_user_func_array(array('SassScriptFunctions', $name), $this->args);
- }
-
- // CSS function: create a SassString that will emit the function into the CSS
- $args = array();
- foreach ($this->args as $arg) {
- $args[] = $arg->toString();
- }
- return new SassString($this->name . '(' . join(', ', $args) . ')');
- }
-
- /**
- * Imports files in the specified directory.
- * @param string path to directory to import
- * @return array filenames imported
- */
- private function import($dir) {
- $files = array();
-
- foreach (array_slice(scandir($dir), 2) as $file) {
- if (is_file($dir . DIRECTORY_SEPARATOR . $file)) {
- $files[] = $file;
- require_once($dir . DIRECTORY_SEPARATOR . $file);
- }
- } // foreach
- return $files;
- }
-
- /**
- * Returns a value indicating if a token of this type can be matched at
- * the start of the subject string.
- * @param string the subject string
- * @return mixed match at the start of the string or false if no match
- */
- public static function isa($subject) {
- if (!preg_match(self::MATCH, $subject, $matches))
- return false;
-
- $match = $matches[0];
- $paren = 1;
- $strpos = strlen($match);
- $strlen = strlen($subject);
-
- while($paren && $strpos < $strlen) {
- $c = $subject[$strpos++];
-
- $match .= $c;
- if ($c === '(') {
- $paren += 1;
- }
- elseif ($c === ')') {
- $paren -= 1;
- }
- }
- return $match;
- }
-
- public static function extractArgs($string) {
- $args = array();
- $arg = '';
- $paren = 0;
- $strpos = 0;
- $strlen = strlen($string);
-
- while ($strpos < $strlen) {
- $c = $string[$strpos++];
-
- switch ($c) {
- case '(':
- $paren += 1;
- $arg .= $c;
- break;
- case ')':
- $paren -= 1;
- $arg .= $c;
- break;
- case '"':
- case "'":
- $arg .= $c;
- do {
- $_c = $string[$strpos++];
- $arg .= $_c;
- } while ($_c !== $c);
- break;
- case ',':
- if ($paren) {
- $arg .= $c;
- break;
- }
- $args[] = trim($arg);
- $arg = '';
- break;
- default:
- $arg .= $c;
- break;
- }
- }
-
- if ($arg) $args[] = trim($arg);
- return $args;
- }
-}
diff --git a/lib/sass/sass/script/SassScriptFunctions.php b/lib/sass/sass/script/SassScriptFunctions.php
deleted file mode 100644
index d3599bed63..0000000000
--- a/lib/sass/sass/script/SassScriptFunctions.php
+++ /dev/null
@@ -1,751 +0,0 @@
-value accessor
- * for getting their values. Colour objects, though, must be accessed using
- * SassColour::rgb().
- *
- * Second, making functions accessible from Sass introduces the temptation
- * to do things like database access within stylesheets.
- * This temptation must be resisted.
- * Keep in mind that Sass stylesheets are only compiled once and then left as
- * static CSS files. Any dynamic CSS should be left in