Change article table into divs
This commit is contained in:
parent
f0a80561ed
commit
1c5ac561a3
1 changed files with 22 additions and 8 deletions
|
@ -296,30 +296,44 @@ input[type=number]::-webkit-outer-spin-button {
|
|||
#articles_data {
|
||||
overflow:auto;
|
||||
max-height:500px;
|
||||
}
|
||||
|
||||
#articles_data table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#articles_data table tr.article {
|
||||
#articles_data div.article {
|
||||
height:25px;
|
||||
font-size:14px;
|
||||
}
|
||||
|
||||
#articles_data table tr.article>td:first-child {
|
||||
padding-left:10px;
|
||||
#articles_data span {
|
||||
height:25px;
|
||||
line-height:25px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#articles_data table tr.category {
|
||||
#articles_data span.name {
|
||||
padding-left:10px;
|
||||
width:78%;
|
||||
}
|
||||
|
||||
#articles_data span.price {
|
||||
width:8%;
|
||||
}
|
||||
|
||||
#articles_data span.stock {
|
||||
width:14%;
|
||||
}
|
||||
|
||||
|
||||
#articles_data div.category {
|
||||
height:35px;
|
||||
line-height:35px;
|
||||
background-color:#c8102e;
|
||||
font-size:16px;
|
||||
color:#FFF;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#articles_data table tr.category>td:first-child {
|
||||
#articles_data div.category>span:first-child {
|
||||
padding-left:20px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue