Skip to content

Commit

Permalink
modify style
Browse files Browse the repository at this point in the history
  • Loading branch information
miemiedev committed Jan 31, 2013
1 parent 479ecb5 commit a3b059d
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 20 deletions.
24 changes: 14 additions & 10 deletions examples/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,34 +105,38 @@ body{
font-family: 'Helvetica Neue',helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
font-size: 12px;
color: #333;
background: #f5f5f5;
background: #f4f4f4;
}

nav {
height: 40px;
background: #a00;
}

header {
background: #333 url(../img/low_contrast_linen.png);
height: 575px;
background: #fff;
border-bottom: 1px solid #dadada;
text-align: center;
}

header .tableWrapper{
margin: 40px auto 0 auto;
width: 860px;
box-shadow: 0 0 30px #000 inset;

}

header .title{
color: #a00;
color: #fff;
padding-top: 40px;
font-size: 32px;
font-weight: bold;
text-shadow:2px 2px 20px #000, 2px 2px 20px #000;
}

header .tableWrapper{
margin: 40px auto 0 auto;
width: 860px;
box-shadow: 0 0 30px #000;

}




.btnPrice {
display: block;
Expand Down
Binary file added examples/img/low_contrast_linen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/img/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 11 additions & 10 deletions src/mmGrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,13 @@
position: relative;
overflow: hidden;
width: 9999px;
height: 2.2em;
background: #eaeaea;
background: #eee;
background: -webkit-gradient(linear, top, bottom, color-stop(0%, #f9f9f9), color-stop(100%, #eaeaea));
background: -webkit-linear-gradient(top, #f9f9f9, #eaeaea);
background: linear-gradient(#f9f9f9, #eaeaea);
box-shadow:0 1px 2px #bbb;
border-top: 2px solid #b00;
z-index: 1;

}

Expand All @@ -90,12 +91,12 @@
}

.mmGrid .mmg-headWrapper .mmg-head th input{
height: 2.2em;
height: 2em;
}

.mmGrid .mmg-headWrapper .mmg-head th .mmg-titleWrapper{
position: relative;
height: 2.2em;
height: 2.1em;
white-space: nowrap;
}

Expand All @@ -113,10 +114,10 @@
display: inline-block;
*display: inline;
*zoom: 1;
height: 2.2em;
height: 2.1em;
color: #333;
font-weight: bold;
line-height: 2.2em;
line-height: 2.1em;
vertical-align: top;
}

Expand All @@ -129,7 +130,7 @@
overflow: hidden;
display: none;
width: 7px;
height: 2.2em;
height: 2.1em;
margin-left: 2px;
vertical-align: top;
}
Expand Down Expand Up @@ -220,7 +221,7 @@
}

.mmGrid .mmg-bodyWrapper .mmg-body tr.even{
background: #f9f9f9;
background: #fbfbfb;
}

.mmGrid .mmg-bodyWrapper .mmg-body td{
Expand All @@ -232,11 +233,11 @@


.mmGrid .mmg-bodyWrapper .mmg-body td.colSelected{
background: #f7f7f7;
background: #f9f9f9;
}

.mmGrid .mmg-bodyWrapper .mmg-body td.colSelectedEven{
background: #f0f0f0;
background: #f6f6f6;
}

.mmGrid .mmg-bodyWrapper .mmg-body tr.hover td{
Expand Down

0 comments on commit a3b059d

Please sign in to comment.