Skip to content

Commit

Permalink
Actually finish fixing the owl mixin namespacing issue in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
greg5green committed Jun 28, 2015
1 parent 7fb5b7a commit acd4ca5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions docs_src/assets/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $owl-gray-color: #f7f7f7;

$medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !default;

/* Custom mixins */
/* Custom mixins */

@mixin owl-transition($p:all, $t:300ms) {
-webkit-transition: $p $t ease-in-out;
Expand All @@ -15,7 +15,7 @@ $medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !defaul
transition: $p $t ease-in-out;
}

@mixin radius($r:3px) {
@mixin owl-radius($r:3px) {
-webkit-border-radius: $r;
-moz-border-radius: $r;
border-radius: $r;
Expand Down Expand Up @@ -68,7 +68,7 @@ $medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !defaul
display: block;
color: #fff;
line-height: 1;
@include transition(opacity,200ms);
@include owl-transition(opacity,200ms);

&:hover{
opacity: 1;
Expand All @@ -84,7 +84,7 @@ $medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !defaul
right: 0;
border: 2px solid #FFF;
background: url(../img/download.png) $owl-success-color no-repeat 50% 55%;
@include radius(100%);
@include owl-radius(100%);
}
}
}
Expand All @@ -109,7 +109,7 @@ $medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !defaul
display: none;
}
}
@media #{$small-only} {
@media #{$small-only} {
.nav-bar {
display: none;
}
Expand Down Expand Up @@ -158,8 +158,8 @@ $medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !defaul
background: #FFF;
color: $owl-primary-color;
border: 1px solid #FFF;
@include radius(2px);
@include transition(all,200ms);
@include owl-radius(2px);
@include owl-transition(all,200ms);

&.outline{
background: transparent;
Expand Down Expand Up @@ -195,7 +195,7 @@ $medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !defaul
}
}
}
@media #{$small-only} {
@media #{$small-only} {
#hero{
.owl-logo{
display: none;
Expand All @@ -209,7 +209,7 @@ $medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !defaul

.owl-carousel{
.item{

}
}
.home-demo{
Expand Down Expand Up @@ -251,7 +251,7 @@ $medium-down: "#{$screen} and (max-width:#{lower-bound($medium-range)})" !defaul
margin: 0 auto;
}
}
@media #{$small-only} {
@media #{$small-only} {
#features{
.feature{
margin: 1rem 0;
Expand Down Expand Up @@ -326,7 +326,7 @@ blockquote p {
padding: 1rem;
margin-bottom: 1rem;
display: block;
@include transition(background,200ms);
@include owl-transition(background,200ms);

&:hover{
background: $owl-primary-color;
Expand All @@ -348,7 +348,7 @@ code {
font-size: 90%;
font-weight: normal;
padding: 1px 5px;
@include radius(2px)
@include owl-radius(2px)
}

blockquote{
Expand All @@ -361,4 +361,4 @@ blockquote p{
}
p{
color: #555555;
}
}
4 changes: 2 additions & 2 deletions docs_src/assets/scss/demos.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
margin-bottom: 0.3rem;
}
span.label{
@include transition();
@include owl-transition();
}
}
}

0 comments on commit acd4ca5

Please sign in to comment.