Browse Source

As Django package.

master 0.13.1
Erik Stein 7 years ago
parent
commit
9c3a3c860d
  1. 1
      .gitignore
  2. 4
      .travis.yml
  3. 29
      LICENSE_backup.md
  4. 24
      bower.json
  5. 3
      compass_mixins/static/css/vendor/_animate.scss
  6. 114
      compass_mixins/static/css/vendor/_breakpoint.scss
  7. 4
      compass_mixins/static/css/vendor/_compass.scss
  8. 5
      compass_mixins/static/css/vendor/_font-awesome-compass.scss
  9. 19
      compass_mixins/static/css/vendor/_font-awesome-semantic.scss
  10. 5
      compass_mixins/static/css/vendor/_font-awesome-sprockets.scss
  11. 18
      compass_mixins/static/css/vendor/_font-awesome.scss
  12. 27
      compass_mixins/static/css/vendor/_h5bp.scss
  13. 38
      compass_mixins/static/css/vendor/_lemonade.scss
  14. 4
      compass_mixins/static/css/vendor/_su.scss
  15. 4
      compass_mixins/static/css/vendor/_susy.scss
  16. 4
      compass_mixins/static/css/vendor/_susyone.scss
  17. 31
      compass_mixins/static/css/vendor/animation/_animate.scss
  18. 127
      compass_mixins/static/css/vendor/animation/_core.scss
  19. 22
      compass_mixins/static/css/vendor/animation/_shared.scss
  20. 152
      compass_mixins/static/css/vendor/animation/animate/_attention-seekers.scss
  21. 3
      compass_mixins/static/css/vendor/animation/animate/_bouncing.scss
  22. 21
      compass_mixins/static/css/vendor/animation/animate/_classes.scss
  23. 3
      compass_mixins/static/css/vendor/animation/animate/_fading.scss
  24. 87
      compass_mixins/static/css/vendor/animation/animate/_flippers.scss
  25. 24
      compass_mixins/static/css/vendor/animation/animate/_lightspeed.scss
  26. 3
      compass_mixins/static/css/vendor/animation/animate/_rotating.scss
  27. 42
      compass_mixins/static/css/vendor/animation/animate/_specials.scss
  28. 68
      compass_mixins/static/css/vendor/animation/animate/bouncing/_bouncing-entrances.scss
  29. 60
      compass_mixins/static/css/vendor/animation/animate/bouncing/_bouncing-exits.scss
  30. 86
      compass_mixins/static/css/vendor/animation/animate/fading/_fading-entrances.scss
  31. 86
      compass_mixins/static/css/vendor/animation/animate/fading/_fading-exits.scss
  32. 58
      compass_mixins/static/css/vendor/animation/animate/rotating/_rotating-entrances.scss
  33. 58
      compass_mixins/static/css/vendor/animation/animate/rotating/_rotating-exits.scss
  34. 95
      compass_mixins/static/css/vendor/breakpoint/_context.scss
  35. 151
      compass_mixins/static/css/vendor/breakpoint/_helpers.scss
  36. 50
      compass_mixins/static/css/vendor/breakpoint/_legacy-settings.scss
  37. 15
      compass_mixins/static/css/vendor/breakpoint/_no-query.scss
  38. 215
      compass_mixins/static/css/vendor/breakpoint/_parsers.scss
  39. 82
      compass_mixins/static/css/vendor/breakpoint/_respond-to.scss
  40. 71
      compass_mixins/static/css/vendor/breakpoint/_settings.scss
  41. 33
      compass_mixins/static/css/vendor/breakpoint/parsers/_double.scss
  42. 82
      compass_mixins/static/css/vendor/breakpoint/parsers/_query.scss
  43. 31
      compass_mixins/static/css/vendor/breakpoint/parsers/_resolution.scss
  44. 26
      compass_mixins/static/css/vendor/breakpoint/parsers/_single.scss
  45. 36
      compass_mixins/static/css/vendor/breakpoint/parsers/_triple.scss
  46. 21
      compass_mixins/static/css/vendor/breakpoint/parsers/double/_default-pair.scss
  47. 22
      compass_mixins/static/css/vendor/breakpoint/parsers/double/_default.scss
  48. 22
      compass_mixins/static/css/vendor/breakpoint/parsers/double/_double-string.scss
  49. 60
      compass_mixins/static/css/vendor/breakpoint/parsers/resolution/_resolution.scss
  50. 13
      compass_mixins/static/css/vendor/breakpoint/parsers/single/_default.scss
  51. 18
      compass_mixins/static/css/vendor/breakpoint/parsers/triple/_default.scss
  52. 22
      compass_mixins/static/css/vendor/compass/_css3.scss
  53. 6
      compass_mixins/static/css/vendor/compass/_functions.scss
  54. 3
      compass_mixins/static/css/vendor/compass/_layout.scss
  55. 3
      compass_mixins/static/css/vendor/compass/_reset-legacy.scss
  56. 3
      compass_mixins/static/css/vendor/compass/_reset.scss
  57. 40
      compass_mixins/static/css/vendor/compass/_support.scss
  58. 4
      compass_mixins/static/css/vendor/compass/_typography.scss
  59. 9
      compass_mixins/static/css/vendor/compass/_utilities.scss
  60. 2
      compass_mixins/static/css/vendor/compass/css3/_animation.scss
  61. 16
      compass_mixins/static/css/vendor/compass/css3/_appearance.scss
  62. 43
      compass_mixins/static/css/vendor/compass/css3/_background-clip.scss
  63. 42
      compass_mixins/static/css/vendor/compass/css3/_background-origin.scss
  64. 26
      compass_mixins/static/css/vendor/compass/css3/_background-size.scss
  65. 130
      compass_mixins/static/css/vendor/compass/css3/_border-radius.scss
  66. 76
      compass_mixins/static/css/vendor/compass/css3/_box-shadow.scss
  67. 13
      compass_mixins/static/css/vendor/compass/css3/_box-sizing.scss
  68. 111
      compass_mixins/static/css/vendor/compass/css3/_box.scss
  69. 148
      compass_mixins/static/css/vendor/compass/css3/_columns.scss
  70. 23
      compass_mixins/static/css/vendor/compass/css3/_filter.scss
  71. 86
      compass_mixins/static/css/vendor/compass/css3/_flexbox.scss
  72. 48
      compass_mixins/static/css/vendor/compass/css3/_font-face.scss
  73. 77
      compass_mixins/static/css/vendor/compass/css3/_hyphenation.scss
  74. 133
      compass_mixins/static/css/vendor/compass/css3/_images.scss
  75. 22
      compass_mixins/static/css/vendor/compass/css3/_inline-block.scss
  76. 19
      compass_mixins/static/css/vendor/compass/css3/_opacity.scss
  77. 73
      compass_mixins/static/css/vendor/compass/css3/_pie.scss
  78. 22
      compass_mixins/static/css/vendor/compass/css3/_regions.scss
  79. 38
      compass_mixins/static/css/vendor/compass/css3/_shared.scss
  80. 87
      compass_mixins/static/css/vendor/compass/css3/_text-shadow.scss
  81. 87
      compass_mixins/static/css/vendor/compass/css3/_transform-legacy.scss
  82. 598
      compass_mixins/static/css/vendor/compass/css3/_transform.scss
  83. 221
      compass_mixins/static/css/vendor/compass/css3/_transition.scss
  84. 47
      compass_mixins/static/css/vendor/compass/css3/_user-interface.scss
  85. 37
      compass_mixins/static/css/vendor/compass/functions/_colors.scss
  86. 18
      compass_mixins/static/css/vendor/compass/functions/_constants.scss
  87. 72
      compass_mixins/static/css/vendor/compass/functions/_cross_browser_support.scss
  88. 36
      compass_mixins/static/css/vendor/compass/functions/_display.scss
  89. 15
      compass_mixins/static/css/vendor/compass/functions/_gradient_support.scss
  90. 90
      compass_mixins/static/css/vendor/compass/functions/_lists.scss
  91. 178
      compass_mixins/static/css/vendor/compass/layout/_grid-background.scss
  92. 23
      compass_mixins/static/css/vendor/compass/layout/_sticky-footer.scss
  93. 24
      compass_mixins/static/css/vendor/compass/layout/_stretching.scss
  94. 135
      compass_mixins/static/css/vendor/compass/reset/_utilities-legacy.scss
  95. 142
      compass_mixins/static/css/vendor/compass/reset/_utilities.scss
  96. 3
      compass_mixins/static/css/vendor/compass/typography/_links.scss
  97. 4
      compass_mixins/static/css/vendor/compass/typography/_lists.scss
  98. 4
      compass_mixins/static/css/vendor/compass/typography/_text.scss
  99. 219
      compass_mixins/static/css/vendor/compass/typography/_vertical_rhythm.scss
  100. 5
      compass_mixins/static/css/vendor/compass/typography/links/_hover-link.scss
  101. Some files were not shown because too many files have changed in this diff Show More

1
.gitignore vendored

