Latest updates from IceHrmPro
This commit is contained in:
2
web/node_modules/antd/es/avatar/style/css.js
generated
vendored
Normal file
2
web/node_modules/antd/es/avatar/style/css.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../style/index.css';
|
||||
import './index.css';
|
||||
90
web/node_modules/antd/es/avatar/style/index.css
generated
vendored
Normal file
90
web/node_modules/antd/es/avatar/style/index.css
generated
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
||||
/* stylelint-disable no-duplicate-selectors */
|
||||
/* stylelint-disable */
|
||||
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
||||
.ant-avatar {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
background: #ccc;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.ant-avatar-image {
|
||||
background: transparent;
|
||||
}
|
||||
.ant-avatar-string {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
-webkit-transform-origin: 0 center;
|
||||
transform-origin: 0 center;
|
||||
}
|
||||
.ant-avatar.ant-avatar-icon {
|
||||
font-size: 18px;
|
||||
}
|
||||
.ant-avatar.ant-avatar-icon > .anticon {
|
||||
margin: 0;
|
||||
}
|
||||
.ant-avatar-lg {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.ant-avatar-lg-string {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
-webkit-transform-origin: 0 center;
|
||||
transform-origin: 0 center;
|
||||
}
|
||||
.ant-avatar-lg.ant-avatar-icon {
|
||||
font-size: 24px;
|
||||
}
|
||||
.ant-avatar-lg.ant-avatar-icon > .anticon {
|
||||
margin: 0;
|
||||
}
|
||||
.ant-avatar-sm {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.ant-avatar-sm-string {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
-webkit-transform-origin: 0 center;
|
||||
transform-origin: 0 center;
|
||||
}
|
||||
.ant-avatar-sm.ant-avatar-icon {
|
||||
font-size: 14px;
|
||||
}
|
||||
.ant-avatar-sm.ant-avatar-icon > .anticon {
|
||||
margin: 0;
|
||||
}
|
||||
.ant-avatar-square {
|
||||
border-radius: 2px;
|
||||
}
|
||||
.ant-avatar > img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
2
web/node_modules/antd/es/avatar/style/index.d.ts
generated
vendored
Normal file
2
web/node_modules/antd/es/avatar/style/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
2
web/node_modules/antd/es/avatar/style/index.js
generated
vendored
Normal file
2
web/node_modules/antd/es/avatar/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
63
web/node_modules/antd/es/avatar/style/index.less
generated
vendored
Normal file
63
web/node_modules/antd/es/avatar/style/index.less
generated
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
|
||||
@avatar-prefix-cls: ~'@{ant-prefix}-avatar';
|
||||
|
||||
.@{avatar-prefix-cls} {
|
||||
.reset-component;
|
||||
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
color: @avatar-color;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
background: @avatar-bg;
|
||||
|
||||
&-image {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.avatar-size(@avatar-size-base, @avatar-font-size-base);
|
||||
|
||||
&-lg {
|
||||
.avatar-size(@avatar-size-lg, @avatar-font-size-lg);
|
||||
}
|
||||
|
||||
&-sm {
|
||||
.avatar-size(@avatar-size-sm, @avatar-font-size-sm);
|
||||
}
|
||||
|
||||
&-square {
|
||||
border-radius: @avatar-border-radius;
|
||||
}
|
||||
|
||||
& > img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar-size(@size, @font-size) {
|
||||
width: @size;
|
||||
height: @size;
|
||||
line-height: @size;
|
||||
border-radius: 50%;
|
||||
|
||||
&-string {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform-origin: 0 center;
|
||||
}
|
||||
|
||||
&.@{avatar-prefix-cls}-icon {
|
||||
font-size: @font-size;
|
||||
|
||||
> .@{iconfont-css-prefix} {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user