默认主题样式优化
parent
fda4082ddd
commit
1cded5ccf3
|
|
@ -17,7 +17,7 @@
|
|||
{{:ModuleInclude('public/goods_category')}}
|
||||
|
||||
<!-- content -->
|
||||
<div class="am-container category-list-container am-radius">
|
||||
<div class="am-container category-list-container category-list-level-{{$category_level}}-container am-radius">
|
||||
{{if !empty($goods_category_list)}}
|
||||
{{if $category_level eq 0}}
|
||||
<div class="am-container zero-search" data-url="{{:MyUrl('index/category/datalist')}}" data-all-name="{{:MyLang('all_title')}}">
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
<a class="am-dropdown-toggle {{if isset($nav['active']) and $nav['active'] eq 1}}active{{/if}}" data-am-dropdown-toggle href="javascript:;">
|
||||
{{$nav.name}} <span class="am-icon-caret-down"></span>
|
||||
</a>
|
||||
<ul class="am-dropdown-content">
|
||||
<ul class="am-dropdown-content am-radius">
|
||||
{{foreach $nav.items as $navs}}
|
||||
<li>
|
||||
<a href="{{$navs.url}}" {{if isset($navs['active']) and $navs['active'] eq 1}}class="active"{{/if}}>{{$navs.name}}</a>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
.category-list-level-2-container,
|
||||
.category-list-level-3-container {
|
||||
margin-top: 1.2rem;
|
||||
}
|
||||
.category-list-container ul.category-nav,
|
||||
.category-list-container .category-content {
|
||||
overflow-y: auto;
|
||||
|
|
@ -132,11 +136,6 @@
|
|||
max-height: calc(100vh - 13rem);
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1025px) {
|
||||
.category-list-container {
|
||||
margin-top: 1.2rem;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 640px) {
|
||||
.zero-title {
|
||||
margin: 0 1rem !important;
|
||||
|
|
@ -355,7 +354,7 @@
|
|||
}
|
||||
@media only screen and (max-width: 640px) {
|
||||
.category-list-container .category-content {
|
||||
width: calc(100% - 11rem);
|
||||
width: calc(100% - 13rem);
|
||||
}
|
||||
.zero-item {
|
||||
margin: 0 1.2rem;
|
||||
|
|
|
|||
|
|
@ -2692,12 +2692,11 @@ table.am-table .am-dropdown.am-active .am-selected-btn.am-btn-default.am-dropdow
|
|||
}
|
||||
|
||||
.shop-navigation .am-topbar-collapse {
|
||||
background: #f5f5f5;
|
||||
border-bottom: 0.2rem solid #d2354c;
|
||||
}
|
||||
|
||||
.shop-navigation .am-nav>li:not(:last-child) {
|
||||
border-bottom: 0.1rem solid #e8e8e8;
|
||||
border-bottom: 0.1rem solid #f5f5f5;
|
||||
}
|
||||
|
||||
.shop-navigation .am-topbar-collapse .am-dropdown.am-active .am-dropdown-content li:not(:first-child) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue