123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461 |
- @import './transition.scss';
- @import './element-ui.scss';
- @import './element-variables.scss';
- @import './button.scss';
- @import './table.scss';
- // 指令
- @import '../directives/empty/empty.scss';
- @import '../assets/iconfont/iconfont.css';
- @import './iconfont/iconfont.css';
- @import '../directives/style.scss';
- //form&workflow
- @import "./base.scss";
- @import "./form-style.scss";
- body {
- height: 100%;
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- font-family: 'MicrosoftYaHei', 'Avenir', Helvetica, Arial, sans-serif;
- color: #333;
- font-size: 14px;
- background: #f5f6f9;
- }
- // 滚动条样式
- ::-webkit-scrollbar-track-piece {
- background: transparent;
- }
- ::-webkit-scrollbar {
- width: 14px;
- height: 14px;
- }
- ::-webkit-scrollbar-corner {
- background-color: transparent;
- }
- ::-webkit-scrollbar-thumb {
- background: #C7D1DA;
- border-radius: 3.5px;
- }
- html {
- height: 100%;
- box-sizing: border-box;
- }
- #app {
- height: 100%;
- }
- a,
- a:focus,
- a:hover {
- cursor: pointer;
- color: inherit;
- outline: none;
- text-decoration: none;
- }
- div:focus {
- outline: none;
- }
- a:focus,
- a:active {
- outline: none;
- }
- a,
- a:focus,
- a:hover {
- cursor: pointer;
- color: inherit;
- text-decoration: none;
- }
- .clearfix {
- &:after {
- visibility: hidden;
- display: block;
- font-size: 0;
- content: " ";
- clear: both;
- height: 0;
- }
- }
- tr,
- th,
- td {
- font-weight: normal;
- }
- li {
- list-style: none;
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- /* 右浮动 */
- .rt {
- float: right;
- margin-right: 30px;
- }
- /* 左浮动 */
- .lt {
- float: left;
- margin-left: 30px;
- }
- input:invalid {
- box-shadow: none;
- }
- // 控制svg颜色
- // path {
- // fill: inherit !important
- // }
- // 通过 popper-class 去除默认padding
- .no-padding-popover {
- padding: 0;
- }
- .no-padding-dialog {
- .el-dialog__body {
- padding: 0;
- }
- }
- // 去除百度地图 图标
- .AMap_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 {
- width: 100%;
- position: relative;
- // height: 100%;
- flex: 1;
- overflow: hidden;
- }
- .project-settings-list-top {
- top: 110px !important;
- }
- .task-board-rechristen-popover {
- padding: 0;
- margin-top: -40px !important;
- }
- .tooltip-change-border {
- border-color: #eee !important;
- box-shadow: 0 0 12px 1px #eee;
- padding: 5px 10px !important;
- }
- .tooltip-change-border .popper__arrow {
- border-color: transparent !important;
- }
- .task-tooltip {
- z-index: 10 !important;
- }
- // 关闭message 内容样式
- .el-close-message {
- p {
- line-height: 20px;
- max-height: 60px;
- overflow-y: scroll;
- white-space: pre-wrap;
- word-wrap: break-word;
- margin-right: 13px;
- }
- }
- // 去除焦点时的蓝色边框
- * :focus {
- outline: none;
- }
- .error_ipt_red {
- border-color: #F94E4E;
- &::placeholder {
- color: #F94E4E;
- }
- &:hover {
- border-color: #F94E4E;
- .el-input__inner {
- border-color: #F94E4E;
- }
- }
- &:active {
- border-color: #F94E4E;
- }
- }
- // Pagination 分页
- .el-pagination {
- * {
- font-size: 12px !important;
- }
- .number.active {
- list-style-position: inside;
- border: 1px solid $xr-color-primary;
- color: $xr-color-primary !important;
- background-color: #f4f4f5 !important;
- }
- }
- // 可访问
- .can-visit,
- .can-visit--underline {
- color: $--color-primary !important;
- cursor: pointer
- }
- .can-visit--bold {
- font-weight: bold;
- }
- .header-can-visit-backgroud {
- background-color: #ebeef5 !important;
- }
- .can-visit--underline:hover {
- text-decoration: underline;
- }
- .can-visit-default {
- cursor: pointer
- }
- .can-visit-default:hover {
- color: $--color-primary !important;
- }
- // 滚动
- .scroll-bottom-tips {
- text-align: center;
- font-size: 12px;
- color: #666;
- }
- // 金额展示
- .xr-money {
- font-weight: 600;
- color: #333;
- }
- .xr-money.green {
- color: #20B559 !important;
- }
- .xr-money.red {
- color: #F94E4E !important;
- }
- // 禁止交互
- .xr-disabled {
- cursor: not-allowed;
- pointer-events: none;
- }
- // 文本
- .text-one-line {
- // text-overflow: ellipsis;
- // display: -webkit-box;
- // -webkit-line-clamp: 1;
- // -webkit-box-orient: vertical;
- // overflow: hidden;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .text-one-ellipsis {
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
- // 项目下的侧滑框
- .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;
- }
- }
- // 帮助提示符
- .bb-help-tips {
- cursor: pointer;
- font-size: 13px;
- color: #cbcbcb;
- }
- .bb-help-tips:hover {
- color: $xr-color-primary;
- }
- // form 表单样式
- .el-form-item.is-error {
- .xh-form-border {
- border-color: #F56C6C;
- }
- }
- // flex el-form
- .el-form--flex.el-form {
- display: flex;
- flex-wrap: wrap;
- margin: 0 -23px;
- .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 30px;
- padding-bottom: 10px;
- margin-bottom: 4px;
- .el-form-item__label {
- color: #333333;
- }
- .el-form-item__error {
- padding-top: 2px;
- }
- }
- }
- .flex_row {
- display: flex;
- flex-direction: row;
- }
- .flex_space {
- flex: 1;
- }
- .clamp2{
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /**
- * 弹窗样式,封装的layer的弹窗
- **/
- body .layer-dialog .layui-layer-title{
- border-radius: 4px 4px 0px 0px;
- border:1px solid #01000000;
- }
- body .layer-dialog .layui-layer-setwin {color: #ffffff}
- body .layer-dialog {
- border-radius: 4px;
- border:1px solid #01000000;
- }
- body .layer-dialog .layui-layer-content {
- padding: $box-padding-size;
- }
- .el-message-box__wrapper{
- z-index:20000 !important;
- }
- .can-visit-pd-left .cell{
- padding-left: 33px !important;
- }
- .clamp2,
- .clamp3 {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: normal;
- }
- .clamp2 {
- -webkit-line-clamp: 2;
- }
- .clamp3 {
- -webkit-line-clamp: 3;
- }
- .clamp1 {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
|