293 lines
5.4 KiB
SCSS
293 lines
5.4 KiB
SCSS
//////////////////////////////////////////////////////////////////////////////////////////////////////// element ui rtl fix
|
|
html:lang(fa) {
|
|
|
|
.text-area {
|
|
textarea {
|
|
height: 100px;
|
|
}
|
|
}
|
|
|
|
.el-popup-parent--hidden {
|
|
padding-right: 0 !important;
|
|
}
|
|
|
|
.el-tag .el-icon-close {
|
|
right: auto !important;
|
|
left: -5px !important;
|
|
}
|
|
|
|
.el-table .el-table__body-wrapper .el-table__row .is-left {
|
|
text-align: left !important;
|
|
}
|
|
|
|
.wrapper {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.el-form-item__label {
|
|
float: right !important;
|
|
text-align: right !important;
|
|
}
|
|
|
|
.el-form-item__content {
|
|
margin-left: 0 !important;
|
|
margin-right: 120px !important;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.el-form-item__content {
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
}
|
|
}
|
|
|
|
.secondTitle {
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.el-upload__input {
|
|
display: none !important;
|
|
}
|
|
|
|
.el-message-box__title, .el-message-box__message {
|
|
direction: rtl !important;
|
|
text-align: right !important;
|
|
}
|
|
|
|
.el-message-box__message {
|
|
padding-left: 12px !important;
|
|
padding-right: 36px !important;
|
|
}
|
|
|
|
.el-message-box__btns {
|
|
text-align: left !important;
|
|
}
|
|
|
|
.el-message-box__headerbtn {
|
|
right: auto !important;
|
|
left: 15px !important;
|
|
}
|
|
|
|
.el-message-box__btns button:nth-child(2) {
|
|
margin-left: 0 !important;
|
|
margin-right: 10px !important;
|
|
}
|
|
|
|
.el-message-box__status {
|
|
right: 0 !important;
|
|
}
|
|
|
|
.el-table td, .el-table th {
|
|
text-align: right !important;
|
|
}
|
|
|
|
.el-upload__input {
|
|
display: none !important;
|
|
}
|
|
|
|
.el-checkbox__label {
|
|
padding-left: 0 !important;
|
|
padding-right: 10px !important;
|
|
}
|
|
|
|
.el-message__icon {
|
|
margin-right: 0 !important;
|
|
margin-left: 10px !important;
|
|
}
|
|
|
|
.sidebar-subnav {
|
|
background: rgba(0, 0, 0, 0.05) !important;
|
|
}
|
|
|
|
.sidebar > .nav > li {
|
|
border-bottom: 1px solid #eee !important;
|
|
}
|
|
|
|
.brand-logo p {
|
|
margin-top: 6px !important;
|
|
}
|
|
|
|
.brand-logo-collapsed svg {
|
|
fill: #fff !important;
|
|
}
|
|
|
|
.nav-floating {
|
|
background: #fff !important;
|
|
}
|
|
|
|
.el-dialog__headerbtn {
|
|
right: auto !important;
|
|
left: 20px !important;
|
|
}
|
|
|
|
.el-radio__label {
|
|
padding-right: 10px !important;
|
|
}
|
|
|
|
.el-scrollbar__wrap {
|
|
margin-right: 0 !important;
|
|
margin-left: -17px !important;
|
|
}
|
|
|
|
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after {
|
|
right: auto;
|
|
left: 20px;
|
|
}
|
|
|
|
.el-select .el-tag {
|
|
margin: 2px 6px 2px 0;
|
|
}
|
|
|
|
.el-select__input {
|
|
border: none;
|
|
outline: 0;
|
|
padding: 0;
|
|
margin-left: 15px;
|
|
color: #666;
|
|
font-size: 14px;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
height: 28px;
|
|
background-color: transparent;
|
|
margin-right: 5%;
|
|
}
|
|
|
|
.el-pagination .btn-next .el-icon, .el-pagination .btn-prev .el-icon {
|
|
display: block;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.el-pagination {
|
|
white-space: nowrap;
|
|
padding: 2px 5px;
|
|
padding-right: 5px;
|
|
padding-left: 5px;
|
|
color: #303133;
|
|
font-weight: 700;
|
|
display: contents;
|
|
}
|
|
|
|
.el-upload--picture-card {
|
|
background-color: #fbfdff;
|
|
border: 1px dashed #c0ccda;
|
|
border-radius: 6px;
|
|
box-sizing: border-box;
|
|
width: 148px;
|
|
height: 148px;
|
|
line-height: 146px;
|
|
vertical-align: top;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.el-upload-list__item .el-icon-close-tip {
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
opacity: 1;
|
|
color: #409EFF;
|
|
}
|
|
|
|
.el-tree-node__content > .el-tree-node__expand-icon {
|
|
padding: 6px;
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.el-tree-node__content {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 40px;
|
|
cursor: pointer;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
padding-left: 0px !important;
|
|
}
|
|
|
|
.el-tree-node > .el-tree-node__children {
|
|
overflow: visible;
|
|
background-color: transparent;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.custom-tree-node {
|
|
display: block;
|
|
flex-basis: 100%;
|
|
position: relative;
|
|
|
|
.btns {
|
|
display: inline-block;
|
|
position: absolute;
|
|
left: 5px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.flagType {
|
|
display: inline-block;
|
|
position: absolute;
|
|
right: 50%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
}
|
|
|
|
.el-button + .el-button {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.el-tree-node__expand-icon.expanded {
|
|
transform: rotate(90deg) !important;
|
|
}
|
|
|
|
.title{
|
|
overflow: hidden;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.avatar-uploader{
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.avatar-uploader .el-upload{
|
|
background-color: #fff;
|
|
border: 1px dashed #d9d9d9;
|
|
border-radius: 6px;
|
|
box-sizing: border-box;
|
|
width: 360px;
|
|
height: 180px;
|
|
text-align: center;
|
|
justify-content: center;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.avatar-uploader .el-upload:hover {
|
|
border-color: #409EFF;
|
|
}
|
|
.avatar-uploader-icon {
|
|
font-size: 28px;
|
|
color: #8c939d;
|
|
}
|
|
.avatar {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.el-upload-list--picture-card .el-upload-list__item{
|
|
overflow: hidden;
|
|
background-color: #fff;
|
|
border: 1px solid #c0ccda;
|
|
border-radius: 6px;
|
|
box-sizing: border-box;
|
|
width: 148px;
|
|
height: auto;
|
|
margin: 0 8px 8px 0;
|
|
display: inline-block;
|
|
}
|
|
}
|