update ruoyi-ui/src/assets/styles/element-ui.scss.
正在显示
1 个修改的文件
包含
92 行增加
和
84 行删除
| 1 | -// cover some element-ui styles | ||
| 2 | - | ||
| 3 | -.el-breadcrumb__inner, | ||
| 4 | -.el-breadcrumb__inner a { | ||
| 5 | - font-weight: 400 !important; | ||
| 6 | -} | ||
| 7 | - | ||
| 8 | -.el-upload { | ||
| 9 | - input[type="file"] { | ||
| 10 | - display: none !important; | ||
| 11 | - } | ||
| 12 | -} | ||
| 13 | - | ||
| 14 | -.el-upload__input { | ||
| 15 | - display: none; | ||
| 16 | -} | ||
| 17 | - | ||
| 18 | -.cell { | ||
| 19 | - .el-tag { | ||
| 20 | - margin-right: 0px; | ||
| 21 | - } | ||
| 22 | -} | ||
| 23 | - | ||
| 24 | -.small-padding { | ||
| 25 | - .cell { | ||
| 26 | - padding-left: 5px; | ||
| 27 | - padding-right: 5px; | ||
| 28 | - } | ||
| 29 | -} | ||
| 30 | - | ||
| 31 | -.fixed-width { | ||
| 32 | - .el-button--mini { | ||
| 33 | - padding: 7px 10px; | ||
| 34 | - width: 60px; | ||
| 35 | - } | ||
| 36 | -} | ||
| 37 | - | ||
| 38 | -.status-col { | ||
| 39 | - .cell { | ||
| 40 | - padding: 0 10px; | ||
| 41 | - text-align: center; | ||
| 42 | - | ||
| 43 | - .el-tag { | ||
| 44 | - margin-right: 0px; | ||
| 45 | - } | ||
| 46 | - } | ||
| 47 | -} | ||
| 48 | - | ||
| 49 | -// to fixed https://github.com/ElemeFE/element/issues/2461 | ||
| 50 | -.el-dialog { | ||
| 51 | - transform: none; | ||
| 52 | - left: 0; | ||
| 53 | - position: relative; | ||
| 54 | - margin: 0 auto; | ||
| 55 | -} | ||
| 56 | - | ||
| 57 | -// refine element ui upload | ||
| 58 | -.upload-container { | ||
| 59 | - .el-upload { | ||
| 60 | - width: 100%; | ||
| 61 | - | ||
| 62 | - .el-upload-dragger { | ||
| 63 | - width: 100%; | ||
| 64 | - height: 200px; | ||
| 65 | - } | ||
| 66 | - } | ||
| 67 | -} | ||
| 68 | - | ||
| 69 | -// dropdown | ||
| 70 | -.el-dropdown-menu { | ||
| 71 | - a { | ||
| 72 | - display: block | ||
| 73 | - } | ||
| 74 | -} | ||
| 75 | - | ||
| 76 | -// fix date-picker ui bug in filter-item | ||
| 77 | -.el-range-editor.el-input__inner { | ||
| 78 | - display: inline-flex !important; | ||
| 79 | -} | ||
| 80 | - | ||
| 81 | -// to fix el-date-picker css style | ||
| 82 | -.el-range-separator { | ||
| 83 | - box-sizing: content-box; | ||
| 84 | -} | 1 | +// cover some element-ui styles |
| 2 | + | ||
| 3 | +.el-breadcrumb__inner, | ||
| 4 | +.el-breadcrumb__inner a { | ||
| 5 | + font-weight: 400 !important; | ||
| 6 | +} | ||
| 7 | + | ||
| 8 | +.el-upload { | ||
| 9 | + input[type="file"] { | ||
| 10 | + display: none !important; | ||
| 11 | + } | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +.el-upload__input { | ||
| 15 | + display: none; | ||
| 16 | +} | ||
| 17 | + | ||
| 18 | +.cell { | ||
| 19 | + .el-tag { | ||
| 20 | + margin-right: 0px; | ||
| 21 | + } | ||
| 22 | +} | ||
| 23 | + | ||
| 24 | +.small-padding { | ||
| 25 | + .cell { | ||
| 26 | + padding-left: 5px; | ||
| 27 | + padding-right: 5px; | ||
| 28 | + } | ||
| 29 | +} | ||
| 30 | + | ||
| 31 | +.fixed-width { | ||
| 32 | + .el-button--mini { | ||
| 33 | + padding: 7px 10px; | ||
| 34 | + width: 60px; | ||
| 35 | + } | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | +.status-col { | ||
| 39 | + .cell { | ||
| 40 | + padding: 0 10px; | ||
| 41 | + text-align: center; | ||
| 42 | + | ||
| 43 | + .el-tag { | ||
| 44 | + margin-right: 0px; | ||
| 45 | + } | ||
| 46 | + } | ||
| 47 | +} | ||
| 48 | + | ||
| 49 | +// to fixed https://github.com/ElemeFE/element/issues/2461 | ||
| 50 | +.el-dialog { | ||
| 51 | + transform: none; | ||
| 52 | + left: 0; | ||
| 53 | + position: relative; | ||
| 54 | + margin: 0 auto; | ||
| 55 | +} | ||
| 56 | + | ||
| 57 | +// refine element ui upload | ||
| 58 | +.upload-container { | ||
| 59 | + .el-upload { | ||
| 60 | + width: 100%; | ||
| 61 | + | ||
| 62 | + .el-upload-dragger { | ||
| 63 | + width: 100%; | ||
| 64 | + height: 200px; | ||
| 65 | + } | ||
| 66 | + } | ||
| 67 | +} | ||
| 68 | + | ||
| 69 | +// dropdown | ||
| 70 | +.el-dropdown-menu { | ||
| 71 | + a { | ||
| 72 | + display: block | ||
| 73 | + } | ||
| 74 | +} | ||
| 75 | + | ||
| 76 | +// fix date-picker ui bug in filter-item | ||
| 77 | +.el-range-editor.el-input__inner { | ||
| 78 | + display: inline-flex !important; | ||
| 79 | +} | ||
| 80 | + | ||
| 81 | +// to fix el-date-picker css style | ||
| 82 | +.el-range-separator { | ||
| 83 | + box-sizing: content-box; | ||
| 84 | +} | ||
| 85 | + | ||
| 86 | +.el-menu--collapse | ||
| 87 | + > div | ||
| 88 | + > .el-submenu | ||
| 89 | + > .el-submenu__title | ||
| 90 | + .el-submenu__icon-arrow { | ||
| 91 | + display: none; | ||
| 92 | +} |
-
请 注册 或 登录 后发表评论