Нет описания

cascader.css 26KB

    /* BEM support Func -------------------------- */ /* Element Chalk Variables */ /* Transition -------------------------- */ /* Colors -------------------------- */ /* 53a8ff */ /* 66b1ff */ /* 79bbff */ /* 8cc5ff */ /* a0cfff */ /* b3d8ff */ /* c6e2ff */ /* d9ecff */ /* ecf5ff */ /* Link -------------------------- */ /* Background -------------------------- */ /* Border -------------------------- */ /* Box-shadow -------------------------- */ /* Fill -------------------------- */ /* Font -------------------------- */ /* Size -------------------------- */ /* z-index -------------------------- */ /* Disable base -------------------------- */ /* Icon -------------------------- */ /* Checkbox -------------------------- */ /* Radio -------------------------- */ /* Select -------------------------- */ /* Alert -------------------------- */ /* Message Box -------------------------- */ /* Message -------------------------- */ /* Notification -------------------------- */ /* Input -------------------------- */ /* Cascader -------------------------- */ /* Group -------------------------- */ /* Tab -------------------------- */ /* Button -------------------------- */ /* cascader -------------------------- */ /* Switch -------------------------- */ /* Dialog -------------------------- */ /* Table -------------------------- */ /* Pagination -------------------------- */ /* Popover -------------------------- */ /* Tooltip -------------------------- */ /* Tag -------------------------- */ /* Tree -------------------------- */ /* Dropdown -------------------------- */ /* Badge -------------------------- */ /* Card --------------------------*/ /* Slider --------------------------*/ /* Steps --------------------------*/ /* Menu --------------------------*/ /* Rate --------------------------*/ /* DatePicker --------------------------*/ /* Loading --------------------------*/ /* Scrollbar --------------------------*/ /* Carousel --------------------------*/ /* Collapse --------------------------*/ /* Transfer --------------------------*/ /* Header --------------------------*/ /* Footer --------------------------*/ /* Main --------------------------*/ /* Break-point --------------------------*/ /* Break-points -------------------------- */ /* Scrollbar -------------------------- */ /* Placeholder -------------------------- */ /* BEM -------------------------- */ /* Element Chalk Variables */ /* Transition -------------------------- */ /* Colors -------------------------- */ /* 53a8ff */ /* 66b1ff */ /* 79bbff */ /* 8cc5ff */ /* a0cfff */ /* b3d8ff */ /* c6e2ff */ /* d9ecff */ /* ecf5ff */ /* Link -------------------------- */ /* Background -------------------------- */ /* Border -------------------------- */ /* Box-shadow -------------------------- */ /* Fill -------------------------- */ /* Font -------------------------- */ /* Size -------------------------- */ /* z-index -------------------------- */ /* Disable base -------------------------- */ /* Icon -------------------------- */ /* Checkbox -------------------------- */ /* Radio -------------------------- */ /* Select -------------------------- */ /* Alert -------------------------- */ /* Message Box -------------------------- */ /* Message -------------------------- */ /* Notification -------------------------- */ /* Input -------------------------- */ /* Cascader -------------------------- */ /* Group -------------------------- */ /* Tab -------------------------- */ /* Button -------------------------- */ /* cascader -------------------------- */ /* Switch -------------------------- */ /* Dialog -------------------------- */ /* Table -------------------------- */ /* Pagination -------------------------- */ /* Popover -------------------------- */ /* Tooltip -------------------------- */ /* Tag -------------------------- */ /* Tree -------------------------- */ /* Dropdown -------------------------- */ /* Badge -------------------------- */ /* Card --------------------------*/ /* Slider --------------------------*/ /* Steps --------------------------*/ /* Menu --------------------------*/ /* Rate --------------------------*/ /* DatePicker --------------------------*/ /* Loading --------------------------*/ /* Scrollbar --------------------------*/ /* Carousel --------------------------*/ /* Collapse --------------------------*/ /* Transfer --------------------------*/ /* Header --------------------------*/ /* Footer --------------------------*/ /* Main --------------------------*/ /* Break-point --------------------------*/ /* BEM support Func -------------------------- */ /* Element Chalk Variables */ /* Transition -------------------------- */ /* Colors -------------------------- */ /* 53a8ff */ /* 66b1ff */ /* 79bbff */ /* 8cc5ff */ /* a0cfff */ /* b3d8ff */ /* c6e2ff */ /* d9ecff */ /* ecf5ff */ /* Link -------------------------- */ /* Background -------------------------- */ /* Border -------------------------- */ /* Box-shadow -------------------------- */ /* Fill -------------------------- */ /* Font -------------------------- */ /* Size -------------------------- */ /* z-index -------------------------- */ /* Disable base -------------------------- */ /* Icon -------------------------- */ /* Checkbox -------------------------- */ /* Radio -------------------------- */ /* Select -------------------------- */ /* Alert -------------------------- */ /* Message Box -------------------------- */ /* Message -------------------------- */ /* Notification -------------------------- */ /* Input -------------------------- */ /* Cascader -------------------------- */ /* Group -------------------------- */ /* Tab -------------------------- */ /* Button -------------------------- */ /* cascader -------------------------- */ /* Switch -------------------------- */ /* Dialog -------------------------- */ /* Table -------------------------- */ /* Pagination -------------------------- */ /* Popover -------------------------- */ /* Tooltip -------------------------- */ /* Tag -------------------------- */ /* Tree -------------------------- */ /* Dropdown -------------------------- */ /* Badge -------------------------- */ /* Card --------------------------*/ /* Slider --------------------------*/ /* Steps --------------------------*/ /* Menu --------------------------*/ /* Rate --------------------------*/ /* DatePicker --------------------------*/ /* Loading --------------------------*/ /* Scrollbar --------------------------*/ /* Carousel --------------------------*/ /* Collapse --------------------------*/ /* Transfer --------------------------*/ /* Header --------------------------*/ /* Footer --------------------------*/ /* Main --------------------------*/ /* Break-point --------------------------*/ /* Break-points -------------------------- */ /* Scrollbar -------------------------- */ /* Placeholder -------------------------- */ /* BEM -------------------------- */ /* Element Chalk Variables */ /* Transition -------------------------- */ /* Colors -------------------------- */ /* 53a8ff */ /* 66b1ff */ /* 79bbff */ /* 8cc5ff */ /* a0cfff */ /* b3d8ff */ /* c6e2ff */ /* d9ecff */ /* ecf5ff */ /* Link -------------------------- */ /* Background -------------------------- */ /* Border -------------------------- */ /* Box-shadow -------------------------- */ /* Fill -------------------------- */ /* Font -------------------------- */ /* Size -------------------------- */ /* z-index -------------------------- */ /* Disable base -------------------------- */ /* Icon -------------------------- */ /* Checkbox -------------------------- */ /* Radio -------------------------- */ /* Select -------------------------- */ /* Alert -------------------------- */ /* Message Box -------------------------- */ /* Message -------------------------- */ /* Notification -------------------------- */ /* Input -------------------------- */ /* Cascader -------------------------- */ /* Group -------------------------- */ /* Tab -------------------------- */ /* Button -------------------------- */ /* cascader -------------------------- */ /* Switch -------------------------- */ /* Dialog -------------------------- */ /* Table -------------------------- */ /* Pagination -------------------------- */ /* Popover -------------------------- */ /* Tooltip -------------------------- */ /* Tag -------------------------- */ /* Tree -------------------------- */ /* Dropdown -------------------------- */ /* Badge -------------------------- */ /* Card --------------------------*/ /* Slider --------------------------*/ /* Steps --------------------------*/ /* Menu --------------------------*/ /* Rate --------------------------*/ /* DatePicker --------------------------*/ /* Loading --------------------------*/ /* Scrollbar --------------------------*/ /* Carousel --------------------------*/ /* Collapse --------------------------*/ /* Transfer --------------------------*/ /* Header --------------------------*/ /* Footer --------------------------*/ /* Main --------------------------*/ /* Break-point --------------------------*/ .el-textarea { display: inline-block; width: 100%; vertical-align: bottom; font-size: 14px; } .el-textarea__inner { display: block; resize: vertical; padding: 5px 15px; line-height: 1.5; -webkit-box-sizing: border-box; box-sizing: border-box; width: 100%; font-size: inherit; color: #606266; background-color: #fff; background-image: none; border: 1px solid #dcdfe6; border-radius: 4px; -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); } .el-textarea__inner::-webkit-input-placeholder { color: #c0c4cc; } .el-textarea__inner::-ms-input-placeholder { color: #c0c4cc; } .el-textarea__inner::placeholder { color: #c0c4cc; } .el-textarea__inner:hover { border-color: #c0c4cc; } .el-textarea__inner:focus { outline: none; border-color: #00837e; } .el-textarea.is-disabled .el-textarea__inner { background-color: #f5f7fa; border-color: #e4e7ed; color: #c0c4cc; cursor: not-allowed; } .el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder { color: #c0c4cc; } .el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder { color: #c0c4cc; } .el-textarea.is-disabled .el-textarea__inner::placeholder { color: #c0c4cc; } .el-input { position: relative; font-size: 14px; display: inline-block; width: 100%; } .el-input::-webkit-scrollbar { z-index: 11; width: 6px; } .el-input::-webkit-scrollbar:horizontal { height: 6px; } .el-input::-webkit-scrollbar-thumb { border-radius: 5px; width: 6px; background: #b4bccc; } .el-input::-webkit-scrollbar-corner { background: #fff; } .el-input::-webkit-scrollbar-track { background: #fff; } .el-input::-webkit-scrollbar-track-piece { background: #fff; width: 6px; } .el-input .el-input__clear { color: #c0c4cc; font-size: 14px; line-height: 16px; cursor: pointer; -webkit-transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); } .el-input .el-input__clear:hover { color: #909399; } .el-input__inner { -webkit-appearance: none; background-color: #fff; background-image: none; border-radius: 4px; border: 1px solid #dcdfe6; -webkit-box-sizing: border-box; box-sizing: border-box; color: #606266; display: inline-block; font-size: inherit; height: 40px; line-height: 40px; outline: none; padding: 0 15px; -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); width: 100%; } .el-input__inner::-webkit-input-placeholder { color: #c0c4cc; } .el-input__inner::-ms-input-placeholder { color: #c0c4cc; } .el-input__inner::placeholder { color: #c0c4cc; } .el-input__inner:hover { border-color: #c0c4cc; } .el-input__inner:focus { outline: none; border-color: #00837e; } .el-input__suffix { position: absolute; height: 100%; right: 5px; top: 0; text-align: center; color: #c0c4cc; -webkit-transition: all .3s; transition: all .3s; pointer-events: none; } .el-input__suffix-inner { pointer-events: all; } .el-input__prefix { position: absolute; height: 100%; left: 5px; top: 0; text-align: center; color: #c0c4cc; -webkit-transition: all .3s; transition: all .3s; } .el-input__icon { height: 100%; width: 25px; text-align: center; -webkit-transition: all .3s; transition: all .3s; line-height: 40px; } .el-input__icon:after { content: ''; height: 100%; width: 0; display: inline-block; vertical-align: middle; } .el-input__validateIcon { pointer-events: none; } .el-input.is-active .el-input__inner { outline: none; border-color: #00837e; } .el-input.is-disabled .el-input__inner { background-color: #f5f7fa; border-color: #e4e7ed; color: #c0c4cc; cursor: not-allowed; } .el-input.is-disabled .el-input__inner::-webkit-input-placeholder { color: #c0c4cc; } .el-input.is-disabled .el-input__inner::-ms-input-placeholder { color: #c0c4cc; } .el-input.is-disabled .el-input__inner::placeholder { color: #c0c4cc; } .el-input.is-disabled .el-input__icon { cursor: not-allowed; } .el-input--suffix .el-input__inner { padding-right: 30px; } .el-input--prefix .el-input__inner { padding-left: 30px; } .el-input--medium { font-size: 14px; } .el-input--medium .el-input__inner { height: 36px; line-height: 36px; } .el-input--medium .el-input__icon { line-height: 36px; } .el-input--small { font-size: 13px; } .el-input--small .el-input__inner { height: 32px; line-height: 32px; } .el-input--small .el-input__icon { line-height: 32px; } .el-input--mini { font-size: 12px; } .el-input--mini .el-input__inner { height: 28px; line-height: 28px; } .el-input--mini .el-input__icon { line-height: 28px; } .el-input-group { line-height: normal; display: inline-table; width: 100%; border-collapse: separate; border-spacing: 0; } .el-input-group > .el-input__inner { vertical-align: middle; display: table-cell; } .el-input-group__append, .el-input-group__prepend { background-color: #f5f7fa; color: #909399; vertical-align: middle; display: table-cell; position: relative; border: 1px solid #dcdfe6; border-radius: 4px; padding: 0 20px; width: 1px; white-space: nowrap; } .el-input-group__append:focus, .el-input-group__prepend:focus { outline: none; } .el-input-group__append .el-select, .el-input-group__append .el-button, .el-input-group__prepend .el-select, .el-input-group__prepend .el-button { display: inline-block; margin: -10px -20px; } .el-input-group__append button.el-button, .el-input-group__append div.el-select .el-input__inner, .el-input-group__append div.el-select:hover .el-input__inner, .el-input-group__prepend button.el-button, .el-input-group__prepend div.el-select .el-input__inner, .el-input-group__prepend div.el-select:hover .el-input__inner { border-color: transparent; background-color: transparent; color: inherit; border-top: 0; border-bottom: 0; } .el-input-group__append .el-button, .el-input-group__append .el-input, .el-input-group__prepend .el-button, .el-input-group__prepend .el-input { font-size: inherit; } .el-input-group__prepend { border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; } .el-input-group__append { border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; } .el-input-group--prepend .el-input__inner { border-top-left-radius: 0; border-bottom-left-radius: 0; } .el-input-group--prepend .el-select .el-input.is-focus .el-input__inner { border-color: transparent; } .el-input-group--append .el-input__inner { border-top-right-radius: 0; border-bottom-right-radius: 0; } .el-input-group--append .el-select .el-input.is-focus .el-input__inner { border-color: transparent; } /** disalbe default clear on IE */ .el-input__inner::-ms-clear { display: none; width: 0; height: 0; } /* BEM support Func -------------------------- */ /* Element Chalk Variables */ /* Transition -------------------------- */ /* Colors -------------------------- */ /* 53a8ff */ /* 66b1ff */ /* 79bbff */ /* 8cc5ff */ /* a0cfff */ /* b3d8ff */ /* c6e2ff */ /* d9ecff */ /* ecf5ff */ /* Link -------------------------- */ /* Background -------------------------- */ /* Border -------------------------- */ /* Box-shadow -------------------------- */ /* Fill -------------------------- */ /* Font -------------------------- */ /* Size -------------------------- */ /* z-index -------------------------- */ /* Disable base -------------------------- */ /* Icon -------------------------- */ /* Checkbox -------------------------- */ /* Radio -------------------------- */ /* Select -------------------------- */ /* Alert -------------------------- */ /* Message Box -------------------------- */ /* Message -------------------------- */ /* Notification -------------------------- */ /* Input -------------------------- */ /* Cascader -------------------------- */ /* Group -------------------------- */ /* Tab -------------------------- */ /* Button -------------------------- */ /* cascader -------------------------- */ /* Switch -------------------------- */ /* Dialog -------------------------- */ /* Table -------------------------- */ /* Pagination -------------------------- */ /* Popover -------------------------- */ /* Tooltip -------------------------- */ /* Tag -------------------------- */ /* Tree -------------------------- */ /* Dropdown -------------------------- */ /* Badge -------------------------- */ /* Card --------------------------*/ /* Slider --------------------------*/ /* Steps --------------------------*/ /* Menu --------------------------*/ /* Rate --------------------------*/ /* DatePicker --------------------------*/ /* Loading --------------------------*/ /* Scrollbar --------------------------*/ /* Carousel --------------------------*/ /* Collapse --------------------------*/ /* Transfer --------------------------*/ /* Header --------------------------*/ /* Footer --------------------------*/ /* Main --------------------------*/ /* Break-point --------------------------*/ /* Break-points -------------------------- */ /* Scrollbar -------------------------- */ /* Placeholder -------------------------- */ /* BEM -------------------------- */ /* Element Chalk Variables */ /* Transition -------------------------- */ /* Colors -------------------------- */ /* 53a8ff */ /* 66b1ff */ /* 79bbff */ /* 8cc5ff */ /* a0cfff */ /* b3d8ff */ /* c6e2ff */ /* d9ecff */ /* ecf5ff */ /* Link -------------------------- */ /* Background -------------------------- */ /* Border -------------------------- */ /* Box-shadow -------------------------- */ /* Fill -------------------------- */ /* Font -------------------------- */ /* Size -------------------------- */ /* z-index -------------------------- */ /* Disable base -------------------------- */ /* Icon -------------------------- */ /* Checkbox -------------------------- */ /* Radio -------------------------- */ /* Select -------------------------- */ /* Alert -------------------------- */ /* Message Box -------------------------- */ /* Message -------------------------- */ /* Notification -------------------------- */ /* Input -------------------------- */ /* Cascader -------------------------- */ /* Group -------------------------- */ /* Tab -------------------------- */ /* Button -------------------------- */ /* cascader -------------------------- */ /* Switch -------------------------- */ /* Dialog -------------------------- */ /* Table -------------------------- */ /* Pagination -------------------------- */ /* Popover -------------------------- */ /* Tooltip -------------------------- */ /* Tag -------------------------- */ /* Tree -------------------------- */ /* Dropdown -------------------------- */ /* Badge -------------------------- */ /* Card --------------------------*/ /* Slider --------------------------*/ /* Steps --------------------------*/ /* Menu --------------------------*/ /* Rate --------------------------*/ /* DatePicker --------------------------*/ /* Loading --------------------------*/ /* Scrollbar --------------------------*/ /* Carousel --------------------------*/ /* Collapse --------------------------*/ /* Transfer --------------------------*/ /* Header --------------------------*/ /* Footer --------------------------*/ /* Main --------------------------*/ /* Break-point --------------------------*/ .el-popper .popper__arrow, .el-popper .popper__arrow::after { position: absolute; display: block; width: 0; height: 0; border-color: transparent; border-style: solid; } .el-popper .popper__arrow { border-width: 6px; -webkit-filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03)); filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03)); } .el-popper .popper__arrow::after { content: " "; border-width: 6px; } .el-popper[x-placement^="top"] { margin-bottom: 12px; } .el-popper[x-placement^="top"] .popper__arrow { bottom: -6px; left: 50%; margin-right: 3px; border-top-color: #ebeef5; border-bottom-width: 0; } .el-popper[x-placement^="top"] .popper__arrow::after { bottom: 1px; margin-left: -6px; border-top-color: #fff; border-bottom-width: 0; } .el-popper[x-placement^="bottom"] { margin-top: 12px; } .el-popper[x-placement^="bottom"] .popper__arrow { top: -6px; left: 50%; margin-right: 3px; border-top-width: 0; border-bottom-color: #ebeef5; } .el-popper[x-placement^="bottom"] .popper__arrow::after { top: 1px; margin-left: -6px; border-top-width: 0; border-bottom-color: #fff; } .el-popper[x-placement^="right"] { margin-left: 12px; } .el-popper[x-placement^="right"] .popper__arrow { top: 50%; left: -6px; margin-bottom: 3px; border-right-color: #ebeef5; border-left-width: 0; } .el-popper[x-placement^="right"] .popper__arrow::after { bottom: -6px; left: 1px; border-right-color: #fff; border-left-width: 0; } .el-popper[x-placement^="left"] { margin-right: 12px; } .el-popper[x-placement^="left"] .popper__arrow { top: 50%; right: -6px; margin-bottom: 3px; border-right-width: 0; border-left-color: #ebeef5; } .el-popper[x-placement^="left"] .popper__arrow::after { right: 1px; bottom: -6px; margin-left: -6px; border-right-width: 0; border-left-color: #fff; } .el-cascader { display: inline-block; position: relative; font-size: 14px; line-height: 40px; } .el-cascader .el-input, .el-cascader .el-input__inner { cursor: pointer; } .el-cascader .el-input.is-focus .el-input__inner { border-color: #00837e; } .el-cascader .el-input__icon { -webkit-transition: none; transition: none; } .el-cascader .el-icon-arrow-down { -webkit-transition: -webkit-transform .3s; transition: -webkit-transform .3s; transition: transform .3s; transition: transform .3s, -webkit-transform .3s; font-size: 14px; } .el-cascader .el-icon-arrow-down.is-reverse { -webkit-transform: rotateZ(180deg); transform: rotateZ(180deg); } .el-cascader .el-icon-circle-close { z-index: 2; -webkit-transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); } .el-cascader .el-icon-circle-close:hover { color: #909399; } .el-cascader__clearIcon { z-index: 2; position: relative; } .el-cascader__label { position: absolute; left: 0; top: 0; height: 100%; padding: 0 25px 0 15px; color: #606266; width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: pointer; text-align: left; font-size: inherit; } .el-cascader__label span { color: #000; } .el-cascader--medium { font-size: 14px; line-height: 36px; } .el-cascader--small { font-size: 13px; line-height: 32px; } .el-cascader--mini { font-size: 12px; line-height: 28px; } .el-cascader.is-disabled .el-cascader__label { z-index: 2; color: #c0c4cc; } .el-cascader-menus { white-space: nowrap; background: #fff; position: absolute; margin: 5px 0; z-index: 2; border: solid 1px #e4e7ed; border-radius: 2px; -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); } .el-cascader-menu { display: inline-block; vertical-align: top; height: 204px; overflow: auto; border-right: solid 1px #e4e7ed; background-color: #fff; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 6px 0; min-width: 160px; } .el-cascader-menu:last-child { border-right: 0; } .el-cascader-menu__item { font-size: 14px; padding: 8px 20px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #606266; height: 34px; line-height: 1.5; -webkit-box-sizing: border-box; box-sizing: border-box; cursor: pointer; outline: none; } .el-cascader-menu__item--extensible:after { font-family: 'element-icons'; content: "\e604"; font-size: 14px; color: #bfcbd9; position: absolute; right: 15px; } .el-cascader-menu__item.is-disabled { color: #c0c4cc; background-color: #fff; cursor: not-allowed; } .el-cascader-menu__item.is-disabled:hover { background-color: #fff; } .el-cascader-menu__item.is-active { color: #00837e; } .el-cascader-menu__item:hover, .el-cascader-menu__item:focus:not(:active) { background-color: #f5f7fa; } .el-cascader-menu__item.selected { color: #fff; background-color: #f5f7fa; } .el-cascader-menu__item__keyword { font-weight: bold; } .el-cascader-menu--flexible { height: auto; max-height: 180px; overflow: auto; } .el-cascader-menu--flexible .el-cascader-menu__item { overflow: visible; }