Permalink
Browse files

first working thing

  • Loading branch information...
1 parent 97f20e9 commit 3e7902ef65afe7b27b8cdb506ee8d625d0efc322 max committed May 9, 2012
View
@@ -0,0 +1,3 @@
+*~
+*.pyc
+*.db
View
@@ -0,0 +1,13 @@
+.container {
+ margin-top: 12px;
+}
+
+.alert-box a.delete {
+ color: #000000;
+ font-size: 18px;
+ opacity: 0.2;
+ padding: 4px;
+ position: absolute;
+ right: 4px;
+ top: 0;
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,98 @@
+/* Foundation v2.2.1 http://foundation.zurb.com */
+jQuery(document).ready(function ($) {
+
+ /* Use this js doc for all application specific JS */
+
+ /* TABS --------------------------------- */
+ /* Remove if you don't need :) */
+
+ function activateTab($tab) {
+ var $activeTab = $tab.closest('dl').find('a.active'),
+ contentLocation = $tab.attr("href") + 'Tab';
+
+ // Strip off the current url that IE adds
+ contentLocation = contentLocation.replace(/^.+#/, '#');
+
+ //Make Tab Active
+ $activeTab.removeClass('active');
+ $tab.addClass('active');
+
+ //Show Tab Content
+ $(contentLocation).closest('.tabs-content').children('li').hide();
+ $(contentLocation).css('display', 'block');
+ }
+
+ $('dl.tabs').each(function () {
+ //Get all tabs
+ var tabs = $(this).children('dd').children('a');
+ tabs.click(function (e) {
+ activateTab($(this));
+ });
+ });
+
+ if (window.location.hash) {
+ activateTab($('a[href="' + window.location.hash + '"]'));
+ $.foundation.customForms.appendCustomMarkup();
+ }
+
+ /* ALERT BOXES ------------ */
+ $(".alert-box").delegate("a.close", "click", function(event) {
+ event.preventDefault();
+ $(this).closest(".alert-box").fadeOut(function(event){
+ $(this).remove();
+ });
+ });
+
+
+ /* PLACEHOLDER FOR FORMS ------------- */
+ /* Remove this and jquery.placeholder.min.js if you don't need :) */
+
+ $('input, textarea').placeholder();
+
+ /* TOOLTIPS ------------ */
+ $(this).tooltips();
+
+
+
+ /* UNCOMMENT THE LINE YOU WANT BELOW IF YOU WANT IE6/7/8 SUPPORT AND ARE USING .block-grids */
+// $('.block-grid.two-up>li:nth-child(2n+1)').css({clear: 'left'});
+// $('.block-grid.three-up>li:nth-child(3n+1)').css({clear: 'left'});
+// $('.block-grid.four-up>li:nth-child(4n+1)').css({clear: 'left'});
+// $('.block-grid.five-up>li:nth-child(5n+1)').css({clear: 'left'});
+
+
+
+ /* DROPDOWN NAV ------------- */
+
+ var lockNavBar = false;
+ $('.nav-bar a.flyout-toggle').live('click', function(e) {
+ e.preventDefault();
+ var flyout = $(this).siblings('.flyout');
+ if (lockNavBar === false) {
+ $('.nav-bar .flyout').not(flyout).slideUp(500);
+ flyout.slideToggle(500, function(){
+ lockNavBar = false;
+ });
+ }
+ lockNavBar = true;
+ });
+ if (Modernizr.touch) {
+ $('.nav-bar>li.has-flyout>a.main').css({
+ 'padding-right' : '75px'
+ });
+ $('.nav-bar>li.has-flyout>a.flyout-toggle').css({
+ 'border-left' : '1px dashed #eee'
+ });
+ } else {
+ $('.nav-bar>li.has-flyout').hover(function() {
+ $(this).children('.flyout').show();
+ }, function() {
+ $(this).children('.flyout').hide();
+ })
+ }
+
+
+ /* DISABLED BUTTONS ------------- */
+ /* Gives elements with a class of 'disabled' a return: false; */
+
+});
Oops, something went wrong. Retry.

0 comments on commit 3e7902e

Please sign in to comment.