Latest updates from IceHrmPro
This commit is contained in:
2
web/node_modules/antd/es/layout/style/css.js
generated
vendored
Normal file
2
web/node_modules/antd/es/layout/style/css.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../style/index.css';
|
||||
import './index.css';
|
||||
132
web/node_modules/antd/es/layout/style/index.css
generated
vendored
Normal file
132
web/node_modules/antd/es/layout/style/index.css
generated
vendored
Normal file
@@ -0,0 +1,132 @@
|
||||
/* 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-layout {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: auto;
|
||||
flex: auto;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
/* fix firefox can't set height smaller than content on flex item */
|
||||
min-height: 0;
|
||||
background: #f0f2f5;
|
||||
}
|
||||
.ant-layout,
|
||||
.ant-layout * {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ant-layout.ant-layout-has-sider {
|
||||
-webkit-box-orient: horizontal;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
.ant-layout.ant-layout-has-sider > .ant-layout,
|
||||
.ant-layout.ant-layout-has-sider > .ant-layout-content {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.ant-layout-header,
|
||||
.ant-layout-footer {
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.ant-layout-header {
|
||||
height: 64px;
|
||||
padding: 0 50px;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
line-height: 64px;
|
||||
background: #001529;
|
||||
}
|
||||
.ant-layout-footer {
|
||||
padding: 24px 50px;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
background: #f0f2f5;
|
||||
}
|
||||
.ant-layout-content {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: auto;
|
||||
flex: auto;
|
||||
/* fix firefox can't set height smaller than content on flex item */
|
||||
min-height: 0;
|
||||
}
|
||||
.ant-layout-sider {
|
||||
position: relative;
|
||||
/* fix firefox can't set width smaller than content on flex item */
|
||||
min-width: 0;
|
||||
background: #001529;
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.ant-layout-sider-children {
|
||||
height: 100%;
|
||||
margin-top: -0.1px;
|
||||
padding-top: 0.1px;
|
||||
}
|
||||
.ant-layout-sider-has-trigger {
|
||||
padding-bottom: 48px;
|
||||
}
|
||||
.ant-layout-sider-right {
|
||||
-webkit-box-ordinal-group: 2;
|
||||
-ms-flex-order: 1;
|
||||
order: 1;
|
||||
}
|
||||
.ant-layout-sider-trigger {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 1;
|
||||
height: 48px;
|
||||
color: #fff;
|
||||
line-height: 48px;
|
||||
text-align: center;
|
||||
background: #002140;
|
||||
cursor: pointer;
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.ant-layout-sider-zero-width > * {
|
||||
overflow: hidden;
|
||||
}
|
||||
.ant-layout-sider-zero-width-trigger {
|
||||
position: absolute;
|
||||
top: 64px;
|
||||
right: -36px;
|
||||
z-index: 1;
|
||||
width: 36px;
|
||||
height: 42px;
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
line-height: 42px;
|
||||
text-align: center;
|
||||
background: #001529;
|
||||
border-radius: 0 2px 2px 0;
|
||||
cursor: pointer;
|
||||
-webkit-transition: background 0.3s ease;
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
.ant-layout-sider-zero-width-trigger:hover {
|
||||
background: #192c3e;
|
||||
}
|
||||
.ant-layout-sider-zero-width-trigger-right {
|
||||
left: -36px;
|
||||
border-radius: 2px 0 0 2px;
|
||||
}
|
||||
.ant-layout-sider-light {
|
||||
background: #fff;
|
||||
}
|
||||
.ant-layout-sider-light .ant-layout-sider-trigger {
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
background: #fff;
|
||||
}
|
||||
.ant-layout-sider-light .ant-layout-sider-zero-width-trigger {
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
background: #fff;
|
||||
}
|
||||
2
web/node_modules/antd/es/layout/style/index.d.ts
generated
vendored
Normal file
2
web/node_modules/antd/es/layout/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/layout/style/index.js
generated
vendored
Normal file
2
web/node_modules/antd/es/layout/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
125
web/node_modules/antd/es/layout/style/index.less
generated
vendored
Normal file
125
web/node_modules/antd/es/layout/style/index.less
generated
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
|
||||
@layout-prefix-cls: ~'@{ant-prefix}-layout';
|
||||
|
||||
.@{layout-prefix-cls} {
|
||||
display: flex;
|
||||
flex: auto;
|
||||
flex-direction: column;
|
||||
/* fix firefox can't set height smaller than content on flex item */
|
||||
min-height: 0;
|
||||
background: @layout-body-background;
|
||||
|
||||
&,
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
&&-has-sider {
|
||||
flex-direction: row;
|
||||
> .@{layout-prefix-cls},
|
||||
> .@{layout-prefix-cls}-content {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&-header,
|
||||
&-footer {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
&-header {
|
||||
height: @layout-header-height;
|
||||
padding: @layout-header-padding;
|
||||
color: @layout-header-color;
|
||||
line-height: @layout-header-height;
|
||||
background: @layout-header-background;
|
||||
}
|
||||
|
||||
&-footer {
|
||||
padding: @layout-footer-padding;
|
||||
color: @text-color;
|
||||
font-size: @font-size-base;
|
||||
background: @layout-footer-background;
|
||||
}
|
||||
|
||||
&-content {
|
||||
flex: auto;
|
||||
/* fix firefox can't set height smaller than content on flex item */
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
&-sider {
|
||||
position: relative;
|
||||
|
||||
/* fix firefox can't set width smaller than content on flex item */
|
||||
min-width: 0;
|
||||
background: @layout-sider-background;
|
||||
transition: all 0.2s;
|
||||
|
||||
&-children {
|
||||
height: 100%;
|
||||
margin-top: -0.1px;
|
||||
// Hack for fixing margin collaspe bug
|
||||
// https://github.com/ant-design/ant-design/issues/7967
|
||||
// solution from https://stackoverflow.com/a/33132624/3040605
|
||||
padding-top: 0.1px;
|
||||
}
|
||||
|
||||
&-has-trigger {
|
||||
padding-bottom: @layout-trigger-height;
|
||||
}
|
||||
|
||||
&-right {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
&-trigger {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 1;
|
||||
height: @layout-trigger-height;
|
||||
color: @layout-trigger-color;
|
||||
line-height: @layout-trigger-height;
|
||||
text-align: center;
|
||||
background: @layout-trigger-background;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
&-zero-width {
|
||||
& > * {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&-trigger {
|
||||
position: absolute;
|
||||
top: @layout-header-height;
|
||||
right: -@layout-zero-trigger-width;
|
||||
z-index: 1;
|
||||
width: @layout-zero-trigger-width;
|
||||
height: @layout-zero-trigger-height;
|
||||
color: @layout-trigger-color;
|
||||
font-size: @layout-zero-trigger-width / 2;
|
||||
line-height: @layout-zero-trigger-height;
|
||||
text-align: center;
|
||||
background: @layout-sider-background;
|
||||
border-radius: 0 @border-radius-base @border-radius-base 0;
|
||||
cursor: pointer;
|
||||
transition: background 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
background: tint(@layout-sider-background, 10%);
|
||||
}
|
||||
|
||||
&-right {
|
||||
left: -@layout-zero-trigger-width;
|
||||
border-radius: @border-radius-base 0 0 @border-radius-base;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@import './light';
|
||||
15
web/node_modules/antd/es/layout/style/light.less
generated
vendored
Normal file
15
web/node_modules/antd/es/layout/style/light.less
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
.@{layout-prefix-cls} {
|
||||
&-sider {
|
||||
&-light {
|
||||
background: @layout-sider-background-light;
|
||||
}
|
||||
&-light &-trigger {
|
||||
color: @layout-trigger-color-light;
|
||||
background: @layout-trigger-background-light;
|
||||
}
|
||||
&-light &-zero-width-trigger {
|
||||
color: @layout-trigger-color-light;
|
||||
background: @layout-trigger-background-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user