mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
Keeping Foundation 4 and 5 parallel
This commit is contained in:
@@ -12,5 +12,7 @@
|
||||
#= require_tree .
|
||||
|
||||
$ ->
|
||||
# Hacky fix for issue - http://foundation.zurb.com/forum/posts/2112-foundation-5100-syntax-error-in-js
|
||||
Foundation.set_namespace = function() {};
|
||||
$(document).foundation()
|
||||
$(document).foundation({reveal: {animation: 'fade'}})
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@import "foundation/variables";
|
||||
@import "foundation/components/global";
|
||||
@import "foundation4/foundation/variables";
|
||||
@import "foundation4/foundation/components/global";
|
||||
|
||||
ul.ui-autocomplete {
|
||||
position: absolute;
|
||||
@@ -31,4 +31,4 @@ ul.ui-autocomplete {
|
||||
background-color: #FFFCB2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@import "foundation/variables";
|
||||
@import "foundation/components/global";
|
||||
@import "foundation4/foundation/variables";
|
||||
@import "foundation4/foundation/components/global";
|
||||
|
||||
.search-result {
|
||||
min-height: 3em;
|
||||
@@ -13,4 +13,4 @@
|
||||
|
||||
.with-separator {
|
||||
border-bottom: 1px solid #E0E0E0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -380,6 +380,7 @@ $default-float: left;
|
||||
// $button-radius: $global-radius;
|
||||
// $button-round: $global-rounded;
|
||||
|
||||
|
||||
// We use this to set default opacity for disabled buttons.
|
||||
|
||||
// $button-disabled-opacity: 0.6;
|
||||
@@ -1301,7 +1302,7 @@ $topbar-link-font-size: emCalc(16);
|
||||
// $topbar-sticky-class: ".sticky";
|
||||
|
||||
|
||||
@import 'foundation';
|
||||
@import 'foundation4/foundation';
|
||||
|
||||
textarea {
|
||||
min-height: emCalc(120) !important;
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// They will automatically be included in application.css.
|
||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
||||
|
||||
@import "foundation/variables";
|
||||
@import "foundation/components/global";
|
||||
@import "foundation/components/buttons";
|
||||
@import "foundation/components/panels";
|
||||
@import "foundation4/foundation/variables";
|
||||
@import "foundation4/foundation/components/global";
|
||||
@import "foundation4/foundation/components/buttons";
|
||||
@import "foundation4/foundation/components/panels";
|
||||
|
||||
#postcode_select_box {
|
||||
text-align: center;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
@import "foundation/variables";
|
||||
@import "foundation/components/global";
|
||||
@import "foundation4/foundation/variables";
|
||||
@import "foundation4/foundation/components/global";
|
||||
|
||||
.products {
|
||||
margin: 0, emCalc(20);
|
||||
border: 1px solid black;
|
||||
padding: emCalc(10);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@import "foundation/variables";
|
||||
@import "foundation/components/global";
|
||||
@import "foundation4/foundation/variables";
|
||||
@import "foundation4/foundation/components/global";
|
||||
|
||||
.landing-page-row {
|
||||
padding-top: emCalc(40);
|
||||
|
||||
Reference in New Issue
Block a user