it's not fluid anymore - and shadows are not that strong

This commit is contained in:
Senad Uka
2015-04-16 21:19:33 +02:00
parent fc9f7496d2
commit 269ad19e4f
4 changed files with 11 additions and 9 deletions

View File

@@ -126,8 +126,8 @@ ActiveRecord::Schema.define(version: 20150414214540) do
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
t.string "tags" t.string "tags"
t.json "traits" t.json "traits"
t.decimal "weight", precision: 5, scale: 3
t.integer "supplier_id" t.integer "supplier_id"
t.decimal "weight", precision: 5, scale: 3
t.integer "delivery_time_estimation_id" t.integer "delivery_time_estimation_id"
t.integer "brand_id" t.integer "brand_id"
end end
@@ -197,9 +197,11 @@ ActiveRecord::Schema.define(version: 20150414214540) do
end end
create_table "sub_categories", force: :cascade do |t| create_table "sub_categories", force: :cascade do |t|
t.string "name" t.string "name"
t.integer "category_id" t.integer "category_id"
t.integer "order" t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "order"
end end
create_table "suppliers", force: :cascade do |t| create_table "suppliers", force: :cascade do |t|

View File

@@ -29,7 +29,7 @@ var SingleItem = React.createClass({
else { else {
return ( return (
<div className="col-lg-2 col-md-2 col-sm-3 col-xs-6" onClick={itemClick}> <div className="col-lg-3 col-md-3 col-sm-4 col-xs-6" onClick={itemClick}>
<div className="productbox"> <div className="productbox">
<img className="img-responsive" src={firstImage.resized_url} alt="product image" /> <img className="img-responsive" src={firstImage.resized_url} alt="product image" />
<div> <div>

View File

@@ -43,7 +43,7 @@ var RootApp = React.createClass({
} }
return ( return (
<div className="container-fluid"> <div className="container">
<div> <div>
<div className="col-lg-12 hidden-sm hidden-xs " style={{height: 80, background: 'none', marginBottom: '0px !important'}} id="mybody"> <div className="col-lg-12 hidden-sm hidden-xs " style={{height: 80, background: 'none', marginBottom: '0px !important'}} id="mybody">
<div style={{padding: '15px 15px'}} className="col-lg-3 col-md-3 col-sm-3 col-xs-3"> <div style={{padding: '15px 15px'}} className="col-lg-3 col-md-3 col-sm-3 col-xs-3">

View File

@@ -106,9 +106,9 @@ background: none;
.productbox{ .productbox{
cursor: pointer; cursor: pointer;
-moz-box-shadow: 1px 4px 25px #000000; -moz-box-shadow: 1px 2px 2px #cccccc;
-webkit-box-shadow: 1px 4px 25px #000000; -webkit-box-shadow: 1px 2px 2px #cccccc;
box-shadow: 1px 4px 25px #000000; box-shadow: 1px 2px 2px #cccccc;
height: auto; height: auto;
background-color: rgba(255, 255, 255, 0.6); background-color: rgba(255, 255, 255, 0.6);
margin-top: 10px; margin-top: 10px;