Skip to content

Commit

Permalink
Removed extra room on the bottom of popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Jul 16, 2014
1 parent a0375b1 commit 975ddd5
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 40 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.DS_Store
*.rar
*.zip
tests/
node_modules/
bower_components/
Makefile
links/
.sass-cache
.sass-cache
1 change: 1 addition & 0 deletions dist/bigfoot-bottom.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
border-radius: 0;
border: 1px solid #c3c3c3;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
line-height: 0;
-webkit-transition: -webkit-transform;
-moz-transition: -moz-transform;
-ms-transition: -ms-transform;
Expand Down
16 changes: 10 additions & 6 deletions dist/bigfoot-bottom.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// bigfoot - v2.0.2 - 2014.07.15
// bigfoot - v2.0.3 - 2014.07.15


// ___ __ __ ________ __ __ ________ ___ __ ______
Expand Down Expand Up @@ -29,16 +29,18 @@
@mixin transition-property($properties) {
$prefixes: ("-webkit-", "-moz-", "-ms-", "");

@for $i from 1 through length($prefixes) {
#{unquote(nth($prefixes, $i))}transition: prefix-properties($properties, nth($prefixes, $i));
@each $prefix in $prefixes {
#{unquote($prefix)}transition: prefix-properties($properties, $prefix);
}
}

@function prefix-properties($properties, $prefix) {
$new-props: property-checker(nth($properties, 1), $prefix);
@if(length($properties) > 1) {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
@if length($properties) > 1 {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
}
}
}
@return unquote($new-props);
Expand Down Expand Up @@ -110,6 +112,7 @@
}



// -----


Expand Down Expand Up @@ -534,6 +537,7 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the
border-radius: $popover-border-radius;
border: $popover-border;
box-shadow: $popover-box-shadow;
line-height: 0;

// TRANSITIONS AND ANIMATIONS
@if $popover-transition != none {
Expand Down Expand Up @@ -777,4 +781,4 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the

.bigfoot-tooltip { display: none; }

} // end of the tooltip styling
} // end of the tooltip styling
1 change: 1 addition & 0 deletions dist/bigfoot-daring.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
border-radius: 0.5em;
border: 1px solid #dedede;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
line-height: 0;
-webkit-transition: opacity, -webkit-transform;
-moz-transition: opacity, -moz-transform;
-ms-transition: opacity, -ms-transform;
Expand Down
16 changes: 10 additions & 6 deletions dist/bigfoot-daring.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// bigfoot - v2.0.2 - 2014.07.15
// bigfoot - v2.0.3 - 2014.07.15


// ___ __ __ ________ __ __ ________ ___ __ ______
Expand Down Expand Up @@ -29,16 +29,18 @@
@mixin transition-property($properties) {
$prefixes: ("-webkit-", "-moz-", "-ms-", "");

@for $i from 1 through length($prefixes) {
#{unquote(nth($prefixes, $i))}transition: prefix-properties($properties, nth($prefixes, $i));
@each $prefix in $prefixes {
#{unquote($prefix)}transition: prefix-properties($properties, $prefix);
}
}

@function prefix-properties($properties, $prefix) {
$new-props: property-checker(nth($properties, 1), $prefix);
@if(length($properties) > 1) {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
@if length($properties) > 1 {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
}
}
}
@return unquote($new-props);
Expand Down Expand Up @@ -110,6 +112,7 @@
}



// -----


Expand Down Expand Up @@ -546,6 +549,7 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the
border-radius: $popover-border-radius;
border: $popover-border;
box-shadow: $popover-box-shadow;
line-height: 0;

