米老朱
6936599aef
Enhance stylelint rules ( #14803 )
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
6 years ago
shawtung
b6f8365d53
为before pseudo增加负index, 避免其挡住自定义overlay的点击
如果overlay没有设置position也没有transform样式, 其层级会低于这个伪元素, 导致无法被点击到.
6 years ago
Rahul Gurung
422b20993b
#12115 - fixed dropdown hover flickering
6 years ago
afc163
3aeca7c10e
🐛 remove right padding in dropdown, close ant-design/ant-design-pro#3161
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
3bf7e2b99f
🐛 fix gap of dropdown menu, close #10481
6 years ago
amedora
0aeb9a356b
use color definitions insted of numbers
6 years ago
afc163
9b6883bc9f
🐛 Fix inconsistent size of icon in Dropdown.Button, close #13442
6 years ago
afc163
b265692478
🐛 Fix Dropdown font-size affected Avatar
close #13091
6 years ago
zombiej
b30ba9561f
add transform-origin on dropdown as menu
6 years ago
afc163
30dbd310f2
Fix some icon detail in new svg icons
6 years ago
HeskeyBaozi
b4e6f756a7
use svg icon in dropdown
6 years ago
HeskeyBaozi
62aff06067
remove dropdown submenu css font icon
6 years ago
picodoth
8e60a591fd
feat: provide default margin for dropdown menu item icon
7 years ago
afc163
8e2f72ffe0
tweak dropdown menu item padding
7 years ago
afc163
be31f17bca
Change Dropdown.Button default icon to ellipsis
7 years ago
afc163
5accd6367a
Fix submenu z-index, close #9218
7 years ago
Benjy Cui
00ff041d16
fix: submenu should work fine in dropdown, close : #8248
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago
afc163
b7aee09758
Fix dropdown menu group title style
7 years ago
afc163
f545e52ec5
Fix dropdown menu group title style
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
jiang
2570ba8fe6
Menu anim ( #7567 )
* update menu icon animate
* add padding !important, restore menu retraction animate
* update dropdown arrow
7 years ago
Benjy Cui
7ff0573046
fix: broken style of disabled submenu in dropdown, close : #6548
8 years ago
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
8 years ago
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
8 years ago
afc163
c6efc4db27
Adjust dropdown item padding, close #5088
8 years ago
afc163
b9851f84c8
fix link focus style
8 years ago
afc163
4e51fd942b
fix disabled dropdown menu item pointer events
8 years ago
afc163
6fdb39038b
Fix selected style of Dropdown menu, close #5013
8 years ago
afc163
ddcc284b43
Fix dark theme menu style of Dropdown, close #4903
8 years ago
afc163
d1b91bcc99
Fix direction of pop animation for Dropdown, ref #4811
8 years ago
afc163
edf9ebb0ef
Fix Button font size inside Dropdown, close #4705
8 years ago
afc163
1042681bcd
Fix Table filter dropdown style
8 years ago
偏右
d811ebee5c
New color system ( #4426 )
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
8 years ago
Alexandre Kirszenberg
517720895d
Dropdown.Button as a single non-wrappable element ( #4355 )
8 years ago
afc163
89cf3a88e6
only icon down under Dropdown has smaller size, close #4023
8 years ago
Benjy Cui
932443099a
css: use @component-background , ref: #4040
8 years ago
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
8 years ago
afc163
e4974ac72a
use @font-size-base ( #1752 )
8 years ago
afc163
0a48c62dcb
use @text-color
8 years ago
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
8 years ago
afc163
d92a24d477
Improve overlay border design
8 years ago
偏右
354759cb17
Redesigned icons ( #3041 )
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
afc163
d518e485b1
Improve Dropdown Button examples
8 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
0ca6a1c24a
css modularize ( #1448 )
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
9 years ago