Browse Source

update modal style

pull/29/head
yiminghe 10 years ago
parent
commit
e76e720dec
  1. 6
      package.json
  2. 28
      style/components/dialog/Dialog.less

6
package.json

@ -15,14 +15,14 @@
"gregorian-calendar": "~3.0.0",
"gregorian-calendar-format": "~3.0.1",
"rc-calendar": "~3.9.0",
"rc-dialog": "~4.3.4",
"rc-dialog": "~4.3.5",
"rc-dropdown": "~1.0.2",
"rc-menu": "~3.4.0",
"rc-progress": "~1.0.0",
"rc-select": "~4.0.0",
"rc-steps": "~1.0.3",
"rc-tabs": "~5.1.0",
"rc-tooltip": "~2.1.1",
"rc-steps": "~1.0.3"
"rc-tooltip": "~2.1.1"
},
"devDependencies": {
"babel-core": "~5.4.7",

28
style/components/dialog/Dialog.less

@ -44,7 +44,35 @@
opacity: .2;
text-decoration: none;
&-x {
position: absolute;
display: inline-block;
font-style: normal;
vertical-align: baseline;
text-align: center;
text-transform: none;
text-rendering: auto;
// 更好地渲染字体
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0px;
-moz-osx-font-smoothing: grayscale;
width: 12px;
height: 12px;
font-size: 12px;
line-height: 12px;
color:#000;
top:18px;
right: 18px;
&:before {
content:"\e61e";
display: block;
font-family: "anticon" !important;
}
}
&:hover {
color:#000;
opacity: 1;
filter: alpha(opacity=100);
text-decoration: none;

Loading…
Cancel
Save