123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636 |
- /* 初始化样式
- ------------------------------- */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- outline: none !important;
- }
- :root {
- --next-color-white: #ffffff;
- --next-bg-main-color: #f8f8f8;
- --next-bg-color: #f5f5ff;
- --next-border-color-light: #f1f2f3;
- --next-color-primary-lighter: #ecf5ff;
- --next-color-success-lighter: #f0f9eb;
- --next-color-warning-lighter: #fdf6ec;
- --next-color-danger-lighter: #fef0f0;
- --next-color-dark-hover: #0000001a;
- --next-color-menu-hover: rgba(0, 0, 0, 0.2);
- --next-color-user-hover: rgba(0, 0, 0, 0.04);
- --next-color-seting-main: #e9eef3;
- --next-color-seting-aside: #d3dce6;
- --next-color-seting-header: #b3c0d1;
- }
- html,
- body,
- #app {
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
- font-weight: 400;
- -webkit-font-smoothing: antialiased;
- -webkit-tap-highlight-color: transparent;
- background-color: var(--next-bg-main-color);
- font-size: 14px;
- overflow: hidden;
- position: relative;
- }
- /* 主布局样式
- ------------------------------- */
- .layout-container {
- width: 100%;
- height: 100%;
- .layout-pd {
- padding: 15px !important;
- }
- .layout-flex {
- display: flex;
- flex-direction: column;
- flex: 1;
- }
- .layout-aside {
- //background: var(--next-bg-menuBar);
- background: #192442;
- box-shadow: 2px 0 6px rgb(0 21 41 / 1%);
- height: inherit;
- position: relative;
- z-index: 1;
- display: flex;
- flex-direction: column;
- overflow-x: hidden !important;
- .el-scrollbar__view {
- overflow: hidden;
- }
- }
- .layout-header {
- padding: 0 !important;
- height: auto !important;
- }
- .layout-main {
- padding: 0 !important;
- overflow: hidden;
- width: 100%;
- background-color: var(--next-bg-main-color);
- display: flex;
- flex-direction: column;
- // 内层 el-scrollbar样式,用于界面高度自适应(main.vue)
- .layout-main-scroll {
- @extend .layout-flex;
- .layout-parent {
- @extend .layout-flex;
- position: relative;
- }
- }
- }
- // 用于界面高度自适应
- .layout-padding {
- @extend .layout-pd;
- position: absolute;
- left: 0;
- top: 0;
- height: 100%;
- overflow: hidden;
- @extend .layout-flex;
- &-auto {
- height: inherit;
- @extend .layout-flex;
- }
- &-view {
- background: var(--el-color-white);
- width: 100%;
- height: 100%;
- border-radius: 4px;
- border: 1px solid var(--el-border-color-light, #ebeef5);
- overflow: hidden;
- }
- }
- // 用于界面高度自适应,主视图区 main 的内边距,用于 iframe
- .layout-padding-unset {
- padding: 0 !important;
- &-view {
- border-radius: 0 !important;
- border: none !important;
- }
- }
- // 用于设置 iframe loading 时的高度(loading 垂直居中显示)
- .layout-iframe {
- .el-loading-parent--relative {
- height: 100%;
- }
- }
- .el-scrollbar {
- width: 100%;
- }
- .layout-el-aside-br-color {
- border-right: 1px solid var(--el-border-color-light, #ebeef5);
- }
- // pc端左侧导航样式
- .layout-aside-pc-220 {
- width: 220px !important;
- transition: width 0.3s ease;
- }
- .layout-aside-pc-64 {
- width: 64px !important;
- transition: width 0.3s ease;
- }
- .layout-aside-pc-1 {
- width: 1px !important;
- transition: width 0.3s ease;
- }
- // 手机端左侧导航样式
- .layout-aside-mobile {
- position: fixed;
- top: 0;
- left: -220px;
- width: 220px;
- z-index: 9999999;
- }
- .layout-aside-mobile-close {
- left: -220px;
- transition: all 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
- }
- .layout-aside-mobile-open {
- left: 0;
- transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
- }
- .layout-aside-mobile-mode {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 9999998;
- animation: error-img 0.3s;
- }
- .layout-mian-height-50 {
- height: calc(100vh - 50px);
- }
- .layout-columns-warp {
- flex: 1;
- display: flex;
- overflow: hidden;
- }
- .layout-hide {
- display: none;
- }
- }
- /* element plus 全局样式
- ------------------------------- */
- .layout-breadcrumb-seting {
- .el-divider {
- background-color: rgb(230, 230, 230);
- }
- }
- /* nprogress 进度条跟随主题颜色
- ------------------------------- */
- #nprogress {
- .bar {
- background: var(--el-color-primary) !important;
- z-index: 9999999 !important;
- }
- }
- /* flex 弹性布局
- ------------------------------- */
- .flex {
- display: flex;
- }
- .flex-auto {
- flex: 1;
- overflow: hidden;
- }
- .flex-center {
- @extend .flex;
- flex-direction: column;
- width: 100%;
- overflow: hidden;
- }
- .flex-margin {
- margin: auto;
- }
- .flex-warp {
- display: flex;
- flex-wrap: wrap;
- align-content: flex-start;
- margin: 0 -5px;
- .flex-warp-item {
- padding: 5px;
- .flex-warp-item-box {
- width: 100%;
- height: 100%;
- }
- }
- }
- /* cursor 鼠标形状
- ------------------------------- */
- // 默认
- .cursor-default {
- cursor: default !important;
- }
- // 帮助
- .cursor-help {
- cursor: help !important;
- }
- // 手指
- .cursor-pointer {
- cursor: pointer !important;
- }
- // 移动
- .cursor-move {
- cursor: move !important;
- }
- /* 宽高 100%
- ------------------------------- */
- .w100 {
- width: 100% !important;
- }
- .h100 {
- height: 100% !important;
- }
- .vh100 {
- height: 100vh !important;
- }
- .max100vh {
- max-height: 100vh !important;
- }
- .min100vh {
- min-height: 100vh !important;
- }
- /* 颜色值
- ------------------------------- */
- .color-primary {
- //color: var(--el-color-primary);
- color: #2d5cf6;
- }
- .color-success {
- color: var(--el-color-success);
- }
- .color-warning {
- color: var(--el-color-warning);
- }
- .color-danger {
- color: var(--el-color-danger);
- }
- .color-info {
- color: var(--el-color-info);
- }
- /* 字体大小全局样式
- ------------------------------- */
- @for $i from 10 through 32 {
- .font#{$i} {
- font-size: #{$i}px !important;
- }
- }
- /* 外边距、内边距全局样式
- ------------------------------- */
- @for $i from 1 through 35 {
- .mt#{$i} {
- margin-top: #{$i}px !important;
- }
- .mr#{$i} {
- margin-right: #{$i}px !important;
- }
- .mb#{$i} {
- margin-bottom: #{$i}px !important;
- }
- .ml#{$i} {
- margin-left: #{$i}px !important;
- }
- .pt#{$i} {
- padding-top: #{$i}px !important;
- }
- .pr#{$i} {
- padding-right: #{$i}px !important;
- }
- .pb#{$i} {
- padding-bottom: #{$i}px !important;
- }
- .pl#{$i} {
- padding-left: #{$i}px !important;
- }
- }
- // 自定义全局样式
- .asj-container {
- padding: 0px 10px 3px 5px;
- background-color: #fafafa;
- }
- .fs-page-custom {
- position: initial !important;
- .fs-search-col > * {
- margin-left: 0 !important;
- }
- }
- .asj-tabs {
- background-color: #fff;
- position: sticky;
- top: 48px;
- z-index: 9;
- box-shadow: 0px 0px 12px rgba(51, 89, 181, 0.16);
- padding: 0 12px;
- display: flex;
- height: 40px;
- gap: 24px;
- border-radius: 8px;
- overflow: hidden;
- }
- .asj-tab {
- display: flex;
- align-items: center;
- padding: 0 4px;
- height: 40px;
- font-weight: 700;
- line-height: 40px;
- cursor: pointer;
- border-bottom: 2px solid #fff;
- }
- .asj-tab.active {
- color: #409eff;
- border-color: #409eff
- }
- // 详细页里面的样式
- .asj-detail-header {
- position: sticky;
- background-color: #fff;
- box-shadow: 0px 0px 12px rgba(51, 89, 181, 0.16);
- z-index: 10;
- top: 0;
- height: 95px;
- margin-bottom: -1px;
- display: flex;
- flex-direction: column;
- }
- .asj-detail-info {
- margin: 5px;
- display: flex;
- flex-direction: row;
- gap: 30px;
- .label {
- color: #999;
- }
- .value {
- color: #333;
- }
- }
- .asj-detail-tabs > .el-tabs__header.is-top {
- position: sticky;
- top: 95px;
- z-index: 10;
- border-top: 1px solid #aeafb0;
- }
- // 顶层公共搜索样式
- .public-search {
- display: flex;
- gap: 8px;
- padding-bottom: 8px;
- position: sticky;
- top: 0;
- padding-top: 8px;
- z-index: 10;
- width: 100%;
- background-color: #f8f8f8;
- box-shadow: 0px 0px 0px rgba(51, 89, 181, 0.16);
- /*.el-input__wrapper {
- border-radius: 0;
- }*/
- }
- .chart-tabs {
- margin: 5px 0 15px 0;
- .el-tabs__nav {
- padding-left: 0 !important;
- }
- }
- .overview-tabs {
- display: flex;
- gap: 8px;
- padding-bottom: 8px;
- position: sticky;
- top: 40px;
- padding-top: 8px;
- z-index: 10;
- width: 100%;
- background-color: #f8f8f8;
- box-shadow: 0px 0px 0px rgba(51, 89, 181, 0.16);
- /*.el-input__wrapper {
- border-radius: 0;
- }*/
- }
- // 广告总览顶部样式
- .overview-top {
- background-color: #fff;
- position: sticky;
- top: 0;
- z-index: 9;
- box-shadow: 0 0 12px rgba(51, 89, 181, 0.16);
- padding: 0 12px;
- display: flex;
- height: 40px;
- gap: 24px;
- }
- // 图表卡片样式
- .el-tabs.el-tabs--top.el-tabs--border-card.chart-tabs {
- border-radius: 10px;
- overflow: hidden;
- }
- // 表格样式
- .fs-crud-container .fs-crud-header {
- padding: 0 0 0 0 !important;
- }
- .fs-crud-container .fs-crud-header .fs-crud-actionbar {
- display: flex;
- flex: 10000;
- align-items: center;
- min-width: 1px;
- border: 0.5px solid #dddfe6;
- border-top-left-radius: 10px;
- border-bottom: 0;
- border-right: 0;
- margin: 0 0 0 0;
- padding: 10px 0 10px 10px;
- background-color: white;
- }
- .fs-page-content .fs-crud-container .fs-crud-header .fs-crud-toolbar {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- margin-right: 0;
- padding: 0 10px 0 0;
- flex: 1;
- border: 0.5px solid #dddfe6;
- border-bottom: 0;
- border-top-right-radius: 10px;
- background-color: white;
- }
- .fs-header-middle+div {
- border-left: 0.5px solid #dddfe6;
- border-top-left-radius: 10px;
- }
- .fs-page-content .fs-crud-container .fs-crud-header .fs-header-middle+div.fs-crud-toolbar{
- padding: 10px 10px 10px 0;
- }
- .fs-page-content .fs-crud-container .fs-crud-header .fs-crud-actionbar+div {
- border-left: 0;
- }
- .fs-container .box .inner .body {
- border-radius: 10px;
- flex: 1;
- padding: 0 10px 10px 10px;
- border: 0.5px solid #dddfe6;
- background-color: white;
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- border-top: 0;
- border-bottom-color: #ffffff00;
- }
- .fs-container .box .inner .footer {
- flex-shrink: 0;
- background: #fff;
- border: 0.5px solid #dddfe6;
- border-top: 0;
- border-bottom-right-radius: 10px;
- border-bottom-left-radius: 10px;
- }
- // 表格单元格样式
- .el-table__footer td.el-table__cell {
- border: none !important;
- border-bottom: 0.5px solid rgb(211, 211, 211) !important;
- }
- .no-hover-effect {
- background-color: #f0f9eb;
- color: #67c23a;
- border-color: #b3e19d;
- margin-top: -3px;
- }
- .no-hover-effect:hover,
- .no-hover-effect:focus,
- .no-hover-effect:active {
- background-color: #f0f9eb !important;
- color: #67c23a !important;
- border-color: #b3e19d !important;
- }
- .no-hover-effect-ban {
- background-color: #fef0f0;
- color: #f56c6c;
- border-color: #fab6b6;
- margin-top: -3px;
- }
- .no-hover-effect-ban:hover,
- .no-hover-effect-ban:focus,
- .no-hover-effect-ban:active {
- background-color: #fef0f0 !important;
- color: #f56c6c !important;
- border-color: #fab6b6 !important;
- }
- .asj-h2 {
- height: 60px;
- line-height: 60px;
- font-size: 18px;
- font-weight: 600;
- color: #333;
- border-bottom: 1px solid #e0e0e0;
- }
- .asj-h3 {
- font-size: 15px;
- font-weight: 750;
- color: #333;
- line-height: 22px;
- padding: 12px 0;
- position: relative;
- }
- .auto-page-foot {
- background-color: #fff;
- padding: 24px;
- position: sticky;
- bottom: 0;
- z-index: 100;
- display: flex;
- justify-content: center;
- }
|