Skip to content

Commit

Permalink
BEM
Browse files Browse the repository at this point in the history
  • Loading branch information
Hesedel committed Jun 17, 2014
1 parent 10777cf commit 5983604
Show file tree
Hide file tree
Showing 7 changed files with 196 additions and 241 deletions.
11 changes: 0 additions & 11 deletions themes/responsive/config.codekit
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,6 @@
"outputStyle": 1,
"syntaxCheckerStyle": 1
},
"\/js\/main.min.js": {
"fileType": 64,
"ignore": 1,
"ignoreWasSetByUser": 0,
"inputAbbreviatedPath": "\/js\/main.min.js",
"outputAbbreviatedPath": "\/js\/main.min.min.js",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0,
"outputStyle": 1,
"syntaxCheckerStyle": 1
},
"\/js\/plugins.js": {
"fileType": 64,
"ignore": 1,
Expand Down
2 changes: 1 addition & 1 deletion themes/responsive/css/503.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions themes/responsive/css/css.css

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions themes/responsive/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,18 @@ $(function() {
}
});

$('#search-toggle').bind('touchend click', function(e) {
$('.Search-toggle').bind('touchend click', function(e) {

// needed by Android <= 4.3
if(e.type === 'touchend') {
$(this).unbind('click');
}

if(!$(this).hasClass('is-active')) {
$(this).addClass('is-active');
if(!$(this).hasClass('Search-toggle--is-active')) {
$(this).addClass('Search-toggle--is-active');
$('#search').addClass('is-active');
} else {
$(this).removeClass('is-active');
$(this).removeClass('Search-toggle--is-active');
$('#search').removeClass('is-active');
}

Expand All @@ -140,6 +140,7 @@ $(function() {
}
});

/*
$('.a', '#filters').bind( {
mouseover: function() {
$(this).removeClass('is-inactive');
Expand Down Expand Up @@ -167,6 +168,7 @@ $(function() {
$('.a.is-active', '#filters').trigger('click');
}
});
*/

$('.hes-slider').hesSlider();
$('time.timeago').timeago();
Expand Down
1 change: 1 addition & 0 deletions themes/responsive/scss/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ th {
color: $color;
text-align: center;
width: $gutter-width;
margin-right: $gutter-width * (2 / 3);
}

&:hover {
Expand Down
Loading

0 comments on commit 5983604

Please sign in to comment.