Latest updates from IceHrmPro
This commit is contained in:
9
web/node_modules/antd/lib/typography/style/css.js
generated
vendored
Normal file
9
web/node_modules/antd/lib/typography/style/css.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
require("../../style/index.css");
|
||||
|
||||
require("./index.css");
|
||||
|
||||
require("../../tooltip/style/css");
|
||||
|
||||
require("../../input/style/css");
|
||||
255
web/node_modules/antd/lib/typography/style/index.css
generated
vendored
Normal file
255
web/node_modules/antd/lib/typography/style/index.css
generated
vendored
Normal file
@@ -0,0 +1,255 @@
|
||||
/* 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-typography {
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
.ant-typography.ant-typography-secondary {
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
.ant-typography.ant-typography-warning {
|
||||
color: #faad14;
|
||||
}
|
||||
.ant-typography.ant-typography-danger {
|
||||
color: #ff4d4f;
|
||||
}
|
||||
.ant-typography.ant-typography-disabled {
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
cursor: not-allowed;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
div.ant-typography,
|
||||
.ant-typography p {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
h1.ant-typography,
|
||||
.ant-typography h1 {
|
||||
margin-bottom: 0.5em;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-weight: 600;
|
||||
font-size: 38px;
|
||||
line-height: 1.23;
|
||||
}
|
||||
h2.ant-typography,
|
||||
.ant-typography h2 {
|
||||
margin-bottom: 0.5em;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-weight: 600;
|
||||
font-size: 30px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
h3.ant-typography,
|
||||
.ant-typography h3 {
|
||||
margin-bottom: 0.5em;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-weight: 600;
|
||||
font-size: 24px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
h4.ant-typography,
|
||||
.ant-typography h4 {
|
||||
margin-bottom: 0.5em;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.ant-typography + h1.ant-typography,
|
||||
.ant-typography + h2.ant-typography,
|
||||
.ant-typography + h3.ant-typography,
|
||||
.ant-typography + h4.ant-typography {
|
||||
margin-top: 1.2em;
|
||||
}
|
||||
.ant-typography div + h1,
|
||||
.ant-typography ul + h1,
|
||||
.ant-typography li + h1,
|
||||
.ant-typography p + h1,
|
||||
.ant-typography h1 + h1,
|
||||
.ant-typography h2 + h1,
|
||||
.ant-typography h3 + h1,
|
||||
.ant-typography h4 + h1,
|
||||
.ant-typography div + h2,
|
||||
.ant-typography ul + h2,
|
||||
.ant-typography li + h2,
|
||||
.ant-typography p + h2,
|
||||
.ant-typography h1 + h2,
|
||||
.ant-typography h2 + h2,
|
||||
.ant-typography h3 + h2,
|
||||
.ant-typography h4 + h2,
|
||||
.ant-typography div + h3,
|
||||
.ant-typography ul + h3,
|
||||
.ant-typography li + h3,
|
||||
.ant-typography p + h3,
|
||||
.ant-typography h1 + h3,
|
||||
.ant-typography h2 + h3,
|
||||
.ant-typography h3 + h3,
|
||||
.ant-typography h4 + h3,
|
||||
.ant-typography div + h4,
|
||||
.ant-typography ul + h4,
|
||||
.ant-typography li + h4,
|
||||
.ant-typography p + h4,
|
||||
.ant-typography h1 + h4,
|
||||
.ant-typography h2 + h4,
|
||||
.ant-typography h3 + h4,
|
||||
.ant-typography h4 + h4 {
|
||||
margin-top: 1.2em;
|
||||
}
|
||||
span.ant-typography-ellipsis {
|
||||
display: inline-block;
|
||||
}
|
||||
.ant-typography a {
|
||||
color: #1890ff;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
-webkit-transition: color 0.3s;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
.ant-typography a:focus,
|
||||
.ant-typography a:hover {
|
||||
color: #40a9ff;
|
||||
}
|
||||
.ant-typography a:active {
|
||||
color: #096dd9;
|
||||
}
|
||||
.ant-typography a:active,
|
||||
.ant-typography a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.ant-typography a[disabled] {
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
}
|
||||
.ant-typography code {
|
||||
margin: 0 0.2em;
|
||||
padding: 0.2em 0.4em 0.1em;
|
||||
font-size: 85%;
|
||||
background: rgba(0, 0, 0, 0.06);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.ant-typography mark {
|
||||
padding: 0;
|
||||
background-color: #ffe58f;
|
||||
}
|
||||
.ant-typography u,
|
||||
.ant-typography ins {
|
||||
text-decoration: underline;
|
||||
-webkit-text-decoration-skip: ink;
|
||||
text-decoration-skip-ink: auto;
|
||||
}
|
||||
.ant-typography s,
|
||||
.ant-typography del {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
.ant-typography strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
.ant-typography-expand,
|
||||
.ant-typography-edit,
|
||||
.ant-typography-copy {
|
||||
color: #1890ff;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
-webkit-transition: color 0.3s;
|
||||
transition: color 0.3s;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.ant-typography-expand:focus,
|
||||
.ant-typography-edit:focus,
|
||||
.ant-typography-copy:focus,
|
||||
.ant-typography-expand:hover,
|
||||
.ant-typography-edit:hover,
|
||||
.ant-typography-copy:hover {
|
||||
color: #40a9ff;
|
||||
}
|
||||
.ant-typography-expand:active,
|
||||
.ant-typography-edit:active,
|
||||
.ant-typography-copy:active {
|
||||
color: #096dd9;
|
||||
}
|
||||
.ant-typography-copy-success,
|
||||
.ant-typography-copy-success:hover,
|
||||
.ant-typography-copy-success:focus {
|
||||
color: #52c41a;
|
||||
}
|
||||
.ant-typography-edit-content {
|
||||
position: relative;
|
||||
}
|
||||
div.ant-typography-edit-content {
|
||||
left: -12px;
|
||||
margin-top: -5px;
|
||||
margin-bottom: calc(1em - 4px - 2px);
|
||||
}
|
||||
.ant-typography-edit-content-confirm {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
bottom: 8px;
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
pointer-events: none;
|
||||
}
|
||||
.ant-typography-edit-content textarea {
|
||||
-moz-transition: none;
|
||||
}
|
||||
.ant-typography ul,
|
||||
.ant-typography ol {
|
||||
margin: 0 0 1em 0;
|
||||
padding: 0;
|
||||
}
|
||||
.ant-typography ul li,
|
||||
.ant-typography ol li {
|
||||
margin: 0 0 0 20px;
|
||||
padding: 0 0 0 4px;
|
||||
}
|
||||
.ant-typography ul {
|
||||
list-style-type: circle;
|
||||
}
|
||||
.ant-typography ul ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
.ant-typography ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
.ant-typography-ellipsis-single-line {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
span.ant-typography-ellipsis-single-line {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.ant-typography-ellipsis-multiple-line {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
/*! autoprefixer: ignore next */
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
.ant-typography-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ant-typography-rtl .ant-typography-expand,
|
||||
.ant-typography-rtl .ant-typography-edit,
|
||||
.ant-typography-rtl .ant-typography-copy {
|
||||
margin-right: 8px;
|
||||
margin-left: 0;
|
||||
}
|
||||
div.ant-typography-edit-content.ant-typography-rtl {
|
||||
right: -12px;
|
||||
left: auto;
|
||||
}
|
||||
.ant-typography-rtl .ant-typography-edit-content-confirm {
|
||||
right: auto;
|
||||
left: 10px;
|
||||
}
|
||||
.ant-typography-rtl.ant-typography ul li,
|
||||
.ant-typography-rtl.ant-typography ol li {
|
||||
margin: 0 20px 0 0;
|
||||
padding: 0 4px 0 0;
|
||||
}
|
||||
4
web/node_modules/antd/lib/typography/style/index.d.ts
generated
vendored
Normal file
4
web/node_modules/antd/lib/typography/style/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
import '../../tooltip/style';
|
||||
import '../../input/style';
|
||||
9
web/node_modules/antd/lib/typography/style/index.js
generated
vendored
Normal file
9
web/node_modules/antd/lib/typography/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
require("../../style/index.less");
|
||||
|
||||
require("./index.less");
|
||||
|
||||
require("../../tooltip/style");
|
||||
|
||||
require("../../input/style");
|
||||
211
web/node_modules/antd/lib/typography/style/index.less
generated
vendored
Normal file
211
web/node_modules/antd/lib/typography/style/index.less
generated
vendored
Normal file
@@ -0,0 +1,211 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
|
||||
@typography-prefix-cls: ~'@{ant-prefix}-typography';
|
||||
|
||||
// =============== Basic ===============
|
||||
.@{typography-prefix-cls} {
|
||||
color: @text-color;
|
||||
|
||||
&&-secondary {
|
||||
color: @text-color-secondary;
|
||||
}
|
||||
|
||||
&&-warning {
|
||||
color: @warning-color;
|
||||
}
|
||||
|
||||
&&-danger {
|
||||
color: @error-color;
|
||||
}
|
||||
|
||||
&&-disabled {
|
||||
color: @disabled-color;
|
||||
cursor: not-allowed;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
// Tag
|
||||
div&,
|
||||
p {
|
||||
.typography-paragraph();
|
||||
}
|
||||
|
||||
h1&,
|
||||
h1 {
|
||||
.typography-title-1();
|
||||
}
|
||||
h2&,
|
||||
h2 {
|
||||
.typography-title-2();
|
||||
}
|
||||
h3&,
|
||||
h3 {
|
||||
.typography-title-3();
|
||||
}
|
||||
h4&,
|
||||
h4 {
|
||||
.typography-title-4();
|
||||
}
|
||||
|
||||
h1&,
|
||||
h2&,
|
||||
h3&,
|
||||
h4& {
|
||||
.@{typography-prefix-cls} + & {
|
||||
margin-top: @typography-title-margin-top;
|
||||
}
|
||||
}
|
||||
|
||||
div,
|
||||
ul,
|
||||
li,
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4 {
|
||||
+ h1,
|
||||
+ h2,
|
||||
+ h3,
|
||||
+ h4 {
|
||||
margin-top: @typography-title-margin-top;
|
||||
}
|
||||
}
|
||||
|
||||
span&-ellipsis {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
a {
|
||||
.operation-unit();
|
||||
|
||||
&:active,
|
||||
&:hover {
|
||||
text-decoration: @link-hover-decoration;
|
||||
}
|
||||
|
||||
&[disabled] {
|
||||
color: @disabled-color;
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
margin: 0 0.2em;
|
||||
padding: 0.2em 0.4em 0.1em;
|
||||
font-size: 85%;
|
||||
background: rgba(0, 0, 0, 0.06);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
mark {
|
||||
padding: 0;
|
||||
background-color: @gold-3;
|
||||
}
|
||||
|
||||
u,
|
||||
ins {
|
||||
text-decoration: underline;
|
||||
text-decoration-skip-ink: auto;
|
||||
}
|
||||
|
||||
s,
|
||||
del {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
// Operation
|
||||
&-expand,
|
||||
&-edit,
|
||||
&-copy {
|
||||
.operation-unit();
|
||||
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
&-copy-success {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @success-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Text input area
|
||||
&-edit-content {
|
||||
position: relative;
|
||||
|
||||
div& {
|
||||
left: -@input-padding-horizontal - 1px;
|
||||
margin-top: -@input-padding-vertical-base - 1px;
|
||||
// stylelint-disable-next-line function-calc-no-invalid
|
||||
margin-bottom: calc(1em - @input-padding-vertical-base - 2px);
|
||||
}
|
||||
|
||||
&-confirm {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
bottom: 8px;
|
||||
color: @text-color-secondary;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// Fix Editable Textarea flash in Firefox
|
||||
textarea {
|
||||
-moz-transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
// list
|
||||
ul,
|
||||
ol {
|
||||
margin: 0 0 1em 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
margin: 0 0 0 20px;
|
||||
padding: 0 0 0 4px;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: circle;
|
||||
|
||||
ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
// ============ Ellipsis ============
|
||||
&-ellipsis-single-line {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
// https://blog.csdn.net/iefreer/article/details/50421025
|
||||
span& {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
}
|
||||
|
||||
&-ellipsis-multiple-line {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
/*! autoprefixer: ignore next */
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
@import './rtl';
|
||||
48
web/node_modules/antd/lib/typography/style/rtl.less
generated
vendored
Normal file
48
web/node_modules/antd/lib/typography/style/rtl.less
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
|
||||
@typography-prefix-cls: ~'@{ant-prefix}-typography';
|
||||
|
||||
.@{typography-prefix-cls} {
|
||||
&-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
// Operation
|
||||
&-expand,
|
||||
&-edit,
|
||||
&-copy {
|
||||
.@{typography-prefix-cls}-rtl & {
|
||||
margin-right: 8px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Text input area
|
||||
&-edit-content {
|
||||
div& {
|
||||
&.@{typography-prefix-cls}-rtl {
|
||||
right: -@input-padding-horizontal - 1px;
|
||||
left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
&-confirm {
|
||||
.@{typography-prefix-cls}-rtl & {
|
||||
right: auto;
|
||||
left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// list
|
||||
ul,
|
||||
ol {
|
||||
li {
|
||||
.@{typography-prefix-cls}-rtl& {
|
||||
margin: 0 20px 0 0;
|
||||
padding: 0 4px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user