diff --git a/themes/bootprint3/less/bootprint.less b/themes/bootprint3/less/bootprint.less index 82cc897d7865a193b83af287f06ddc9d8aaa254e..df3d1258b916c24bd8d174e4bab7a029ad3f682c 100644 --- a/themes/bootprint3/less/bootprint.less +++ b/themes/bootprint3/less/bootprint.less @@ -38,11 +38,11 @@ body { text-shadow:none; } } -.btn-danger, .btn-danger:hover {border-color:darken(@brand-danger, 10%);font-weight:bold;} -.btn-info, .btn-info:hover {border-color:darken(@brand-info, 10%);font-weight:bold;} -.btn-primary,.btn-primary:hover {border-color:darken(@brand-primary, 10%);font-weight:bold;} -.btn-success,.btn-success:hover {border-color:darken(@brand-success, 10%);font-weight:bold;} -.btn-warning,.btn-warning:hover {border-color:darken(@brand-warning, 10%);font-weight:bold;} +.btn-danger, .btn-danger:hover {border-color:darken(@brand-danger, 12%);font-weight:bold;} +.btn-info, .btn-info:hover {border-color:darken(@brand-info, 12%);font-weight:bold;} +.btn-primary,.btn-primary:hover {border-color:darken(@brand-primary, 12%);font-weight:bold;} +.btn-success,.btn-success:hover {border-color:darken(@brand-success, 12%);font-weight:bold;} +.btn-warning,.btn-warning:hover {border-color:darken(@brand-warning, 12%);font-weight:bold;} h2 {margin:0 8px 8px} input[type=checkbox] { margin-top:2px; diff --git a/themes/bootprint3/scss/bootprint.scss b/themes/bootprint3/scss/bootprint.scss index 7ae60943e08bfb581b322daed52f422631a3c25e..4a7137b791252b5a3f7c41ee28e82aa2258944b8 100644 --- a/themes/bootprint3/scss/bootprint.scss +++ b/themes/bootprint3/scss/bootprint.scss @@ -43,11 +43,11 @@ body { text-shadow:none; } } -.btn-danger, .btn-danger:hover {border-color:darken($brand-danger, 10%);font-weight:bold;} -.btn-info, .btn-info:hover {border-color:darken($brand-info, 10%);font-weight:bold;} -.btn-primary,.btn-primary:hover {background:$brand-primary;border-color:darken($brand-primary, 10%);font-weight:bold;} -.btn-success,.btn-success:hover {border-color:darken($brand-success, 10%);font-weight:bold;} -.btn-warning,.btn-warning:hover {border-color:darken($brand-warning, 10%);font-weight:bold;} +.btn-danger, .btn-danger:hover {border-color:darken($brand-danger, 12%);font-weight:bold;} +.btn-info, .btn-info:hover {border-color:darken($brand-info, 12%);font-weight:bold;} +.btn-primary,.btn-primary:hover {@include button-variant(#FFF, $brand-primary, $brand-primary);font-weight:bold;} +.btn-success,.btn-success:hover {border-color:darken($brand-success, 12%);font-weight:bold;} +.btn-warning,.btn-warning:hover {border-color:darken($brand-warning, 12%);font-weight:bold;} h2 {margin:0 8px 8px} input[type=checkbox] { margin-top:2px; diff --git a/themes/bootprint3/scss/variables.scss b/themes/bootprint3/scss/variables.scss index ca7f23700cdd0333f34334eea38cf8242dba3835..ba338cbcb2cdd6695556e23559181c04b35caad2 100644 --- a/themes/bootprint3/scss/variables.scss +++ b/themes/bootprint3/scss/variables.scss @@ -14,6 +14,9 @@ $border-radius-base : 3px; $border-radius-large: 5px; $border-radius-small: 2px; +$dropdown-link-hover-bg : $brand-primary; +$dropdown-link-active-bg: $brand-primary; + $input-border-focus: $brand-primary; $legend-border-color: $gray-light; diff --git a/themes/bootstrap3/scss/a11y.scss b/themes/bootstrap3/scss/a11y.scss new file mode 100644 index 0000000000000000000000000000000000000000..4568846193bb610100ab23f9bb339b0e31804bb2 --- /dev/null +++ b/themes/bootstrap3/scss/a11y.scss @@ -0,0 +1,144 @@ +/* mixins */ + +.sr-only +{ + clip: rect(1px, 1px, 1px, 1px); + position: absolute; + /* reset */ + width: auto; + height: auto; + margin: 0; + padding: 0; + overflow: hidden; + border:0; +} + +.sr-only:focus { + background-color: $navbar-default-link-hover-bg;//watch out, transparent by default! + border-radius: $navbar-border-radius; + clip: auto; + color: $navbar-default-link-hover-color; + display: block; + font-size: $font-size-base; + height: $navbar-height; + line-height: $line-height-computed; + padding: $navbar-padding-vertical $navbar-padding-horizontal; + position: absolute; + left: 5px; + top: 5px; + text-decoration: none; + text-transform: none; + width: auto; + z-index: 100000; /* Above WP toolbar */ +} + +/* this mixins give output generate duplicate CSS code + * alternatively you will to have to rewrite the original mixin in buttons.less + */ +@mixin button-variant($color, $background, $border) { + color: $color; + background-color: $background; + border-color: $border; + + &:hover, + &:focus, + &:active, + &.active { + color: $background; + background-color: $color; + border-color: darken($border, 12%); + .badge { + color: $color; + background-color: $background; + } + } + .open & { &.dropdown-toggle { + color: $background; + background-color: $color; + border-color: darken($border, 12%); + } } + &:active, + &.active { + background-image: none; + } + .open & { &.dropdown-toggle { + background-image: none; + } } + &.disabled, + &[disabled], + fieldset[disabled] & { + &, + &:hover, + &:focus, + &:active, + &.active { + background-color: $background; + border-color: $border; + } + } + + .badge { + color: $background; + background-color: $color; + } +} + +// Navbar +// ------------------------- + +$navbar-default-color: #fff; +$navbar-default-bg: #132531; +$navbar-default-border: darken($navbar-default-bg, 6.5%); + +// Navbar links +$navbar-default-link-color: #fff; +$navbar-default-link-hover-color: #132531; +$navbar-default-link-hover-bg: #fff; +$navbar-default-link-active-color: #132531; +$navbar-default-link-active-bg: #fff; +$navbar-default-link-disabled-color: #fff; +$navbar-default-link-disabled-bg: #068139; + +// Navbar brand label +$navbar-default-brand-color: $navbar-default-link-color; +$navbar-default-brand-hover-color: #068139; //contrast 3.15, so min 19px; +.navbar-brand { + font-size: 20px; +} +$navbar-default-brand-hover-bg: transparent; + +// Navbar toggle +$navbar-default-toggle-hover-bg: #ddd; +$navbar-default-toggle-icon-bar-bg: #888; +$navbar-default-toggle-border-color: #ddd; + +$brand-primary: #265680; +$brand-success: #028302; +$brand-info: #1C5F74; +$brand-warning: #A56100; +$brand-danger: #A41915; + +/* buttons */ +$btn-primary-color: #fff; +$btn-primary-bg: $brand-primary; +$btn-primary-border: #fff; + +$btn-success-color: #fff; +$btn-success-bg: $brand-success; +$btn-success-border: #fff; + +$btn-info-color: #fff; +$btn-info-bg: $brand-info; +$btn-info-border: #fff; + +$btn-warning-color: #fff; +$btn-warning-bg: $brand-warning; +$btn-warning-border: #fff; + +$btn-danger-color: #fff; +$btn-danger-bg: $brand-danger; +$btn-danger-border: #fff; + + +/* link on white background */ +$link-color: #12538B; diff --git a/themes/bootstrap3/scss/accessibility/bootstrap-accessibility.scss b/themes/bootstrap3/scss/accessibility/bootstrap-accessibility.scss deleted file mode 100644 index 95b7be45285b2b7da218543b1b739e7197f13d36..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/bootstrap-accessibility.scss +++ /dev/null @@ -1,17 +0,0 @@ -// Import Compass Transition Module -@import "compass/css3/transition"; - -// Import Variables -@import "partials/variables"; - -// Import Mixins -@import "partials/mixins"; - -// Import Partials Styles -@import "partials/buttons"; -@import "partials/divs"; -@import "partials/links"; -@import "partials/close"; -@import "partials/navigation"; -@import "partials/carousel"; -@import "partials/alerts"; \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_alerts.scss b/themes/bootstrap3/scss/accessibility/partials/_alerts.scss deleted file mode 100644 index 20333059b3b1b55d041b62d6c4d02cac10243e3a..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_alerts.scss +++ /dev/null @@ -1,18 +0,0 @@ -.alert-success { - color: $alert-success-color; -} -.alert-info { - color: $alert-info-color; -} -.alert-warning { - color: $alert-warning-color; - background-color: $alert-warning-bkg; -} -.alert-danger { - color: $alert-danger-color; -} -.alert-danger { - &:hover { - color: $alert-danger-hover; - } -} \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_buttons.scss b/themes/bootstrap3/scss/accessibility/partials/_buttons.scss deleted file mode 100644 index e0cb64ae54d7d261a9347f16b5dac6777b443799..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_buttons.scss +++ /dev/null @@ -1,5 +0,0 @@ -.btn { - &:focus { - @include outline(2px); - } -} \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_carousel.scss b/themes/bootstrap3/scss/accessibility/partials/_carousel.scss deleted file mode 100644 index df9482a0665912ece364437530b7b30d34f6d4c2..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_carousel.scss +++ /dev/null @@ -1,24 +0,0 @@ -.carousel-inner { - > .item { - position: absolute; - top: -999999em; - display: block; - @include single-transition(0.6s, ease-in-out, left); - } - - > .active { - top: 0; - } - > .active, - > .next, - > .prev { - position: relative - } - - > .next, - > .prev {; - position: absolute; - top: 0; - width: 100%; - } -} \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_close.scss b/themes/bootstrap3/scss/accessibility/partials/_close.scss deleted file mode 100644 index ac5e20f801e096c95b1334ac30ddef6c34241c4c..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_close.scss +++ /dev/null @@ -1,6 +0,0 @@ -.close { - &:hover, - &:focus { - @include outline(1px); - } -} \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_divs.scss b/themes/bootstrap3/scss/accessibility/partials/_divs.scss deleted file mode 100644 index e6a24e21a978378cc98f437c6af29ef88afb6889..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_divs.scss +++ /dev/null @@ -1,5 +0,0 @@ -div.active { - &:focus { - @include outline(1px); - } -} \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_links.scss b/themes/bootstrap3/scss/accessibility/partials/_links.scss deleted file mode 100644 index 4d4584192cb15591766114a48efc12ba26613f69..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_links.scss +++ /dev/null @@ -1,5 +0,0 @@ -a { - &:focus { - @include outline(1px); - } -} \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_mixins.scss b/themes/bootstrap3/scss/accessibility/partials/_mixins.scss deleted file mode 100644 index 9866b06bc6130369a9f927a2159d30cc7c285979..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_mixins.scss +++ /dev/null @@ -1,3 +0,0 @@ -@mixin outline($size) { - outline: $outline-default-style $size $outline-default-color; -} \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_navigation.scss b/themes/bootstrap3/scss/accessibility/partials/_navigation.scss deleted file mode 100644 index ba5a8b8184f9da0c5a022a104bb08cebbb870ea2..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_navigation.scss +++ /dev/null @@ -1,10 +0,0 @@ -.nav { - > li { - > a { - &:hover, - &:focus { - @include outline(1px); - } - } - } -} \ No newline at end of file diff --git a/themes/bootstrap3/scss/accessibility/partials/_variables.scss b/themes/bootstrap3/scss/accessibility/partials/_variables.scss deleted file mode 100644 index 3704b88ab1a1f2cb88ed940e598d3a2dd88894e5..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/accessibility/partials/_variables.scss +++ /dev/null @@ -1,21 +0,0 @@ -//Set the variables for use in stylesheet - -// Colors -$black: #000; -$green-dark: #2d4821; -$blue-dark: #214c62; -$red-dark: #6c4a00; -$red: #d2322d; -$yellow: #f9f1c6; - -// Outline -$outline-default-style: dotted; -$outline-default-color: $black; - -// Alerts Colors -$alert-success-color: $green-dark; -$alert-info-color: $blue-dark; -$alert-warning-color: $red-dark; -$alert-warning-bkg: $yellow; -$alert-danger-color: $red; -$alert-danger-hover: darken($red, 10%); diff --git a/themes/bootstrap3/scss/bootstrap.scss b/themes/bootstrap3/scss/bootstrap.scss index 959829d225f021d01a0cdb5b771dff5418c71240..6dca8f80f1d328dedd8f069ed4091f32088f8744 100644 --- a/themes/bootstrap3/scss/bootstrap.scss +++ b/themes/bootstrap3/scss/bootstrap.scss @@ -1,5 +1,4 @@ @import "bootstrap/bootstrap"; -@import "accessibility/bootstrap-accessibility.scss"; .btn {@extend .btn-default;} .fa-grid:before {content:"\f00a"} diff --git a/themes/bootstrap3/scss/bootstrap/bootstrap.scss b/themes/bootstrap3/scss/bootstrap/bootstrap.scss index cb5147d32c9b4305a1d844087990bccccdca9e3a..48da226e1fc7e5c1b60b11ee0ce346b6523a3250 100644 --- a/themes/bootstrap3/scss/bootstrap/bootstrap.scss +++ b/themes/bootstrap3/scss/bootstrap/bootstrap.scss @@ -1,6 +1,7 @@ // Core variables and mixins @import "variables"; @import "mixins"; +@import "../a11y"; // Reset @import "normalize"; diff --git a/themes/bootstrap3/scss/compass/css3/shared.scss b/themes/bootstrap3/scss/compass/css3/shared.scss deleted file mode 100644 index 1f55cb55c5681a13c52f868e404223a234ca385d..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/compass/css3/shared.scss +++ /dev/null @@ -1,38 +0,0 @@ -@import "compass/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}; } -} diff --git a/themes/bootstrap3/scss/compass/css3/transition.scss b/themes/bootstrap3/scss/compass/css3/transition.scss deleted file mode 100644 index 4c4cb8c698be4c8cad9055a56667093e2a5a33d8..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/compass/css3/transition.scss +++ /dev/null @@ -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; - } -} diff --git a/themes/bootstrap3/scss/compass/support.scss b/themes/bootstrap3/scss/compass/support.scss deleted file mode 100644 index 37b6e17298f5c130589bcc5bbc8ae1ba76ee50e6..0000000000000000000000000000000000000000 --- a/themes/bootstrap3/scss/compass/support.scss +++ /dev/null @@ -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;