ten-design-vue
Version:
ten-vue
2,110 lines • 149 kB
CSS
/**
* 文字部分
* size 大小,line 行高, color 颜色
*/
/* button */
/* input */
/* transfer */
/* alert */
/* menu */
/* message */
/* modal */
/* badge */
/* tag */
/* progress */
/* popup */
/* tooltip */
/* loading */
/* tabs */
/* check */
/* mention */
/* popup */
/* steps */
/* tabs */
/* modal */
/* form */
/* table */
/* pagination */
/* upload */
/* collapse */
/* anchor */
/* list */
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
html {
line-height: 1.15;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0;
}
/**
* Add the correct display in IE 9-.
*/
article,
aside,
footer,
header,
nav,
section {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/
figcaption,
figure,
main {
/* 1 */
display: block;
}
/**
* Add the correct margin in IE 8.
*/
figure {
margin: 1em 40px;
}
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
white-space: pre-wrap;
}
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
background-color: transparent;
/* 1 */
-webkit-text-decoration-skip: objects;
/* 2 */
}
/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
/* 2 */
}
/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b,
strong {
font-weight: inherit;
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */
}
/**
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic;
}
/**
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
color: #000;
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio,
video {
display: inline-block;
}
/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Remove the border on images inside links in IE 10-.
*/
img {
border-style: none;
}
/**
* Hide the overflow in IE.
*/
svg:not(:root) {
overflow: hidden;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: sans-serif;
/* 1 */
font-size: 100%;
/* 1 */
line-height: 1.15;
/* 1 */
margin: 0;
/* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
/* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
/* 1 */
text-transform: none;
}
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
/* 2 */
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */
}
/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
display: inline-block;
/* 1 */
vertical-align: baseline;
/* 2 */
}
/**
* Remove the default vertical scrollbar in IE.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */
}
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/
details,
menu {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
display: inline-block;
}
/**
* Add the correct display in IE.
*/
template {
display: none;
}
/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[hidden] {
display: none;
}
body {
font-family: "PingFang SC", -apple-system, "Helvetica Neue", Helvetica, BlinkMacSystemFont, "Microsoft YaHei", tahoma, Arial, "Open Sans", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
font-size: 14px;
color: #333;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
ul,
dl,
li,
dd,
dt {
margin: 0;
padding: 0;
list-style: none;
}
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p {
margin: 0;
padding: 0;
}
[class^='ten'] a,
a[class^='ten'] {
text-decoration: none;
}
[class^='ten'] a:hover,
a[class^='ten']:hover,
[class^='ten'] a:active,
a[class^='ten']:active,
[class^='ten'] a:focus,
a[class^='ten']:focus {
text-decoration: none;
}
[class^='ten'],
[class^='ten'] * {
box-sizing: border-box;
font-family: "PingFang SC", -apple-system, "Helvetica Neue", Helvetica, BlinkMacSystemFont, "Microsoft YaHei", tahoma, Arial, "Open Sans", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
}
a.ten-primary-link {
color: #0052d9;
}
a.ten-primary-link:hover,
a.ten-primary-link:focus {
color: #4088ff;
}
a.ten-primary-link:active {
color: #002b73;
}
.ten-flow-in-enter,
.ten-flow-in-exiting,
.ten-flow-in-leave-to {
-webkit-transform: translateY(10px) scale(0.95);
transform: translateY(10px) scale(0.95);
opacity: 0;
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-flow-in-enter-to,
.ten-flow-in-entering,
.ten-flow-in-leave {
opacity: 1;
-webkit-transform: none;
transform: none;
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-flow-in-enter-active {
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-flow-in-leave-active {
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-fade-in-enter,
.ten-fade-in-exiting,
.ten-fade-in-leave-to {
opacity: 0;
transition: all 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-fade-in-enter-to,
.ten-fade-in-entering,
.ten-fade-in-leave {
opacity: 1;
transition: all 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-fade-in-enter-active {
transition: all 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-fade-in-leave-active {
transition: all 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-slide-down-enter-active,
.ten-slide-down-enter-active * {
transition: all 0.3s;
}
.ten-slide-down-leave-active,
.ten-slide-down-enter-active * {
transition: all 0.3s;
}
.ten-popup {
position: absolute;
z-index: 10001;
top: -1000px;
box-shadow: 6px 6px 12px 6px rgba(0, 0, 0, 0.08);
background: #fff;
padding: 0;
overflow: hidden;
border-radius: 0px;
}
.ten-popup--type-bubble {
background: none;
box-shadow: none;
overflow: visible;
}
.ten-popup--type-bubble > div {
position: relative;
z-index: 1;
padding: 16px;
color: #666;
background: #fff;
box-shadow: 6px 6px 12px 6px rgba(0, 0, 0, 0.08);
border-radius: 0px;
}
.ten-popup--type-bubble::after {
display: block;
content: '';
position: absolute;
z-index: 1;
border-color: #fff;
border-top: none;
border-right: none;
width: 16px;
height: 16px;
background-color: #fff;
}
.ten-popup--type-bubble[class*='--p-top-'] {
padding-bottom: 16px;
}
.ten-popup--type-bubble[class*='--p-top-']::after {
bottom: 8px;
}
.ten-popup--type-bubble[class*='--p-bottom-'] {
padding-top: 16px;
}
.ten-popup--type-bubble[class*='--p-bottom-']::after {
top: 8px;
}
.ten-popup--type-bubble[class*='--p-left-'] {
padding-right: 16px;
}
.ten-popup--type-bubble[class*='--p-left-']::after {
right: 8px;
}
.ten-popup--type-bubble[class*='--p-right-'] {
padding-left: 16px;
}
.ten-popup--type-bubble[class*='--p-right-']::after {
left: 8px;
}
.ten-popup--type-bubble[class*='--p-top-left']::after {
left: 24px;
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
.ten-popup--type-bubble[class*='--p-top-center']::after {
left: 50%;
-webkit-transform: translateX(-50%) rotate(135deg);
transform: translateX(-50%) rotate(135deg);
}
.ten-popup--type-bubble[class*='--p-top-right']::after {
right: 24px;
-webkit-transform: translateX(-50%) rotate(135deg);
transform: translateX(-50%) rotate(135deg);
}
.ten-popup--type-bubble[class*='--p-left-top']::after {
top: 24px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.ten-popup--type-bubble[class*='--p-left-center']::after {
top: 50%;
-webkit-transform: translateY(-50%) rotate(45deg);
transform: translateY(-50%) rotate(45deg);
}
.ten-popup--type-bubble[class*='--p-left-bottom']::after {
bottom: 24px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.ten-popup--type-bubble[class*='--p-right-top']::after {
top: 24px;
-webkit-transform: rotate(-135deg);
transform: rotate(-135deg);
}
.ten-popup--type-bubble[class*='--p-right-center']::after {
top: 50%;
-webkit-transform: translateY(-50%) rotate(-135deg);
transform: translateY(-50%) rotate(-135deg);
}
.ten-popup--type-bubble[class*='--p-right-bottom']::after {
bottom: 24px;
-webkit-transform: rotate(-135deg);
transform: rotate(-135deg);
}
.ten-popup--type-bubble[class*='--p-bottom-left']::after {
left: 16px;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.ten-popup--type-bubble[class*='--p-bottom-center']::after {
left: 50%;
-webkit-transform: translateX(-50%) rotate(-45deg);
transform: translateX(-50%) rotate(-45deg);
}
.ten-popup--type-bubble[class*='--p-bottom-right']::after {
right: 16px;
-webkit-transform: translateX(-50%) rotate(-45deg);
transform: translateX(-50%) rotate(-45deg);
}
.ten-flow-in__popup-enter,
.ten-flow-in__popup-exiting,
.ten-flow-in__popup-leave-to {
opacity: 0;
}
.ten-flow-in__popup-enter-to,
.ten-flow-in__popup-entering,
.ten-flow-in__popup-leave {
opacity: 1;
-webkit-transform: none;
transform: none;
}
.ten-flow-in__popup-enter-active {
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-flow-in__popup-leave-active {
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
[class*='ten-popup--p'].ten-flow-in__popup-entering,
[class*='ten-popup--p'].ten-flow-in__popup-exit,
[class*='ten-popup--p'].ten-flow-in__popup-exiting {
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
transition: opacity 0.3s cubic-bezier(0, 0.48, 0.33, 1), transform 0.3s cubic-bezier(0, 0.48, 0.33, 1), -webkit-transform 0.3s cubic-bezier(0, 0.48, 0.33, 1);
}
.ten-flow-in__popup-enter[class*='ten-popup--p-top-'],
.ten-flow-in__popup-exiting[class*='ten-popup--p-top-'],
.ten-flow-in__popup-leave-to[class*='ten-popup--p-top-'] {
-webkit-transform: translateY(10px);
transform: translateY(10px);
opacity: 0;
}
.ten-flow-in__popup-enter[class*='ten-popup--p-left-'],
.ten-flow-in__popup-exiting[class*='ten-popup--p-left-'],
.ten-flow-in__popup-leave-to[class*='ten-popup--p-left-'] {
-webkit-transform: translateX(10px);
transform: translateX(10px);
opacity: 0;
}
.ten-flow-in__popup-enter[class*='ten-popup--p-right-'],
.ten-flow-in__popup-exiting[class*='ten-popup--p-right-'],
.ten-flow-in__popup-leave-to[class*='ten-popup--p-right-'] {
-webkit-transform: translateX(-10px);
transform: translateX(-10px);
opacity: 0;
}
.ten-flow-in__popup-enter[class*='ten-popup--p-bottom-'],
.ten-flow-in__popup-exiting[class*='ten-popup--p-bottom-'],
.ten-flow-in__popup-leave-to[class*='ten-popup--p-bottom-'] {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
opacity: 0;
}
/* dependencies icon */
.ten-alert {
min-width: 630px;
display: block;
padding: 8px;
font-size: 14px;
line-height: 20px;
z-index: 999;
text-align: center;
color: #FFFFFF;
outline: none;
border: none;
position: relative;
border-radius: 0px;
}
.ten-alert .ten-icon {
vertical-align: middle;
margin-right: 12px;
font-size: 18px;
position: relative;
bottom: 1px;
}
.ten-alert .ten-alert__closeable__icon,
.ten-alert .ten-alert__closeable__content {
font-size: 14px;
float: right;
margin-top: 4px;
margin-right: 4px;
cursor: pointer;
z-index: 10;
}
.ten-alert .ten-alert__closeable__content {
font-size: 14px;
}
.ten-alert .ten-alert__closeable__content .ten-icon {
margin-right: 0;
}
.ten-alert .ten-alert__description {
opacity: 0.8;
font-size: 12px;
color: #FFFFFF;
line-height: 14px;
margin-top: 5px;
padding-left: 32px;
}
.ten-alert .ten-alert__message {
display: inline-block;
}
.ten-alert .ten-alert__message--noicon {
display: inline-block;
line-height: 24px;
}
.ten-alert .ten-alert__description--noicon {
padding-left: 0;
}
.ten-alert--info {
background: #c7ddf3;
color: #102C53;
}
.ten-alert--info .ten-icon {
color: #344f73;
}
.ten-alert--info .closeBtn {
color: rgba(16, 44, 83, 0.8);
}
.ten-alert--success {
background: #3ecc36;
}
.ten-alert--success .closeBtn {
opacity: 0.72;
}
.ten-alert--error {
background: #ff3e00;
}
.ten-alert--error .closeBtn {
opacity: 0.72;
}
.ten-alert--warn {
background: #FFF0CE;
color: #ffa700;
}
.ten-alert--warn .ten-icon {
color: #ffa700;
}
.ten-alert--warn .closeBtn {
color: #333;
opacity: 0.72;
}
.ten-alert--warn .ten-alert__description {
opacity: 0.6;
color: #010101;
}
.ten-alert--disabled {
background: #D8D8D8;
color: #102C53;
}
.ten-alert--disabled .ten-icon {
color: #6b6b6b;
}
.ten-alert--disabled .closeBtn {
color: #333;
opacity: 0.72;
}
.ten-alert--disabled .ten-alert__description {
opacity: 0.6;
color: #010101;
}
.ten-alert--hasclose {
text-align: left;
}
.ten-alert--noicon .ten-alert__message {
display: inline-block;
line-height: 24px;
}
.ten-alert--noicon .ten-alert__description {
padding-left: 0;
}
.ten-alert--fade-leave-active {
transition: opacity 0.3s;
}
.ten-alert--fade-leave-to {
opacity: 0;
}
/* dependencies icon */
.ten-badge {
display: inline-block;
}
.ten-badge .ten-badge__badge {
padding: 0px 5px;
line-height: 20px;
min-width: 20px;
font-size: 12px;
border-radius: 0px;
height: 20px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #fff;
white-space: nowrap;
text-align: center;
}
.ten-badge .ten-badge__badge--dot {
padding: 0;
width: 6px;
height: 6px;
min-width: auto;
border-radius: 100%;
font-size: 0;
}
.ten-badge .ten-badge__badge--round {
border-radius: 10px;
}
.ten-badge--pos-corner {
position: relative;
}
.ten-badge--pos-corner .ten-badge__badge {
position: absolute;
left: 100%;
top: 0;
-webkit-transform: translate(-8px, -50%);
transform: translate(-8px, -50%);
}
.ten-badge--pos-corner .ten-badge__badge--dot {
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.ten-badge--pos-normal {
display: inline-flex;
align-items: center;
}
.ten-badge--pos-normal .ten-badge__badge {
margin-left: 16px;
}
.ten-badge--theme-error .ten-badge__badge {
background: #ff3e00;
}
.ten-badge--theme-info .ten-badge__badge {
background: #0052d9;
}
.ten-badge--theme-success .ten-badge__badge {
background: #3ecc36;
}
.ten-badge--theme-warning .ten-badge__badge {
background: #ffa700;
}
.ten-badge--theme-disabled .ten-badge__badge {
background: #c0c0c0;
}
.ten-breadcrumb {
font-size: 14px;
line-height: 17px;
}
.ten-breadcrumb .ten-breadcrumb__separator {
display: inline-flex;
font-size: 18px;
margin: 0 5px;
color: #999;
}
.ten-breadcrumb .ten-breadcrumb__item {
display: inline-flex;
align-items: center;
}
.ten-breadcrumb .ten-breadcrumb__item .ten-breadcrumb__item__text {
cursor: pointer;
color: #999;
}
.ten-breadcrumb .ten-breadcrumb__item .ten-breadcrumb__item__text a {
color: #999;
}
.ten-breadcrumb .ten-breadcrumb__item .ten-breadcrumb__item__text:hover {
color: #0052d9;
}
.ten-breadcrumb .ten-breadcrumb__item .ten-breadcrumb__item__text:hover a {
color: #0052d9;
}
.ten-breadcrumb .ten-breadcrumb__item:last-child .ten-breadcrumb__item__text {
color: #333;
}
.ten-breadcrumb .ten-breadcrumb__item:last-child .ten-breadcrumb__separator {
display: none;
}
.ten-breadcrumb .ten-breadcrumb__last .ten-breadcrumb__item__text {
color: #333;
}
.ten-breadcrumb .ten-breadcrumb__last .ten-icon--carret_down {
display: inline-block;
}
.ten-breadcrumb .ten-breadcrumb__last:hover {
color: #0052d9;
}
.ten-breadcrumb .ten-breadcrumb__last:hover .ten-icon--carret_down {
color: #0052d9;
}
/* dependencies icon */
.ten-button {
display: inline-block;
position: relative;
white-space: nowrap;
text-align: center;
background-image: none;
border: 1px solid transparent;
cursor: pointer;
transition: all 0.3s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
touch-action: manipulation;
font-size: 14px;
line-height: 30px;
height: 32px;
border-radius: 0px;
color: #333;
border-color: #d9d9d9;
background-color: #fff;
outline: none;
-webkit-appearance: none;
}
.ten-button .ten-icon {
vertical-align: middle;
margin-top: -2px;
}
.ten-button > .ten-icon + span {
margin-left: 4px;
}
.ten-button > span + .ten-icon {
margin-left: 8px;
}
.ten-button + .ten-button {
margin-left: 10px;
}
.ten-button--size-default {
min-width: 64px;
padding: 0 16px;
line-height: 30px;
height: 32px;
border-radius: 0px;
font-size: 14px;
}
.ten-button--size-default .ten-icon {
font-size: 14px;
}
.ten-button--size-large {
min-width: 80px;
padding: 0 24px;
line-height: 38px;
height: 40px;
border-radius: 0px;
font-size: 16px;
}
.ten-button--size-large .ten-icon {
font-size: 16px;
}
.ten-button--size-small {
min-width: 64px;
padding: 0 16px;
line-height: 30px;
height: 32px;
border-radius: 0px;
font-size: 14px;
}
.ten-button--size-small .ten-icon {
font-size: 14px;
}
.ten-button--autowidth[class*='ten-button--size'] {
min-width: auto;
}
.ten-button--round.ten-button--size-default {
height: 32px;
border-radius: 16px;
}
.ten-button--round.ten-button--size-large {
height: 40px;
border-radius: 20px;
}
.ten-button--round.ten-button--size-small {
height: 32px;
border-radius: 16px;
}
.ten-button--notext {
min-width: initial;
padding-left: 0;
padding-right: 0;
}
.ten-button--notext.ten-button--size-default {
width: 32px;
}
.ten-button--notext.ten-button--size-large {
width: 40px;
}
.ten-button--notext.ten-button--size-small {
width: 32px;
}
.ten-button--type-primary {
color: #fff;
background-color: #0052d9;
border-color: #0052d9;
}
.ten-button--type-primary:hover,
.ten-button--type-primary:focus {
background-color: #4088ff;
border-color: #4088ff;
}
.ten-button--type-primary:active {
background-color: #002b73;
border-color: #002b73;
color: #cccccc;
}
.ten-button--type-primary.ten-button--disabled {
color: #fff;
background-color: #c0c0c0;
border-color: #c0c0c0;
}
.ten-button--type-default {
color: #666;
background-color: none;
border-color: #d9d9d9;
}
.ten-button--type-default:hover,
.ten-button--type-default:focus {
color: #0052d9;
border-color: #0052d9;
}
.ten-button--type-default:active {
color: #002b73;
border-color: #002b73;
}
.ten-button--type-default.ten-button--disabled {
color: #c0c0c0;
background-color: #f5f5f5;
border-color: #c0c0c0;
}
.ten-button--type-text {
background: transparent;
border-color: transparent;
min-width: auto;
color: #0052d9;
}
.ten-button--type-text:hover,
.ten-button--type-text:focus {
color: #4088ff;
}
.ten-button--type-text:active {
color: #002b73;
}
.ten-button--type-text.ten-button--disabled {
color: #c0c0c0;
}
.ten-button--type-defaulttext {
background: transparent;
border-color: transparent;
min-width: auto;
color: #666;
}
.ten-button--type-defaulttext:hover,
.ten-button--type-defaulttext:focus {
color: #333;
}
.ten-button--type-defaulttext:active {
color: #333;
}
.ten-button--type-defaulttext.ten-button--disabled {
color: #c0c0c0;
}
.ten-button--block.ten-button {
display: block;
width: 100%;
margin: 0;
}
.ten-button--block + .ten-button--block {
margin-top: 10px;
}
.ten-button--disabled {
text-shadow: none;
box-shadow: none;
cursor: not-allowed;
}
.ten-button-group {
display: inline-block;
font-size: 0;
}
.ten-button-group + .ten-button-group {
margin-left: 10px;
}
.ten-button-group .ten-button {
position: relative;
margin: 0;
min-width: initial;
border-radius: 0;
}
.ten-button-group .ten-button:hover,
.ten-button-group .ten-button:active,
.ten-button-group .ten-button:focus {
z-index: 2;
}
.ten-button-group .ten-button--type-primary {
z-index: 3;
}
.ten-button-group .ten-button:first-child.ten-button--size-default {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.ten-button-group .ten-button:first-child.ten-button--size-large {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.ten-button-group .ten-button:first-child.ten-button--size-small {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.ten-button-group .ten-button:last-child.ten-button--size-default {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.ten-button-group .ten-button:last-child.ten-button--size-large {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.ten-button-group .ten-button:last-child.ten-button--size-small {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.ten-button-group .ten-button + .ten-button {
margin-left: -1px;
}
.ten-button-group .ten-button--block:first-child.ten-button--size-default {
border-radius: 0px 0px 0 0;
}
.ten-button-group .ten-button--block:first-child.ten-button--size-large {
border-radius: 0px 0px 0 0;
}
.ten-button-group .ten-button--block:first-child.ten-button--size-small {
border-radius: 0px 0px 0 0;
}
.ten-button-group .ten-button--block:last-child.ten-button--size-default {
border-radius: 0 0 0px 0px;
}
.ten-button-group .ten-button--block:last-child.ten-button--size-large {
border-radius: 0 0 0px 0px;
}
.ten-button-group .ten-button--block:last-child.ten-button--size-small {
border-radius: 0 0 0px 0px;
}
.ten-button-group .ten-button--block + .ten-button--block {
margin-left: 0px;
margin-top: -1px;
}
.ten-checkbox + .ten-checkbox {
margin-left: 8px;
}
.ten-checkbox {
font-family: "PingFang SC", -apple-system, "Helvetica Neue", Helvetica, BlinkMacSystemFont, "Microsoft YaHei", tahoma, Arial, "Open Sans", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
line-height: 16px;
cursor: pointer;
}
.ten-checkbox * {
box-sizing: border-box;
}
.ten-checkbox__checkbox {
position: relative;
top: -0.09em;
display: inline-block;
width: 16px;
height: 16px;
transition: border-color 0.3s;
vertical-align: middle;
color: #333;
}
.ten-checkbox__checkbox input {
cursor: pointer;
position: absolute;
z-index: 9999;
left: 0;
top: 0;
margin: 0;
width: 100%;
height: 100%;
opacity: 0;
}
.ten-checkbox__checkbox-inner {
position: relative;
top: 0;
left: 0;
display: block;
width: inherit;
height: inherit;
background-color: #fff;
border: 1px solid #d9d9d9;
border-collapse: separate;
transition: all 0.3s;
}
.ten-checkbox__checkbox-inner::after {
opacity: 0;
top: 50%;
left: 18.5%;
width: 4px;
height: 8px;
position: absolute;
display: inline-block;
border: 2px solid #fff;
border-top: 0;
border-left: 0;
-webkit-transform: rotate(45deg) scale(1) translate(-50%, -50%);
transform: rotate(45deg) scale(1) translate(-50%, -50%);
transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
transition: all 0.2s 0.1s;
content: ' ';
}
.ten-checkbox__checkbox + span {
padding-right: 6px;
padding-left: 8px;
}
.ten-checkbox__checkbox input:checked + span {
border-color: #0052d9;
background: #0052d9;
}
.ten-checkbox__checkbox input:checked + span::after {
opacity: 1;
}
.ten-checkbox__checkbox input[indeterminate] + span,
.ten-checkbox__checkbox input[indeterminate] + span {
border-color: #0052d9;
background: #0052d9;
}
.ten-checkbox__checkbox input[indeterminate] + span::after,
.ten-checkbox__checkbox input[indeterminate] + span::after {
width: 8px;
height: 0px;
left: 50%;
-webkit-transform: translate(-50%, -50%) scale(1);
transform: translate(-50%, -50%) scale(1);
background: #fff;
opacity: 1;
transition: all 0.2s 0.1s;
}
.ten-checkbox--checked .ten-checkbox__checkbox-inner {
border-color: #0052d9;
background: #0052d9;
}
.ten-checkbox--checked .ten-checkbox__checkbox-inner::after {
opacity: 1;
}
.ten-checkbox--indeterminate .ten-checkbox__checkbox-inner {
border-color: #0052d9;
background: #0052d9;
}
.ten-checkbox--indeterminate .ten-checkbox__checkbox-inner::after {
width: 8px;
height: 0px;
left: 50%;
-webkit-transform: translate(-50%, -50%) scale(1);
transform: translate(-50%, -50%) scale(1);
background: #fff;
opacity: 1;
transition: all 0.2s 0.1s;
}
.ten-checkbox--focus .ten-checkbox__checkbox-inner,
.ten-checkbox:hover .ten-checkbox__checkbox-inner {
border-color: #6697e8;
}
.ten-checkbox--disabled {
color: #c0c0c0;
}
.ten-checkbox--disabled .ten-checkbox__checkbox-inner {
border-color: #c0c0c0 !important;
background-color: #f5f5f5;
}
.ten-checkbox--disabled .ten-checkbox__checkbox-inner::after {
border-color: rgba(0, 0, 0, 0.25);
}
.ten-checkbox--disabled .ten-checkbox__checkbox input,
.ten-checkbox--disabled .ten-checkbox__checkbox + span {
cursor: not-allowed;
}
.ten-checkbox--disabled input:checked + span,
.ten-checkbox--disabled input[indeterminate] + span {
border-color: #c0c0c0 !important;
background-color: #f5f5f5;
}
.ten-checkbox--disabled input:checked + span::after,
.ten-checkbox--disabled input[indeterminate] + span::after {
border-color: rgba(0, 0, 0, 0.25);
}
/* dependencies input,icon,loading,radio,checkbox */
.ten-cascader-panel {
display: flex;
}
.ten-cascader-menu {
min-width: 150px;
}
.ten-cascader-menu + .ten-cascader-menu {
border-left: 1px solid #e8e8e8;
}
.ten-cascader-menu__title {
color: #999;
font-size: 14px;
font-weight: normal;
padding: 6px 8px;
padding-top: 16px;
}
.ten-options {
position: relative;
max-height: 400px;
overflow-y: auto;
outline: none;
}
.ten-options--loading {
min-height: 100px;
}
.ten-options__empty {
text-align: center;
color: #999;
line-height: 48px;
}
.ten-option {
display: flex;
align-items: center;
padding: 14px 10px;
line-height: 20px;
cursor: pointer;
}
.ten-option__check {
margin-left: 0;
margin-right: 8px;
}
.ten-option__content {
flex: 1;
}
.ten-option__suffix-icon.ten-icon {
color: #999;
}
.ten-option--selected,
.ten-option--selected .ten-option__suffix-icon.ten-icon {
color: #0052d9;
}
.ten-option--active,
.ten-option--active .ten-option__suffix-icon.ten-icon {
color: #0052d9;
}
.ten-option:hover:not(.ten-option--disabled),
.ten-option:focus:not(.ten-option--disabled),
.ten-option.ten-option--focused:not(.ten-option--disabled) {
background: #e8f1ff;
}
.ten-option--disabled,
.ten-option--disabled,
.ten-option--disabled .ten-option__suffix-icon.ten-icon {
color: #c0c0c0;
cursor: not-allowed;
}
/* dependencies button,icon,select */
.ten-picker {
padding: 0;
}
.ten-picker__input {
min-width: 304px;
display: inline-flex;
border: 1px solid #d9d9d9;
background: #fff;
border-radius: 0px;
width: 100%;
}
.ten-picker__input:hover:not(.ten-picker__input--disabled),
.ten-picker__input--focused:not(.ten-picker__input--disabled) {
z-index: 1;
border-color: #0052d9;
}
.ten-picker__input:hover:not(.ten-picker__input--disabled) .ten-picker__input-icon:not(.ten-picker__input-icon--clear),
.ten-picker__input--focused:not(.ten-picker__input--disabled) .ten-picker__input-icon:not(.ten-picker__input-icon--clear) {
color: #0052d9;
}
.ten-picker__input--disabled {
background: #fbfbfb;
border-color: #c0c0c0;
cursor: not-allowed;
}
.ten-picker__input--readonly {
cursor: default;
}
.ten-picker__input--readonly:focus {
z-index: 1;
border-color: #0052d9;
}
.ten-picker__input--error {
border-color: #ff3e00;
}
.ten-picker__input:not(.ten-picker__input--empty):hover.ten-picker__input:not(.ten-picker__input--disabled):hover.ten-picker__input:not(.ten-picker__input--readonly):hover:not(.ten-picker__input--no-clear):hover .ten-picker__input-icon--suffix {
visibility: hidden;
}
.ten-picker__input:not(.ten-picker__input--empty):hover.ten-picker__input:not(.ten-picker__input--disabled):hover.ten-picker__input:not(.ten-picker__input--readonly):hover:not(.ten-picker__input--no-clear):hover .ten-picker__input-icon--clear {
visibility: visible;
}
.ten-picker__input .ten-input__input {
border: none;
}
.ten-picker__input-separator {
padding: 0 10px;
line-height: 30px;
}
.ten-picker__input-suffixicon {
position: relative;
min-width: 24px;
margin: 0 8px;
}
.ten-picker__input-icon {
position: absolute;
height: 30px;
line-height: 30px;
font-size: 0;
color: #bfbfbf;
}
.ten-picker__input-icon .ten-icon {
font-size: 20px;
vertical-align: middle;
}
.ten-picker__input-icon--suffix .ten-icon {
font-size: 20px;
}
.ten-picker__input-icon--clear {
visibility: hidden;
cursor: pointer;
}
.ten-picker__input-icon--clear:hover {
color: #0052d9;
}
.ten-picker__input--size-small {
border-radius: 0px;
}
.ten-picker__input--size-small .ten-picker__input-icon,
.ten-picker__input--size-small .ten-picker__input-separator {
height: 30px;
line-height: 30px;
}
.ten-picker__popup {
display: flex;
}
.ten-picker__popup-shortcut {
width: 101px;
padding: 6px 0 6px 16px ;
border-right: 1px solid #e8e8e8;
}
.ten-picker__popup-shortcut-btn {
display: block;
color: #000;
padding: 0;
}
.ten-picker__popup-shortcut-btn + .ten-button {
margin-left: 0;
}
.ten-picker__popup-shortcut-btn:hover {
color: #4088ff;
}
.ten-picker-datetime-range {
min-width: 408px;
}
.ten-time-options {
height: 240px;
padding-bottom: 201px;
overflow-y: hidden;
overflow-x: hidden;
font-size: 14px;
}
.ten-time-options:hover {
overflow-y: auto;
}
.ten-time-options--scrolling {
overflow-y: hidden;
}
.ten-time-options__item {
display: block;
height: 40px;
line-height: 40px;
text-align: center;
cursor: pointer;
}
.ten-time-options__item:hover {
background: #e8f1ff;
}
.ten-time-options__item--selected {
font-weight: bold;
background: #FBFBFB;
border-top: 1px solid #e8e8e8;
border-bottom: 1px solid #e8e8e8;
}
.ten-time-options__item--selected:hover {
background: #FBFBFB;
}
.ten-time-options__item--disabled,
.ten-time-options__item--disabled:hover {
background: transparent;
color: #c0c0c0;
cursor: not-allowed;
}
.ten-date-item {
color: #000;
}
.ten-date-item__wrapper {
display: inline-block;
height: 24px;
width: 24px;
line-height: 24px;
box-sizing: content-box;
border-left: 6px solid #fff;
border-right: 6px solid #fff;
text-align: center;
cursor: pointer;
}
.ten-date-item__wrapper:hover {
background-color: #e8f1ff;
}
.ten-date-item__text {
font-size: 14px;
}
.ten-date-item--now .ten-date-item__wrapper {
box-shadow: inset 0px 0px 0px 1px #0052d9;
color: #0052d9;
}
.ten-date-item--highlight .ten-date-item__wrapper {
background-color: #e8f1ff;
border-color: #e8f1ff;
}
.ten-date-item--active .ten-date-item__wrapper {
color: #fff;
background-color: #0052d9;
}
.ten-date-item--active-start .ten-date-item__wrapper {
border-left-color: #fff;
}
.ten-date-item--active-end .ten-date-item__wrapper {
border-right-color: #fff;
}
.ten-date-item--last-day-of-month .ten-date-item__wrapper {
border-right-color: #fff;
}
.ten-date-item--first-day-of-month .ten-date-item__wrapper {
border-left-color: #fff;
}
.ten-date-item--additional .ten-date-item__wrapper {
color: #BFBFBF;
background: #fff;
border-color: #fff;
}
.ten-date-item--disabled .ten-date-item__wrapper {
cursor: not-allowed;
background: #f5f5f5;
border-color: #f5f5f5;
color: #c0c0c0;
}
.ten-date-day tbody tr .ten-date-item__wrapper,
.ten-date-date tbody tr .ten-date-item__wrapper {
margin-top: 8px;
}
.ten-date-day tbody tr:first-child .ten-date-item__wrapper,
.ten-date-date tbody tr:first-child .ten-date-item__wrapper {
margin-top: 6px;
}
.ten-date-year tbody tr .ten-date-item__wrapper,
.ten-date-month tbody tr .ten-date-item__wrapper {
margin-top: 28px;
width: 38px;
border-left-width: 22px;
border-right-width: 22px;
}
.ten-date-year tbody tr:first-child .ten-date-item__wrapper,
.ten-date-month tbody tr:first-child .ten-date-item__wrapper {
margin-top: 24px;
}
.ten-date-year tbody tr:last-child .ten-date-item,
.ten-date-month tbody tr:last-child .ten-date-item {
text-align: left;
}
.ten-time {
display: flex;
}
.ten-time__item {
min-width: 56px;
border-right: 1px solid #e8e8e8;
}
.ten-time__item:last-child {
border-right: none;
}
.ten-time-range {
display: flex;
}
.ten-time-range .ten-time:first-child {
border-right: 1px solid #e8e8e8;
}
.ten-date {
width: 304px;
padding: 11px 16px 22px;
}
.ten-date table {
border-collapse: collapse;
border: none;
margin: auto;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ten-date tbody {
margin-top: 2px;
}
.ten-date th {
border-bottom: 1px solid #d9d9d9;
padding: 7px 0;
margin-bottom: 5px;
font-weight: 500;
}
.ten-date td {
padding: 0;
text-align: center;
border: none;
}
.ten-date td:first-child .ten-date-item__wrapper {
border-left: none;
}
.ten-date td:last-child .ten-date-item__wrapper {
border-right: none;
}
.ten-date__sub-panel--hide {
display: none;
}
.ten-date .ten-date-header {
display: flex;
}
.ten-date .ten-date-header__text {
flex: 1;
justify-content: center;
display: flex;
align-items: center;
}
.ten-date .ten-date-header__text .ten-date-header__btn {
color: #000;
}
.ten-date .ten-date-header__text .ten-date-header__btn:hover {
color: #4088ff;
}
.ten-date .ten-date-header__btn {
padding: 0;
color: #bfbfbf;
}
.ten-date .ten-date-header__btn--prev-month,
.ten-date .ten-date-header__btn--next-year {
margin-left: 4px!important;
}
.ten-date .ten-date-header__btn--next-year {
-webkit-transform-origin: center 17px;
transform-origin: center 17px;
}
.ten-date .ten-date-header__btn--disabled {
display: none;
}
.ten-date-range {
width: 608px;
overflow: hidden;
display: flex;
}
.ten-date-range .ten-date:first-child {
border-right: 1px solid #e8e8e8;
}
.ten-date-time {
width: 304px;
}
.ten-date-time .ten-time,
.ten-date-time .ten-time__item {
flex: 1;
}
.ten-date-time .ten-time__item:hover {
flex: none;
}
.ten-date-time__time-header {
display: flex;
height: 51px;
line-height: 50px;
border-bottom: 1px solid #e8e8e8;
}
.ten-date-time__time-header-date {
flex: 1;
text-align: center;
}
.ten-date-time__time-header-date:first-child {
border-right: 1px solid #e8e8e8;
}
.ten-date-time__footer {
border-top: 1px solid #e8e8e8;
zoom: 1;
}
.ten-date-time__footer:before,
.ten-date-time__footer:after {
content: " ";
display: table;
}
.ten-date-time__footer:after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
.ten-date-time__footer-btn {
float: right;
}
.ten-date-time-range {
width: 608px;
}
/* dependencies popup */
.ten-dropdown {
box-shadow: 6px 6px 12px 6px rgba(0, 0, 0, 0.08);
max-height: 400px;
overflow-y: auto;
background: #fff;
}
.ten-dropdown.ten-popup {
padding: 0;
}
.ten-dropdown__content--align-center {
text-align: center;
}
.ten-dropdown__content--align-right {
text-align: right;
}
.ten-dropdown__content-item {
padding: 13px 10px;
line-height: 22px;
cursor: pointer;
outline: none;
}
.ten-dropdown__content-item--selected {
color: #0052d9;
}
.ten-dropdown__content-item--divided {
border-top: 1px solid #e8e8e8;
}
.ten-dropdown__content-item--disabled {
color: #c0c0c0;
cursor: not-allowed;
}
.ten-dropdown__content-item:hover:not(.ten-dropdown__content-item--disabled),
.ten-dropdown__content-item:focus:not(.ten-dropdown__content-item--disabled) {
background: #e8f1ff;
}
.ten-icon {
display: inline-block;
color: inherit;
font-size: inherit;
text-align: center;
}
.ten-icon svg {
display: block;
width: 1em;
height: 1em;
}
.ten-icon[class*='loading_gradient'] {
-webkit-animation: icon-loading-rotate 1.5s linear infinite;
animation: icon-loading-rotate 1.5s linear infinite;
}
@-webkit-keyframes icon-loading-rotate {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes icon-loading-rotate {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/* dependencies icon */
.ten-input {
position: relative;
display: inline-flex;
align-items: center;
vertical-align: middle;
width: 100%;
}
.ten-input__input {
flex: 1;
display: flex;
border: 1px solid #d9d9d9;
background: #fff;
overflow: hidden;
}
.ten-input__input-icon,
.ten-input__input-prefix,
.ten-input__input-suffix {
display: inline-block;
flex: none;
max-width: 100%;
}
.ten-input__input-input {
flex: 1;
width: 0;
display: inline-block;
max-width: 100%;
background-color: transparent;
color: #333;
border: none;
outline: none;
}
.ten-input__input-input::-webkit-outer-spin-button,
.ten-input__input-input::-webkit-inner-spin-button {
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance: none;
margin: 0;
/* <-- Apparently some margin are still there even though it's hidden */
}
.ten-input__input-input[type='number'] {
-moz-appearance: textfield;
/* Firefox */
}
.ten-input__input-input::-moz-placeholder {
color: #999;
opacity: 1;
}
.ten-input__input-input:-ms-input-placeholder {
color: #999;
}
.ten-input__input-input::-webkit-input-placeholder {
color: #999;
}
.ten-input__input-input[readonly] {
cursor: default;
}
.ten-input__input-input[disabled],
.ten-input__input-input[disabled]:hover,
.ten-input__input-input[disabled]:focus,
.ten-input__input-input[disabled]:active {
background: #fbfbfb;
color: #c0c0c0;
cursor: not-allowed;
}
.ten-input:not(.ten-input-tag) .ten-input__input--suffixicon .ten-input__input-input {
padding-right: 0 !important;
}
.ten-input__input-icon {
box-sizing: content-box;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #bfbfbf;
}
.ten-input__input-icon .ten-icon {
display: block;
}
.ten-input__input-close {
cursor: pointer;
outline: none;
color: #bfbfbf;
}
.ten-input__prefix,
.ten-input__suffix {
flex: none;
padding: 0px 18px;
height: 32px;
font-size: 14px;
line-height: 32px;
background: #f7f7f7;
border: 1px solid #d9d9d9;
text-align: center;
}
.ten-input__prefix {
border-right: none;
}
.ten-input__suffix {
border-left: none;
}
.ten-input--size-default .ten-input__input {
min-height: 30px;
line-height: 30px;
border-radius: 0px;
}
.ten-input--size-default .ten-input__input-input {
padding: 5px 8px;
font-size: 14px;
line-height: 20px;
}
.ten-input--size-default .ten-input__input-icon {
text-align: center;
font-size: 18px;
line-height: 30px;
height: 30px;
}
.ten-input--size-default .ten-input__input-icon--prefix {
padding-right: 3px;
padding-left: 11px;
}
.ten-input--size-default .ten-input__input-icon--suffix {
padding-left: 3px;
padding-right: 11px;
}
.ten-input--size-default .ten-input__prefix,
.ten-input--size-default .ten-input__suffix {
height: 32px;
line-height: 32px;
}
.ten-input--size-small .ten-input__input {
line-height: 30px;
border-radius: 0px;
}
.ten-input--size-small .ten-input__input-input {
padding: 5px 8px;
font-size: 14px;
line-height: 20px;
}
.ten-input--size-small .ten-input__input-icon {
text-align: center;
font-size: 18px;
line-height: 30px;
height: 30px;
}
.ten-input--size-small .ten-input__input-icon--prefix {
padding-right: 3px;
padding-left: 10px;
}
.ten-input--size-small .ten-input__input-icon--suffix {
padding-left: 3px;
padding-right: 10px;
}
.ten-input--size-small .ten-input__prefix,
.ten-input--size-small .ten-input__suffix {
height: 32px;
line-height: 32px;
}
.ten-input .ten-input__input--focused:not(.ten-input__input--disabled),
.ten-input .ten-input__input:not(.ten-input__input--disabled):hover {
z-index: 1;
border-color: #0052d9;
}
.ten-input .ten-input__input--focused:not(.ten-input__input--disabled) .ten-input .ten-input__input-icon,
.ten-input .ten-input__input:not(.ten-input__input--disabled):hover .ten-input .ten-input__input-icon {
color: #0052d9;
}
.ten-input--disabled {
cursor: not-allowed;
}
.ten-input--disabled .ten-input__input {
background: #fbfbfb;
border-color: #c0c0c0;
color: #c0c0c0;
cursor: not-allowed;
}
.ten-input--disabled .ten-input__prefix,
.ten-input--disabled .ten-input__suffix {
border-color: #c0c0c0;
}
.ten-input--status-error .ten-input__input {
border-color: #ff3e00;
}
.ten-input--with-suffix .ten-input__input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.ten-input--with-suffix .ten-input__suffix {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.ten-input--with-suffix.ten-input--size-small .ten-input__suffix {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.ten-input--with-prefix .ten-input__input {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.ten-input--with-prefix .ten-input__prefix {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.ten-input--with-prefix.ten-input--size-small .ten-input__prefix {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.ten-input-number__action {
height: 100%;
top: 1px;
right: 1px;
width: 24px;
}
.ten-input-number__action-up,
.ten-input-number__action-down {
position: relative;
display: block;
-webkit-appearance: none;
border: 1px solid #d9d9d9;
border-right: none;
background: #fff;
width: 100%;
height: 15px;
overflow: hidden;
outline: none;
color: transparent;
cursor: pointer;
}
.ten-input-number__action-up:after,
.ten-input-number__action-down:after {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.ten-input-number__action-up {
border-top-color: transparent;
border-bottom: none;
}
.ten-input-number__action-up:after {
content: '';
display: block;
width: 0;
height: 0;
-moz-transform: scale(0.9999);
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 6px solid #9d9d9d;
}
.ten-input-number__action .ten-input-number__action-up:hover:not(.ten-input-number__action--disabled)::after,
.ten-input-number__action .ten-input-number__action-up:active:after {
border-bottom-color: #0052d9;
}
.ten-input-number__action-down {
border-bottom-color: transparent;
}
.ten-input-number__action-down:after {
content: '';
display: block;
width: 0;
height: 0;
-moz-transform: scale(0.9999);
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #9d9d9d;
}
.ten-input-number__action .ten-input-number__action-down:hover:not(.ten-input-number__action--disabled)::after,
.ten-input-number__action .ten-input-number__action-down:active:after {
border-top-color: #0052d9;
}
.ten-input-number__action .ten-input-number__action--disabled.ten-input-number__action-up:after {
border-bottom-color: #c0c0c0;
}
.ten-input-number__action .ten-input-number__action--disabled.ten-input-number__action-bottom:after {
border-top-color: #c0c0c0;
}
span.ten-input-number__action--disabled {
background-color: #f5f5f5;
cursor: not-allowed;
pointer-events: none;
}
.ten-input-number.ten-input--disabled .ten-input-number__action {
opacity: 0;
pointer-events: none;
}
.ten-input-number.ten-input--size-smal