Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
najiu-frontend
najiu-admin-template
Commits
f4af2311
Commit
f4af2311
authored
Apr 19, 2021
by
Vben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(button): ghost style
parent
38f50726
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
hmr.ts
build/vite/plugin/hmr.ts
+4
-2
btn.less
src/design/ant/btn.less
+2
-2
No files found.
build/vite/plugin/hmr.ts
View file @
f4af2311
...
@@ -13,8 +13,10 @@ export function configHmrPlugin(): Plugin {
...
@@ -13,8 +13,10 @@ export function configHmrPlugin(): Plugin {
if
(
file
.
match
(
/xml$/
))
return
[];
if
(
file
.
match
(
/xml$/
))
return
[];
modules
.
forEach
((
m
)
=>
{
modules
.
forEach
((
m
)
=>
{
m
.
importedModules
=
new
Set
();
if
(
!
m
.
url
.
match
(
/
\.(
css|less
)
/
))
{
m
.
importers
=
new
Set
();
m
.
importedModules
=
new
Set
();
m
.
importers
=
new
Set
();
}
});
});
return
modules
;
return
modules
;
...
...
src/design/ant/btn.less
View file @
f4af2311
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
}
}
}
}
&-ghost {
&-
background-
ghost {
color: @button-ghost-color;
color: @button-ghost-color;
background-color: transparent;
background-color: transparent;
border-color: @button-ghost-color;
border-color: @button-ghost-color;
...
@@ -193,7 +193,7 @@
...
@@ -193,7 +193,7 @@
&:hover,
&:hover,
&:focus {
&:focus {
color: @button-ghost-hover-color;
color: @button-ghost-hover-color
!important
;
background-color: @button-ghost-hover-bg-color;
background-color: @button-ghost-hover-bg-color;
border-color: @button-ghost-hover-color;
border-color: @button-ghost-hover-color;
}
}
...
...
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