| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434 |
- @import "./transition.scss";
- @import "./element-ui.scss";
- // @import './element-variables.scss';
- @import "./button.scss";
- @import "./table.scss";
- @import "./border.scss";
- @import "./dropdown.scss";
- // 指令
- @import "../directives/empty/empty.scss";
- @import "../assets/iconfont/iconfont.css"; // 旧图标
- @import "./iconfonts/index.css";
- @import "../directives/style.scss";
- // 零碎样式
- @import "./org-tree.scss";
- @import "./premium.scss";
- body {
- height: 100%;
- // font-family: 'MicrosoftYaHei', 'Avenir', Helvetica, Arial, sans-serif;
- font-family: $--font-family;
- font-size: 14px;
- font-weight: $--font-weight-medium;
- color: $--color-black;
- background: white;
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizelegibility;
- }
- button,
- input,
- optgroup,
- select,
- textarea {
- font-family: $--font-family;
- }
- /* 滚动条样式 */
- /* 滚动条宽度 */
- ::-webkit-scrollbar {
- width: 10px;
- height: 10px;
- background-color: $--color-n20;
- }
- /* 滚动条的滑块 */
- ::-webkit-scrollbar-thumb {
- background-color: $--color-n50;
- }
- ::-webkit-scrollbar-corner {
- background-color: $--color-n20;
- }
- html {
- box-sizing: border-box;
- height: 100%;
- }
- #app {
- height: 100%;
- }
- a,
- a:focus,
- a:hover {
- color: inherit;
- text-decoration: none;
- cursor: pointer;
- outline: none;
- }
- div:focus {
- outline: none;
- }
- a:focus,
- a:active {
- outline: none;
- }
- .clearfix {
- &::after {
- display: block;
- height: 0;
- clear: both;
- font-size: 0;
- visibility: hidden;
- content: " ";
- }
- }
- tr,
- th,
- td {
- font-weight: normal;
- }
- li {
- list-style: none;
- }
- * {
- box-sizing: border-box;
- padding: 0;
- margin: 0;
- }
- /* 右浮动 */
- .rt {
- float: right;
- margin-right: 30px;
- }
- /* 左浮动 */
- .lt {
- float: left;
- margin-left: 30px;
- }
- input:invalid {
- box-shadow: none;
- }
- // 通过 popper-class 去除默认padding
- .no-padding-popover {
- padding: 0;
- }
- .no-padding-dialog {
- .el-dialog__body {
- padding: 0;
- }
- }
- // 去除百度地图 图标
- .BMap_cpyCtrl {
- display: none;
- }
- .anchorBL {
- display: none;
- }
- /** 懒加载样式 */
- img[lazy="loading"] {
- display: inline-block;
- padding: 8px;
- // width: 20px !important;
- // height: 20px !important;
- margin: 0 auto;
- }
- div[lazy="loading"] {
- display: inline-block;
- padding: 8px;
- // width: 20px !important;
- // height: 20px !important;
- margin: 0 auto;
- }
- /** 拖拽时候的样式 */
- .draggingStyle {
- cursor: pointer;
- }
- .router-view {
- position: relative;
- // height: 100%;
- flex: 1;
- width: 100%;
- overflow: hidden;
- }
- .project-settings-list-top {
- top: 110px !important;
- }
- .task-board-rechristen-popover {
- padding: 0;
- margin-top: -40px !important;
- }
- .tooltip-change-border {
- padding: 5px 10px !important;
- border-color: #eee !important;
- box-shadow: 0 0 12px 1px #eee;
- }
- .tooltip-change-border .popper__arrow {
- border-color: transparent !important;
- }
- .task-tooltip {
- z-index: 10 !important;
- }
- // 关闭message 内容样式
- .el-close-message {
- p {
- max-height: 60px;
- margin-right: 13px;
- overflow-y: scroll;
- line-height: 20px;
- word-wrap: break-word;
- white-space: pre-wrap;
- }
- }
- // 去除焦点时的蓝色边框
- * :focus {
- outline: none;
- }
- // // Pagination 分页
- // .el-pagination {
- // * {
- // font-size: 12px !important;
- // }
- // .number.active {
- // list-style-position: inside;
- // border: 1px solid $--color-primary;
- // color: $--color-primary !important;
- // background-color: #f4f4f5 !important;
- // }
- // }
- // 可访问
- .can-visit,
- .can-visit--underline {
- color: $--color-primary !important;
- cursor: pointer;
- }
- .can-visit--bold {
- font-weight: bold;
- }
- .can-visit--underline:hover {
- text-decoration: underline;
- }
- .can-visit-default {
- cursor: pointer;
- }
- .can-visit-default:hover {
- color: $--color-primary !important;
- }
- // 滚动
- .scroll-bottom-tips {
- color: $--color-text-secondary;
- text-align: center;
- }
- // 金额展示
- .xr-money {
- font-weight: 600;
- color: $--color-black;
- }
- .xr-money.green {
- color: $--color-success !important;
- }
- .xr-money.red {
- color: $--color-danger !important;
- }
- // 禁止交互
- .xr-disabled {
- pointer-events: none;
- cursor: not-allowed;
- }
- // 文本
- .text-one-line {
- // text-overflow: ellipsis;
- // display: -webkit-box;
- // -webkit-line-clamp: 1;
- // -webkit-box-orient: vertical;
- // overflow: hidden;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .text-one-ellipsis {
- display: box;
- overflow: hidden;
- text-overflow: ellipsis;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- }
- // 项目下的侧滑框
- .project-drawer {
- user-select: none;
- .el-drawer__header {
- display: none;
- }
- .el-drawer__body {
- padding: 15px;
- overflow: auto;
- }
- }
- #project-container {
- .el-dialog__wrapper,
- .v-modal {
- position: absolute;
- }
- }
- // 帮助提示符
- .wk-help-tips {
- font-size: 16px;
- color: $--color-n500;
- cursor: pointer;
- &[data-type][data-id] {
- margin-left: 4px;
- }
- }
- // 系统帮助下的图标默认和文字高度一致
- .wk-icon-fill-help[data-type] {
- font-size: $--font-size-base;
- }
- .wk-help-tips:hover {
- color: $--color-n800;
- }
- // form 表单样式
- .el-form-item.is-error {
- .xh-form-border {
- border-color: #f56c6c !important;
- }
- }
- // flex el-form 同 wk-form.scss is-two-columns
- .el-form--flex.el-form {
- display: flex;
- flex-wrap: wrap;
- .el-form-item.is-required .el-form-item__label::before {
- margin-right: 0;
- }
- .el-form-item {
- flex: 0 0 50%;
- flex-shrink: 0;
- padding: 0 12px;
- margin-bottom: 16px;
- .el-form-item__label {
- padding-bottom: 4px;
- line-height: 1.5;
- word-break: break-all;
- word-wrap: break-word;
- }
- .el-form-item__error {
- position: relative;
- }
- }
- }
- // 时间区间选择快捷键
- .el-picker-panel {
- .el-picker-panel__sidebar {
- padding-bottom: 40px;
- }
- }
- .el-header {
- height: 56px !important;
- }
- // 表的线风格设置菜单
- .wk-table-style-dropdown-menu {
- .el-switch {
- margin-right: 5px;
- .el-switch__mark {
- margin-right: 0;
- }
- }
- }
- // 是金额列
- .is-floatnumber-column {
- // text-align: right;
- color: $--color-y400;
- }
- // 图标
- .el-icon-warning,
- .el-icon-remove,
- .el-icon-circle-plus {
- font-weight: normal !important;
- }
- // 详情宽度
- .slide-fixed-view {
- position: fixed;
- top: $--detail-view-top;
- right: 0;
- bottom: 0;
- width: $--detail-width-base;
- min-width: 926px;
- }
- // 固定间隔
- .margin-left-interval {
- margin-left: 8px;
- }
- .margin-right-interval {
- margin-right: 8px;
- }
|