Browse files

ENHANCEMENT: Added support for DOM popups

  • Loading branch information...
1 parent e7617dd commit 63e0a4925359c3a7a00d236c0c5e44503d260dcd @unclecheese committed Sep 12, 2011
Showing with 13 additions and 1 deletion.
  1. +7 −1 css/kickassets.css
  2. +6 −0 javascript/kickassets.js
View
8 css/kickassets.css
@@ -1,3 +1,4 @@
+
#directory_list {padding:10px;}
#directory_list li {list-style:none;}
#directory_list.gallery li {width:150px;height:84px;float:left;margin:0 16px 16px 0;padding:0;}
@@ -199,4 +200,9 @@ margin: 0;
#view span {float:left;color:#666;margin-right:10px;}
#view a {float:left;margin-right:10px;}
#view a:hover {border-bottom:3px solid #999;}
-#view a.current {border-bottom:3px solid #666;}
+#view a.current {border-bottom:3px solid #666;}
+
+
+.small #actions {padding:8px 2px 0 0;}
+.small #actions .button {font-size:10px;background:none;border:0;text-shadow:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-transition:none;-moz-transition:none;transition:none;margin:0;padding:0 4px;;}
+.small #actions .button img {width:8px;height:8px;vertical-align:middle;}
View
6 javascript/kickassets.js
@@ -327,6 +327,12 @@ $(document).ready(function() {
else {
$('#drop').css('width', $(window).width()-10+'px');
}
+ if($(window).width() < 1000) {
+ $('body').addClass('small');
+ }
+ else {
+ $('body').removeClass('small');
+ }
};

0 comments on commit 63e0a49

Please sign in to comment.