Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 7, 2015
1 parent 0a9cd91 commit 5836cfe
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 46 deletions.
2 changes: 1 addition & 1 deletion assets/css/uno.css

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions assets/js/src/cover.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ $ ->
_collapsed = ->
$(".cover").addClass("collapsed")
Uno.search.form 'show'
$('.social').removeClass 'expanded'
$(".main").show()

$('#blog-button').click ->
$('.cover').toggleClass 'collapsed'
Uno.search.form 'toggle'
$('.social').toggleClass 'expanded'
toggle = if $('.main').is(":visible") then 'hide' else 'show'
$('.main')[toggle]()

Expand Down
4 changes: 2 additions & 2 deletions assets/js/uno.js
100644 → 100755

Large diffs are not rendered by default.

81 changes: 40 additions & 41 deletions assets/scss/components/_aside.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,55 +45,54 @@
box-shadow: 0 0 1px 1px rgba(000, 000, 000, .3);
}
}
&.contact {
> nav {
position: relative;
display: inline-block;
padding: .25rem 0;
}
}
}
.links,
.social {
position: relative;
display: inline-block;
float: left;
margin: 0;
list-style-type: none;
}
.links {
margin: 0;

&.item {
.navigation {
&.left {
display: inline-block;
margin: 0 1px 0 0;
line-height: 1em;
margin-top: .85rem;
margin-bottom: 1rem;

a {
padding: .625rem 1.25rem;
@include btn-cover;
.links {
margin: 0;

&.item {
display: inline-block;
margin: 0 1px 0 0;
line-height: 1em;

a {
float: left;
padding: .625rem 1.25rem;
margin: 0 5px;
@include btn-cover;
}
}
}
}
}
.social {
&.expanded {
margin: 0 0 0 1.5rem;
}
&.item {
display: inline-block;
margin: 0 4px 0 0;
line-height: 1em;

a {
padding: 6px 8px 6px 9px;
@include btn-cover;
&.right {
display: block;

.label {
display: none;
}
.icon {
display: block;
font-size: 1.7em;
.social {
margin: 0;
&.item {
display: inline-block;
margin: 0 4px 0 0;
line-height: 1em;

a {
padding: 6px 8px 6px 9px;
@include btn-cover;

.label {
display: none;
}
.icon {
display: block;
font-size: 1.7em;
}
}
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions partials/links.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<li class="links item">
<a href="/#open" title="link to {{@blog.title}} blog" id="blog-button">Blog</a>
<a href="/#open" title="link to {{@blog.title}} blog" id="blog-button">About</a>
<a href="/#open" title="link to {{@blog.title}} blog" id="blog-button">Tags</a>
<a href="/#open" title="link to {{@blog.title}} blog" id="blog-button">Contact</a>
</li>
</ul>
</nav>

0 comments on commit 5836cfe

Please sign in to comment.