// TRANSITIONS AND ANIMATIONS
@if $popover-transition != none {
Expand Down Expand Up @@ -822,4 +826,4 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the

.bigfoot-tooltip { display: none; }

} // end of the tooltip styling
} // end of the tooltip styling
1 change: 1 addition & 0 deletions dist/bigfoot-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
border-radius: 0.5em;
border: 1px solid #c3c3c3;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
line-height: 0;
-webkit-transition: opacity, -webkit-transform;
-moz-transition: opacity, -moz-transform;
-ms-transition: opacity, -ms-transform;
Expand Down
16 changes: 10 additions & 6 deletions dist/bigfoot-default.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// bigfoot - v2.0.2 - 2014.07.15
// bigfoot - v2.0.3 - 2014.07.15


// ___ __ __ ________ __ __ ________ ___ __ ______
Expand Down Expand Up @@ -29,16 +29,18 @@
@mixin transition-property($properties) {
$prefixes: ("-webkit-", "-moz-", "-ms-", "");

@for $i from 1 through length($prefixes) {
#{unquote(nth($prefixes, $i))}transition: prefix-properties($properties, nth($prefixes, $i));
@each $prefix in $prefixes {
#{unquote($prefix)}transition: prefix-properties($properties, $prefix);
}
}

@function prefix-properties($properties, $prefix) {
$new-props: property-checker(nth($properties, 1), $prefix);
@if(length($properties) > 1) {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
@if length($properties) > 1 {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
}
}
}
@return unquote($new-props);
Expand Down Expand Up @@ -110,6 +112,7 @@
}



// -----


Expand Down Expand Up @@ -536,6 +539,7 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the
border-radius: $popover-border-radius;
border: $popover-border;
box-shadow: $popover-box-shadow;
line-height: 0;

// TRANSITIONS AND ANIMATIONS
@if $popover-transition != none {
Expand Down Expand Up @@ -811,4 +815,4 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the

.bigfoot-tooltip { display: none; }

} // end of the tooltip styling
} // end of the tooltip styling
1 change: 1 addition & 0 deletions dist/bigfoot-hypercritical.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
border-radius: 0.5em;
border: 2px solid #567271;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
line-height: 0;
-webkit-transition: opacity, -webkit-transform;
-moz-transition: opacity, -moz-transform;
-ms-transition: opacity, -ms-transform;
Expand Down
16 changes: 10 additions & 6 deletions dist/bigfoot-hypercritical.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// bigfoot - v2.0.2 - 2014.07.15
// bigfoot - v2.0.3 - 2014.07.15


// ___ __ __ ________ __ __ ________ ___ __ ______
Expand Down Expand Up @@ -29,16 +29,18 @@
@mixin transition-property($properties) {
$prefixes: ("-webkit-", "-moz-", "-ms-", "");

@for $i from 1 through length($prefixes) {
#{unquote(nth($prefixes, $i))}transition: prefix-properties($properties, nth($prefixes, $i));
@each $prefix in $prefixes {
#{unquote($prefix)}transition: prefix-properties($properties, $prefix);
}
}

@function prefix-properties($properties, $prefix) {
$new-props: property-checker(nth($properties, 1), $prefix);
@if(length($properties) > 1) {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
@if length($properties) > 1 {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
}
}
}
@return unquote($new-props);
Expand Down Expand Up @@ -110,6 +112,7 @@
}



// -----


Expand Down Expand Up @@ -537,6 +540,7 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the
border-radius: $popover-border-radius;
border: $popover-border;
box-shadow: $popover-box-shadow;
line-height: 0;

// TRANSITIONS AND ANIMATIONS
@if $popover-transition != none {
Expand Down Expand Up @@ -812,4 +816,4 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the

.bigfoot-tooltip { display: none; }

} // end of the tooltip styling
} // end of the tooltip styling
1 change: 1 addition & 0 deletions dist/bigfoot-number.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
border-radius: 0.5em;
border: 1px solid #c3c3c3;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
line-height: 0;
-webkit-transition: opacity, -webkit-transform;
-moz-transition: opacity, -moz-transform;
-ms-transition: opacity, -ms-transform;
Expand Down
16 changes: 10 additions & 6 deletions dist/bigfoot-number.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// bigfoot - v2.0.2 - 2014.07.15
// bigfoot - v2.0.3 - 2014.07.15


