Commit 11004e1e authored by GuanHua's avatar GuanHua

feat:删除没有用的样式文件

parent 0d50e004
@import '../../../../theme/style/category.less'; .category {
\ No newline at end of file position: relative;
.category_type {
position: relative;
width: 190px;
height: 40px;
background-color: var(--mall_main_color);
color: #FFF;
line-height: 40px;
&>.icon {
margin: 0 20px;
}
&:hover {
+.category_content {
display: block;
}
}
}
.category_content {
position: absolute;
display: none;
width: 190px;
height: 460px;
background-color: var(--category_content_bg);
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
top: 41px;
left: 0;
z-index: 5;
&:hover {
display: block;
}
.category_type_panel {
position: relative;
width: 100%;
height: 100%;
.category_nav_list {
padding: 0;
margin: 0;
&_item {
position: relative;
padding-left: 20px;
padding-top: 12px;
height: 56px;
list-style: none;
cursor: pointer;
&:hover {
background-color: var(--mall_sub_color);
border-left: 2px solid var(--mall_main_color);
.main_category,
.sub_category a,
.right_icon {
color: var(--mall_main_color);
}
.category_type_content {
display: block;
}
}
.main_category {
color: var(--category_content_title_text);
font-size: 14px;
font-weight: bold;
line-height: 14px;
}
.sub_category {
font-size: 12px;
line-height: 12px;
margin-top: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
a {
color: var(--category_content_sub_title_text);
&:not(:last-child) {
margin-right: 10px;
}
}
}
.right_icon {
position: absolute;
right: 19px;
color: rgba(0, 0, 0, 0.25);
top: 20px;
font-size: 14px;
}
.category_type_content {
position: absolute;
display: none;
top: 0;
left: 188px;
border: 2px solid var(--mall_main_color);
height: 460px;
width: 750px;
background-color: #FFF;
z-index: 2;
white-space: nowrap;
&:hover {
display: block;
}
.category_type_list {
display: inline-block;
height: 100%;
padding: 26px 0 26px 38px;
width: 500px;
&>.title {
font-size: 16px;
color: #666666;
line-height: 14px;
}
.second_category_type {
margin-top: 30px;
a {
color: #333333;
}
&>.title {
color: #333333;
font-size: 14px;
line-height: 14px;
font-weight: bold;
margin-bottom: 5px;
}
.third_category_type_list {
padding: 0;
margin: 0 -10px;
white-space: pre-wrap;
&>li {
list-style: none;
display: inline-block;
margin-top: 15px;
padding: 0 10px;
line-height: 12px;
font-size: 12px;
}
}
}
}
.category_type_right_wrap {
float: right;
width: 240px;
height: 100%;
border-left: 1px solid #F5F5F5;
.category_advert {
padding: 32px 0;
.category_advert_item {
width: 160px;
height: 80px;
margin: 0 auto;
// background-color: #F5F5F5;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
&:not(:last-child) {
margin-bottom: 20px;
}
&>img {
display: block;
height: auto;
width: 100%;
}
}
}
.category_brand {
flex-wrap: wrap;
display: flex;
padding: 15px 9px;
.category_brand_item {
width: 100px;
height: 50px;
// background-color: #F5F5F5;
margin: 2.5px 5px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
&>img {
display: block;
max-height: 40px;
max-width: 80px;
}
}
}
}
}
}
}
}
}
}
\ No newline at end of file
@import './colors.less';
.category {
position: relative;
.category_type {
position: relative;
width: 190px;
height: 40px;
background-color: var(--mall_main_color);
color: #FFF;
line-height: 40px;
&>.icon {
margin: 0 20px;
}
&:hover {
+.category_content {
display: block;
}
}
}
.category_content {
position: absolute;
display: none;
width: 190px;
height: 460px;
background-color: var(--category_content_bg);
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
top: 41px;
left: 0;
z-index: 5;
&:hover {
display: block;
}
.category_type_panel {
position: relative;
width: 100%;
height: 100%;
.category_nav_list {
padding: 0;
margin: 0;
&_item {
position: relative;
padding-left: 20px;
padding-top: 12px;
height: 56px;
list-style: none;
cursor: pointer;
&:hover {
background-color: var(--mall_sub_color);
border-left: 2px solid var(--mall_main_color);
.main_category,
.sub_category a,
.right_icon {
color: var(--mall_main_color);
}
.category_type_content {
display: block;
}
}
.main_category {
color: var(--category_content_title_text);
font-size: 14px;
font-weight: bold;
line-height: 14px;
}
.sub_category {
font-size: 12px;
line-height: 12px;
margin-top: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
a {
color: var(--category_content_sub_title_text);
&:not(:last-child) {
margin-right: 10px;
}
}
}
.right_icon {
position: absolute;
right: 19px;
color: rgba(0, 0, 0, 0.25);
top: 20px;
font-size: 14px;
}
.category_type_content {
position: absolute;
display: none;
top: 0;
left: 188px;
border: 2px solid var(--mall_main_color);
height: 460px;
width: 750px;
background-color: #FFF;
z-index: 2;
white-space: nowrap;
&:hover {
display: block;
}
.category_type_list {
display: inline-block;
height: 100%;
padding: 26px 0 26px 38px;
width: 500px;
&>.title {
font-size: 16px;
color: #666666;
line-height: 14px;
}
.second_category_type {
margin-top: 30px;
a {
color: #333333;
}
&>.title {
color: #333333;
font-size: 14px;
line-height: 14px;
font-weight: bold;
margin-bottom: 5px;
}
.third_category_type_list {
padding: 0;
margin: 0 -10px;
white-space: pre-wrap;
&>li {
list-style: none;
display: inline-block;
margin-top: 15px;
padding: 0 10px;
line-height: 12px;
font-size: 12px;
}
}
}
}
.category_type_right_wrap {
float: right;
width: 240px;
height: 100%;
border-left: 1px solid #F5F5F5;
.category_advert {
padding: 32px 0;
.category_advert_item {
width: 160px;
height: 80px;
margin: 0 auto;
// background-color: #F5F5F5;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
&:not(:last-child) {
margin-bottom: 20px;
}
&>img {
display: block;
height: auto;
width: 100%;
}
}
}
.category_brand {
flex-wrap: wrap;
display: flex;
padding: 15px 9px;
.category_brand_item {
width: 100px;
height: 50px;
// background-color: #F5F5F5;
margin: 2.5px 5px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
&>img {
display: block;
max-height: 40px;
max-width: 80px;
}
}
}
}
}
}
}
}
}
}
\ No newline at end of file
@import './colors.less';
.welcome_text {
color: @default_text_color;
}
// .login_theme(@default_color: red) {}
\ No newline at end of file
@import '../science/styles/category.less';
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment