Permalink
Browse files

Update bootstrap assets

  • Loading branch information...
1 parent 4f5c016 commit 20072c8d31a7c723fc56b437b6589cd8630ba395 @yury yury committed Oct 27, 2013
@@ -75,7 +75,7 @@
color: $carousel-control-color;
text-align: center;
text-shadow: $carousel-text-shadow;
- // We can't have this transition here because webkit cancels the carousel
+ // We can't have this transition here because WebKit cancels the carousel
// animation if you trip this while in the middle of another animation.
// Set gradients for backgrounds
@@ -166,7 +166,7 @@
// Firefox fix for https://github.com/twbs/bootstrap/issues/9538. Once this
// gets fixed, restore `border-top: 0;`.
border-top: 0 dotted;
- border-bottom: 4px solid $dropdown-caret-color;
+ border-bottom: $caret-width-base solid $dropdown-caret-color;
content: "";
}
// Different positioning for bottom up menu
@@ -27,11 +27,11 @@
}
}
-// Webkit-style focus
+// WebKit-style focus
@mixin tab-focus() {
// Default
outline: thin dotted #333;
- // Webkit
+ // WebKit
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
@@ -192,17 +192,22 @@
-moz-perspective-origin: $perspective;
perspective-origin: $perspective;
}
-@mixin transform-origin($origin){
+
+@mixin transform-origin($origin) {
-webkit-transform-origin: $origin;
-moz-transform-origin: $origin;
transform-origin: $origin;
}
+// Animations
+@mixin animation($animation) {
+ -webkit-animation: $animation;
+ animation: $animation;
+}
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
// Default value is `visible`, but can be changed to `hidden`
-// See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
@mixin backface-visibility($visibility){
-webkit-backface-visibility: $visibility;
-moz-backface-visibility: $visibility;
@@ -110,7 +110,7 @@
//
// Navbar alignment options
//
-// Display the navbar across the entirity of the page or fixed it to the top or
+// Display the navbar across the entirety of the page or fixed it to the top or
// bottom of the page.
// Static top (unfixed, but 100% wide) navbar
@@ -257,7 +257,7 @@
// Component alignment
//
-// Repurpose the pull utilities as their own navbar utilities to avoid specifity
+// Repurpose the pull utilities as their own navbar utilities to avoid specificity
// issues with parents and chaining. Only do this when the navbar is uncollapsed
// though so that navbar contents properly stack and align in mobile.
@@ -6,7 +6,7 @@
// Bar animations
// -------------------------
-// Webkit
+// WebKit
@-webkit-keyframes progress-bar-stripes {
from { background-position: 40px 0; }
to { background-position: 0 0; }
@@ -67,11 +67,7 @@
// Call animation for the active one
.progress.active .progress-bar {
- -webkit-animation: progress-bar-stripes 2s linear infinite;
- -moz-animation: progress-bar-stripes 2s linear infinite;
- -ms-animation: progress-bar-stripes 2s linear infinite;
- -o-animation: progress-bar-stripes 2s linear infinite;
- animation: progress-bar-stripes 2s linear infinite;
+ @include animation(progress-bar-stripes 2s linear infinite);
}
@@ -141,7 +141,7 @@ ol {
margin-top: 0;
margin-bottom: ($line-height-computed / 2);
ul,
- ol{
+ ol {
margin-bottom: 0;
}
}
@@ -159,10 +159,15 @@ ol {
// Inline turns list items into inline-block
.list-inline {
@include list-unstyled();
+
> li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
+
+ &:first-child {
+ padding-left: 0;
+ }
}
}

0 comments on commit 20072c8

Please sign in to comment.