// ___ __ __ ________ __ __ ________ ___ __ ______
Expand Down Expand Up @@ -29,16 +29,18 @@
@mixin transition-property($properties) {
$prefixes: ("-webkit-", "-moz-", "-ms-", "");

@for $i from 1 through length($prefixes) {
#{unquote(nth($prefixes, $i))}transition: prefix-properties($properties, nth($prefixes, $i));
@each $prefix in $prefixes {
#{unquote($prefix)}transition: prefix-properties($properties, $prefix);
}
}

@function prefix-properties($properties, $prefix) {
$new-props: property-checker(nth($properties, 1), $prefix);
@if(length($properties) > 1) {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
@if length($properties) > 1 {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
}
}
}
@return unquote($new-props);
Expand Down Expand Up @@ -110,6 +112,7 @@
}



// -----


Expand Down Expand Up @@ -531,6 +534,7 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the
border-radius: $popover-border-radius;
border: $popover-border;
box-shadow: $popover-box-shadow;
line-height: 0;

// TRANSITIONS AND ANIMATIONS
@if $popover-transition != none {
Expand Down Expand Up @@ -806,4 +810,4 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the

.bigfoot-tooltip { display: none; }

} // end of the tooltip styling
} // end of the tooltip styling
12 changes: 7 additions & 5 deletions src/_mixins/_bigfoot-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,18 @@
@mixin transition-property($properties) {
$prefixes: ("-webkit-", "-moz-", "-ms-", "");

@for $i from 1 through length($prefixes) {
#{unquote(nth($prefixes, $i))}transition: prefix-properties($properties, nth($prefixes, $i));
@each $prefix in $prefixes {
#{unquote($prefix)}transition: prefix-properties($properties, $prefix);
}
}

@function prefix-properties($properties, $prefix) {
$new-props: property-checker(nth($properties, 1), $prefix);
@if(length($properties) > 1) {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
@if length($properties) > 1 {
@for $i from 2 through length($properties) {
$new-props: $new-props + ", " + property-checker(nth($properties, $i), $prefix);
}
}
}
@return unquote($new-props);
Expand Down Expand Up @@ -104,4 +106,4 @@
display: none !important;
}
}
}
}
3 changes: 2 additions & 1 deletion src/_popovers/_popover-bottom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the
border-radius: $popover-border-radius;
border: $popover-border;
box-shadow: $popover-box-shadow;
line-height: 0;

// TRANSITIONS AND ANIMATIONS
@if $popover-transition != none {
Expand Down Expand Up @@ -375,4 +376,4 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the

.bigfoot-tooltip { display: none; }

} // end of the tooltip styling
} // end of the tooltip styling
3 changes: 2 additions & 1 deletion src/_popovers/_popover-daring.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the
border-radius: $popover-border-radius;
border: $popover-border;
box-shadow: $popover-box-shadow;
line-height: 0;

// TRANSITIONS AND ANIMATIONS
@if $popover-transition != none {
Expand Down Expand Up @@ -412,4 +413,4 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the

.bigfoot-tooltip { display: none; }

} // end of the tooltip styling
} // end of the tooltip styling
3 changes: 2 additions & 1 deletion src/_popovers/_popover-default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the
border-radius: $popover-border-radius;
border: $popover-border;
box-shadow: $popover-box-shadow;
line-height: 0;

// TRANSITIONS AND ANIMATIONS
@if $popover-transition != none {
Expand Down Expand Up @@ -409,4 +410,4 @@ $popover-scroll-up-transition-delay: 0.4s; // Sets the delay for the

.bigfoot-tooltip { display: none; }

} // end of the tooltip styling
} // end of the tooltip styling
Loading

0 comments on commit 975ddd5

Please sign in to comment.