afc163
af2e76d64c
Add less variable @modal-header-bg , close #12914
6 years ago
Nima Dehnashi
54b944e8ee
Allow font-variant to be customized
6 years ago
afc163
bcb06ec174
Add active style of filtered state
6 years ago
zombieJ
f9dd709e2f
Transfer support disabled ( #12084 )
6 years ago
George Gray
c94eda04c6
add vars for Alert types ( #12057 )
6 years ago
afc163
bdcf4342fe
tweak icon size and design
6 years ago
HeskeyBaozi
c76a90b2b7
fix tweak icon
6 years ago
afc163
3cbb5da6c2
tweak icons size
6 years ago
HeskeyBaozi
ff44129e6e
remove less vars @icon-url
6 years ago
Tom Xu
8ff9dc6bab
Table added a new less variable @table-header-color
6 years ago
Chandler Moisen
ce4a4bacaa
add @menu-item-active-border-width to Menu.Item ( #11934 )
6 years ago
Chandler Moisen
badfac83b0
add @progress-text-color var to <Progress /> ( #11771 )
6 years ago
afc163
1ba99510cd
Fix @shadow-1-up , close #11873
6 years ago
zombieJ
796b56dbc4
New Component Skeleton ( #11226 )
* Add new component Skeleton
* Add related doc
* Add sample
* Add test case
ref: https://github.com/ant-design/ant-design/issues/10308
6 years ago
陈帅
958e8ebc4b
Fix drawer ( #11702 )
* fix #11583 #11443 remove pointer-events
* update snap fix ci
* @ease change to @drawer-easing
* add @ease-base-out and @ease-base-in
* fix drawer
6 years ago
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
6 years ago
David Hatten
f237effc2a
list padding and margin defaults added
6 years ago
Thibault Derousseaux
43abea3212
Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422 .
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures ).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals ).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric ) that can be set to `tabular-nums`.
This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/ ).
6 years ago
Bryan Berger
1d924300e7
add @message-notice-content-padding var to <Message />
6 years ago
afc163
553901dfb8
Fix card background overflow when zoom in chrome, close #9085
6 years ago
afc163
7fe027bfcf
fix stylelint problem
7 years ago
Yuxuan Huo
9aea9ddf58
expose input box-shadow h and v offset in theme variables
7 years ago
陈帅
789b54905c
fix #10842 Badge status does not change with themes
7 years ago
zombieJ
a825ed4e66
Directory Tree ( #10139 )
Support DirTree. close #7749
7 years ago
afc163
814ee7365a
tweak popover arrow style detail
7 years ago
Rongjian Zhang
f3869270ae
Fix #10142 : Add `theme` props to `Layout.Sider` ( #10631 )
* Fix #10142 : Add `theme` props to `Layout.Sider`
* Update documentation of Layout.Sider for new theme props
* Fix snapshot tests
* Add unit test for sider theme
7 years ago
afc163
6e0865f691
fix less compile error
7 years ago
afc163
eb17aae25c
Fix less import error again
7 years ago
afc163
593435ce65
fix import path
7 years ago
afc163
c4f58e7027
fix import path
7 years ago
afc163
b76910f63f
fix typo
7 years ago
afc163
12d3046687
style: unify the less vars naming
7 years ago
afc163
1f6107e94a
Fix naming convention, close #10275
7 years ago
davidhatten
74d1c5e6b6
Add collapse styles to default.less ( #9943 )
* push collapse styling into overridable defaults
* Changes to ensure backwards compatibiliy, switch bg-color to be based on default style
* change background-color to bg in style names
* simplify and consolodate content-padding
* I figured out why the styling is split across content and box like that
The collapse/show animation doesn't work right without the padding set up across the two elements like this. From an end-user point of view, I think this is the easiest thing.
* pushing all padding styling on to the box instead of the content, keeping var name the same because the end user doesn't need to know the difference
* Pushing header-bg-color back up to the top of the component heirarchy
* shorten content padding
7 years ago
Bryan Berger
c3df0bc688
Fix <Switch /> small margin ( #9602 )
* should be 13px. Size of the circle (12px) + desired spacing (1px).
* add single responsibility var
7 years ago
meesvandongen
2c5231f0ed
Made expanded row background (table) a less variable. ( #9789 )
7 years ago
afc163
ba7b7d0d6b
link colors should be related with @link-color
7 years ago
Bryan Berger
a0e161ccdd
Add variable for Pagination font-weight when active ( #9603 )
7 years ago
afc163
c7dd7cbbc4
Fix large tabs font size, close #9509
7 years ago
afc163
8a6b76acde
support less vars for tabs title font size
7 years ago
George Gray
053396810b
add @badge-font-weight var ( #9352 )
7 years ago
George Gray
676635abde
var to theme pagination font ( #9351 )
7 years ago
afc163
c04377e541
Add more icons, #9092
7 years ago
George Gray
22c3097d79
Vars to theme Tabs ( #9172 )
7 years ago
afc163
506f97640e
Fix font family name, close ant-design/ant-design-pro#813
7 years ago
George Gray
7d9a93e7ed
vars to theme Menu ( #9115 )
7 years ago
George Gray
72a5b1fef7
Vars to theme slider ( #9065 )
* vars to theme slider
* add @slider-margin back
7 years ago
George Gray
aa9e335145
add vars to theme Breadcrumb component ( #9022 )
7 years ago
afc163
32023c24e5
Add aliyun icon
7 years ago
George Gray
a9abe14122
Vars for checkbox and radio ( #9003 )
* vars for radio component
* add @checkbox-color var
7 years ago