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

View File

@@ -29,7 +29,7 @@ var SingleItem = React.createClass({
else {
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">
<img className="img-responsive" src={firstImage.resized_url} alt="product image" />
<div>

View File

@@ -43,7 +43,7 @@ var RootApp = React.createClass({
}
return (
<div className="container-fluid">
<div className="container">
<div>
<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">

View File

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