committed by
GitHub
11 changed files with 298 additions and 90 deletions
@ -0,0 +1,10 @@ |
|||
using Volo.Abp.DependencyInjection; |
|||
using Volo.Abp.Ui.Branding; |
|||
|
|||
namespace EShopOnAbp.PublicWeb; |
|||
|
|||
[Dependency(ReplaceServices = true)] |
|||
public class EShopOnAbpBrandingProvider: DefaultBrandingProvider |
|||
{ |
|||
public override string AppName => "EShopOnAbp"; |
|||
} |
|||
@ -0,0 +1,100 @@ |
|||
body { |
|||
background-color: #f9f9f9; |
|||
} |
|||
|
|||
a, a:hover, a:visited, a:active { |
|||
color: inherit; |
|||
text-decoration: none; |
|||
padding-bottom: 1em; |
|||
} |
|||
|
|||
.product-list { |
|||
display: flex; |
|||
flex-direction: row; |
|||
flex-wrap: wrap; |
|||
gap: 1em 2em; /* row-gap column gap */ |
|||
} |
|||
|
|||
.product-container { |
|||
text-align: center; |
|||
background-color: #fff; |
|||
padding: 2em 2em 1em 2em; |
|||
border: 1px solid #eee; |
|||
border-radius: 3px; |
|||
box-shadow: 0 0 10px rgba(0, 0, 0, .05); |
|||
margin-bottom: 2em; |
|||
transition: all .2s; |
|||
display: flex; |
|||
flex: 0 0 20%; |
|||
flex-direction: column; |
|||
} |
|||
|
|||
.product-list-item { |
|||
display: flex; |
|||
flex-direction: column; |
|||
} |
|||
|
|||
.product-ratings { |
|||
display: flex; |
|||
justify-content: center; |
|||
} |
|||
|
|||
.product-title { |
|||
min-height: 70px; |
|||
padding-bottom: 1em; |
|||
} |
|||
|
|||
.product-item-bottom { |
|||
display: flex; |
|||
flex-direction: column; |
|||
min-height: 70px; |
|||
} |
|||
|
|||
.product-count { |
|||
display: flex; |
|||
justify-content: center; |
|||
padding: 1em 0 1em 0em; |
|||
} |
|||
|
|||
.product-container:hover { |
|||
box-shadow: 1px 1px 20px rgba(0, 0, 0, .2); |
|||
cursor: pointer; |
|||
} |
|||
|
|||
.product-list-item img { |
|||
width: 100%; |
|||
} |
|||
|
|||
.product-list-item .text-muted { |
|||
opacity: .8 |
|||
} |
|||
|
|||
.add-basket-button { |
|||
display: none; |
|||
font-weight: 500; |
|||
} |
|||
|
|||
.product-list-item:hover .add-basket-button { |
|||
display: inline-block; |
|||
width: -webkit-fill-available; |
|||
} |
|||
|
|||
.info-section { |
|||
text-align: center; |
|||
} |
|||
|
|||
.product-list-item:hover .info-section { |
|||
display: none; |
|||
} |
|||
|
|||
.product-price { |
|||
font-weight: bolder; |
|||
font-size: larger; |
|||
line-height: 40px; |
|||
} |
|||
|
|||
.item-added { |
|||
display: none; |
|||
justify-content: center; |
|||
align-items: baseline; |
|||
} |
|||
|
After Width: | Height: | Size: 37 KiB |
Loading…
Reference in new issue