committed by
GitHub
8 changed files with 292 additions and 70 deletions
@ -1,42 +1,132 @@ |
|||||
.basket-list |
.basket-list { |
||||
{ |
|
||||
|
} |
||||
|
|
||||
|
.basket-list-item { |
||||
|
width:-webkit-fill-available; |
||||
background-color: #fff; |
background-color: #fff; |
||||
padding: 1em; |
border: 1px solid #eee; |
||||
border: 1px solid #666; |
|
||||
border-radius: 3px; |
border-radius: 3px; |
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .05); |
box-shadow: 0 0 10px rgba(0, 0, 0, .05); |
||||
margin-bottom: 0.5em; |
|
||||
transition: all .2s; |
transition: all .2s; |
||||
|
cursor: default; |
||||
} |
} |
||||
|
|
||||
.basket-list:hover { |
.basket-list-item:hover { |
||||
box-shadow: 0 0 20px rgba(0, 0, 0, .1); |
box-shadow: 0 0 20px rgba(0, 0, 0, .1); |
||||
} |
} |
||||
|
|
||||
.basket-list-item { |
.flex-container { |
||||
margin-top: 1em; |
display: flex; |
||||
|
justify-content: space-between; |
||||
|
align-items: center; |
||||
|
} |
||||
|
|
||||
|
.horizontal { |
||||
|
flex-direction: row; |
||||
|
width: 100%; |
||||
} |
} |
||||
|
|
||||
.basket-list-item:first-child{ |
.horizontal .flex-item { |
||||
margin-top: 0; |
flex: 1; |
||||
} |
} |
||||
|
|
||||
.basket-list-item img { |
.vertical { |
||||
height: 1em; |
flex-direction: column; |
||||
} |
} |
||||
|
|
||||
.basket-total-area |
.flex-item { |
||||
{ |
/*background: tomato;*/ |
||||
margin-bottom: 1em; |
padding: 5px; |
||||
|
max-width: 100vh; |
||||
|
margin: 5px; |
||||
|
font-size: 3em; |
||||
|
text-align: center; |
||||
|
} |
||||
|
|
||||
|
.image-container { |
||||
|
border: 2px solid #ccc !important; |
||||
|
border-radius: 10px; |
||||
|
background-color: white; |
||||
|
max-width: 3em; |
||||
|
} |
||||
|
|
||||
|
.basket-item-image { |
||||
|
min-width: 1em; |
||||
|
width: 2em; |
||||
|
max-width: 80%; |
||||
|
} |
||||
|
|
||||
|
.description-container { |
||||
|
align-items: baseline; |
||||
|
} |
||||
|
|
||||
|
.description-header { |
||||
|
line-height: 50px; |
||||
|
text-align: left; |
||||
|
font-weight: 500; |
||||
|
font-size: 1.2rem; |
||||
|
margin-bottom: 0.5rem; |
||||
|
overflow: hidden; |
||||
|
} |
||||
|
|
||||
|
.description-header > span { |
||||
|
line-height: 20px; |
||||
|
vertical-align: top; |
||||
|
} |
||||
|
|
||||
|
.description-price { |
||||
|
text-align: center; |
||||
|
font-size: 1.1rem; |
||||
font-weight: bold; |
font-weight: bold; |
||||
|
line-height: 30px; |
||||
|
color: rgb(72, 72, 72); |
||||
} |
} |
||||
|
|
||||
.basket-item-remove { |
.description-price > span { |
||||
cursor: pointer; |
line-height: 20px; |
||||
color: red; |
vertical-align: top; |
||||
opacity: 0.25; |
} |
||||
|
.description-cargo{ |
||||
|
color: #189c38; |
||||
|
text-align: center; |
||||
|
font-size: 1rem; |
||||
} |
} |
||||
|
.description-cargo> span { |
||||
|
line-height: 20px; |
||||
|
vertical-align: top; |
||||
|
} |
||||
|
|
||||
.basket-list-item:hover .basket-item-remove { |
.remove-container { |
||||
|
color: #bb2d3b; |
||||
|
max-width: 2em; |
||||
|
font-size: 1.5rem; |
||||
|
line-height: initial; |
||||
|
} |
||||
|
|
||||
|
.actions-container { |
||||
|
font-weight: 600; |
||||
|
color: #523e02; |
||||
|
max-width: 2em; |
||||
|
font-size: 1.25rem; |
||||
|
line-height: 40px; |
||||
|
} |
||||
|
|
||||
|
.hide { |
||||
|
opacity: 0; |
||||
|
-webkit-transition: all 500ms ease-in-out; |
||||
|
-moz-transition: all 500ms ease-in-out; |
||||
|
-ms-transition: all 500ms ease-in-out; |
||||
|
-o-transition: all 500ms ease-in-out; |
||||
|
transition: all 500ms ease-in-out; |
||||
|
} |
||||
|
|
||||
|
.basket-list-item:hover .hide { |
||||
opacity: 1.0; |
opacity: 1.0; |
||||
|
} |
||||
|
.sticky { |
||||
|
position: -webkit-sticky; /* for Safari */ |
||||
|
position: sticky; |
||||
|
top: 1rem; |
||||
|
align-self: flex-start; /* <-- this is the fix */ |
||||
} |
} |
||||
@ -0,0 +1,12 @@ |
|||||
|
.m-result { |
||||
|
text-align: end; |
||||
|
} |
||||
|
|
||||
|
.summary { |
||||
|
color: #0F1111; |
||||
|
font-size: 1rem; |
||||
|
} |
||||
|
|
||||
|
.order-total { |
||||
|
font-size: 1.2rem; |
||||
|
} |
||||
Loading…
Reference in new issue