Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
11004e1e
Commit
11004e1e
authored
Aug 28, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:删除没有用的样式文件
parent
0d50e004
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
229 additions
and
244 deletions
+229
-244
index.less
src/pages/lxMall/components/Category/index.less
+229
-2
category.less
src/theme/science/styles/category.less
+0
-231
login.less
src/theme/science/styles/login.less
+0
-9
category.less
src/theme/style/category.less
+0
-2
index.less
src/theme/style/index.less
+0
-0
login.less
src/theme/style/login.less
+0
-0
No files found.
src/pages/lxMall/components/Category/index.less
View file @
11004e1e
@import '../../../../theme/style/category.less';
\ No newline at end of file
.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
src/theme/science/styles/category.less
deleted
100644 → 0
View file @
0d50e004
@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
src/theme/science/styles/login.less
deleted
100644 → 0
View file @
0d50e004
@import './colors.less';
.welcome_text {
color: @default_text_color;
}
// .login_theme(@default_color: red) {}
\ No newline at end of file
src/theme/style/category.less
deleted
100644 → 0
View file @
0d50e004
@import '../science/styles/category.less';
\ No newline at end of file
src/theme/style/index.less
deleted
100644 → 0
View file @
0d50e004
src/theme/style/login.less
deleted
100644 → 0
View file @
0d50e004
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment