Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aurbano committed Jun 6, 2015
1 parent 3aaa21c commit 2457f16
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 14 deletions.
32 changes: 24 additions & 8 deletions css/sonar.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/sonar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ <h1 class="title">sonar.<span class="text-muted" style="color:#ccc">s</span>css<
</p>
</div>
<div class="container text-left" style="margin-top:50px;">
<h2 class="text-center">documentation</h2>
<h2 class="text-center sonar sonar-stroke sonar-primary sonar-delay-longer">documentation</h2>

<div class="row" style="margin-top:30px">
<div class="row" style="margin-top:150px">
<div class="col-md-6 col-xs-6">
<h4 id="getting-started"><a href="#getting-started">#</a> Getting started</h4>
<p>Add <code>sonar</code> as a class to any element to activate.</p>
Expand Down Expand Up @@ -168,7 +168,7 @@ <h4 id="colors"><a href="#colors">#</a> Colors</h4>
</div>
</div>

<div style="margin-top:150px;"></div>
<div style="margin-top:250px;"></div>
</div>
</body>

Expand Down
22 changes: 20 additions & 2 deletions sass/sonar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,26 @@
@include prefixer(animation-delay, $time-faster);
}
}
&.sonar-slow{
&::after{
@include prefixer(animation-duration, $time-slow);
}
}
&.sonar-slower{
&::after{
@include prefixer(animation-duration, $time-slower);
}
}
&.sonar-fast{
&::after{
@include prefixer(animation-duration, $time-fast);
}
}
&.sonar-faster{
&::after{
@include prefixer(animation-duration, $time-faster);
}
}
&.sonar-stroke {
&::after {
border-width: 0;
Expand Down Expand Up @@ -104,7 +124,6 @@
&:hover {
&::after {
@include animation("sonar-base, sonar-stroke");
@include prefixer(animation-duration, $duration-base);
}
}
}
Expand All @@ -115,7 +134,6 @@
&:focus {
&::after {
@include animation("sonar-base, sonar-stroke");
@include prefixer(animation-duration, $duration-base);
}
}
}
Expand Down

0 comments on commit 2457f16

Please sign in to comment.