UNPKG

ten-design-vue

Version:

ten-vue

608 lines (607 loc) 11.9 kB
/** * 文字部分 * 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 */ .demo-alert .ten-alert { width: 630px; margin-bottom: 20px; } .demo-animate-list { margin-top: 20px; } .demo-animate-list > div { display: inline-block; margin: 5px; vertical-align: top; } .demo-animate-list > div div { background: #0052d9; } .demo-animate-listitem { width: 80px; height: 80px; text-align: center; font-size: 30px; line-height: 80px; color: #fff; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background: #0052d9; } .demo-animate-class-enter { opacity: 0; -webkit-transform: translateX(100px) rotate(180deg); transform: translateX(100px) rotate(180deg); } .demo-animate-class-entering, .demo-animate-class-enter-active { opacity: 1; -webkit-transform: none; transform: none; transition: all 0.3s; } .demo-animate-class-exit, .demo-animate-class-leave { opacity: 1; -webkit-transform: translateX(0) rotate(0); transform: translateX(0) rotate(0); } .demo-animate-class-exiting, .demo-animate-class-leave-active { opacity: 0; -webkit-transform: translateX(100px) rotate(180deg); transform: translateX(100px) rotate(180deg); transition: all 0.3s; } .demo-badge .ten-badge { margin-right: 50px; } .demo-badge .ten-badge .ten-icon { font-size: 24px; display: inline-block; color: #0052d9; } .demo-badge .badge-box { display: flex; align-items: center; } .demo-badge .badge-box:not(:last-child) { margin-bottom: 30px; } .demo-button-col { display: inline-block; width: 170px; } .demo-button-col .ten-button + .ten-button { margin-left: 0!important; margin-top: 10px; } .demo-button-row + .demo-button-row { margin-top: 10px; } .demo-button-group-base > div { margin-top: 10px; } .demo-button-icon .demo-button-col { width: 130px; } /* dependencies input,icon,loading,popup */ .demo-cascader .ten-input { max-width: 497px; } .demo-cascader .ten-input + .ten-input { margin-top: 10px; } .demo-dropdown .demo-dropdown-trigger { padding: 10px; cursor: pointer; color: #666; } .demo-dropdown-trigger-type .demo-dropdown-trigger { margin-right: 50px; } .demo-item-click .ten-dropdown-item { text-align: center; } .demo-icon .demo-icon-iconbox { display: inline-block; width: 90px; height: 90px; text-align: center; } .demo-icon .demo-icon-iconbox .ten-icon { color: inherit; font-size: 28px; cursor: pointer; } .demo-icon .demo-icon-iconbox p { margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .demo-input .demo-input-base, .demo-input-group .demo-input-base { width: 497px; } .demo-input .demo-input-base .ten-input + .ten-input, .demo-input-group .demo-input-base .ten-input + .ten-input { margin-top: 10px; } .demo-input .demo-input-number .ten-input, .demo-input-group .demo-input-number .ten-input { width: 88px; } .demo-input .demo-input-number .ten-input + .ten-input, .demo-input-group .demo-input-number .ten-input + .ten-input { margin-left: 10px; } .demo-input .demo-input-group, .demo-input-group .demo-input-group { width: 497px; } .demo-input .demo-input-group + .demo-input-group, .demo-input-group .demo-input-group + .demo-input-group { margin-top: 10px; } .input-base .ten-input { width: 100%; margin-top: 10px; } .demo-input-number .ten-input { width: 88px; } .demo-input-number .ten-input + .ten-input { margin-left: 10px; } .demo-input-textarea .demo-input-base { width: 497px; } .demo-input-textarea .demo-input-base .ten-input + .ten-input { margin-top: 10px; } .demo-loading .list-container { overflow: hidden; } .demo-loading .list-container ul { background: #fff; } .demo-loading .list-container li { height: 50px; line-height: 50px; padding: 0 20px; } .demo-loading .list-container li + li { border-top: 1px solid #e8e8e8; } .demo-menu-bg { background-color: #eee; outline: 1px solid #d9d9d9; } .demo-menu-bg--ghost { background: #0052d9; color: #fff; } .demo-menu-bg--horizontal { display: flex; } .demo-menu-box { display: flex; } .demo-menu-box__side { flex: none; } .demo-menu-box__content { flex: 1; overflow: hidden; } .demo-menu__header { display: flex; align-items: center; height: 72px; padding: 0 25px; border-bottom: #F0F0F0 1px dashed; margin-bottom: 24px; } .demo-menu__header--inline { min-width: 100%; justify-content: center; } .demo-menu__header--inline .ten-icon { font-size: 20px; } .demo-menu .ten-menu--vertical { min-height: 600px; height: 500px; } .demo-menu-horizontalheader { padding: 0 20px; border-right: #F0F0F0 1px dashed; } .demo-menu-right { flex: 1; } .demo-menu .demo-menu-table { display: flex; width: 100%; } .demo-menu .demo-menu-table .ten-menu { flex: none; } .demo-menu .demo-menu-table__table { flex: 1; } .demo-popup-content { width: 200px; } .demo-popup-content ul li { padding: 10px; } .demo-popup-direction .ten-button { width: 140px; } .demo-popup-direction .demo-popup-direction__row + .demo-popup-direction__row .ten-button { margin-top: 40px; } .demo-popup-direction .ten-button + .ten-button { margin-left: 60px; } .demo-popup-content-direction .ten-button { width: 140px; } .demo-popup-content-direction .demo-popup-content-direction__row + .demo-popup-content-direction__row .ten-button { margin-top: 40px; } .demo-popup-content-direction .ten-button + .ten-button { margin-left: 60px; } .demo-progress .ten-progress { margin: 20px 20px 0 0; } .demo-row .ten-row + .ten-row { margin-top: 10px; } .demo-row .ten-col:after { display: block; content: ''; height: 36px; margin: 10px 0; background: #e8f1ff; } .demo-select .demo-select-box { width: 497px; max-width: 100%; } .demo-select .demo-select-box .ten-select + .ten-select { margin-top: 10px; } .docs-select-box { width: 497px; max-width: 100%; } .docs-select-box .ten-select { margin: 10px 0; } .demo-slider .ten-slider { margin-bottom: 30px; } .demo-steps .ten-progress { margin: 20px 20px 0 0; } .demo-switch .switchbox { display: flex; align-items: center; } .demo-switch .switchbox .ten-switch { margin-right: 30px; } .switch-box { display: flex; align-items: center; } .switch-box .ten-switch { margin-right: 30px; } .demo-time-picker .ten-time-picker { width: 250px; } .demo-tooltip-direction .ten-button { width: 140px; } .demo-tooltip-direction .demo-tooltip-direction__row + .demo-tooltip-direction__row .ten-button { margin-top: 40px; } .demo-tooltip-direction .ten-button + .ten-button { margin-left: 60px; } .demo-tooltip-content-direction .ten-button { width: 140px; } .demo-tooltip-content-direction .demo-tooltip-content-direction__row + .demo-tooltip-content-direction__row .ten-button { margin-top: 40px; } .demo-tooltip-content-direction .ten-button + .ten-button { margin-left: 60px; } .demo-form-col input.ten-input__input-input { width: 300px; } .demo-form-box { width: 500px; } .grid-base .ten-col::after { content: ''; display: block; height: 36px; margin: 10px 0; background: #EDF3FC; } .grid-col .ten-col::after { content: ''; display: block; height: 36px; margin: 10px 0; background: #EDF3FC; } .grid-response .ten-col::after { content: ''; display: block; height: 36px; margin: 10px 0; background: #EDF3FC; } .demo-upload .demo-upload-row { display: flex; } .demo-upload .demo-upload-row > span { color: #999; margin-left: 10px; line-height: 40px; } .demo-upload__dropbox { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 1px dashed #d9d9d9; width: 320px; height: 192px; } .demo-table .ten-button { padding: 0; } .demo-table .ten-table { margin-bottom: 40px; } .demo-table-head .ten-button, .demo-table-select .ten-button { margin-bottom: 10px; } .demo-tree-select .ten-input { width: 497px; } .demo-date-picker .ten-date-picker { width: 350px; } .demo-date-picker-mode .text, .demo-date-picker-min-max .text { display: block; margin: 10px 0; } .demo-collapse-icon { font-size: 20px; vertical-align: middle; } .demo-drawer-group { padding-bottom: 20px; } .demo-drawer-group .ten-switch { vertical-align: middle; } .demo-drawer-group > span { display: inline-block; margin-right: 20px; line-height: 30px; vertical-align: middle; } .demo-auto-complete .ten-auto-complete { width: 300px; } .demo-calendar .content { min-height: 100%; } .demo-calendar .message { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; color: #666; font-size: 14px; } .demo-calendar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; } .demo-calendar .dot.info { background: #0052d9; } .demo-calendar .dot.warn { background: #ffa700; } .demo-affix .affix-content-body { height: 1000px; } .demo-affix .affix-content { padding-top: 50px; height: 200px; overflow: auto; } .demo-affix .affix-custom-class { z-index: 1; } .container__demo { overflow: hidden; background-color: #F6F6F6; height: 400px; margin-bottom: 20px; } .container__demo:last-child { margin-bottom: 0; } .container__demo .ten-aside { background-color: #FFFFFF; box-shadow: 3px 3px 8px 2px rgba(216, 216, 216, 0.5); color: #000000; display: flex; flex-direction: column; z-index: 1; } .container__demo .ten-aside--right { background-color: #E8E8E8; box-shadow: none; } .container__demo .ten-aside .aside-logo { height: 72px; padding: 24px; border-bottom: 1px solid #F0F0F0; color: #0052D9; font-weight: 500; } .container__demo .ten-aside p { flex: 1; display: flex; align-items: center; justify-content: center; } .container__demo .ten-main { display: flex; align-items: center; justify-content: center; color: #000000; } .container__demo .ten-header { background-color: #0052D9; color: #FFFFFF; } .container__demo .ten-header .header-logo { height: 72px; padding: 24px; color: #FFFFFF; font-weight: 500; } .container__demo .ten-footer { background-color: #FFFFFF; } .demo-image__wrapper { padding: 0 40px; display: flex; justify-content: space-between; align-items: center; } .demo-image__item { color: rgba(0, 0, 0, 0.4); text-align: center; } .demo-image__item p { padding: 10px 0; } .demo-image__item--custom { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: #F5F5F5; color: #C0C0C0; } .demo-image__item--custom .ten-icon { font-size: 40px; } .demo-image-viewer__wrapper { display: flex; justify-content: center; align-items: center; } .demo-image-viewer__item { width: 60px; height: 60px; margin-right: 16px; } .demo-image-viewer__item--preview { width: 32px; height: 32px; margin-right: 8px; } .demo-image-viewer__item:last-child { margin-right: 0; } .demo-divider-example > p { line-height: 1.6; } .demo-divider-example:not(:last-child) { margin-bottom: 20px; } .demo-divider-example .demo-divider-vertical span { display: inline-block; line-height: 40px; font-size: 16px; } .demo-infinite-list { height: 300px; text-align: center; } .demo-infinite-list-item { margin-bottom: 10px; height: 32px; line-height: 32px; font-size: 14px; text-align: center; background-color: #eee; } .no-ani * { transition: none !important; } .spfx-demo-title { margin: 15px 0; font-size: 14px; } .spfx-demo-tip { color: #666; margin: 10px; } .no-ani * { transition: none!important; }