add stock to article selection

This commit is contained in:
Ludovic Stephan 2016-12-13 22:31:52 -02:00
parent 71fee9bf8a
commit b7ebf4ee1c
2 changed files with 27 additions and 6 deletions

View file

@ -8,7 +8,7 @@ input[type=number]::-webkit-outer-spin-button {
margin: 0;
}
#account, #checkout, input, #history, #basket, #basket_rel, #articles_data {
#account, #checkout, #article_selection, #history, #basket, #basket_rel, #articles_data {
background:#fff;
}
@ -252,7 +252,7 @@ input[type=number]::-webkit-outer-spin-button {
width:100%;
}
#article_selection input {
#article_selection input, #article_selection span {
height:100%;
float:left;
border:0;
@ -263,12 +263,12 @@ input[type=number]::-webkit-outer-spin-button {
font-weight:bold;
}
#article_selection input+input {
#article_selection input+input #article_selection input+span {
border-right:0;
}
#article_autocomplete {
width:90%;
width:80%;
padding-left:10px;
}
@ -277,14 +277,24 @@ input[type=number]::-webkit-outer-spin-button {
text-align:center;
}
#article_stock {
width:10%;
line-height:38px;
text-align:center;
}
@media (min-width:1200px) {
#article_autocomplete {
width:92%
width:84%
}
#article_number {
width:8%;
}
#article_stock {
width:8%;
}
}
/* Article data */
@ -319,6 +329,10 @@ input[type=number]::-webkit-outer-spin-button {
padding-left:20px;
}
#articles_data .article.low-stock {
background:rgba(236,100,0,0.3);
}
#articles_data .article:hover {
background:rgba(200,16,46,0.3);
cursor:pointer;
@ -379,7 +393,7 @@ input[type=number]::-webkit-outer-spin-button {
}
#basket tr.low-stock {
background-color:rgba(236,100,0,0.4);
background-color:rgba(236,100,0,0.3);
}
#basket tr.ui-selected, #basket tr.ui-selecting {