-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/date picker panel header locale (#568)
* feat: year and month header will in locale order * fix: picker header overflow and preview button font * build: add missing build storybook styles * feat: mod style inject method and mod reset body bg * chore: remove title and fix build error * style: add range-picker header overflow fix * Create wicked-comics-return.md * chore: mv monthBeforeYear to service and refactor * feat: add header locale and mod style * chore: fix unit test case * feat: trigger show date use locale format default * feat: mod style var and storybook preview
- Loading branch information
1 parent
a78dbef
commit ca0c824
Showing
18 changed files
with
303 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@alauda/ui": patch | ||
--- | ||
|
||
Feat/date picker panel header locale |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import './reset-browser'; | ||
@import '../src/theme/style.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
@import '../src/theme/var'; | ||
@import '../src/theme/mixin'; | ||
|
||
* { | ||
&, | ||
&:before, | ||
&:after { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font: inherit; | ||
box-sizing: border-box; | ||
vertical-align: baseline; | ||
} | ||
|
||
&:focus { | ||
outline: none; | ||
} | ||
} | ||
|
||
em { | ||
font-style: italic; | ||
} | ||
|
||
ol { | ||
list-style: decimal; | ||
margin-left: 16px; | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
} | ||
|
||
blockquote, | ||
q { | ||
quotes: none; | ||
|
||
&:before, | ||
&:after { | ||
content: ''; | ||
content: none; | ||
} | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
|
||
body { | ||
-webkit-font-smoothing: auto; | ||
-moz-osx-font-smoothing: auto; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
min-width: 100%; | ||
min-height: 100%; | ||
color: use-text-color(main); | ||
background-color: use-rgb(n-10); | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', | ||
Arial, 'Microsoft YaHei', sans-serif; | ||
font-size: 14px; | ||
font-weight: 400; | ||
line-height: 1.43; | ||
} | ||
|
||
pre, | ||
code { | ||
font-family: Menlo, Monaco, 'Courier New', monospace; | ||
white-space: pre-wrap; | ||
font-size: 14px; | ||
line-height: 20px; | ||
padding: 12px; | ||
background: use-rgb(n-9); | ||
border-radius: 2px; | ||
|
||
&[ngCodeColorize] { | ||
padding: 0 12px; | ||
} | ||
} | ||
|
||
input:-webkit-autofill, | ||
input:-webkit-autofill:hover, | ||
input:-webkit-autofill:focus, | ||
input:-webkit-autofill:active { | ||
-webkit-text-fill-color: #{use-text-color(main)} !important; | ||
box-shadow: 0 0 0 3000px #{use-rgb(main-bg)} inset !important; | ||
} | ||
|
||
[hidden] { | ||
display: none !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.