@ -1,3 +1,4 @@
node_modules/*
dist/*
.sass-cache/*
_version.py

4
.travis.yml

@ -1,4 +0,0 @@
language: node_js
node_js:
- "0.11"
- "0.10"

29
LICENSE_backup.md

@ -1,29 +0,0 @@
Copyright (c) 2009-2014 Christopher M. Eppstein
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
No attribution is required by products that make use of this software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name(s) of the above copyright
holders shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written authorization.
Contributors to this project agree to grant all rights to the copyright
holder of the primary product. Attribution is maintained in the source
control history of the product.

24
bower.json

@ -1,24 +0,0 @@
{
"name": "compass-mixins",
"version": "0.12.6",
"authors": [
"Guillaume Balaine <igosuki@gmail.com>",
"Michael Heillein <michaek>"
],
"description": "Compass stylesheets",
"main": "lib/_compass.scss",
"keywords": [
"compass",
"mixins",
"sass",
"css3"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}

3
compass_mixins/static/css/vendor/_animate.scss vendored

@ -1,3 +0,0 @@
@import "compass";
@import "animation/core";
@import "animation/animate";

114
compass_mixins/static/css/vendor/_breakpoint.scss vendored

@ -1,114 +0,0 @@
//////////////////////////////
// Default Variables
//////////////////////////////
$Breakpoint-Settings: (
'default media': all,
'default feature': min-width,
'default pair': width,
'force all media type': false,
'to ems': false,
'transform resolutions': true,
'no queries': false,
'no query fallbacks': false,
'base font size': 16px,
'legacy syntax': false
);
$breakpoint: () !default;
//////////////////////////////
// Imports
//////////////////////////////
@import "breakpoint/settings";
@import 'breakpoint/context';
@import 'breakpoint/helpers';
@import 'breakpoint/parsers';
@import 'breakpoint/no-query';
@import 'breakpoint/respond-to';
@import "breakpoint/legacy-settings";
//////////////////////////////
// Breakpoint Mixin
//////////////////////////////
@mixin breakpoint($query, $no-query: false) {
@include legacy-settings-warning;
// Reset contexts
@include private-breakpoint-reset-contexts();
$breakpoint: breakpoint($query, false);
$query-string: map-get($breakpoint, 'query');
$query-fallback: map-get($breakpoint, 'fallback');
$private-breakpoint-context-holder: map-get($breakpoint, 'context holder') !global;
$private-breakpoint-query-count: map-get($breakpoint, 'query count') !global;
// Allow for an as-needed override or usage of no query fallback.
@if $no-query != false {
$query-fallback: $no-query;
}
@if $query-fallback != false {
$context-setter: private-breakpoint-set-context('no-query', $query-fallback);
}
// Print Out Query String
@if not breakpoint-get('no queries') {
@media #{$query-string} {
@content;
}
}
@if breakpoint-get('no query fallbacks') != false or breakpoint-get('no queries') == true {
$type: type-of(breakpoint-get('no query fallbacks'));
$print: false;
@if ($type == 'bool') {
$print: true;
}
@else if ($type == 'string') {
@if $query-fallback == breakpoint-get('no query fallbacks') {
$print: true;
}
}
@else if ($type == 'list') {
@each $wrapper in breakpoint-get('no query fallbacks') {
@if $query-fallback == $wrapper {
$print: true;
}
}
}
// Write Fallback
@if ($query-fallback != false) and ($print == true) {
$type-fallback: type-of($query-fallback);
@if ($type-fallback != 'bool') {
#{$query-fallback} & {
@content;
}
}
@else {
@content;
}
}
}
@include private-breakpoint-reset-contexts();
}
@mixin mq($query, $no-query: false) {
@include breakpoint($query, $no-query) {
@content;
}
}

4
compass_mixins/static/css/vendor/_compass.scss vendored

@ -1,4 +0,0 @@
@import "compass/functions";
@import "compass/utilities";
@import "compass/typography";
@import "compass/css3";

5
compass_mixins/static/css/vendor/_font-awesome-compass.scss vendored

@ -1,5 +0,0 @@
@function fa-font-path($path) {
@return font-url($path, true);
}
$fa-sass-asset-helper: true;

19
compass_mixins/static/css/vendor/_font-awesome-semantic.scss vendored

@ -1,19 +0,0 @@
@mixin s-fa-icon($icon) {
@extend %fa;
@each $value in $icon {
@extend %#{convert-value($value)};
}
}
$value_map: (
right: pull-right,
left: pull-left
);
@function convert-value($value) {
@if map-has-key($value_map, $value) {
@return map-get($value_map, $value);
} @else {
@return fa-#{$value};
}
}

5
compass_mixins/static/css/vendor/_font-awesome-sprockets.scss vendored

@ -1,5 +0,0 @@
@function fa-font-path($path) {
@return font-path($path);
}
$fa-sass-asset-helper: true;

18
compass_mixins/static/css/vendor/_font-awesome.scss vendored

@ -1,18 +0,0 @@
/*!
* Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
@import "font-awesome/variables";
@import "font-awesome/mixins";
@import "font-awesome/path";
@import "font-awesome/core";
@import "font-awesome/larger";
@import "font-awesome/fixed-width";
@import "font-awesome/list";
@import "font-awesome/bordered-pulled";
@import "font-awesome/animated";
@import "font-awesome/rotated-flipped";
@import "font-awesome/stacked";
@import "font-awesome/icons";
@import "font-awesome-semantic";

27
compass_mixins/static/css/vendor/_h5bp.scss vendored

@ -1,27 +0,0 @@
// HTML5 Boilerplate
//
// What follows is the result of much research on cross-browser styling.
// Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
// Kroc Camen, and the h5bp dev community and team.
@import 'h5bp/normalize';
@import 'h5bp/main';
@import 'h5bp/browserupgrade';
@import 'h5bp/errorpage';
@import 'h5bp/helpers';
@import 'h5bp/media';
@mixin h5bp-custom {
// Redefine this mixin to add custom modifications to H5BP styles.
}
@mixin h5bp {
@include h5bp-normalize;
@include h5bp-main;
@include h5bp-browserupgrade;
@include h5bp-errorpage;
@include h5bp-custom;
@include h5bp-helpers;
@include h5bp-media;
}

38
compass_mixins/static/css/vendor/_lemonade.scss vendored

@ -1,38 +0,0 @@
@mixin image-dimensions($file) {
height: image-height($file);
width: image-width($file);
}
@mixin sprite-image($file) {
background: sprite-image($file) $repeat;
}
@mixin sized-sprite-image($file) {
background: sprite-image($file);
@include image-dimensions($file);
}
@mixin sprite-folder($folder, $image-dimensions: false) {
.#{$folder} {
@if $image-dimensions {
background: sprite-url($folder);
}
@else {
background: sprite-url($folder) no-repeat;
}
}
@for $i from 0 to sprite-files-in-folder($folder) {
$file: sprite-file-from-folder($folder, $i);
.#{$folder}-#{image-basename($file)} {
@extend .#{$folder};
background-position: sprite-position(sprite-file-from-folder($folder, $i));
@if $image-dimensions {
@include image-dimensions($file);
}
}
}
}
@mixin sized-sprite-folder($folder) {
@include sprite-folder($folder, true);
}

4
compass_mixins/static/css/vendor/_su.scss vendored

@ -1,4 +0,0 @@
// Su
// ==
@import 'susy/su';

4
compass_mixins/static/css/vendor/_susy.scss vendored

@ -1,4 +0,0 @@
// Susy
// ====
@import 'susy/language/susy';

4
compass_mixins/static/css/vendor/_susyone.scss vendored

@ -1,4 +0,0 @@
// Susy
// ====
@import 'susy/language/susyone';

31
compass_mixins/static/css/vendor/animation/_animate.scss vendored

@ -1,31 +0,0 @@
// ---------------------------------------------------------------------------
// Animations from Animate.css
// Author : Dan Eden
// URL : http://daneden.me/animate/
//
// Attention seekers
// - flash bounce shake tada swing wobble pulse
// Fading entrances
// - fadeIn fadeInUp fadeInDown fadeInLeft fadeInRight fadeInUpBig fadeInDownBig fadeInLeftBig fadeInRightBig
// Fading exits
// - fadeOut fadeOutUp fadeOutDown fadeOutLeft fadeOutRight fadeOutUpBig fadeOutDownBig fadeOutLeftBig fadeOutRightBig
// Bouncing entrances
// - bounceIn bounceInDown bounceInUp bounceInLeft bounceInRight
// Bouncing exits
// - bounceOut bounceOutDown bounceOutUp bounceOutLeft bounceOutRight
// Rotating entrances
// - rotateIn rotateInDownLeft rotateInDownRight rotateInUpLeft rotateInUpRight
// Rotating exits
// - rotateOut rotateOutDownLeft rotateOutDownRight rotateOutUpLeft rotateOutUpRight
// Lightspeed
// - lightSpeedIn lightSpeedOut
// Specials
// - hinge rollIn rollOut
// ---------------------------------------------------------------------------
@import "animate/attention-seekers";
@import "animate/bouncing";
@import "animate/fading";
@import "animate/flippers";
@import "animate/lightspeed";
@import "animate/rotating";
@import "animate/specials";

127
compass_mixins/static/css/vendor/animation/_core.scss vendored

@ -1,127 +0,0 @@
@import "shared";
// CSS Animations.
// Apply an animation property and value with the correct browser support
@mixin animation-support($property, $value) {
@include experimental($property, $value, -moz, -webkit, -o, -ms, not -khtml, official); }
// Name of any animation as a string.
$default-animation-name : false !default;
// Duration of the entire animation in seconds.
$default-animation-duration : false !default;
// Delay for start of animation in seconds.
$default-animation-delay : false !default;
// The timing function(s) to be used between keyframes. [ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier($number, $number, $number, $number)]
$default-animation-timing-function : false !default;
// The number of times an animation cycle is played. [infinite | $number]
$default-animation-iteration-count : false !default;
// Whether or not the animation should play in reverse on alternate cycles. [normal | alternate]
$default-animation-direction : false !default;
// What values are applied by the animation outside the time it is executing. [none | forwards | backwards | both]
$default-animation-fill-mode : false !default;
// Whether the animation is running or paused. [running | paused]
$default-animation-play-state : false !default;
// Create a named animation sequence that can be applied to elements later.
//
// $name - The name of your animation.
// @content - The keyframes of the animation.
@mixin keyframes(
$name,
$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 {
@include with-only-support-for($moz: true) {
@-moz-keyframes #{$name} { @content; }
}
}
@if $webkit {
@include with-only-support-for($webkit: true) {
@-webkit-keyframes #{$name} { @content; }
}
}
@if $o {
@include with-only-support-for($o: true) {
@-o-keyframes #{$name} { @content; }
}
}
@if $ms {
@include with-only-support-for($ms: true) {
@-ms-keyframes #{$name} { @content; }
}
}
@if $khtml {
@include with-only-support-for($khtml: true) {
@-khtml-keyframes #{$name} { @content; }
}
}
@if $official {
@include with-only-support-for {
@keyframes #{$name} { @content; }
}
}
}
// Apply 1-10 animation names.
@mixin animation-name($name-1: $default-animation-name, $name-2: false, $name-3: false, $name-4: false, $name-5: false, $name-6: false, $name-7: false, $name-8: false, $name-9: false, $name-10: false) {
$name: compact($name-1, $name-2, $name-3, $name-4, $name-5, $name-6, $name-7, $name-8, $name-9, $name-10);
@include animation-support(animation-name, $name); }
// Apply 1-10 animation durations.
@mixin animation-duration($duration-1: $default-animation-duration, $duration-2: false, $duration-3: false, $duration-4: false, $duration-5: false, $duration-6: false, $duration-7: false, $duration-8: false, $duration-9: false, $duration-10: false) {
$duration: compact($duration-1, $duration-2, $duration-3, $duration-4, $duration-5, $duration-6, $duration-7, $duration-8, $duration-9, $duration-10);
@include animation-support(animation-duration, $duration); }
// Apply 1-10 animation delays.
@mixin animation-delay($delay-1: $default-animation-delay, $delay-2: false, $delay-3: false, $delay-4: false, $delay-5: false, $delay-6: false, $delay-7: false, $delay-8: false, $delay-9: false, $delay-10: false) {
$delay: compact($delay-1, $delay-2, $delay-3, $delay-4, $delay-5, $delay-6, $delay-7, $delay-8, $delay-9, $delay-10);
@include animation-support(animation-delay, $delay); }
// Apply 1-10 animation timing functions.
@mixin animation-timing-function($function-1: $default-animation-timing-function, $function-2: false, $function-3: false, $function-4: false, $function-5: false, $function-6: false, $function-7: false, $function-8: false, $function-9: false, $function-10: false) {
$function: compact($function-1, $function-2, $function-3, $function-4, $function-5, $function-6, $function-7, $function-8, $function-9, $function-10);
@include animation-support(animation-timing-function, $function); }
// Apply 1-10 animation iteration counts.
@mixin animation-iteration-count($count-1: $default-animation-iteration-count, $count-2: false, $count-3: false, $count-4: false, $count-5: false, $count-6: false, $count-7: false, $count-8: false, $count-9: false, $count-10: false) {
$count: compact($count-1, $count-2, $count-3, $count-4, $count-5, $count-6, $count-7, $count-8, $count-9, $count-10);
@include animation-support(animation-iteration-count, $count); }
// Apply 1-10 animation directions.
@mixin animation-direction($direction-1: $default-animation-direction, $direction-2: false, $direction-3: false, $direction-4: false, $direction-5: false, $direction-6: false, $direction-7: false, $direction-8: false, $direction-9: false, $direction-10: false) {
$direction: compact($direction-1, $direction-2, $direction-3, $direction-4, $direction-5, $direction-6, $direction-7, $direction-8, $direction-9, $direction-10);
@include animation-support(animation-direction, $direction); }
// Apply 1-10 animation fill modes.
@mixin animation-fill-mode($mode-1: $default-animation-fill-mode, $mode-2: false, $mode-3: false, $mode-4: false, $mode-5: false, $mode-6: false, $mode-7: false, $mode-8: false, $mode-9: false, $mode-10: false) {
$mode: compact($mode-1, $mode-2, $mode-3, $mode-4, $mode-5, $mode-6, $mode-7, $mode-8, $mode-9, $mode-10);
@include animation-support(animation-fill-mode, $mode); }
// Apply 1-10 animation play states.
@mixin animation-play-state($state-1: $default-animation-play-state, $state-2: false, $state-3: false, $state-4: false, $state-5: false, $state-6: false, $state-7: false, $state-8: false, $state-9: false, $state-10: false) {
$state: compact($state-1, $state-2, $state-3, $state-4, $state-5, $state-6, $state-7, $state-8, $state-9, $state-10);
@include animation-support(animation-play-state, $state); }
// Shortcut to apply a named animation to an element, with all the settings.
//
// $animation-1 : Name and settings for the first animation. [<values> | default]
// ...
// $animation-10 : Name and settings for the tenth animation. <values>
@mixin animation($animation-1: default, $animation-2: false, $animation-3: false, $animation-4: false, $animation-5: false, $animation-6: false, $animation-7: false, $animation-8: false, $animation-9: false, $animation-10: false) {
@if $animation-1 == default {
$animation-1: -compass-space-list(compact($default-animation-name, $default-animation-duration, $default-animation-timing-function, $default-animation-delay, $default-animation-iteration-count, $default-animation-direction, $default-animation-fill-mode, $default-animation-play-state)); }
$animation: compact($animation-1, $animation-2, $animation-3, $animation-4, $animation-5, $animation-6, $animation-7, $animation-8, $animation-9, $animation-10);
@include animation-support(animation, $animation); }

22
compass_mixins/static/css/vendor/animation/_shared.scss vendored

@ -1,22 +0,0 @@
@mixin set-experimental-support($moz: false, $webkit: false, $ms: false, $o: false, $khtml: false) {
$experimental-support-for-mozilla: $moz;
$experimental-support-for-webkit: $webkit;
$experimental-support-for-microsoft: $ms;
$experimental-support-for-opera: $o;
$experimental-support-for-khtml: $khtml;
}
@mixin with-only-support-for($moz: false, $webkit: false, $ms: false, $o: false, $khtml: false) {
// Capture the current state
$original-moz: $experimental-support-for-mozilla;
$original-webkit: $experimental-support-for-webkit;
$original-o: $experimental-support-for-opera;
$original-ms: $experimental-support-for-microsoft;
$original-khtml: $experimental-support-for-khtml;
@include set-experimental-support($moz, $webkit, $ms, $o, $khtml);
@content;
@include set-experimental-support($original-moz, $original-webkit, $original-ms, $original-o, $original-khtml);
}

152
compass_mixins/static/css/vendor/animation/animate/_attention-seekers.scss vendored

@ -1,152 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(flash) {
0% {
opacity: 1; }
25% {
opacity: 0; }
50% {
opacity: 1; }
75% {
opacity: 0; }
100% {
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(bounce) {
0% {
@include translateY(0); }
20% {
@include translateY(0); }
40% {
@include translateY(-30px); }
50% {
@include translateY(0); }
60% {
@include translateY(-15px); }
80% {
@include translateY(0); }
100% {
@include translateY(0); } }
// ---------------------------------------------------------------------------
@include keyframes(shake) {
0% {
@include translateX(0); }
10% {
@include translateX(-10px); }
20% {
@include translateX(10px); }
30% {
@include translateX(-10px); }
40% {
@include translateX(10px); }
50% {
@include translateX(-10px); }
60% {
@include translateX(10px); }
70% {
@include translateX(-10px); }
80% {
@include translateX(10px); }
90% {
@include translateX(-10px); }
100% {
@include translateX(0); } }
// ---------------------------------------------------------------------------
@include keyframes(tada) {
0% {
@include scale(1); }
10% {
@include transform(scale(0.9) rotate(-3deg)); }
20% {
@include transform(scale(0.9) rotate(-3deg)); }
30% {
@include transform(scale(1.1) rotate(3deg)); }
40% {
@include transform(scale(1.1) rotate(-3deg)); }
50% {
@include transform(scale(1.1) rotate(3deg)); }
60% {
@include transform(scale(1.1) rotate(-3deg)); }
70% {
@include transform(scale(1.1) rotate(3deg)); }
80% {
@include transform(scale(1.1) rotate(-3deg)); }
90% {
@include transform(scale(1.1) rotate(3deg)); }
100% {
@include transform(scale(1) rotate(0)); } }
// ---------------------------------------------------------------------------
@include keyframes(swing) {
20%, 40%, 60%, 80%, 100% {
@include transform-origin(top center); }
20% {
@include rotate(15deg); }
40% {
@include rotate(-10deg); }
60% {
@include rotate(5deg); }
80% {
@include rotate(-5deg); }
100% {
@include rotate(0deg); } }
// ---------------------------------------------------------------------------
@include keyframes(wobble) {
0% {
@include translateX(0%); }
15% {
@include transform(translateX(-25%) rotate(-5deg)); }
30% {
@include transform(translateX(20%) rotate(3deg)); }
45% {
@include transform(translateX(-15%) rotate(-3deg)); }
60% {
@include transform(translateX(10%) rotate(2deg)); }
75% {
@include transform(translateX(-5%) rotate(-1deg)); }
100% {
@include transform(translateX(0%)); } }
// ---------------------------------------------------------------------------
@include keyframes(pulse) {
0% {
@include scale(1); }
50% {
@include scale(1.1); }
100% {
@include scale(1); } }
// ---------------------------------------------------------------------------
@include keyframes(wiggle) {
0% {
@include skewX(9deg); }
10% {
@include skewX(-8deg); }
20% {
@include skewX(7deg); }
30% {
@include skewX(-6deg); }
40% {
@include skewX(5deg); }
50% {
@include skewX(-4deg); }
60% {
@include skewX(3deg); }
70% {
@include skewX(-2deg); }
80% {
@include skewX(1deg); }
90% {
@include skewX(0deg); }
100% {
@include skewX(0deg); } }

3
compass_mixins/static/css/vendor/animation/animate/_bouncing.scss vendored

@ -1,3 +0,0 @@
// ---------------------------------------------------------------------------
@import "bouncing/bouncing-exits";
@import "bouncing/bouncing-entrances";

21
compass_mixins/static/css/vendor/animation/animate/_classes.scss vendored

File diff suppressed because one or more lines are too long

3
compass_mixins/static/css/vendor/animation/animate/_fading.scss vendored

@ -1,3 +0,0 @@
// ---------------------------------------------------------------------------
@import "fading/fading-exits";
@import "fading/fading-entrances";

87
compass_mixins/static/css/vendor/animation/animate/_flippers.scss vendored

@ -1,87 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(flip) {
0% {
@include transform(perspective(400px) rotateY(0));
@include animation-timing-function(ease-out);
}
40% {
@include transform(perspective(400px) translateZ(150px) rotateY(170deg));
@include animation-timing-function(ease-out);
}
50% {
@include transform(perspective(400px) translateZ(150px) rotateY(190deg) scale(1));
@include animation-timing-function(ease-in);
}
80% {
@include transform(perspective(400px) rotateY(360deg) scale(0.95));
@include animation-timing-function(ease-in);
}
100% {
@include transform(perspective(400px) scale(1));
@include animation-timing-function(ease-in);
}
}
// ---------------------------------------------------------------------------
@include keyframes(flipInX) {
0% {
@include transform(perspective(400px) rotateX(90deg));
@include opacity(0);
}
40% {
@include transform(perspective(400px) rotateX(-10deg));
}
70% {
@include transform(perspective(400px) rotateX(10deg));
}
100% {
@include transform(perspective(400px) rotateX(0deg));
@include opacity(1);
}
}
// ---------------------------------------------------------------------------
@include keyframes(flipOutX) {
0% {
@include transform(perspective(400px) rotateX(0deg));
@include opacity(1);
}
100% {
@include transform(perspective(400px) rotateX(90deg));
@include opacity(0);
}
}
// ---------------------------------------------------------------------------
@include keyframes(flipInY) {
0% {
@include transform(perspective(400px) rotateY(90deg));
@include opacity(0);
}
40% {
@include transform(perspective(400px) rotateY(-10deg));
}
70% {
@include transform(perspective(400px) rotateY(10deg));
}
100% {
@include transform(perspective(400px) rotateY(0deg));
@include opacity(1);
}
}
// ---------------------------------------------------------------------------
@include keyframes(flipOutY) {
0% {
@include transform(perspective(400px) rotateY(0deg));
@include opacity(1);
}
100% {
@include transform(perspective(400px) rotateY(90deg));
@include opacity(0);
}
}

24
compass_mixins/static/css/vendor/animation/animate/_lightspeed.scss vendored

@ -1,24 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(lightSpeedIn) {
0% {
@include transform(translateX(100%) skewX(-30deg));
@include opacity(0); }
60% {
@include transform(translateX(-20%) skewX(30deg));
@include opacity(1); }
80% {
@include transform(translateX(0%) skewX(-15deg));
@include opacity(1); }
100% {
@include transform(translateX(0%) skewX(0deg));
@include opacity(1); } }
// ---------------------------------------------------------------------------
@include keyframes(lightSpeedOut) {
0% {
@include transform(translateX(0%) skewX(0deg));
@include opacity(1); }
100% {
@include transform(translateX(100%) skewX(-30deg));
@include opacity(0); } }

3
compass_mixins/static/css/vendor/animation/animate/_rotating.scss vendored

@ -1,3 +0,0 @@
// ---------------------------------------------------------------------------
@import "rotating/rotating-exits";
@import "rotating/rotating-entrances";

42
compass_mixins/static/css/vendor/animation/animate/_specials.scss vendored

@ -1,42 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(hinge) {
0% {
@include rotate(0);
@include transform-origin(top left);
@include animation-timing-function(ease-in-out); }
20%, 60% {
@include rotate(80deg);
@include transform-origin(top left);
@include animation-timing-function(ease-in-out); }
40% {
@include rotate(60deg);
@include transform-origin(top left);
@include animation-timing-function(ease-in-out); }
80% {
@include transform(rotate(60deg) translateY(0));
@include opacity(1);
@include transform-origin(top left);
@include animation-timing-function(ease-in-out); }
100% {
@include translateY(700px);
@include opacity(0); } }
// ---------------------------------------------------------------------------
@include keyframes(rollIn) {
0% {
@include opacity(0);
@include transform(translateX(-100%) rotate(-120deg)); }
100% {
@include opacity(1);
@include transform(translateX(0px) rotate(0deg)); } }
// ---------------------------------------------------------------------------
@include keyframes(rollOut) {
0% {
@include opacity(1);
@include transform(translateX(0px) rotate(0deg)); }
100% {
@include opacity(0);
@include transform(translateX(-100%) rotate(-120deg)); } }

68
compass_mixins/static/css/vendor/animation/animate/bouncing/_bouncing-entrances.scss vendored

@ -1,68 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(bounceIn) {
0% {
opacity: 0;
@include scale(0.3); }
50% {
opacity: 1;
@include scale(1.05); }
70% {
@include scale(0.9); }
100% {
@include scale(1); } }
// ---------------------------------------------------------------------------
@include keyframes(bounceInDown) {
0% {
opacity: 0;
@include translateY(-2000px); }
60% {
opacity: 1;
@include translateY(30px); }
80% {
@include translateY(-10px); }
100% {
@include translateY(0); } }
// ---------------------------------------------------------------------------
@include keyframes(bounceInUp) {
0% {
opacity: 0;
@include translateY(2000px); }
60% {
opacity: 1;
@include translateY(-30px); }
80% {
@include translateY(10px); }
100% {
@include translateY(0); } }
// ---------------------------------------------------------------------------
@include keyframes(bounceInRight) {
0% {
opacity: 0;
@include translateX(2000px); }
60% {
opacity: 1;
@include translateX(-30px); }
80% {
@include translateX(10px); }
100% {
@include translateX(0); } }
// ---------------------------------------------------------------------------
@include keyframes(bounceInLeft) {
0% {
opacity: 0;
@include translateX(-2000px); }
60% {
opacity: 1;
@include translateX(30px); }
80% {
@include translateX(-10px); }
100% {
@include translateX(0); } }

60
compass_mixins/static/css/vendor/animation/animate/bouncing/_bouncing-exits.scss vendored

@ -1,60 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(bounceOut) {
0% {
@include scale(1); }
25% {
@include scale(0.95); }
50% {
opacity: 1;
@include scale(1.1); }
100% {
opacity: 0;
@include scale(0.3); } }
// ---------------------------------------------------------------------------
@include keyframes(bounceOutUp) {
0% {
@include translateY(0); }
20% {
opacity: 1;
@include translateY(20px); }
100% {
opacity: 0;
@include translateY(-2000px); } }
// ---------------------------------------------------------------------------
@include keyframes(bounceOutDown) {
0% {
@include translateY(0); }
20% {
opacity: 1;
@include translateY(-20px); }
100% {
opacity: 0;
@include translateY(2000px); } }
// ---------------------------------------------------------------------------
@include keyframes(bounceOutLeft) {
0% {
@include translateX(0); }
20% {
opacity: 1;
@include translateX(20px); }
100% {
opacity: 0;
@include translateX(-2000px); } }
// ---------------------------------------------------------------------------
@include keyframes(bounceOutRight) {
0% {
@include translateX(0); }
20% {
opacity: 1;
@include translateX(-20px); }
100% {
opacity: 0;
@include translateX(2000px); } }

86
compass_mixins/static/css/vendor/animation/animate/fading/_fading-entrances.scss vendored

@ -1,86 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(fadeIn) {
0% {
opacity: 0; }
100% {
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeInUp) {
0% {
@include translateY(20px);
opacity: 0; }
100% {
@include translateY(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeInDown) {
0% {
@include translateY(-20px);
opacity: 0; }
100% {
@include translateY(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeInRight) {
0% {
@include translateX(20px);
opacity: 0; }
100% {
@include translateX(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeInLeft) {
0% {
@include translateX(-20px);
opacity: 0; }
100% {
@include translateX(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeInUpBig) {
0% {
@include translateY(2000px);
opacity: 0; }
100% {
@include translateY(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeInDownBig) {
0% {
opacity: 0;
@include translateY(-2000px); }
100% {
opacity: 1;
@include translateY(0); } }
// ---------------------------------------------------------------------------
@include keyframes(fadeInRightBig) {
0% {
opacity: 0;
@include translateX(2000px); }
100% {
opacity: 1;
@include translateX(0); } }
// ---------------------------------------------------------------------------
@include keyframes(fadeInLeftBig) {
0% {
opacity: 0;
@include translateX(-2000px); }
100% {
opacity: 1;
@include translateX(0); } }

86
compass_mixins/static/css/vendor/animation/animate/fading/_fading-exits.scss vendored

@ -1,86 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(fadeOut) {
0% {
opacity: 1; }
100% {
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeOutUp) {
0% {
@include translateY(0);
opacity: 1; }
100% {
@include translateY(-20px);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeOutDown) {
0% {
@include translateY(0);
opacity: 1; }
100% {
@include translateY(20px);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeOutRight) {
0% {
@include translateX(0);
opacity: 1; }
100% {
@include translateX(20px);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeOutLeft) {
0% {
@include translateX(0);
opacity: 1; }
100% {
@include translateX(-20px);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeOutUpBig) {
0% {
@include translateY(0);
opacity: 1; }
100% {
@include translateY(-2000px);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(fadeOutDownBig) {
0% {
opacity: 1;
@include translateY(0); }
100% {
opacity: 0;
@include translateY(2000px); } }
// ---------------------------------------------------------------------------
@include keyframes(fadeOutRightBig) {
0% {
opacity: 1;
@include translateX(0); }
100% {
opacity: 0;
@include translateX(2000px); } }
// ---------------------------------------------------------------------------
@include keyframes(fadeOutLeftBig) {
0% {
opacity: 1;
@include translateX(0); }
100% {
opacity: 0;
@include translateX(-2000px); } }

58
compass_mixins/static/css/vendor/animation/animate/rotating/_rotating-entrances.scss vendored

@ -1,58 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(rotateIn) {
0% {
@include transform-origin(center center);
@include rotate(-200deg);
opacity: 0; }
100% {
@include transform-origin(center center);
@include rotate(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(rotateInDownLeft) {
0% {
@include transform-origin(left bottom);
@include rotate(-90deg);
opacity: 0; }
100% {
@include transform-origin(left bottom);
@include rotate(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(rotateInUpLeft) {
0% {
@include transform-origin(left bottom);
@include rotate(90deg);
opacity: 0; }
100% {
@include transform-origin(left bottom);
@include rotate(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(rotateInUpRight) {
0% {
@include transform-origin(right bottom);
@include rotate(-90deg);
opacity: 0; }
100% {
@include transform-origin(right bottom);
@include rotate(0);
opacity: 1; } }
// ---------------------------------------------------------------------------
@include keyframes(rotateInDownRight) {
0% {
@include transform-origin(right bottom);
@include rotate(90deg);
opacity: 0; }
100% {
@include transform-origin(right bottom);
@include rotate(0);
opacity: 1; } }

58
compass_mixins/static/css/vendor/animation/animate/rotating/_rotating-exits.scss vendored

@ -1,58 +0,0 @@
// ---------------------------------------------------------------------------
@include keyframes(rotateOut) {
0% {
@include transform-origin(center center);
@include rotate(0);
opacity: 1; }
100% {
@include transform-origin(center center);
@include rotate(200deg);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(rotateOutDownLeft) {
0% {
@include transform-origin(left bottom);
@include rotate(0);
opacity: 1; }
100% {
@include transform-origin(left bottom);
@include rotate(90deg);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(rotateOutUpLeft) {
0% {
@include transform-origin(left bottom);
@include rotate(0);
opacity: 1; }
100% {
@include transform-origin(left bottom);
@include rotate(-90deg);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(rotateOutDownRight) {
0% {
@include transform-origin(right bottom);
@include rotate(0);
opacity: 1; }
100% {
@include transform-origin(right bottom);
@include rotate(-90deg);
opacity: 0; } }
// ---------------------------------------------------------------------------
@include keyframes(rotateOutUpRight) {
0% {
@include transform-origin(right bottom);
@include rotate(0);
opacity: 1; }
100% {
@include transform-origin(right bottom);
@include rotate(90deg);
opacity: 0; } }

95
compass_mixins/static/css/vendor/breakpoint/_context.scss vendored

@ -1,95 +0,0 @@
//////////////////////////////
// Private Breakpoint Variables
//////////////////////////////
$private-breakpoint-context-holder: ();
$private-breakpoint-query-count: 0 !default;
//////////////////////////////
// Breakpoint Has Context
// Returns whether or not you are inside a Breakpoint query
//////////////////////////////
@function breakpoint-has-context() {
@if length($private-breakpoint-query-count) {
@return true;
}
@else {
@return false;
}
}
//////////////////////////////
// Breakpoint Get Context
// $feature: Input feature to get it's current MQ context. Returns false if no context
//////////////////////////////
@function breakpoint-get-context($feature) {
@if map-has-key($private-breakpoint-context-holder, $feature) {
$get: map-get($private-breakpoint-context-holder, $feature);
// Special handling of no-query from get side so /false/ prepends aren't returned
@if $feature == 'no-query' {
@if type-of($get) == 'list' and length($get) > 1 and nth($get, 1) == false {
$get: nth($get, length($get));
}
}
@return $get;
}
@else {
@if breakpoint-has-context() and $feature == 'media' {
@return breakpoint-get('default media');
}
@else {
@return false;
}
}
}
//////////////////////////////
// Private function to set context
//////////////////////////////
@function private-breakpoint-set-context($feature, $value) {
@if $value == 'monochrome' {
$feature: 'monochrome';
}
$current: map-get($private-breakpoint-context-holder, $feature);
@if $current and length($current) == $private-breakpoint-query-count {
@warn "You have already queried against `#{$feature}`. Unexpected things may happen if you query against the same feature more than once in the same `and` query. Breakpoint is overwriting the current context with `#{$value}`";
}
@if not map-has-key($private-breakpoint-context-holder, $feature) {
$v-holder: ();
@for $i from 1 to $private-breakpoint-query-count {
@if $feature == 'media' {
$v-holder: append($v-holder, breakpoint-get('default media'));
}
@else {
$v-holder: append($v-holder, false);
}
}
$v-holder: append($v-holder, $value);
$private-breakpoint-context-holder: map-merge($private-breakpoint-context-holder, ($feature: $v-holder)) !global;
}
@else {
$v-holder: map-get($private-breakpoint-context-holder, $feature);
$length: length($v-holder);
@for $i from $length to $private-breakpoint-query-count - 1 {
@if $feature == 'media' {
$v-holder: append($v-holder, breakpoint-get('default media'));
}
@else {
$v-holder: append($v-holder, false);
}
}
$v-holder: append($v-holder, $value);
$private-breakpoint-context-holder: map-merge($private-breakpoint-context-holder, ($feature: $v-holder)) !global;
}
@return true;
}
//////////////////////////////
// Private function to reset context
//////////////////////////////
@mixin private-breakpoint-reset-contexts {
$private-breakpoint-context-holder: () !global;
$private-breakpoint-query-count: 0 !global;
}

151
compass_mixins/static/css/vendor/breakpoint/_helpers.scss vendored

@ -1,151 +0,0 @@
//////////////////////////////
// Converts the input value to Base EMs
//////////////////////////////
@function breakpoint-to-base-em($value) {
$value-unit: unit($value);
// Will convert relative EMs into root EMs.
@if breakpoint-get('base font size') and type-of(breakpoint-get('base font size')) == 'number' and $value-unit == 'em' {
$base-unit: unit(breakpoint-get('base font size'));
@if $base-unit == 'px' or $base-unit == '%' or $base-unit == 'em' or $base-unit == 'pt' {
@return base-conversion($value) / base-conversion(breakpoint-get('base font size')) * 1em;
}
@else {
@warn '#{breakpoint-get(\'base font size\')} is not set in valid units for font size!';
@return false;
}
}
@else {
@return base-conversion($value);
}
}
@function base-conversion($value) {
$unit: unit($value);
@if $unit == 'px' {
@return $value / 16px * 1em;
}
@else if $unit == '%' {
@return $value / 100% * 1em;
}
@else if $unit == 'em' {
@return $value;
}
@else if $unit == 'pt' {
@return $value / 12pt * 1em;
}
@else {
@return $value;
// @warn 'Everything is terrible! What have you done?!';
}
}
//////////////////////////////
// Returns whether the feature can have a min/max pair
//////////////////////////////
$breakpoint-min-max-features: 'color',
'color-index',
'aspect-ratio',
'device-aspect-ratio',
'device-height',
'device-width',
'height',
'monochrome',
'resolution',
'width';
@function breakpoint-min-max($feature) {
@each $item in $breakpoint-min-max-features {
@if $feature == $item {
@return true;
}
}
@return false;
}
//////////////////////////////
// Returns whether the feature can have a string value
//////////////////////////////
$breakpoint-string-features: 'orientation',
'scan',
'color',
'aspect-ratio',
'device-aspect-ratio',
'pointer',
'luminosity';
@function breakpoint-string-value($feature) {
@each $item in $breakpoint-string-features {
@if breakpoint-min-max($item) {
@if $feature == 'min-#{$item}' or $feature == 'max-#{$item}' {
@return true;
}
}
@else if $feature == $item {
@return true;
}
}
@return false;
}
//////////////////////////////
// Returns whether the feature is a media type
//////////////////////////////
$breakpoint-media-types: 'all',
'braille',
'embossed',
'handheld',
'print',
'projection',
'screen',
'speech',
'tty',
'tv';
@function breakpoint-is-media($feature) {
@each $media in $breakpoint-media-types {
@if ($feature == $media) or ($feature == 'not #{$media}') or ($feature == 'only #{$media}') {
@return true;
}
}
@return false;
}
//////////////////////////////
// Returns whether the feature can stand alone
//////////////////////////////
$breakpoint-single-string-features: 'color',
'color-index',
'grid',
'monochrome';
@function breakpoint-single-string($feature) {
@each $item in $breakpoint-single-string-features {
@if $feature == $item {
@return true;
}
}
@return false;
}
//////////////////////////////
// Returns whether the feature
//////////////////////////////
@function breakpoint-is-resolution($feature) {
$resolutions: 'device-pixel-ratio', 'dpr';
@if breakpoint-get('transform resolutions') {
$resolutions: append($resolutions, 'resolution');
}
@each $reso in $resolutions {
@if index($feature, $reso) or index($feature, 'min-#{$reso}') or index($feature, 'max-#{$reso}') {
@return true;
}
}
@return false;
}

50
compass_mixins/static/css/vendor/breakpoint/_legacy-settings.scss vendored

@ -1,50 +0,0 @@
@mixin legacy-settings-warning {
$legacyVars: (
'default-media': 'default media',
'default-feature': 'default feature',
'force-media-all': 'force all media type',
'to-ems': 'to ems',
'resolutions': 'transform resolutions',
'no-queries': 'no queries',
'no-query-fallbacks': 'no query fallbacks',
'base-font-size': 'base font size',
'legacy-syntax': 'legacy syntax'
);
@each $legacy, $new in $legacyVars {
@if global-variable-exists('breakpoint-' + $legacy) {
@warn "In order to avoid variable namspace collisions, we have updated the way to change settings for Breakpoint. Please change all instances of `$breakpoint-#{$legacy}: {{setting}}` to `@include breakpoint-set('#{$new}', {{setting}})`. Variable settings, as well as this warning will be deprecated in a future release."
}
};
//////////////////////////////
// Hand correct each setting
//////////////////////////////
@if global-variable-exists('breakpoint-default-media') and $breakpoint-default-media != breakpoint-get('default media') {
@include breakpoint-set('default media', $breakpoint-default-media);
}
@if global-variable-exists('breakpoint-default-feature') and $breakpoint-default-feature != breakpoint-get('default feature') {
@include breakpoint-set('default feature', $breakpoint-default-feature);
}
@if global-variable-exists('breakpoint-force-media-all') and $breakpoint-force-media-all != breakpoint-get('force all media type') {
@include breakpoint-set('force all media type', $breakpoint-force-media-all);
}
@if global-variable-exists('breakpoint-to-ems') and $breakpoint-to-ems != breakpoint-get('to ems') {
@include breakpoint-set('to ems', $breakpoint-to-ems);
}
@if global-variable-exists('breakpoint-resolutions') and $breakpoint-resolutions != breakpoint-get('transform resolutions') {
@include breakpoint-set('transform resolutions', $breakpoint-resolutions);
}
@if global-variable-exists('breakpoint-no-queries') and $breakpoint-no-queries != breakpoint-get('no queries') {
@include breakpoint-set('no queries', $breakpoint-no-queries);
}
@if global-variable-exists('breakpoint-no-query-fallbacks') and $breakpoint-no-query-fallbacks != breakpoint-get('no query fallbacks') {
@include breakpoint-set('no query fallbacks', $breakpoint-no-query-fallbacks);
}
@if global-variable-exists('breakpoint-base-font-size') and $breakpoint-base-font-size != breakpoint-get('base font size') {
@include breakpoint-set('base font size', $breakpoint-base-font-size);
}
@if global-variable-exists('breakpoint-legacy-syntax') and $breakpoint-legacy-syntax != breakpoint-get('legacy syntax') {
@include breakpoint-set('legacy syntax', $breakpoint-legacy-syntax);
}
}

15
compass_mixins/static/css/vendor/breakpoint/_no-query.scss vendored

@ -1,15 +0,0 @@
@function breakpoint-no-query($query) {
@if type-of($query) == 'list' {
$keyword: nth($query, 1);
@if type-of($keyword) == 'string' and ($keyword == 'no-query' or $keyword == 'no query' or $keyword == 'fallback') {
@return nth($query, 2);
}
@else {
@return false;
}
}
@else {
@return false;
}
}

215
compass_mixins/static/css/vendor/breakpoint/_parsers.scss vendored

@ -1,215 +0,0 @@
//////////////////////////////
// Import Parser Pieces
//////////////////////////////
@import "parsers/query";
@import "parsers/single";
@import "parsers/double";
@import "parsers/triple";
@import "parsers/resolution";
$Memo-Exists: function-exists(memo-get) and function-exists(memo-set);
//////////////////////////////
// Breakpoint Function
//////////////////////////////
@function breakpoint($query, $contexts...) {
$run: true;
$return: ();
// Grab the Memo Output if Memoization can be a thing
@if $Memo-Exists {
$return: memo-get(breakpoint, breakpoint $query $contexts);
@if $return != null {
$run: false;
}
}
@if not $Memo-Exists or $run {
// Internal Variables
$query-string: '';
$query-fallback: false;
$return: ();
// Reserve Global Private Breakpoint Context
$holder-context: $private-breakpoint-context-holder;
$holder-query-count: $private-breakpoint-query-count;
// Reset Global Private Breakpoint Context
$private-breakpoint-context-holder: () !global;
$private-breakpoint-query-count: 0 !global;
// Test to see if it's a comma-separated list
$or-list: if(list-separator($query) == 'comma', true, false);
@if ($or-list == false and breakpoint-get('legacy syntax') == false) {
$query-string: breakpoint-parse($query);
}
@else {
$length: length($query);
$last: nth($query, $length);
$query-fallback: breakpoint-no-query($last);
@if ($query-fallback != false) {
$length: $length - 1;
}
@if (breakpoint-get('legacy syntax') == true) {
$mq: ();
@for $i from 1 through $length {
$mq: append($mq, nth($query, $i), comma);
}
$query-string: breakpoint-parse($mq);
}
@else {
$query-string: '';
@for $i from 1 through $length {
$query-string: $query-string + if($i == 1, '', ', ') + breakpoint-parse(nth($query, $i));
}
}
}
$return: ('query': $query-string,
'fallback': $query-fallback,
'context holder': $private-breakpoint-context-holder,
'query count': $private-breakpoint-query-count
);
@if length($contexts) > 0 and nth($contexts, 1) != false {
@if $query-fallback != false {
$context-setter: private-breakpoint-set-context('no-query', $query-fallback);
}
$context-map: ();
@each $context in $contexts {
$context-map: map-merge($context-map, ($context: breakpoint-get-context($context)));
}
$return: map-merge($return, (context: $context-map));
}
// Reset Global Private Breakpoint Context
$private-breakpoint-context-holder: () !global;
$private-breakpoint-query-count: 0 !global;
@if $Memo-Exists {
$holder: memo-set(breakpoint, breakpoint $query $contexts, $return);
}
}
@return $return;
}
//////////////////////////////
// General Breakpoint Parser
//////////////////////////////
@function breakpoint-parse($query) {
// Increase number of 'and' queries
$private-breakpoint-query-count: $private-breakpoint-query-count + 1 !global;
// Set up Media Type
$query-print: '';
$force-all: ((breakpoint-get('force all media type') == true) and (breakpoint-get('default media') == 'all'));
$empty-media: true;
@if ($force-all == true) or (breakpoint-get('default media') != 'all') {
// Force the print of the default media type if (force all is true and default media type is all) or (default media type is not all)
$query-print: breakpoint-get('default media');
$empty-media: false;
}
$query-resolution: false;
$query-holder: breakpoint-parse-query($query);
// Loop over each parsed out query and write it to $query-print
$first: true;
@each $feature in $query-holder {
$length: length($feature);
// Parse a single feature
@if ($length == 1) {
// Feature is currently a list, grab the actual value
$feature: nth($feature, 1);
// Media Type must by convention be the first item, so it's safe to flat override $query-print, which right now should only be the default media type
@if (breakpoint-is-media($feature)) {
@if ($force-all == true) or ($feature != 'all') {
// Force the print of the default media type if (force all is true and default media type is all) or (default media type is not all)
$query-print: $feature;
$empty-media: false;
// Set Context
$context-setter: private-breakpoint-set-context(media, $query-print);
}
}
@else {
$parsed: breakpoint-parse-single($feature, $empty-media, $first);
$query-print: '#{$query-print} #{$parsed}';
$first: false;
}
}
// Parse a double feature
@else if ($length == 2) {
@if (breakpoint-is-resolution($feature) != false) {
$query-resolution: $feature;
}
@else {
$parsed: null;
// If it's a string/number pair,
// we check to see if one is a single-string value,
// then we parse it as a normal double
$alpha: nth($feature, 1);
$beta: nth($feature, 2);
@if breakpoint-single-string($alpha) or breakpoint-single-string($beta) {
$parsed: breakpoint-parse-single($alpha, $empty-media, $first);
$query-print: '#{$query-print} #{$parsed}';
$first: false;
$parsed: breakpoint-parse-single($beta, $empty-media, $first);
$query-print: '#{$query-print} #{$parsed}';
}
@else {
$parsed: breakpoint-parse-double($feature, $empty-media, $first);
$query-print: '#{$query-print} #{$parsed}';
$first: false;
}
}
}
// Parse a triple feature
@else if ($length == 3) {
$parsed: breakpoint-parse-triple($feature, $empty-media, $first);
$query-print: '#{$query-print} #{$parsed}';
$first: false;
}
}
@if ($query-resolution != false) {
$query-print: breakpoint-build-resolution($query-print, $query-resolution, $empty-media, $first);
}
// Loop through each feature that's been detected so far and append 'false' to the the value list to increment their counters
@each $f, $v in $private-breakpoint-context-holder {
$v-holder: $v;
$length: length($v-holder);
@if length($v-holder) < $private-breakpoint-query-count {
@for $i from $length to $private-breakpoint-query-count {
@if $f == 'media' {
$v-holder: append($v-holder, breakpoint-get('default media'));
}
@else {
$v-holder: append($v-holder, false);
}
}
}
$private-breakpoint-context-holder: map-merge($private-breakpoint-context-holder, ($f: $v-holder)) !global;
}
@return $query-print;
}

82
compass_mixins/static/css/vendor/breakpoint/_respond-to.scss vendored

@ -1,82 +0,0 @@
////////////////////////
// Default the Breakpoints variable
////////////////////////
$breakpoints: () !default;
$BREAKPOINTS: () !default;
////////////////////////
// Respond-to API Mixin
////////////////////////
@mixin respond-to($context, $no-query: false) {
@if length($breakpoints) > 0 and length($BREAKPOINTS) == 0 {
@warn "In order to avoid variable namespace collisions, we have updated the way to add breakpoints for respond-to. Please change all instances of `$breakpoints: add-breakpoint()` to `@include add-breakpoint()`. The `add-breakpoint()` function will be deprecated in a future release.";
$BREAKPOINTS: $breakpoints !global;
$breakpoints: () !global;
}
@if type-of($BREAKPOINTS) != 'map' {
// Just in case someone writes gibberish to the $breakpoints variable.
@warn "Your breakpoints aren't a map! `respond-to` expects a map. Please check the value of $BREAKPOINTS variable.";
@content;
}
@else if map-has-key($BREAKPOINTS, $context) {
@include breakpoint(map-get($BREAKPOINTS, $context), $no-query) {
@content;
}
}
@else if not map-has-key($BREAKPOINTS, $context) {
@warn "`#{$context}` isn't a defined breakpoint! Please add it using `$breakpoints: add-breakpoint(`#{$context}`, $value);`";
@content;
}
@else {
@warn "You haven't created any breakpoints yet! Make some already! `@include add-breakpoint($name, $bkpt)`";
@content;
}
}
//////////////////////////////
// Add Breakpoint to Breakpoints
// TODO: Remove function in next release
//////////////////////////////
@function add-breakpoint($name, $bkpt, $overwrite: false) {
$output: ($name: $bkpt);
@if length($breakpoints) == 0 {
@return $output;
}
@else {
@if map-has-key($breakpoints, $name) and $overwrite != true {
@warn "You already have a breakpoint named `#{$name}`, please choose another breakpoint name, or pass in `$overwrite: true` to overwrite the previous breakpoint.";
@return $breakpoints;
}
@else if not map-has-key($breakpoints, $name) or $overwrite == true {
@return map-merge($breakpoints, $output);
}
}
}
@mixin add-breakpoint($name, $bkpt, $overwrite: false) {
$output: ($name: $bkpt);
@if length($BREAKPOINTS) == 0 {
$BREAKPOINTS: $output !global;
}
@else {
@if map-has-key($BREAKPOINTS, $name) and $overwrite != true {
@warn "You already have a breakpoint named `#{$name}`, please choose another breakpoint name, or pass in `$overwrite: true` to overwrite the previous breakpoint.";
$BREAKPOINTS: $BREAKPOINTS !global;
}
@else if not map-has-key($BREAKPOINTS, $name) or $overwrite == true {
$BREAKPOINTS: map-merge($BREAKPOINTS, $output) !global;
}
}
}
@function get-breakpoint($name: false) {
@if $name == false {
@return $BREAKPOINTS;
}
@else {
@return map-get($BREAKPOINTS, $name);
}
}

71
compass_mixins/static/css/vendor/breakpoint/_settings.scss vendored

@ -1,71 +0,0 @@
//////////////////////////////
// Has Setting
//////////////////////////////
@function breakpoint-has($setting) {
@if map-has-key($breakpoint, $setting) {
@return true;
}
@else {
@return false;
}
}
//////////////////////////////
// Get Settings
//////////////////////////////
@function breakpoint-get($setting) {
@if breakpoint-has($setting) {
@return map-get($breakpoint, $setting);
}
@else {
@return map-get($Breakpoint-Settings, $setting);
}
}
//////////////////////////////
// Set Settings
//////////////////////////////
@function breakpoint-set($setting, $value) {
@if (str-index($setting, '-') or str-index($setting, '_')) and str-index($setting, ' ') == null {
@warn "Words in Breakpoint settings should be separated by spaces, not dashes or underscores. Please replace dashes and underscores between words with spaces. Settings will not work as expected until changed.";
}
$breakpoint: map-merge($breakpoint, ($setting: $value)) !global;
@return true;
}
@mixin breakpoint-change($setting, $value) {
$breakpoint-change: breakpoint-set($setting, $value);
}
@mixin breakpoint-set($setting, $value) {
@include breakpoint-change($setting, $value);
}
@mixin bkpt-change($setting, $value) {
@include breakpoint-change($setting, $value);
}
@mixin bkpt-set($setting, $value) {
@include breakpoint-change($setting, $value);
}
//////////////////////////////
// Remove Setting
//////////////////////////////
@function breakpoint-reset($settings...) {
@if length($settings) == 1 {
$settings: nth($settings, 1);
}
@each $setting in $settings {
$breakpoint: map-remove($breakpoint, $setting) !global;
}
@return true;
}
@mixin breakpoint-reset($settings...) {
$breakpoint-reset: breakpoint-reset($settings);
}
@mixin bkpt-reset($settings...) {
$breakpoint-reset: breakpoint-reset($settings);
}

33
compass_mixins/static/css/vendor/breakpoint/parsers/_double.scss vendored

@ -1,33 +0,0 @@
//////////////////////////////
// Import Pieces
//////////////////////////////
@import "double/default-pair";
@import "double/double-string";
@import "double/default";
@function breakpoint-parse-double($feature, $empty-media, $first) {
$parsed: '';
$leader: '';
// If we're forcing
@if not ($empty-media) or not ($first) {
$leader: 'and ';
}
$first: nth($feature, 1);
$second: nth($feature, 2);
// If we've got two numbers, we know we need to use the default pair because there are no media queries that has a media feature that is a number
@if type-of($first) == 'number' and type-of($second) == 'number' {
$parsed: breakpoint-parse-default-pair($first, $second);
}
// If they are both strings, we send it through the string parser
@else if type-of($first) == 'string' and type-of($second) == 'string' {
$parsed: breakpoint-parse-double-string($first, $second);
}
// If it's a string/number pair, we parse it as a normal double
@else {
$parsed: breakpoint-parse-double-default($first, $second);
}
@return $leader + $parsed;
}

82
compass_mixins/static/css/vendor/breakpoint/parsers/_query.scss vendored

@ -1,82 +0,0 @@
@function breakpoint-parse-query($query) {
// Parse features out of an individual query
$feature-holder: ();
$query-holder: ();
$length: length($query);
@if $length == 2 {
// If we've got a string/number, number/string, check to see if it's a valid string/number pair or two singles
@if (type-of(nth($query, 1)) == 'string' and type-of(nth($query, 2)) == 'number') or (type-of(nth($query, 1)) == 'number' and type-of(nth($query, 2)) == 'string') {
$number: '';
$value: '';
@if type-of(nth($query, 1)) == 'string' {
$number: nth($query, 2);
$value: nth($query, 1);
}
@else {
$number: nth($query, 1);
$value: nth($query, 2);
}
// If the string value can be a single value, check to see if the number passed in is a valid input for said single value. Fortunately, all current single-value options only accept unitless numbers, so this check is easy.
@if breakpoint-single-string($value) {
@if unitless($number) {
$feature-holder: append($value, $number, space);
$query-holder: append($query-holder, $feature-holder, comma);
@return $query-holder;
}
}
// If the string is a media type, split the query
@if breakpoint-is-media($value) {
$query-holder: append($query-holder, nth($query, 1));
$query-holder: append($query-holder, nth($query, 2));
@return $query-holder;
}
// If it's not a single feature, we're just going to assume it's a proper string/value pair, and roll with it.
@else {
$feature-holder: append($value, $number, space);
$query-holder: append($query-holder, $feature-holder, comma);
@return $query-holder;
}
}
// If they're both numbers, we assume it's a double and roll with that
@else if (type-of(nth($query, 1)) == 'number' and type-of(nth($query, 2)) == 'number') {
$feature-holder: append(nth($query, 1), nth($query, 2), space);
$query-holder: append($query-holder, $feature-holder, comma);
@return $query-holder;
}
// If they're both strings and neither are singles, we roll with that.
@else if (type-of(nth($query, 1)) == 'string' and type-of(nth($query, 2)) == 'string') {
@if not breakpoint-single-string(nth($query, 1)) and not breakpoint-single-string(nth($query, 2)) {
$feature-holder: append(nth($query, 1), nth($query, 2), space);
$query-holder: append($query-holder, $feature-holder, comma);
@return $query-holder;
}
}
}
@else if $length == 3 {
// If we've got three items and none is a list, we check to see
@if type-of(nth($query, 1)) != 'list' and type-of(nth($query, 2)) != 'list' and type-of(nth($query, 3)) != 'list' {
// If none of the items are single string values and none of the values are media values, we're good.
@if (not breakpoint-single-string(nth($query, 1)) and not breakpoint-single-string(nth($query, 2)) and not breakpoint-single-string(nth($query, 3))) and ((not breakpoint-is-media(nth($query, 1)) and not breakpoint-is-media(nth($query, 2)) and not breakpoint-is-media(nth($query, 3)))) {
$feature-holder: append(nth($query, 1), nth($query, 2), space);
$feature-holder: append($feature-holder, nth($query, 3), space);
$query-holder: append($query-holder, $feature-holder, comma);
@return $query-holder;
}
// let's check to see if the first item is a media type
@else if breakpoint-is-media(nth($query, 1)) {
$query-holder: append($query-holder, nth($query, 1));
$feature-holder: append(nth($query, 2), nth($query, 3), space);
$query-holder: append($query-holder, $feature-holder);
@return $query-holder;
}
}
}
// If it's a single item, or if it's not a special case double or triple, we can simply return the query.
@return $query;
}

31
compass_mixins/static/css/vendor/breakpoint/parsers/_resolution.scss vendored

@ -1,31 +0,0 @@
@import "resolution/resolution";
@function breakpoint-build-resolution($query-print, $query-resolution, $empty-media, $first) {
$leader: '';
// If we're forcing
@if not ($empty-media) or not ($first) {
$leader: 'and ';
}
@if breakpoint-get('transform resolutions') and $query-resolution {
$resolutions: breakpoint-make-resolutions($query-resolution);
$length: length($resolutions);
$query-holder: '';
@for $i from 1 through $length {
$query: '#{$query-print} #{$leader}#{nth($resolutions, $i)}';
@if $i == 1 {
$query-holder: $query;
}
@else {
$query-holder: '#{$query-holder}, #{$query}';
}
}
@return $query-holder;
}
@else {
// Return with attached resolution
@return $query-print;
}
}

26
compass_mixins/static/css/vendor/breakpoint/parsers/_single.scss vendored

@ -1,26 +0,0 @@
//////////////////////////////
// Import Pieces
//////////////////////////////
@import "single/default";
@function breakpoint-parse-single($feature, $empty-media, $first) {
$parsed: '';
$leader: '';
// If we're forcing
@if not ($empty-media) or not ($first) {
$leader: 'and ';
}
// If it's a single feature that can stand alone, we let it
@if (breakpoint-single-string($feature)) {
$parsed: $feature;
// Set Context
$context-setter: private-breakpoint-set-context($feature, $feature);
}
// If it's not a stand alone feature, we pass it off to the default handler.
@else {
$parsed: breakpoint-parse-default($feature);
}
@return $leader + '(' + $parsed + ')';
}

36
compass_mixins/static/css/vendor/breakpoint/parsers/_triple.scss vendored

@ -1,36 +0,0 @@
//////////////////////////////
// Import Pieces
//////////////////////////////
@import "triple/default";
@function breakpoint-parse-triple($feature, $empty-media, $first) {
$parsed: '';
$leader: '';
// If we're forcing
@if not ($empty-media) or not ($first) {
$leader: 'and ';
}
// separate the string features from the value numbers
$string: null;
$numbers: null;
@each $val in $feature {
@if type-of($val) == string {
$string: $val;
}
@else {
@if type-of($numbers) == 'null' {
$numbers: $val;
}
@else {
$numbers: append($numbers, $val);
}
}
}
$parsed: breakpoint-parse-triple-default($string, nth($numbers, 1), nth($numbers, 2));
@return $leader + $parsed;
}

21
compass_mixins/static/css/vendor/breakpoint/parsers/double/_default-pair.scss vendored

@ -1,21 +0,0 @@
@function breakpoint-parse-default-pair($first, $second) {
$default: breakpoint-get('default pair');
$min: '';
$max: '';
// Sort into min and max
$min: min($first, $second);
$max: max($first, $second);
// Set Context
$context-setter: private-breakpoint-set-context(min-#{$default}, $min);
$context-setter: private-breakpoint-set-context(max-#{$default}, $max);
// Make them EMs if need be
@if (breakpoint-get('to ems') == true) {
$min: breakpoint-to-base-em($min);
$max: breakpoint-to-base-em($max);
}
@return '(min-#{$default}: #{$min}) and (max-#{$default}: #{$max})';
}

22
compass_mixins/static/css/vendor/breakpoint/parsers/double/_default.scss vendored

@ -1,22 +0,0 @@
@function breakpoint-parse-double-default($first, $second) {
$feature: '';
$value: '';
@if type-of($first) == 'string' {
$feature: $first;
$value: $second;
}
@else {
$feature: $second;
$value: $first;
}
// Set Context
$context-setter: private-breakpoint-set-context($feature, $value);
@if (breakpoint-get('to ems') == true) {
$value: breakpoint-to-base-em($value);
}
@return '(#{$feature}: #{$value})'
}

22
compass_mixins/static/css/vendor/breakpoint/parsers/double/_double-string.scss vendored

@ -1,22 +0,0 @@
@function breakpoint-parse-double-string($first, $second) {
$feature: '';
$value: '';
// Test to see which is the feature and which is the value
@if (breakpoint-string-value($first) == true) {
$feature: $first;
$value: $second;
}
@else if (breakpoint-string-value($second) == true) {
$feature: $second;
$value: $first;
}
@else {
@warn "Neither #{$first} nor #{$second} is a valid media query name.";
}
// Set Context
$context-setter: private-breakpoint-set-context($feature, $value);
@return '(#{$feature}: #{$value})';
}

60
compass_mixins/static/css/vendor/breakpoint/parsers/resolution/_resolution.scss vendored

@ -1,60 +0,0 @@
@function breakpoint-make-resolutions($resolution) {
$length: length($resolution);
$output: ();
@if $length == 2 {
$feature: '';
$value: '';
// Find which is number
@if type-of(nth($resolution, 1)) == 'number' {
$value: nth($resolution, 1);
}
@else {
$value: nth($resolution, 2);
}
// Determine min/max/standard
@if index($resolution, 'min-resolution') {
$feature: 'min-';
}
@else if index($resolution, 'max-resolution') {
$feature: 'max-';
}
$standard: '(#{$feature}resolution: #{$value})';
// If we're not dealing with dppx,
@if unit($value) != 'dppx' {
$base: 96dpi;
@if unit($value) == 'dpcm' {
$base: 243.84dpcm;
}
// Write out feature tests
$webkit: '';
$moz: '';
$webkit: '(-webkit-#{$feature}device-pixel-ratio: #{$value / $base})';
$moz: '(#{$feature}-moz-device-pixel-ratio: #{$value / $base})';
// Append to output
$output: append($output, $standard, space);
$output: append($output, $webkit, space);
$output: append($output, $moz, space);
}
@else {
$webkit: '';
$moz: '';
$webkit: '(-webkit-#{$feature}device-pixel-ratio: #{$value / 1dppx})';
$moz: '(#{$feature}-moz-device-pixel-ratio: #{$value / 1dppx})';
$fallback: '(#{$feature}resolution: #{$value / 1dppx * 96dpi})';
// Append to output
$output: append($output, $standard, space);
$output: append($output, $webkit, space);
$output: append($output, $moz, space);
$output: append($output, $fallback, space);
}
}
@return $output;
}

13
compass_mixins/static/css/vendor/breakpoint/parsers/single/_default.scss vendored

@ -1,13 +0,0 @@
@function breakpoint-parse-default($feature) {
$default: breakpoint-get('default feature');
// Set Context
$context-setter: private-breakpoint-set-context($default, $feature);
@if (breakpoint-get('to ems') == true) and (type-of($feature) == 'number') {
@return '#{$default}: #{breakpoint-to-base-em($feature)}';
}
@else {
@return '#{$default}: #{$feature}';
}
}

18
compass_mixins/static/css/vendor/breakpoint/parsers/triple/_default.scss vendored

@ -1,18 +0,0 @@
@function breakpoint-parse-triple-default($feature, $first, $second) {
// Sort into min and max
$min: min($first, $second);
$max: max($first, $second);
// Set Context
$context-setter: private-breakpoint-set-context(min-#{$feature}, $min);
$context-setter: private-breakpoint-set-context(max-#{$feature}, $max);
// Make them EMs if need be
@if (breakpoint-get('to ems') == true) {
$min: breakpoint-to-base-em($min);
$max: breakpoint-to-base-em($max);
}
@return '(min-#{$feature}: #{$min}) and (max-#{$feature}: #{$max})';
}

22
compass_mixins/static/css/vendor/compass/_css3.scss vendored

@ -1,22 +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/images";
@import "css3/background-clip";
@import "css3/background-origin";
@import "css3/background-size";
@import "css3/font-face";
@import "css3/transform";
@import "css3/transition";
@import "css3/appearance";
@import "css3/regions";
@import "css3/hyphenation";
@import "css3/filter";
@import "css3/pie";
@import "css3/user-interface";
@import "css3/flexbox";

6
compass_mixins/static/css/vendor/compass/_functions.scss vendored

@ -1,6 +0,0 @@
@import "functions/lists";
@import "functions/cross_browser_support";
@import "functions/gradient_support";
@import "functions/constants";
@import "functions/display";
@import "functions/colors";

3
compass_mixins/static/css/vendor/compass/_layout.scss vendored

@ -1,3 +0,0 @@
@import "layout/grid-background";
@import "layout/sticky-footer";
@import "layout/stretching";

3
compass_mixins/static/css/vendor/compass/_reset-legacy.scss vendored

@ -1,3 +0,0 @@
@import "reset/utilities-legacy";
@include global-reset;

3
compass_mixins/static/css/vendor/compass/_reset.scss vendored

@ -1,3 +0,0 @@
@import "reset/utilities";
@include global-reset;

40
compass_mixins/static/css/vendor/compass/_support.scss vendored

@ -1,40 +0,0 @@
// Usually compass hacks apply to both ie6 & 7 -- set this to false to disable support for both.
$legacy-support-for-ie: true !default;
// Setting this to false will result in smaller output, but no support for ie6 hacks
$legacy-support-for-ie6: $legacy-support-for-ie !default;
// Setting this to false will result in smaller output, but no support for ie7 hacks
$legacy-support-for-ie7: $legacy-support-for-ie !default;
// Setting this to false will result in smaller output, but no support for legacy ie8 hacks
$legacy-support-for-ie8: $legacy-support-for-ie !default;
// @private
// The user can simply set $legacy-support-for-ie and 6, 7, and 8 will be set accordingly,
// But in case the user set each of those explicitly, we need to sync the value of
// this combined variable.
$legacy-support-for-ie: $legacy-support-for-ie6 or $legacy-support-for-ie7 or $legacy-support-for-ie8;
// Whether to output legacy support for mozilla.
// Usually this means hacks to support Firefox 3.6 or earlier.
$legacy-support-for-mozilla: true;
// Support for mozilla in experimental css3 properties (-moz).
$experimental-support-for-mozilla : true !default;
// Support for webkit in experimental css3 properties (-webkit).
$experimental-support-for-webkit : true !default;
// Support for webkit's original (non-standard) gradient syntax.
$support-for-original-webkit-gradients : true !default;
// Support for opera in experimental css3 properties (-o).
$experimental-support-for-opera : true !default;
// Support for microsoft in experimental css3 properties (-ms).
$experimental-support-for-microsoft : true !default;
// Support for khtml in experimental css3 properties (-khtml).
$experimental-support-for-khtml : false !default;
// Support for svg in experimental css3 properties.
// Setting this to true might add significant size to your
// generated stylesheets.
$experimental-support-for-svg : false !default;
// Support for CSS PIE in experimental css3 properties (-pie).
$experimental-support-for-pie : false !default;

4
compass_mixins/static/css/vendor/compass/_typography.scss vendored

@ -1,4 +0,0 @@
@import "typography/links";
@import "typography/lists";
@import "typography/text";
@import "typography/vertical_rhythm";

9
compass_mixins/static/css/vendor/compass/_utilities.scss vendored

@ -1,9 +0,0 @@
@import "utilities/color";
@import "utilities/general";
@import "utilities/sprites";
@import "utilities/tables";
// deprecated
@import "typography/links";
@import "typography/lists";
@import "typography/text";

2
compass_mixins/static/css/vendor/compass/css3/_animation.scss vendored

@ -1,2 +0,0 @@
// Core imported by default. You can also import 'animate' for predefined animations.
@import "animation/core";

16
compass_mixins/static/css/vendor/compass/css3/_appearance.scss vendored

@ -1,16 +0,0 @@
@import "shared";
// Change the appearance for Mozilla, Webkit and possibly the future.
// The appearance property is currently not present in any newer CSS specification.
//
// There is no official list of accepted values, but you might check these source:
// Mozilla : https://developer.mozilla.org/en/CSS/-moz-appearance
// Webkit : http://code.google.com/p/webkit-mirror/source/browse/Source/WebCore/css/CSSValueKeywords.in?spec=svnf1aea559dcd025a8946aa7da6e4e8306f5c1b604&r=63c7d1af44430b314233fea342c3ddb2a052e365
// (search for 'appearance' within the page)
@mixin appearance($ap) {
$ap: unquote($ap);
@include experimental(appearance, $ap,
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
);
}

43
compass_mixins/static/css/vendor/compass/css3/_background-clip.scss vendored

@ -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),
not(-o),
not(-ms),
-khtml,
official
);
}

42
compass_mixins/static/css/vendor/compass/css3/_background-origin.scss vendored

@ -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
);
}

26
compass_mixins/static/css/vendor/compass/css3/_background-size.scss vendored

@ -1,26 +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-1: $default-background-size,
$size-2: false,
$size-3: false,
$size-4: false,
$size-5: false,
$size-6: false,
$size-7: false,
$size-8: false,
$size-9: false,
$size-10: false
) {
$size-1: if(type-of($size-1) == string, unquote($size-1), $size-1);
$sizes: compact($size-1, $size-2, $size-3, $size-4, $size-5, $size-6, $size-7, $size-8, $size-9, $size-10);
@include experimental(background-size, $sizes, -moz, -webkit, -o, not(-ms), not(-khtml));
}

130
compass_mixins/static/css/vendor/compass/css3/_border-radius.scss vendored

@ -1,130 +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;
// -khtml-border-radius: 4px / 4px;
// border-radius: 4px / 4px; }
//
// .compound {
// -webkit-border-radius: 2px 3px;
// -moz-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;
// -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),
not(-o),
not(-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,
not(-o),
not(-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); }

76
compass_mixins/static/css/vendor/compass/css3/_box-shadow.scss vendored

@ -1,76 +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: 0px !default;
// The default vertical offset. Positive is down.
$default-box-shadow-v-offset: 0px !default;
// The default blur length.
$default-box-shadow-blur: 5px !default;
// The default spread length.
$default-box-shadow-spread : false !default;
// The default shadow inset: inset or false (for standard shadow).
$default-box-shadow-inset : false !default;
// Provides cross-browser for Webkit, Gecko, and CSS3 box shadows when one or more box
// shadows are needed.
// Each shadow argument should adhere to the standard css3 syntax for the
// box-shadow property.
@mixin box-shadow(
$shadow-1 : default,
$shadow-2 : false,
$shadow-3 : false,
$shadow-4 : false,
$shadow-5 : false,
$shadow-6 : false,
$shadow-7 : false,
$shadow-8 : false,
$shadow-9 : false,
$shadow-10: false
) {
@if $shadow-1 == default {
$shadow-1 : -compass-space-list(compact(if($default-box-shadow-inset, inset, false), $default-box-shadow-h-offset, $default-box-shadow-v-offset, $default-box-shadow-blur, $default-box-shadow-spread, $default-box-shadow-color));
}
$shadow : compact($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10);
@include experimental(box-shadow, $shadow,
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
);
}
// Provides a single cross-browser CSS box shadow for Webkit, Gecko, and CSS3.
// Includes default arguments for horizontal offset, vertical offset, blur length, spread length, color and inset.
@mixin single-box-shadow(
$hoff : $default-box-shadow-h-offset,
$voff : $default-box-shadow-v-offset,
$blur : $default-box-shadow-blur,
$spread : $default-box-shadow-spread,
$color : $default-box-shadow-color,
$inset : $default-box-shadow-inset
) {
@if not ($inset == true or $inset == false or $inset == inset) {
@warn "$inset expected to be true or the inset keyword. Got #{$inset} instead. Using: inset";
}
@if $color == none {
@include box-shadow(none);
} @else {
$full : $hoff $voff;
@if $blur { $full: $full $blur; }
@if $spread { $full: $full $spread; }
@if $color { $full: $full $color; }
@if $inset { $full: inset $full; }
@include box-shadow($full);
}
}

13
compass_mixins/static/css/vendor/compass/css3/_box-sizing.scss vendored

@ -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), not(-ms), not(-khtml), official
);
}

111
compass_mixins/static/css/vendor/compass/css3/_box.scss vendored

@ -1,111 +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), -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), -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), -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), -ms, not(-khtml), official
);
}
// 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), -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), -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), -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), -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), -ms, not(-khtml), official
);
}

148
compass_mixins/static/css/vendor/compass/css3/_columns.scss vendored

@ -1,148 +0,0 @@
@import "shared";
// Specify the shorthand `columns` property.
//
// Example:
//
// @include columns(20em 2)
@mixin columns($width-and-count) {
@include experimental(columns, $width-and-count,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Specify the number of columns
@mixin column-count($count) {
@include experimental(column-count, $count,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Specify the gap between columns e.g. `20px`
@mixin column-gap($width) {
@include experimental(column-gap, $width,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Specify the width of columns e.g. `100px`
@mixin column-width($width) {
@include experimental(column-width, $width,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Specify the width of the rule between columns e.g. `1px`
@mixin column-rule-width($width) {
@include experimental(column-rule-width, $width,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Specify the style of the rule between columns e.g. `dotted`.
// This works like border-style.
@mixin column-rule-style($style) {
@include experimental(column-rule-style, unquote($style),
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Specify the color of the rule between columns e.g. `blue`.
// This works like border-color.
@mixin column-rule-color($color) {
@include experimental(column-rule-color, $color,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Mixin encompassing all column rule properties
// For example:
//
// @include column-rule(1px, solid, #c00)
//
// Or the values can be space separated:
//
// @include column-rule(1px solid #c00)
@mixin column-rule($width, $style: false, $color: false) {
$full : -compass-space-list(compact($width, $style, $color));
@include experimental(column-rule, $full,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Mixin for setting column-break-before
//
// * legal values are auto, always, avoid, left, right, page, column, avoid-page, avoid-column
//
// Example:
// h2.before {@include column-break-before(always);}
//
// Which generates:
//
// h2.before {
// -webkit-column-break-before: always;
// column-break-before: always;}
@mixin column-break-before($value: auto){
@include experimental(column-break-before, $value, not(-moz), -webkit, not(-o), not(-ms), not(-khtml), official );
}
// Mixin for setting column-break-after
//
// * legal values are auto, always, avoid, left, right, page, column, avoid-page, avoid-column
//
// Example:
// h2.after {@include column-break-after(always); }
//
// Which generates:
//
// h2.after {
// -webkit-column-break-after: always;
// column-break-after: always; }
@mixin column-break-after($value: auto){
@include experimental(column-break-after, $value, not(-moz), -webkit, not(-o), not(-ms), not(-khtml), official );
}
// Mixin for setting column-break-inside
//
// * legal values are auto, avoid, avoid-page, avoid-column
//
// Example:
// h2.inside {@include column-break-inside();}
// Which generates:
//
// h2.inside {
// -webkit-column-break-inside: auto;
// column-break-inside: auto;}
@mixin column-break-inside($value: auto){
@include experimental(column-break-inside, $value, not(-moz), -webkit, not(-o), not(-ms), not(-khtml), official );
}
// All-purpose mixin for setting column breaks.
//
// * legal values for $type : before, after, inside
// * legal values for '$value' are dependent on $type
// * when $type = before, legal values are auto, always, avoid, left, right, page, column, avoid-page, avoid-column
// * when $type = after, legal values are auto, always, avoid, left, right, page, column, avoid-page, avoid-column
// * when $type = inside, legal values are auto, avoid, avoid-page, avoid-column
//
// Examples:
// h2.before {@include column-break(before, always);}
// h2.after {@include column-break(after, always); }
// h2.inside {@include column-break(inside); }
//
// Which generates:
// h2.before {
// -webkit-column-break-before: always;
// column-break-before: always;}
//
// h2.after {
// -webkit-column-break-after: always;
// column-break-after: always; }
//
// h2.inside {
// -webkit-column-break-inside: auto;
// column-break-inside: auto;}
@mixin column-break($type: before, $value: auto){
@include experimental("column-break-#{$type}", $value, not(-moz), -webkit, not(-o), not(-ms), not(-khtml), official );
}

23
compass_mixins/static/css/vendor/compass/css3/_filter.scss vendored

@ -1,23 +0,0 @@
@import "shared";
// Provides cross-browser support for the upcoming (?) css3 filter property.
//
// Each filter argument should adhere to the standard css3 syntax for the
// filter property.
@mixin filter (
$filter-1,
$filter-2 : false,
$filter-3 : false,
$filter-4 : false,
$filter-5 : false,
$filter-6 : false,
$filter-7 : false,
$filter-8 : false,
$filter-9 : false,
$filter-10: false
) {
$filter : compact($filter-1, $filter-2, $filter-3, $filter-4, $filter-5, $filter-6, $filter-7, $filter-8, $filter-9, $filter-10);
@include experimental(filter, $filter,
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
);
}

86
compass_mixins/static/css/vendor/compass/css3/_flexbox.scss vendored

@ -1,86 +0,0 @@
@import "../support";
@import "shared";
// This is the underlying implementation for all the other mixins in this module.
// It is the only way to access prefix support for older versions of the spec.
// Deviates from canonical Compass implementation by dropping support for
// older versions of the Flexbox spec.
//
// `$properties`: map of property-value pairs that should be prefixed
@mixin flexbox($properties) {
@each $prop, $value in $properties {
@if $prop == display {
@include experimental-value(display, $value, not(-moz), -webkit,
not(-o), not(-ms), not(-khtml), official);
} @else {
@include experimental($prop, $value, not(-moz), -webkit, not(-o),
not(-ms), not(-khtml), official);
}
}
}
// Values for $display are: flex (default), inline-flex
@mixin display-flex($display: flex) {
@include flexbox((display: $display));
}
// Values: row | row-reverse | column | column-reverse
@mixin flex-direction($direction) {
@include flexbox((flex-direction: $direction));
}
// Values: nowrap | wrap | wrap-reverse
@mixin flex-wrap($wrap) {
@include flexbox((flex-wrap: $wrap));
}
// Shorthand for flex-direction and flex-wrap.
@mixin flex-flow($flow) {
@include flexbox((flex-flow: $flow));
}
// Accepts an integer
@mixin order($order) {
@include flexbox((order: $order));
}
// Shorthand for flex-grow, flex-shrink and optionally flex-basis.
// Space separated, in that order.
@mixin flex($flex) {
@include flexbox((flex: $flex));
}
// Accepts a number.
@mixin flex-grow($flex-grow) {
@include flexbox((flex-grow: $flex-grow));
}
// Accepts a number.
@mixin flex-shrink($flex-shrink) {
@include flexbox((flex-shrink: $flex-shrink));
}
// Accepts any legal value for the width property.
@mixin flex-basis($flex-basis) {
@include flexbox((flex-basis: $flex-basis));
}
// Legal values: flex-start | flex-end | center | space-between | space-around
@mixin justify-content($justify-content) {
@include flexbox((justify-content: $justify-content));
}
// Legal values: flex-start | flex-end | center | baseline | stretch
@mixin align-items($align-items) {
@include flexbox((align-items: $align-items));
}
// Legal values: auto | flex-start | flex-end | center | baseline | stretch
@mixin align-self($align-self) {
@include flexbox((align-self: $align-self));
}
// Legal values: flex-start | flex-end | center | space-between | space-around | stretch
@mixin align-content($align-content) {
@include flexbox((align-content: $align-content));
}

48
compass_mixins/static/css/vendor/compass/css3/_font-face.scss vendored

@ -1,48 +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.
// * $weight shows if the font is bold, defaults to normal
// * $style defaults to normal, might be also italic
// * For android 2.2 Compatiblity, please ensure that your web page has
// a meta viewport tag.
// * To support iOS < 4.2, an SVG file must be provided
//
// If you need to generate other formats check out the Font Squirrel
// [font generator](http://www.fontsquirrel.com/fontface/generator)
//
// In order to refer to a specific style of the font in your stylesheets as
// e.g. "font-style: italic;", you may add a couple of @font-face includes
// containing the respective font files for each style and specying
// respective the $style parameter.
// Order of the includes matters, and it is: normal, bold, italic, bold+italic.
@mixin font-face(
$name,
$font-files,
$eot: false,
$weight: false,
$style: false
) {
$iefont: unquote("#{$eot}?#iefix");
@font-face {
font-family: quote($name);
@if $eot {
src: font-url($eot);
$font-files: font-url($iefont) unquote("format('eot')"), $font-files;
}
src: $font-files;
@if $weight {
font-weight: $weight;
}
@if $style {
font-style: $style;
}
}
}

77
compass_mixins/static/css/vendor/compass/css3/_hyphenation.scss vendored

@ -1,77 +0,0 @@
@import "shared";
// Mixins to support specific CSS Text Level 3 elements
//
//
//
// Mixin for word-break properties
// http://www.w3.org/css3-text/#word-break
// * legal values for $type : normal, keep-all, break-all
//
// Example:
// p.wordBreak {@include word-break(break-all);}
//
// Which generates:
// p.wordBreak {
// -ms-word-break: break-all;
// word-break: break-all;
// word-break: break-word;}
//
@mixin word-break($value: normal){
@if $value == break-all {
//Most browsers handle the break-all case the same...
@include experimental(word-break, $value,
not(-moz), not(-webkit), not(-o), -ms, not(-khtml), official
);
//Webkit handles break-all differently... as break-word
@include experimental(word-break, break-word,
not(-moz), not(-webkit), not(-o), not(-ms), not(-khtml), official
);
}
@else {
@include experimental(word-break, $value,
not(-moz), not(-webkit), not(-o), -ms, not(-khtml), official
);
}
}
// Mixin for the hyphens property
//
// W3C specification: http://www.w3.org/TR/css3-text/#hyphens
// * legal values for $type : auto, manual, none
//
// Example:
// p {
// @include hyphens(auto);}
// Which generates:
// p {
// -moz-hyphens: auto;
// -webkit-hyphens: auto;
// hyphens: auto;}
//
@mixin hyphens($value: auto){
@include experimental(hyphens, $value,
-moz, -webkit, not(-o), not(-ms), not(-khtml), official
);
}
// Mixin for x-browser hyphenation based on @auchenberg's post:
// Removes the need for the <wbr/> HTML tag
// http://blog.kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/
//
// Example:
// div {@include hyphenation;}
//
// Which generates:
// div {
// -ms-word-break: break-all;
// word-break: break-all;
// word-break: break-word;
// -moz-hyphens: auto;
// -webkit-hyphens: auto;
// hyphens: auto;}
//
@mixin hyphenation{
@include word-break(break-all);
@include hyphens;
}

133
compass_mixins/static/css/vendor/compass/css3/_images.scss vendored

@ -1,133 +0,0 @@
@import "shared";
@import "../utilities/general/hacks";
@import "../functions";
// Background property support for vendor prefixing within values.
@mixin background(
$background-1,
$background-2: false,
$background-3: false,
$background-4: false,
$background-5: false,
$background-6: false,
$background-7: false,
$background-8: false,
$background-9: false,
$background-10: false
) {
$backgrounds: compact($background-1, $background-2, $background-3, $background-4, $background-5,
$background-6, $background-7, $background-8, $background-9, $background-10);
$mult-bgs: -compass-list-size($backgrounds) > 1;
$add-pie-bg: prefixed(-pie, $backgrounds) or $mult-bgs;
@if $experimental-support-for-svg and prefixed(-svg, $backgrounds) { background: -svg($backgrounds); }
@if $support-for-original-webkit-gradients and prefixed(-owg, $backgrounds) { background: -owg($backgrounds); }
@if $experimental-support-for-webkit and prefixed(-webkit, $backgrounds) { background: -webkit($backgrounds); }
@if $experimental-support-for-mozilla and prefixed(-moz, $backgrounds) { background: -moz($backgrounds); }
@if $experimental-support-for-opera and prefixed(-o, $backgrounds) { background: -o($backgrounds); }
@if $experimental-support-for-pie and $add-pie-bg { -pie-background: -pie($backgrounds); }
background: $backgrounds ;
}
@mixin background-with-css2-fallback(
$background-1,
$background-2: false,
$background-3: false,
$background-4: false,
$background-5: false,
$background-6: false,
$background-7: false,
$background-8: false,
$background-9: false,
$background-10: false
) {
$backgrounds: compact($background-1, $background-2, $background-3, $background-4, $background-5,
$background-6, $background-7, $background-8, $background-9, $background-10);
$mult-bgs: -compass-list-size($backgrounds) > 1;
$simple-background: if($mult-bgs or prefixed(-css2, $backgrounds), -css2(-compass-nth($backgrounds, last)), false);
@if not(blank($simple-background)) { background: $simple-background; }
@include background($background-1, $background-2, $background-3, $background-4, $background-5,
$background-6, $background-7, $background-8, $background-9, $background-10);
}
// Background image property support for vendor prefixing within values.
@mixin background-image(
$image-1,
$image-2: false,
$image-3: false,
$image-4: false,
$image-5: false,
$image-6: false,
$image-7: false,
$image-8: false,
$image-9: false,
$image-10: false
) {
$images: compact($image-1, $image-2, $image-3, $image-4, $image-5, $image-6, $image-7, $image-8, $image-9, $image-10);
$add-pie-bg: prefixed(-pie, $images) or -compass-list-size($images) > 1;
@if $experimental-support-for-svg and prefixed(-svg, $images) { background-image: -svg($images); background-size: 100%; }
@if $support-for-original-webkit-gradients and prefixed(-owg, $images) { background-image: -owg($images); }
@if $experimental-support-for-webkit and prefixed(-webkit, $images) { background-image: -webkit($images); }
@if $experimental-support-for-mozilla and prefixed(-moz, $images) { background-image: -moz($images); }
@if $experimental-support-for-opera and prefixed(-o, $images) { background-image: -o($images); }
@if $experimental-support-for-pie and $add-pie-bg { @warn "PIE does not support background-image. Use @include background(#{$images}) instead." }
background-image: $images ;
}
// Emit a IE-Specific filters that renders a simple linear gradient.
// For use in IE 6 - 8. Best practice would have you apply this via a
// conditional IE stylesheet, but if you must, you should place this before
// any background-image properties that you have specified.
//
// For the `$orientation` parameter, you can pass `vertical` or `horizontal`.
@mixin filter-gradient($start-color, $end-color, $orientation: vertical) {
@include has-layout;
$gradient-type: if($orientation == vertical, 0, 1);
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 or $legacy-support-for-ie8 {
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=#{$gradient-type}, startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}');
}
}
// Border image property support for vendor prefixing properties and values.
@mixin border-image($value) {
@if $experimental-support-for-mozilla { -moz-border-image: -moz(reject(-compass-list($value), fill)); }
@if $support-for-original-webkit-gradients { -webkit-border-image: -owg(reject(-compass-list($value), fill)); }
@if $experimental-support-for-webkit { -webkit-border-image: -webkit(reject(-compass-list($value), fill)); }
@if $experimental-support-for-opera { -o-border-image: -o(reject(-compass-list($value), fill)); }
@if $experimental-support-for-svg { border-image: -svg(reject(-compass-list($value), fill)); }
border-image: $value;
}
// List style image property support for vendor prefixing within values.
@mixin list-style-image($image) {
@if $experimental-support-for-mozilla and prefixed(-moz, $image) { list-style-image: -moz($image); }
@if $support-for-original-webkit-gradients and prefixed(-owg, $image) { list-style-image: -owg($image); }
@if $experimental-support-for-webkit and prefixed(-webkit, $image) { list-style-image: -webkit($image); }
@if $experimental-support-for-opera and prefixed(-o, $image) { list-style-image: -o($image); }
@if $experimental-support-for-svg and prefixed(-svg, $image) { list-style-image: -svg($image); }
list-style-image: $image ;
}
// List style property support for vendor prefixing within values.
@mixin list-style($value) {
$value: -compass-list($value);
@if $experimental-support-for-mozilla and prefixed(-moz, $value) { list-style-image: -moz($value); }
@if $support-for-original-webkit-gradients and prefixed(-owg, $value) { list-style-image: -owg($value); }
@if $experimental-support-for-webkit and prefixed(-webkit, $value) { list-style-image: -webkit($value); }
@if $experimental-support-for-opera and prefixed(-o, $value) { list-style-image: -o($value); }
@if $experimental-support-for-svg and prefixed(-svg, $value) { list-style-image: -svg($value); }
list-style-image: $value ;
}
// content property support for vendor prefixing within values.
@mixin content($value) {
$value: -compass-list($value);
@if $experimental-support-for-mozilla and prefixed(-moz, $value) { content: -moz($value); }
@if $support-for-original-webkit-gradients and prefixed(-owg, $value) { content: -owg($value); }
@if $experimental-support-for-webkit and prefixed(-webkit, $value) { content: -webkit($value); }
@if $experimental-support-for-opera and prefixed(-o, $value) { content: -o($value); }
@if $experimental-support-for-svg and prefixed(-svg, $value) { content: -svg($value); }
content: $value ;
}

22
compass_mixins/static/css/vendor/compass/css3/_inline-block.scss vendored

@ -1,22 +0,0 @@
@import "shared";
// Set `$inline-block-alignment` to `none` or `false` to disable the output
// of a vertical-align property in the inline-block mixin.
// Or set it to a legal value for `vertical-align` to change the default.
$inline-block-alignment: middle !default;
// Provides a cross-browser method to implement `display: inline-block;`
@mixin inline-block($alignment: $inline-block-alignment) {
@if $legacy-support-for-mozilla {
display: -moz-inline-stack;
}
display: inline-block;
@if $alignment and $alignment != none {
vertical-align: $alignment;
}
@if $legacy-support-for-ie {
*vertical-align: auto;
zoom: 1;
*display: inline;
}
}

19
compass_mixins/static/css/vendor/compass/css3/_opacity.scss vendored

@ -1,19 +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) {
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 or $legacy-support-for-ie8 {
filter: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})");
}
opacity: $opacity;
}
// Make an element completely transparent.
@mixin transparent { @include opacity(0); }
// Make an element completely opaque.
@mixin opaque { @include opacity(1); }

73
compass_mixins/static/css/vendor/compass/css3/_pie.scss vendored

@ -1,73 +0,0 @@
$experimental-support-for-pie: true !default;
// It is recommended that you use Sass's @extend directive to apply the behavior
// to your PIE elements. To assist you, Compass provides this variable.
// When set, it will cause the `@include pie` mixin to extend this class.
// The class name you provide should **not** include the `.`.
$pie-base-class: false !default;
// The default approach to using PIE.
// Can be one of:
//
// * relative (default)
// * z-index
// * none
$pie-default-approach: relative !default;
// The location of your PIE behavior file
// This should be root-relative to your web server
// relative assets don't work. It is recommended that
// you set this yourself.
$pie-behavior: stylesheet-url("PIE.htc") !default;
// When using the z-index approach, the
// first ancestor of the PIE element at
// or before the container's opaque background
// should have a z-index set as well to ensure
// propert z-index stacking.
//
// The `$position` argument must be some non-static
// value (absolute, relative, etc.)
@mixin pie-container($z-index: 0, $position: relative) {
z-index: $z-index;
position: $position;
}
// PIE elements must have this behavior attached to them.
// IE is broken -- it doesn't think of behavior urls as
// relative to the stylesheet. It considers them relative
// to the webpage. As a result, you cannot reliably use
// compass's relative_assets with PIE.
//
// * `$approach` - one of: relative, z-index, or none
// * `$z-index` - when using the z-index approach, this
// is the z-index that is applied.
@mixin pie-element(
$approach: $pie-default-approach,
$z-index: 0
) {
behavior: $pie-behavior;
@if $approach == relative {
position: relative;
}
@else if $approach == z-index {
z-index: $z-index;
}
}
// a smart mixin that knows to extend or include pie-element according
// to your stylesheet's configuration variables.
@mixin pie($base-class: $pie-base-class) {
@if $base-class {
@extend .#{$base-class};
}
@else {
@include pie-element;
}
}
// Watch `$n` levels of ancestors for changes to their class attribute
// So that cascading styles will work correctly on the PIE element.
@mixin pie-watch-ancestors($n) {
-pie-watch-ancestors: $n;
}

22
compass_mixins/static/css/vendor/compass/css3/_regions.scss vendored

@ -1,22 +0,0 @@
@import "shared";
// Webkit, IE10 and future support for [CSS Regions](http://dev.w3.org/csswg/css3-regions/)
//
// $target is a value you use to link two regions of your css. Give the source of your content the flow-into property, and give your target container the flow-from property.
//
// For a visual explanation, see the diagrams at Chris Coyier's
// [CSS-Tricks](http://css-tricks.com/content-folding/)
@mixin flow-into($target) {
$target: unquote($target);
@include experimental(flow-into, $target,
not(-moz), -webkit, not(-o), -ms, not(-khtml), not official
);
}
@mixin flow-from($target) {
$target: unquote($target);
@include experimental(flow-from, $target,
not(-moz), -webkit, not(-o), -ms, not(-khtml), not official
);
}

38
compass_mixins/static/css/vendor/compass/css3/_shared.scss vendored

@ -1,38 +0,0 @@
@import "../support";
// 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 $webkit and $experimental-support-for-webkit { -webkit-#{$property} : $value; }
@if $khtml and $experimental-support-for-khtml { -khtml-#{$property} : $value; }
@if $moz and $experimental-support-for-mozilla { -moz-#{$property} : $value; }
@if $ms and $experimental-support-for-microsoft { -ms-#{$property} : $value; }
@if $o and $experimental-support-for-opera { -o-#{$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 $webkit and $experimental-support-for-webkit { #{$property} : -webkit-#{$value}; }
@if $khtml and $experimental-support-for-khtml { #{$property} : -khtml-#{$value}; }
@if $moz and $experimental-support-for-mozilla { #{$property} : -moz-#{$value}; }
@if $ms and $experimental-support-for-microsoft { #{$property} : -ms-#{$value}; }
@if $o and $experimental-support-for-opera { #{$property} : -o-#{$value}; }
@if $official { #{$property} : #{$value}; }
}

87
compass_mixins/static/css/vendor/compass/css3/_text-shadow.scss vendored

@ -1,87 +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: 0px !default;
$default-text-shadow-v-offset: 0px !default;
$default-text-shadow-blur: 1px !default;
$default-text-shadow-spread: false !default;
// Provides cross-browser text shadows when one or more shadows are needed.
// Each shadow argument should adhere to the standard css3 syntax for the
// text-shadow property.
//
// Note: if any shadow has a spread parameter, this will cause the mixin
// to emit the shadow declaration twice, first without the spread,
// then with the spread included. This allows you to progressively
// enhance the browsers that do support the spread parameter.
@mixin text-shadow(
$shadow-1 : default,
$shadow-2 : false,
$shadow-3 : false,
$shadow-4 : false,
$shadow-5 : false,
$shadow-6 : false,
$shadow-7 : false,
$shadow-8 : false,
$shadow-9 : false,
$shadow-10: false
) {
@if $shadow-1 == default {
$shadow-1: compact($default-text-shadow-h-offset $default-text-shadow-v-offset $default-text-shadow-blur $default-text-shadow-spread $default-text-shadow-color);
}
$shadows-without-spread: join((),(),comma);
$shadows: join((),(),comma);
$has-spread: false;
@each $shadow in compact($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5,
$shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10) {
@if length($shadow) > 4 {
$has-spread: true;
$shadows-without-spread: append($shadows-without-spread, nth($shadow,1) nth($shadow,2) nth($shadow,3) nth($shadow,5));
$shadows: append($shadows, $shadow);
} else {
$shadows-without-spread: append($shadows-without-spread, $shadow);
$shadows: append($shadows, $shadow);
}
}
@if $has-spread {
text-shadow: $shadows-without-spread;
}
text-shadow: $shadows;
}
// Provides a single cross-browser CSS text shadow.
//
// Provides sensible defaults for the color, horizontal offset, vertical offset, blur, and spread
// according to the configuration defaults above.
@mixin single-text-shadow(
$hoff: false,
$voff: false,
$blur: false,
$spread: false,
$color: false
) {
// A lot of people think the color comes first. It doesn't.
@if type-of($hoff) == color {
$temp-color: $hoff;
$hoff: $voff;
$voff: $blur;
$blur: $spread;
$spread: $color;
$color: $temp-color;
}
// Can't rely on default assignment with multiple supported argument orders.
$hoff: if($hoff, $hoff, $default-text-shadow-h-offset);
$voff: if($voff, $voff, $default-text-shadow-v-offset);
$blur: if($blur, $blur, $default-text-shadow-blur );
$spread: if($spread, $spread, $default-text-shadow-spread );
$color: if($color, $color, $default-text-shadow-color );
// We don't need experimental support for this property.
@if $color == none or $hoff == none {
@include text-shadow(none);
} @else {
@include text-shadow(compact($hoff $voff $blur $spread $color));
}
}

87
compass_mixins/static/css/vendor/compass/css3/_transform-legacy.scss vendored

@ -1,87 +0,0 @@
@import "shared";
@warn "This version of the transform module has been deprecated and will be removed.";
// 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);
}

598
compass_mixins/static/css/vendor/compass/css3/_transform.scss vendored

@ -1,598 +0,0 @@
@import "shared";
// @doc off
// Note ----------------------------------------------------------------------
// Safari, Chrome, and Firefox all support 3D transforms. However,
// only in the most recent builds. You should also provide fallback 2d support for
// Opera and IE. IE10 is slated to have 3d enabled, but is currently unreleased.
// To make that easy, all 2D transforms include an browser-targeting toggle ($only3d)
// to switch between the two support lists. The toggle defaults to 'false' (2D),
// and also accepts 'true' (3D). Currently the lists are as follows:
// 2D: Mozilla, Webkit, Opera, Official
// 3D: Webkit, Firefox.
// Available Transforms ------------------------------------------------------
// - Scale (2d and 3d)
// - Rotate (2d and 3d)
// - Translate (2d and 3d)
// - Skew (2d only)
// Transform Parameters ------------------------------------------------------
// - Transform Origin (2d and 3d)
// - Perspective (3d)
// - Perspective Origin (3d)
// - Transform Style (3d)
// - Backface Visibility (3d)
// Mixins --------------------------------------------------------------------
// transform-origin
// - shortcuts: transform-origin2d, transform-origin3d
// - helpers: apply-origin
// transform
// - shortcuts: transform2d, transform3d
// - helpers: simple-transform, create-transform
// perspective
// - helpers: perspective-origin
// transform-style
// backface-visibility
// scale
// - shortcuts: scaleX, scaleY, scaleZ, scale3d
// rotate
// - shortcuts: rotateX, rotateY, rotate3d
// translate
// - shortcuts: translateX, translateY, translateZ, translate3d
// skew
// - shortcuts: skewX, skewY
// Defaults ------------------------------------------------------------------
// @doc on
// The default x-origin for transforms
$default-origin-x : 50% !default;
// The default y-origin for transforms
$default-origin-y : 50% !default;
// The default z-origin for transforms
$default-origin-z : 50% !default;
// The default x-multiplier for scaling
$default-scale-x : 1.25 !default;
// The default y-multiplier for scaling
$default-scale-y : $default-scale-x !default;
// The default z-multiplier for scaling
$default-scale-z : $default-scale-x !default;
// The default angle for rotations
$default-rotate : 45deg !default;
// The default x-vector for the axis of 3d rotations
$default-vector-x : 1 !default;
// The default y-vector for the axis of 3d rotations
$default-vector-y : 1 !default;
// The default z-vector for the axis of 3d rotations
$default-vector-z : 1 !default;
// The default x-length for translations
$default-translate-x : 1em !default;
// The default y-length for translations
$default-translate-y : $default-translate-x !default;
// The default z-length for translations
$default-translate-z : $default-translate-x !default;
// The default x-angle for skewing
$default-skew-x : 5deg !default;
// The default y-angle for skewing
$default-skew-y : 5deg !default;
// **Transform-origin**
// Transform-origin sent as a complete string
//
// @include apply-origin( origin [, 3D-only ] )
//
// where 'origin' is a space separated list containing 1-3 (x/y/z) coordinates
// in percentages, absolute (px, cm, in, em etc..) or relative
// (left, top, right, bottom, center) units
//
// @param only3d Set this to true to only apply this
// mixin where browsers have 3D support.
@mixin apply-origin($origin, $only3d) {
$only3d: $only3d or -compass-list-size(-compass-list($origin)) > 2;
@if $only3d {
@include experimental(transform-origin, $origin,
-moz, -webkit, -o, -ms, not(-khtml), official
);
} @else {
@include experimental(transform-origin, $origin,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
}
// Transform-origin sent as individual arguments:
//
// @include transform-origin( [ origin-x, origin-y, origin-z, 3D-only ] )
//
// where the 3 'origin-' arguments represent x/y/z coordinates.
//
// **NOTE:** setting z coordinates triggers 3D support list, leave false for 2D support
@mixin transform-origin(
$origin-x: $default-origin-x,
$origin-y: $default-origin-y,
$origin-z: false,
$only3d: if($origin-z, true, false)
) {
$origin: unquote('');
@if $origin-x or $origin-y or $origin-z {
@if $origin-x { $origin: $origin-x; } @else { $origin: 50%; }
@if $origin-y { $origin: $origin $origin-y; } @else { @if $origin-z { $origin: $origin 50%; }}
@if $origin-z { $origin: $origin $origin-z; }
@include apply-origin($origin, $only3d);
}
}
// Transform sent as a complete string:
//
// @include transform( transforms [, 3D-only ] )
//
// where 'transforms' is a space separated list of all the transforms to be applied.
@mixin transform(
$transform,
$only3d: false
) {
@if $only3d {
@include experimental(transform, $transform,
-moz, -webkit, -o, -ms, not(-khtml), official
);
} @else {
@include experimental(transform, $transform,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
}
// Shortcut to target all browsers with 2D transform support
@mixin transform2d($trans) {
@include transform($trans, false);
}
// Shortcut to target only browsers with 3D transform support
@mixin transform3d($trans) {
@include transform($trans, true);
}
// @doc off
// 3D Parameters -------------------------------------------------------------
// @doc on
// Set the perspective of 3D transforms on the children of an element:
//
// @include perspective( perspective )
//
// where 'perspective' is a unitless number representing the depth of the
// z-axis. The higher the perspective, the more exaggerated the foreshortening.
// values from 500 to 1000 are more-or-less "normal" - a good starting-point.
@mixin perspective($p) {
@include experimental(perspective, $p,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Set the origin position for the perspective
//
// @include perspective-origin(origin-x [origin-y])
//
// where the two arguments represent x/y coordinates
@mixin perspective-origin($origin: 50%) {
@include experimental(perspective-origin, $origin,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Determine whether a 3D objects children also live in the given 3D space
//
// @include transform-style( [ style ] )
//
// where `style` can be either `flat` or `preserve-3d`.
// Browsers default to `flat`, mixin defaults to `preserve-3d`.
@mixin transform-style($style: preserve-3d) {
@include experimental(transform-style, $style,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// Determine the visibility of an element when it's back is turned
//
// @include backface-visibility( [ visibility ] )
//
// where `visibility` can be either `visible` or `hidden`.
// Browsers default to visible, mixin defaults to hidden
@mixin backface-visibility($visibility: hidden) {
@include experimental(backface-visibility, $visibility,
-moz, -webkit, -o, -ms, not(-khtml), official
);
}
// @doc off
// Transform Partials --------------------------------------------------------
// These work well on their own, but they don't add to each other, they override.
// Use along with transform parameter mixins to adjust origin, perspective and style
// ---------------------------------------------------------------------------
// Scale ---------------------------------------------------------------------
// @doc on
// Scale an object along the x and y axis:
//
// @include scale( [ scale-x, scale-y, perspective, 3D-only ] )
//
// where the 'scale-' arguments are unitless multipliers of the x and y dimensions
// and perspective, which works the same as the stand-alone perspective property/mixin
// but applies to the individual element (multiplied with any parent perspective)
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin scale(
$scale-x: $default-scale-x,
$scale-y: $scale-x,
$perspective: false,
$only3d: false
) {
$trans: scale($scale-x, $scale-y);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform($trans, $only3d);
}
// Scale an object along the x axis
// @include scaleX( [ scale-x, perspective, 3D-only ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin scaleX(
$scale: $default-scale-x,
$perspective: false,
$only3d: false
) {
$trans: scaleX($scale);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform($trans, $only3d);
}
// Scale an object along the y axis
// @include scaleY( [ scale-y, perspective, 3D-only ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin scaleY(
$scale: $default-scale-y,
$perspective: false,
$only3d: false
) {
$trans: scaleY($scale);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform($trans, $only3d);
}
// Scale an object along the z axis
// @include scaleZ( [ scale-z, perspective ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin scaleZ(
$scale: $default-scale-z,
$perspective: false
) {
$trans: scaleZ($scale);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform3d($trans);
}
// Scale and object along all three axis
// @include scale3d( [ scale-x, scale-y, scale-z, perspective ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin scale3d(
$scale-x: $default-scale-x,
$scale-y: $default-scale-y,
$scale-z: $default-scale-z,
$perspective: false
) {
$trans: scale3d($scale-x, $scale-y, $scale-z);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform3d($trans);
}
// @doc off
// Rotate --------------------------------------------------------------------
// @doc on
// Rotate an object around the z axis (2D)
// @include rotate( [ rotation, perspective, 3D-only ] )
// where 'rotation' is an angle set in degrees (deg) or radian (rad) units
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin rotate(
$rotate: $default-rotate,
$perspective: false,
$only3d: false
) {
$trans: rotate($rotate);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform($trans, $only3d);
}
// A longcut for 'rotate' in case you forget that 'z' is implied
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin rotateZ(
$rotate: $default-rotate,
$perspective: false,
$only3d: false
) {
@include rotate($rotate, $perspective, $only3d);
}
// Rotate an object around the x axis (3D)
// @include rotateX( [ rotation, perspective ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin rotateX(
$rotate: $default-rotate,
$perspective: false
) {
$trans: rotateX($rotate);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform3d($trans);
}
// Rotate an object around the y axis (3D)
// @include rotate( [ rotation, perspective ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin rotateY(
$rotate: $default-rotate,
$perspective: false
) {
$trans: rotateY($rotate);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform3d($trans);
}
// Rotate an object around an arbitrary axis (3D)
// @include rotate( [ vector-x, vector-y, vector-z, rotation, perspective ] )
// where the 'vector-' arguments accept unitless numbers.
// These numbers are not important on their own, but in relation to one another
// creating an axis from your transform-origin, along the axis of Xx = Yy = Zz.
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin rotate3d(
$vector-x: $default-vector-x,
$vector-y: $default-vector-y,
$vector-z: $default-vector-z,
$rotate: $default-rotate,
$perspective: false
) {
$trans: rotate3d($vector-x, $vector-y, $vector-z, $rotate);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform3d($trans);
}
// @doc off
// Translate -----------------------------------------------------------------
// @doc on
// Move an object along the x or y axis (2D)
// @include translate( [ translate-x, translate-y, perspective, 3D-only ] )
// where the 'translate-' arguments accept any distance in percentages or absolute (px, cm, in, em etc..) units.
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin translate(
$translate-x: $default-translate-x,
$translate-y: $default-translate-y,
$perspective: false,
$only3d: false
) {
$trans: translate($translate-x, $translate-y);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform($trans, $only3d);
}
// Move an object along the x axis (2D)
// @include translate( [ translate-x, perspective, 3D-only ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin translateX(
$trans-x: $default-translate-x,
$perspective: false,
$only3d: false
) {
$trans: translateX($trans-x);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform($trans, $only3d);
}
// Move an object along the y axis (2D)
// @include translate( [ translate-y, perspective, 3D-only ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin translateY(
$trans-y: $default-translate-y,
$perspective: false,
$only3d: false
) {
$trans: translateY($trans-y);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform($trans, $only3d);
}
// Move an object along the z axis (3D)
// @include translate( [ translate-z, perspective ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin translateZ(
$trans-z: $default-translate-z,
$perspective: false
) {
$trans: translateZ($trans-z);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform3d($trans);
}
// Move an object along the x, y and z axis (3D)
// @include translate( [ translate-x, translate-y, translate-z, perspective ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin translate3d(
$translate-x: $default-translate-x,
$translate-y: $default-translate-y,
$translate-z: $default-translate-z,
$perspective: false
) {
$trans: translate3d($translate-x, $translate-y, $translate-z);
@if $perspective { $trans: perspective($perspective) $trans; }
@include transform3d($trans);
}
// @doc off
// Skew ----------------------------------------------------------------------
// @doc on
// Skew an element:
//
// @include skew( [ skew-x, skew-y, 3D-only ] )
//
// where the 'skew-' arguments accept css angles in degrees (deg) or radian (rad) units.
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin skew(
$skew-x: $default-skew-x,
$skew-y: $default-skew-y,
$only3d: false
) {
$trans: skew($skew-x, $skew-y);
@include transform($trans, $only3d);
}
// Skew an element along the x axiz
//
// @include skew( [ skew-x, 3D-only ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin skewX(
$skew-x: $default-skew-x,
$only3d: false
) {
$trans: skewX($skew-x);
@include transform($trans, $only3d);
}
// Skew an element along the y axis
//
// @include skew( [ skew-y, 3D-only ] )
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin skewY(
$skew-y: $default-skew-y,
$only3d: false
) {
$trans: skewY($skew-y);
@include transform($trans, $only3d);
}
// Full transform mixins
// For settings any combination of transforms as arguments
// These are complex and not highly recommended for daily use. They are mainly
// here for backward-compatibility purposes.
//
// * they include origin adjustments
// * scale takes a multiplier (unitless), rotate and skew take degrees (deg)
//
// **Note** This mixin cannot be combined with other transform mixins.
@mixin create-transform(
$perspective: false,
$scale-x: false,
$scale-y: false,
$scale-z: false,
$rotate-x: false,
$rotate-y: false,
$rotate-z: false,
$rotate3d: false,
$trans-x: false,
$trans-y: false,
$trans-z: false,
$skew-x: false,
$skew-y: false,
$origin-x: false,
$origin-y: false,
$origin-z: false,
$only3d: false
) {
$trans: unquote("");
// perspective
@if $perspective { $trans: perspective($perspective) ; }
// scale
@if $scale-x and $scale-y {
@if $scale-z { $trans: $trans scale3d($scale-x, $scale-y, $scale-z); }
@else { $trans: $trans scale($scale-x, $scale-y); }
} @else {
@if $scale-x { $trans: $trans scaleX($scale-x); }
@if $scale-y { $trans: $trans scaleY($scale-y); }
@if $scale-z { $trans: $trans scaleZ($scale-z); }
}
// rotate
@if $rotate-x { $trans: $trans rotateX($rotate-x); }
@if $rotate-y { $trans: $trans rotateY($rotate-y); }
@if $rotate-z { $trans: $trans rotateZ($rotate-z); }
@if $rotate3d { $trans: $trans rotate3d($rotate3d); }
// translate
@if $trans-x and $trans-y {
@if $trans-z { $trans: $trans translate3d($trans-x, $trans-y, $trans-z); }
@else { $trans: $trans translate($trans-x, $trans-y); }
} @else {
@if $trans-x { $trans: $trans translateX($trans-x); }
@if $trans-y { $trans: $trans translateY($trans-y); }
@if $trans-z { $trans: $trans translateZ($trans-z); }
}
// skew
@if $skew-x and $skew-y { $trans: $trans skew($skew-x, $skew-y); }
@else {
@if $skew-x { $trans: $trans skewX($skew-x); }
@if $skew-y { $trans: $trans skewY($skew-y); }
}
// apply it!
@include transform($trans, $only3d);
@include transform-origin($origin-x, $origin-y, $origin-z, $only3d);
}
// A simplified set of options
// backwards-compatible with the previous version of the 'transform' mixin
@mixin simple-transform(
$scale: false,
$rotate: false,
$trans-x: false,
$trans-y: false,
$skew-x: false,
$skew-y: false,
$origin-x: false,
$origin-y: false
) {
@include create-transform(
false,
$scale, $scale, false,
false, false, $rotate, false,
$trans-x, $trans-y, false,
$skew-x, $skew-y,
$origin-x, $origin-y, false,
false
);
}

221
compass_mixins/static/css/vendor/compass/css3/_transition.scss vendored

@ -1,221 +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;
$transitionable-prefixed-values: transform, transform-origin !default;
// One or more properties to transition
//
// * for multiple, use a comma-delimited list
// * also accepts "all" or "none"
@mixin transition-property($property-1: $default-transition-property,
$property-2 : false,
$property-3 : false,
$property-4 : false,
$property-5 : false,
$property-6 : false,
$property-7 : false,
$property-8 : false,
$property-9 : false,
$property-10: false
) {
@if type-of($property-1) == string { $property-1: unquote($property-1); }
$properties: compact($property-1, $property-2, $property-3, $property-4, $property-5, $property-6, $property-7, $property-8, $property-9, $property-10);
@if $experimental-support-for-webkit { -webkit-transition-property : prefixed-for-transition(-webkit, $properties); }
@if $experimental-support-for-mozilla { -moz-transition-property : prefixed-for-transition(-moz, $properties); }
@if $experimental-support-for-opera { -o-transition-property : prefixed-for-transition(-o, $properties); }
transition-property : $properties;
}
// 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-1: $default-transition-duration,
$duration-2 : false,
$duration-3 : false,
$duration-4 : false,
$duration-5 : false,
$duration-6 : false,
$duration-7 : false,
$duration-8 : false,
$duration-9 : false,
$duration-10: false
) {
@if type-of($duration-1) == string { $duration-1: unquote($duration-1); }
$durations: compact($duration-1, $duration-2, $duration-3, $duration-4, $duration-5, $duration-6, $duration-7, $duration-8, $duration-9, $duration-10);
@include experimental(transition-duration, $durations,
-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-1: $default-transition-function,
$function-2 : false,
$function-3 : false,
$function-4 : false,
$function-5 : false,
$function-6 : false,
$function-7 : false,
$function-8 : false,
$function-9 : false,
$function-10: false
) {
$function-1: unquote($function-1);
$functions: compact($function-1, $function-2, $function-3, $function-4, $function-5, $function-6, $function-7, $function-8, $function-9, $function-10);
@include experimental(transition-timing-function, $functions,
-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-1: $default-transition-delay,
$delay-2 : false,
$delay-3 : false,
$delay-4 : false,
$delay-5 : false,
$delay-6 : false,
$delay-7 : false,
$delay-8 : false,
$delay-9 : false,
$delay-10: false
) {
@if type-of($delay-1) == string { $delay-1: unquote($delay-1); }
$delays: compact($delay-1, $delay-2, $delay-3, $delay-4, $delay-5, $delay-6, $delay-7, $delay-8, $delay-9, $delay-10);
@include experimental(transition-delay, $delays,
-moz, -webkit, -o, not(-ms), not(-khtml), official
);
}
// Transition all-in-one shorthand
@mixin single-transition(
$property: $default-transition-property,
$duration: $default-transition-duration,
$function: $default-transition-function,
$delay: $default-transition-delay
) {
@include transition(compact($property $duration $function $delay));
}
@mixin transition(
$transition-1 : default,
$transition-2 : false,
$transition-3 : false,
$transition-4 : false,
$transition-5 : false,
$transition-6 : false,
$transition-7 : false,
$transition-8 : false,
$transition-9 : false,
$transition-10: false
) {
@if $transition-1 == default {
$transition-1 : compact($default-transition-property $default-transition-duration $default-transition-function $default-transition-delay);
}
$transitions: false;
@if type-of($transition-1) == list and type-of(nth($transition-1,1)) == list {
$transitions: join($transition-1, compact($transition-2, $transition-3, $transition-4, $transition-5, $transition-6, $transition-7, $transition-8, $transition-9, $transition-10), comma);
} @else {
$transitions : compact($transition-1, $transition-2, $transition-3, $transition-4, $transition-5, $transition-6, $transition-7, $transition-8, $transition-9, $transition-10);
}
$delays: comma-list();
$has-delays: false;
$webkit-value: comma-list();
$moz-value: comma-list();
$o-value: comma-list();
// This block can be made considerably simpler at the point in time that
// we no longer need to deal with the differences in how delays are treated.
@each $transition in $transitions {
// Extract the values from the list
// (this would be cleaner if nth took a 3rd argument to provide a default value).
$property: nth($transition, 1);
$duration: false;
$timing-function: false;
$delay: false;
@if length($transition) > 1 { $duration: nth($transition, 2); }
@if length($transition) > 2 { $timing-function: nth($transition, 3); }
@if length($transition) > 3 { $delay: nth($transition, 4); $has-delays: true; }
// If a delay is provided without a timing function
@if is-time($timing-function) and not($delay) { $delay: $timing-function; $timing-function: false; $has-delays: true; }
// Keep a list of delays in case one is specified
$delays: append($delays, if($delay, $delay, 0s));
$webkit-value: append($webkit-value, compact((prefixed-for-transition(-webkit, $property) $duration $timing-function)...));
$moz-value: append( $moz-value, compact((prefixed-for-transition( -moz, $property) $duration $timing-function $delay)...));
$o-value: append( $o-value, compact((prefixed-for-transition( -o, $property) $duration $timing-function $delay)...));
}
@if $experimental-support-for-webkit { -webkit-transition : $webkit-value;
// old webkit doesn't support the delay parameter in the shorthand so we progressively enhance it.
@if $has-delays { -webkit-transition-delay : $delays; } }
@if $experimental-support-for-mozilla { -moz-transition : $moz-value; }
@if $experimental-support-for-opera { -o-transition : $o-value; }
transition : $transitions;
}
// coerce a list to be comma delimited or make a new, empty comma delimited list.
@function comma-list($list: ()) {
@return join((), $list, comma);
}
// Returns `$property` with the given prefix if it is found in `$transitionable-prefixed-values`.
@function prefixed-for-transition($prefix, $property) {
@if type-of($property) == list {
$new-list: comma-list();
@each $v in $property {
$new-list: append($new-list, prefixed-for-transition($prefix, $v));
}
@return $new-list;
} @else {
@if index($transitionable-prefixed-values, $property) {
@return #{$prefix}-#{$property};
} @else {
@return $property;
}
}
}
// Checks if the value given is a unit of time.
@function is-time($value) {
@if type-of($value) == number {
@return not(not(index(s ms, unit($value))));
} @else {
@return false;
}
}

47
compass_mixins/static/css/vendor/compass/css3/_user-interface.scss vendored

@ -1,47 +0,0 @@
// User Interface ------------------------------------------------------------
// This file can be expanded to handle all the user interface properties as
// they become available in browsers:
// http://www.w3.org/TR/2000/WD-css3-userint-20000216
@import "shared";
// This property controls the selection model and granularity of an element.
//
// @param $select
// [ none | text | toggle | element | elements | all | inherit ]
@mixin user-select($select) {
$select: unquote($select);
@include experimental(user-select, $select,
-moz, -webkit, not(-o), -ms, -khtml, official
);
}
// Style the html5 input placeholder in browsers that support it.
//
// The styles for the input placeholder are passed as mixin content
// and the selector comes from the mixin's context.
//
// For example:
//
// #{elements-of-type(text-input)} {
// @include input-placeholder {
// color: #bfbfbf;
// font-style: italic;
// }
// }
//
// if you want to apply the placeholder styles to all elements supporting
// the `input-placeholder` pseudo class (beware of performance impacts):
//
// * {
// @include input-placeholder {
// color: #bfbfbf;
// font-style: italic;
// }
// }
@mixin input-placeholder {
&:-ms-input-placeholder { @content; }
&:-moz-placeholder { @content; }
&::-moz-placeholder { @content; }
&::-webkit-input-placeholder { @content; }
}

37
compass_mixins/static/css/vendor/compass/functions/_colors.scss vendored

@ -1,37 +0,0 @@
//
// A partial implementation of the Ruby colors functions from Compass:
// https://github.com/Compass/compass/blob/stable/core/lib/compass/core/sass_extensions/functions/colors.rb
//
// a genericized version of lighten/darken so that negative values can be used.
@function adjust-lightness($color, $amount) {
@return adjust-color($color, $lightness: $amount);
}
// Scales a color's lightness by some percentage.
// If the amount is negative, the color is scaled darker, if positive, it is scaled lighter.
// This will never return a pure light or dark color unless the amount is 100%.
@function scale-lightness($color, $amount) {
@return scale-color($color, $lightness: $amount);
}
// a genericized version of saturate/desaturate so that negative values can be used.
@function adjust-saturation($color, $amount) {
@return adjust-color($color, $saturation: $amount);
}
// Scales a color's saturation by some percentage.
// If the amount is negative, the color is desaturated, if positive, it is saturated.
// This will never return a pure saturated or desaturated color unless the amount is 100%.
@function scale-saturation($color, $amount) {
@return scale-color($color, $saturation: $amount);
}
@function shade($color, $percentage) {
@return mix(#000000, $color, $percentage);
}
@function tint($color, $percentage) {
@return mix(#ffffff, $color, $percentage);
}

18
compass_mixins/static/css/vendor/compass/functions/_constants.scss vendored

@ -1,18 +0,0 @@
//
// A partial implementation of the Ruby constants functions from Compass:
// https://github.com/Compass/compass/blob/stable/lib/compass/sass_extensions/functions/constants.rb
//
@function opposite-position($from) {
@if ($from == top) {
@return bottom;
} @else if ($from == bottom) {
@return top;
} @else if ($from == left) {
@return right;
} @else if ($from == right) {
@return left;
} @else if ($from == center) {
@return center;
}
}

72
compass_mixins/static/css/vendor/compass/functions/_cross_browser_support.scss vendored

@ -1,72 +0,0 @@
//
// A partial implementation of the Ruby cross browser support functions from Compass:
// https://github.com/Compass/compass/blob/stable/lib/compass/sass_extensions/functions/cross_browser_support.rb
//
@function prefixed($prefix, $property1, $property2:null, $property3:null, $property4:null, $property5:null, $property6:null, $property7:null, $property8:null, $property9:null) {
$properties: $property1, $property2, $property3, $property4, $property5, $property6, $property7, $property8, $property9;
$prefixed: false;
@each $item in $properties {
@if type-of($item) == 'string' {
$prefixed: $prefixed or str-index($item, 'url') != 1 and str-index($item, 'rgb') != 1 and str-index($item, '#') != 1;
} @elseif type-of($item) == 'color' {
} @elseif $item != null {
$prefixed: true;
}
}
@return $prefixed;
}
@function prefix($prefix, $property1, $property2:null, $property3:null, $property4:null, $property5:null, $property6:null, $property7:null, $property8:null, $property9:null) {
$properties: "";
// Support for polymorphism.
@if type-of($property1) == 'list' {
// Passing a single array of properties.
$properties: $property1;
} @else {
// Passing multiple properties.
$properties: $property1, $property2, $property3, $property4, $property5, $property6, $property7, $property8, $property9;
}
$props: false;
@each $item in $properties {
@if $item == null {}
@else {
@if prefixed($prefix, $item) {
$item: #{$prefix}-#{$item};
}
@if $props {
$props: $props, $item;
}
@else {
$props: $item;
}
}
}
@return $props;
}
@function -svg($property1, $property2:null, $property3:null, $property4:null, $property5:null, $property6:null, $property7:null, $property8:null, $property9:null) {
@return prefix('-svg', $property1, $property2, $property3, $property4, $property5, $property6, $property7, $property8, $property9);
}
@function -owg($property1, $property2:null, $property3:null, $property4:null, $property5:null, $property6:null, $property7:null, $property8:null, $property9:null) {
@return prefix('-owg', $property1, $property2, $property3, $property4, $property5, $property6, $property7, $property8, $property9);
}
@function -webkit($property1, $property2:null, $property3:null, $property4:null, $property5:null, $property6:null, $property7:null, $property8:null, $property9:null) {
@return prefix('-webkit', $property1, $property2, $property3, $property4, $property5, $property6, $property7, $property8, $property9);
}
@function -moz($property1, $property2:null, $property3:null, $property4:null, $property5:null, $property6:null, $property7:null, $property8:null, $property9:null) {
@return prefix('-moz', $property1, $property2, $property3, $property4, $property5, $property6, $property7, $property8, $property9);
}
@function -o($property1, $property2:null, $property3:null, $property4:null, $property5:null, $property6:null, $property7:null, $property8:null, $property9:null) {
@return prefix('-o', $property1, $property2, $property3, $property4, $property5, $property6, $property7, $property8, $property9);
}
@function -pie($property1, $property2:null, $property3:null, $property4:null, $property5:null, $property6:null, $property7:null, $property8:null, $property9:null) {
@return prefix('-pie', $property1, $property2, $property3, $property4, $property5, $property6, $property7, $property8, $property9);
}

36
compass_mixins/static/css/vendor/compass/functions/_display.scss vendored

@ -1,36 +0,0 @@
//
// A partial implementation of the Ruby display functions from Compass:
// https://github.com/Compass/compass/blob/stable/core/lib/compass/core/sass_extensions/functions/display.rb
//
@function elements-of-type($type){
@if ($type == block){
@return address, article, aside, blockquote, center, dir, div, dd, details, dl, dt, fieldset, figcaption, figure, form, footer, frameset, h1, h2, h3, h4, h5, h6, hr, header, hgroup, isindex, main, menu, nav, noframes, noscript, ol, p, pre, section, summary, ul;
} @else if ($type == inline){
@return a, abbr, acronym, audio, b, basefont, bdo, big, br, canvas, cite, code, command, datalist, dfn, em, embed, font, i, img, input, keygen, kbd, label, mark, meter, output, progress, q, rp, rt, ruby, s, samp, select, small, span, strike, strong, sub, sup, textarea, time, tt, u, var, video, wbr;
} @else if ($type == inline-block){
@return img;
} @else if ($type == table){
@return table;
} @else if ($type == list-item){
@return li;
} @else if ($type == table-row-group){
@return tbody;
} @else if ($type == table-header-group){
@return thead;
} @else if ($type == table-footer-group){
@return tfoot;
} @else if ($type == table-row){
@return tr;
} @else if ($type == table-cell){
@return th, td;
} @else if ($type == html5-block){
@return article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary;
} @else if ($type == html5-inline){
@return audio, canvas, command, datalist, embed, keygen, mark, meter, output, progress, rp, rt, ruby, time, video, wbr;
} @else if ($type == html5){
@return article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, main, mark, menu, meter, nav, output, progress, rp, rt, ruby, section, summary, time, video, wbr;
} @else if ($type == text-input){
@return input, textarea;
}
}

15
compass_mixins/static/css/vendor/compass/functions/_gradient_support.scss vendored

@ -1,15 +0,0 @@
//
// A partial implementation of the Ruby gradient support functions from Compass:
// https://github.com/Compass/compass/blob/v0.12.2/lib/compass/sass_extensions/functions/gradient_support.rb
//
@function color-stops($item1, $item2:null, $item3:null, $item4:null, $item5:null, $item6:null, $item7:null, $item8:null, $item9:null) {
$items: $item2, $item3, $item4, $item5, $item6, $item7, $item8, $item9;
$full: $item1;
@each $item in $items {
@if $item != null {
$full: $full, $item;
}
}
@return $full;
}

90
compass_mixins/static/css/vendor/compass/functions/_lists.scss vendored

@ -1,90 +0,0 @@
//
// A partial implementation of the Ruby list functions from Compass:
// https://github.com/Compass/compass/blob/stable/lib/compass/sass_extensions/functions/lists.rb
//
// compact is part of libsass
@function -compass-nth($list, $place) {
// Yep, Sass-lists are 1-indexed.
@if $place == "first" {
$place: 1;
}
@if $place == "last" {
$place: length($list);
}
@return nth($list, $place);
}
// compass_list can't be implemented in sass script
@function -compass-space-list($item1, $item2:null, $item3:null, $item4:null, $item5:null, $item6:null, $item7:null, $item8:null, $item9:null) {
$items: ();
// Support for polymorphism.
@if type-of($item1) == 'list' {
// Passing a single array of properties.
$items: $item1;
} @else {
$items: $item1 $item2 $item3 $item4 $item5 $item6 $item7 $item8 $item9;
}
$full: first-value-of($items);
@for $i from 2 through length($items) {
$item: nth($items, $i);
@if $item != null {
$full: $full $item;
}
}
@return $full;
}
@function -compass-list-size($list) {
@return length($list);
}
@function -compass-slice($list, $start, $end: false) {
@if $end == false {
$end: length($list);
}
$full: nth($list, $start);
@for $i from $start + 1 through $end {
$full: $full, nth($list, $i);
}
@return $full;
}
@function reject($list, $reject1, $reject2:null, $reject3:null, $reject4:null, $reject5:null, $reject6:null, $reject7:null, $reject8:null, $reject9:null) {
$rejects: $reject1, $reject2, $reject3, $reject4, $reject5, $reject6, $reject7, $reject8, $reject9;
$full: false;
@each $item in $list {
@if index($rejects, $item) {}
@else {
@if $full {
$full: $full, $item;
}
@else {
$full: $item;
}
}
}
@return $full;
}
@function first-value-of($list) {
@return nth($list, 1);
}
@function compact($vars...) {
$separator: list-separator($vars);
$list: ();
@each $var in $vars {
@if $var {
$list: append($list, $var, $separator);
}
}
@return $list;
}

178
compass_mixins/static/css/vendor/compass/layout/_grid-background.scss vendored

@ -1,178 +0,0 @@
@import "../css3/images";
@import "../css3/background-size";
// Set the color of your columns
$grid-background-column-color : rgba(100, 100, 225, 0.25) !default;
// Set the color of your gutters
$grid-background-gutter-color : rgba(0, 0, 0, 0) !default;
// Set the total number of columns in your grid
$grid-background-total-columns : 24 !default;
// Set the width of your columns
$grid-background-column-width : 30px !default;
// Set the width of your gutters
$grid-background-gutter-width : 10px !default;
// Set the offset, if your columns are padded in from the container edge
$grid-background-offset : 0px !default;
// Set the color of your baseline
$grid-background-baseline-color : rgba(0, 0, 0, 0.5) !default;
// Set the height of your baseline grid
$grid-background-baseline-height : 1.5em !default;
// toggle your columns grids on and off
$show-column-grid-backgrounds : true !default;
// toggle your vertical grids on and off
$show-baseline-grid-backgrounds : true !default;
// toggle all your grids on and off
$show-grid-backgrounds : true !default;
// optionally force your grid-image to remain fluid
// no matter what units you used to declared your grid.
$grid-background-force-fluid : false !default;
// Create the gradient needed for baseline grids
@function get-baseline-gradient(
$color : $grid-background-baseline-color
) {
$gradient: linear-gradient(bottom, $color 5%, rgba($color,0) 5%);
@return $gradient;
}
// Create the color-stops needed for horizontal grids
@function build-grid-background(
$total : $grid-background-total-columns,
$column : $grid-background-column-width,
$gutter : $grid-background-gutter-width,
$offset : $grid-background-offset,
$column-color : $grid-background-column-color,
$gutter-color : $grid-background-gutter-color
) {
$grid: compact();
$grid: append($grid, $gutter-color $offset, comma);
@for $i from 0 to $total {
// $a represents the start of this column, initially equal to the offset
$a: $offset;
@if $i > 0 { $a: $a + (($column + $gutter) * $i); }
// $g represents the start of this gutter, equal to $a plus one column-width
$g: $a + $column;
// $z represents the end of a gutter, equal to $g plus one gutter-width
$z: $g + $gutter;
@if (unit($a) == "%") and ($i == ($total - 1)) {
$z: 100%;
}
// and we add this column/gutter pair to our grid
$grid: join($grid, ($column-color $a, $column-color $g, $gutter-color $g, $gutter-color $z));
}
@return $grid;
}
// Return the gradient needed for horizontal grids
@function get-column-gradient(
$total : $grid-background-total-columns,
$column : $grid-background-column-width,
$gutter : $grid-background-gutter-width,
$offset : $grid-background-offset,
$column-color : $grid-background-column-color,
$gutter-color : $grid-background-gutter-color,
$force-fluid : $grid-background-force-fluid
) {
$grid: unquote("");
// don't force fluid grids when they are already fluid.
@if unit($column) == "%" { $force-fluid: false; }
@if $force-fluid {
$grid: get-column-fluid-grid($total,$column,$gutter,$offset,$column-color,$gutter-color);
} @else {
$grid: build-grid-background($total,$column,$gutter,$offset,$column-color,$gutter-color);
}
// return the horizontal grid as a gradient
$gradient: linear-gradient(left, $grid);
@return $gradient;
}
// Convert a grid from fixed units into percentages.
@function get-column-fluid-grid(
$total : $grid-background-total-columns,
$column : $grid-background-column-width,
$gutter : $grid-background-gutter-width,
$offset : $grid-background-offset,
$column-color : $grid-background-column-color,
$gutter-color : $grid-background-gutter-color
) {
$context: ($column * $total) + ($gutter * ($total - 1) + ($offset * 2));
$offset: $offset / $context * 100%;
$column: $column / $context * 100%;
$gutter: $gutter / $context * 100%;
// return the horizontal grid as a set of color-stops
$grid: build-grid-background($total,$column,$gutter,$offset,$column-color,$gutter-color);
@return $grid;
}
// Add just the baseline grid to an element's background
@mixin baseline-grid-background(
$baseline : $grid-background-baseline-height,
$color : $grid-background-baseline-color
) {
@if $show-grid-backgrounds and $show-baseline-grid-backgrounds {
@include background-image(get-baseline-gradient($color));
@include background-size(100% $baseline);
background-position: left top;
}
}
// Add just the horizontal grid to an element's background
@mixin column-grid-background(
$total : $grid-background-total-columns,
$column : $grid-background-column-width,
$gutter : $grid-background-gutter-width,
$offset : $grid-background-offset,
$column-color : $grid-background-column-color,
$gutter-color : $grid-background-gutter-color,
$force-fluid : $grid-background-force-fluid
) {
@if $show-grid-backgrounds and $show-column-grid-backgrounds {
@include background-image(
get-column-gradient($total,$column,$gutter,$offset,$column-color,$gutter-color, $force-fluid)
);
background-position: left top;
}
}
// Add both horizontal and baseline grids to an element's background
@mixin grid-background(
$total : $grid-background-total-columns,
$column : $grid-background-column-width,
$gutter : $grid-background-gutter-width,
$baseline : $grid-background-baseline-height,
$offset : $grid-background-offset,
$column-color : $grid-background-column-color,
$gutter-color : $grid-background-gutter-color,
$baseline-color : $grid-background-baseline-color,
$force-fluid : $grid-background-force-fluid
) {
@if $show-grid-backgrounds {
@if $show-baseline-grid-backgrounds and $show-column-grid-backgrounds {
@include background-image(
get-baseline-gradient($baseline-color),
get-column-gradient($total,$column,$gutter,$offset,$column-color,$gutter-color, $force-fluid)
);
@include background-size(100% $baseline, auto);
background-position: left top;
} @else {
@include baseline-grid-background($baseline, $baseline-color);
@include column-grid-background($total,$column,$gutter,$offset,$column-color,$gutter-color, $force-fluid);
}
}
}

23
compass_mixins/static/css/vendor/compass/layout/_sticky-footer.scss vendored

@ -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; } }

24
compass_mixins/static/css/vendor/compass/layout/_stretching.scss vendored

@ -1,24 +0,0 @@
// stretch element height to specified top and bottom position
@mixin stretch-y($offset-top:0, $offset-bottom:0) {
@include stretch($offset-top, false, $offset-bottom, false);
}
// stretch element width to specified left and right position
@mixin stretch-x($offset-left:0, $offset-right:0) {
@include stretch(false, $offset-right, false, $offset-left);
}
// shorthand to stretch element height and width
@mixin stretch($offset-top:0, $offset-right:0, $offset-bottom:0, $offset-left:0) {
position: absolute;
@if $offset-top { top: $offset-top; }
@if $offset-bottom { bottom: $offset-bottom; }
@if $offset-left { left: $offset-left; }
@if $offset-right { right: $offset-right; }
}

135
compass_mixins/static/css/vendor/compass/reset/_utilities-legacy.scss vendored

@ -1,135 +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
// and reset in browsers that have default styles for them.
@mixin reset-html5 {
#{elements-of-type(html5-block)} {
@include reset-box-model;
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; } } }

142
compass_mixins/static/css/vendor/compass/reset/_utilities.scss vendored

@ -1,142 +0,0 @@
// Based on [Eric Meyer's reset 2.0](http://meyerweb.com/eric/tools/css/reset/index.html)
// Global reset rules.
// For more specific resets, use the reset mixins provided below
@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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
@include reset-box-model;
@include reset-font; }
// Unlike Eric's original reset, we reset the html element to be compatible
// with the vertical rhythm mixins.
html {
@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; }
@include reset-html5; }
// 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 nested-reset {
div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
@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; }
// Reset the font and vertical alignment.
@mixin reset-font {
font: inherit;
font-size: 100%;
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; }
// Reset the list style of an element.
@mixin reset-list-style {
list-style: none; }
// Reset a table
@mixin reset-table {
border-collapse: collapse;
border-spacing: 0; }
// 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: none;
&:before, &:after {
content: "";
content: none; } }
// Resets the border.
@mixin reset-image-anchor-border {
border: none; }
// Unrecognized elements are displayed inline.
// This reset provides a basic reset for block html5 elements
// so they are rendered correctly in browsers that don't recognize them
// and reset in browsers that have default styles for them.
@mixin reset-html5 {
#{elements-of-type(html5-block)} {
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; } } }

3
compass_mixins/static/css/vendor/compass/typography/_links.scss vendored

@ -1,3 +0,0 @@
@import "links/hover-link";
@import "links/link-colors";
@import "links/unstyled-link";

4
compass_mixins/static/css/vendor/compass/typography/_lists.scss vendored

@ -1,4 +0,0 @@
@import "lists/horizontal-list";
@import "lists/inline-list";
@import "lists/inline-block-list";
@import "lists/bullets";

4
compass_mixins/static/css/vendor/compass/typography/_text.scss vendored

@ -1,4 +0,0 @@
@import "text/ellipsis";
@import "text/nowrap";
@import "text/replacement";
@import "text/force-wrap";

219
compass_mixins/static/css/vendor/compass/typography/_vertical_rhythm.scss vendored

@ -1,219 +0,0 @@
@import "../layout/grid-background";
// The base font size.
$base-font-size: 16px !default;
// The base line height determines the basic unit of vertical rhythm.
$base-line-height: 24px !default;
// Set the default border style for rhythm borders.
$default-rhythm-border-style: solid !default;
// The default font size in all browsers.
$browser-default-font-size: 16px;
// Set to false if you want to use absolute pixels in sizing your typography.
$relative-font-sizing: true !default;
// Allows the `adjust-font-size-to` mixin and the `lines-for-font-size` function
// to round the line height to the nearest half line height instead of the
// nearest integral line height to avoid large spacing between lines.
$round-to-nearest-half-line: false !default;
// Ensure there is at least this many pixels
// of vertical padding above and below the text.
$min-line-padding: 2px !default;
// $base-font-size but in your output unit of choice.
// Defaults to 1em when `$relative-font-sizing` is true.
$font-unit: if($relative-font-sizing, 1em, $base-font-size) !default;
// The basic unit of font rhythm.
$base-rhythm-unit: $base-line-height / $base-font-size * $font-unit;
// The leader is the amount of whitespace in a line.
// It might be useful in your calculations.
$base-leader: ($base-line-height - $base-font-size) * $font-unit / $base-font-size;
// The half-leader is the amount of whitespace above and below a line.
// It might be useful in your calculations.
$base-half-leader: $base-leader / 2;
// True if a number has a relative unit.
@function relative-unit($number) {
@return unit($number) == "%" or unit($number) == "em" or unit($number) == "rem"
}
// True if a number has an absolute unit.
@function absolute-unit($number) {
@return not(relative-unit($number) or unitless($number));
}
@if $relative-font-sizing and not(relative-unit($font-unit)) {
@warn "$relative-font-sizing is true but $font-unit is set to #{$font-unit} which is not a relative unit.";
}
// Establishes a font baseline for the given font-size.
@mixin establish-baseline($font-size: $base-font-size) {
// IE 6 refuses to resize fonts set in pixels and it weirdly resizes fonts
// whose root is set in ems. So we set the root font size in percentages of
// the default font size.
* html {
font-size: 100% * ($font-size / $browser-default-font-size);
}
html {
font-size: $font-size;
@include adjust-leading-to(1, if($relative-font-sizing, $font-size, $base-font-size));
}
}
// Resets the line-height to 1 vertical rhythm unit.
// Does not work on elements whose font-size is different from $base-font-size.
//
// @deprecated This mixin will be removed in the next release.
// Please use the `adjust-leading-to` mixin instead.
@mixin reset-baseline {
@include adjust-leading-to(1, if($relative-font-sizing, $base-font-size, $base-font-size));
}
// Show a background image that can be used to debug your alignments.
// Include the $img argument if you would rather use your own image than the
// Compass default gradient image.
@mixin debug-vertical-alignment($img: false) {
@if $img {
background: image-url($img);
} @else {
@include baseline-grid-background($base-rhythm-unit);
}
}
// Adjust a block to have a different font size and line height to maintain the
// rhythm. $lines specifies how many multiples of the baseline rhythm each line
// of this font should use up. It does not have to be an integer, but it
// defaults to the smallest integer that is large enough to fit the font.
// Use $from-size to adjust from a font-size other than the base font-size.
@mixin adjust-font-size-to($to-size, $lines: lines-for-font-size($to-size), $from-size: $base-font-size) {
@if not($relative-font-sizing) and $from-size != $base-font-size {
@warn "$relative-font-sizing is false but a relative font size was passed to adjust-font-size-to";
}
font-size: $font-unit * $to-size / $from-size;
@include adjust-leading-to($lines, if($relative-font-sizing, $to-size, $base-font-size));
}
// Adjust a block to have different line height to maintain the rhythm.
// $lines specifies how many multiples of the baseline rhythm each line of this
// font should use up. It does not have to be an integer, but it defaults to the
// smallest integer that is large enough to fit the font.
@mixin adjust-leading-to($lines, $font-size: $base-font-size) {
line-height: rhythm($lines, $font-size);
}
// Calculate rhythm units.
@function rhythm(
$lines: 1,
$font-size: $base-font-size,
$offset: 0
) {
@if not($relative-font-sizing) and $font-size != $base-font-size {
@warn "$relative-font-sizing is false but a relative font size was passed to the rhythm function";
}
$rhythm: $font-unit * ($lines * $base-line-height - $offset) / $font-size;
// Round the pixels down to nearest integer.
@if unit($rhythm) == px {
$rhythm: floor($rhythm);
}
@return $rhythm;
}
// Calculate the minimum multiple of rhythm units needed to contain the font-size.
@function lines-for-font-size($font-size) {
$lines: if($round-to-nearest-half-line,
ceil(2 * $font-size / $base-line-height) / 2,
ceil($font-size / $base-line-height));
@if $lines * $base-line-height - $font-size < $min-line-padding * 2 {
$lines: $lines + if($round-to-nearest-half-line, 0.5, 1);
}
@return $lines;
}
// Apply leading whitespace. The $property can be margin or padding.
@mixin leader($lines: 1, $font-size: $base-font-size, $property: margin) {
#{$property}-top: rhythm($lines, $font-size);
}
// Apply leading whitespace as padding.
@mixin padding-leader($lines: 1, $font-size: $base-font-size) {
padding-top: rhythm($lines, $font-size);
}
// Apply leading whitespace as margin.
@mixin margin-leader($lines: 1, $font-size: $base-font-size) {
margin-top: rhythm($lines, $font-size);
}
// Apply trailing whitespace. The $property can be margin or padding.
@mixin trailer($lines: 1, $font-size: $base-font-size, $property: margin) {
#{$property}-bottom: rhythm($lines, $font-size);
}
// Apply trailing whitespace as padding.
@mixin padding-trailer($lines: 1, $font-size: $base-font-size) {
padding-bottom: rhythm($lines, $font-size);
}
// Apply trailing whitespace as margin.
@mixin margin-trailer($lines: 1, $font-size: $base-font-size) {
margin-bottom: rhythm($lines, $font-size);
}
// Shorthand mixin to apply whitespace for top and bottom margins and padding.
@mixin rhythm($leader: 0, $padding-leader: 0, $padding-trailer: 0, $trailer: 0, $font-size: $base-font-size) {
@include leader($leader, $font-size);
@include padding-leader($padding-leader, $font-size);
@include padding-trailer($padding-trailer, $font-size);
@include trailer($trailer, $font-size);
}
// Apply a border and whitespace to any side without destroying the vertical
// rhythm. The whitespace must be greater than the width of the border.
@mixin apply-side-rhythm-border($side, $width: 1px, $lines: 1, $font-size: $base-font-size, $border-style: $default-rhythm-border-style) {
@if not($relative-font-sizing) and $font-size != $base-font-size {
@warn "$relative-font-sizing is false but a relative font size was passed to apply-side-rhythm-border";
}
border-#{$side}-style: $border-style;
border-#{$side}-width: $font-unit * $width / $font-size;
padding-#{$side}: rhythm($lines, $font-size, $offset: $width);
}
// Apply borders and whitespace equally to all sides.
@mixin rhythm-borders($width: 1px, $lines: 1, $font-size: $base-font-size, $border-style: $default-rhythm-border-style) {
@if not($relative-font-sizing) and $font-size != $base-font-size {
@warn "$relative-font-sizing is false but a relative font size was passed to rhythm-borders";
}
border: {
style: $border-style;
width: $font-unit * $width / $font-size;
};
padding: rhythm($lines, $font-size, $offset: $width);
}
// Apply a leading border.
@mixin leading-border($width: 1px, $lines: 1, $font-size: $base-font-size, $border-style: $default-rhythm-border-style) {
@include apply-side-rhythm-border(top, $width, $lines, $font-size, $border-style);
}
// Apply a trailing border.
@mixin trailing-border($width: 1px, $lines: 1, $font-size: $base-font-size, $border-style: $default-rhythm-border-style) {
@include apply-side-rhythm-border(bottom, $width, $lines, $font-size, $border-style);
}
// Apply both leading and trailing borders.
@mixin horizontal-borders($width: 1px, $lines: 1, $font-size: $base-font-size, $border-style: $default-rhythm-border-style) {
@include leading-border($width, $lines, $font-size, $border-style);
@include trailing-border($width, $lines, $font-size, $border-style);
}
// Alias for `horizontal-borders` mixin.
@mixin h-borders($width: 1px, $lines: 1, $font-size: $base-font-size, $border-style: $default-rhythm-border-style) {
@include horizontal-borders($width, $lines, $font-size, $border-style);
}

5
compass_mixins/static/css/vendor/compass/typography/links/_hover-link.scss vendored

@ -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; } }

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save