123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550 |
- $bg_color : #3C64DC;
- html,
- body {
- height: 100%;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- p,
- body,
- html,
- ul,
- ol,
- li {
- margin: 0;
- padding: 0;
- }
- ul,
- ol,
- li {
- outline: none;
- list-style: none;
- }
- .overflow {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- // 前台公共样式
- a {
- color: #333333;
- text-decoration: none;
- }
- .center {
- width: 1200px;
- margin: 0 auto;
- height: 100%;
- }
- .overflow {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .flex {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- /*定义滚动条的样式*/
- ::-webkit-scrollbar {
- width: 10px;
- height: 10px;
- }
- /*定义滚动条滑块的样式*/
- ::-webkit-scrollbar-thumb {
- background: #ccc;
- border-radius: 10px;
- }
- /*定义滚动条轨道的背景颜色*/
- ::-webkit-scrollbar-track {
- background: #f1f1f1;
- }
- // 表格样式
- .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
- background: #F9FAFE;
- }
- .el-table {
- th.el-table__cell.is-leaf,
- td.el-table__cell {
- border-bottom: none;
- }
- th.gutter {
- display: table-cell !important;
- }
- .el-table__fixed-right {
- height: 100% !important;
- }
- .el-table__fixed {
- height: 100% !important;
- }
- .el-table__header-wrapper,
- .el-table__fixed-header-wrapper {
- th {
- word-break: break-word;
- background-color: #ECEFF6;
- ;
- color: #515a6e;
- height: 45px;
- }
- }
- // 滚动条的宽度
- .el-table__body-wrapper::-webkit-scrollbar {
- width: 10px; // 横向滚动条
- height: 10px; // 纵向滚动条 必写
- }
- // 滚动条的滑块
- .el-table__body-wrapper::-webkit-scrollbar-thumb {
- background-color: #DDDEE0; //颜色
- border-radius: 5px; //圆角
- }
- .el-table__body-wrapper {
- position: relative;
- .el-table__empty-text {
- display: inline-block;
- line-height: 25px;
- position: absolute;
- left: 50%;
- top: 30px;
- transform: translateX(-50%);
- color: #999;
- overflow: hidden;
- }
- }
- .el-table-column--selection .cell {
- padding-left: 10px;
- }
- .el-table__empty-block {
- min-height: 150px;
- }
- }
- // 集团公告发布页面tip
- .notice-testtooltip {
- padding: 2px 8px;
- color: #666;
- }
- // 面包屑导航
- .app-breadcrumb.el-breadcrumb {
- line-height: 40px;
- margin-left: 20px;
- color: #616161;
- .no-redirect {
- color: $bg_color;
- cursor: text;
- }
- .el-breadcrumb__separator {
- color: #898989;
- }
- }
- // 对话框顶部样式
- .el-dialog__header {
- border-bottom: 1px solid #ddd;
- .el-dialog__title {
- font-size: 16px;
- font-weight: 700;
- &::before {
- content: '';
- width: 4px;
- height: 16px;
- margin-right: 4px;
- display: inline-block;
- vertical-align: middle;
- background-color: $bg_color;
- margin-top: -3px;
- }
- }
- }
- // 富文本编辑器样式
- .editor-css {
- ul {
- li {
- list-style: disc;
- }
- }
- ol {
- li {
- list-style: decimal;
- }
- }
- }
- // 公共div外部样式
- .common-box {
- padding: 20px;
- background-color: #fff;
- border-radius: 6px;
- }
- // 卡片,标题样式
- .common-card {
- position: relative;
- background: #fff;
- padding: 15px;
- border-radius: 6px;
- margin-bottom: 20px;
- h3 {
- padding-left: 5px;
- margin-bottom: 15px;
- color: #101010;
- font-size: 16px;
- font-weight: 800;
- border-left: 5px solid $bg_color;
- }
- .right-type {
- position: absolute;
- right: 15px;
- top: 10px;
- }
- }
- // 顶部搜索区域-有操作按钮则靠右,上边加横线
- .right-button {
- text-align: right;
- padding: 10px 0;
- border-top: 1px solid rgb(235, 238, 245);
- }
- // 对话框底部按钮居中
- .el-dialog__footer {
- text-align: center;
- .el-button {
- min-width: 80px;
- margin-right: 10px;
- letter-spacing: 0.3em;
- }
- }
- // 页面底部按钮统一样式居中
- .foot-button {
- width: 100%;
- text-align: center;
- margin: 20px 0;
- .el-button {
- min-width: 100px;
- margin: 0 25px;
- letter-spacing: 0.3em;
- }
- }
- // 底部价格展示样式
- .price-css {
- color: #333;
- margin-top: 20px;
- font-size: 14px;
- span {
- display: inline-block;
- width: 100px;
- }
- }
- // 表格式的form样式
- .grid-form-class {
- .form-body {
- border-top: 1px solid #cecece;
- &:not(.form-flow) .is-error.el-form-item .el-form-item__content {
- border: 1px solid #f56c6c !important;
- border-left: 1px solid #cecece;
- }
- .flex-css {
- display: flex;
- border-bottom: 1px solid #cecece;
- border-right: 1px solid #cecece;
- }
- .el-form-item {
- box-sizing: border-box;
- margin: 0;
- position: relative;
- flex: 1;
- }
- .el-form-item__label {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- padding: 8px;
- box-sizing: border-box;
- background-color: #f5f7fa;
- border-left: 1px solid #cecece;
- text-align: right;
- font-size: 13px;
- color: #606266;
- font-weight: 400;
- height: 100%;
- }
- .el-form-item__content {
- position: relative;
- box-sizing: border-box;
- height: 100%;
- border-left: 1px solid #cecece;
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- // 展示内容
- .content {
- line-height: 22px;
- color: #303133;
- padding: 10px;
- font-size: 13px;
- }
- }
- .el-form-item__error {
- position: absolute;
- bottom: 0;
- left: auto;
- top: auto;
- right: 15px;
- }
- .el-select {
- width: 100%;
- height: 100%;
- }
- .el-checkbox {
- margin-left: 10px;
- padding-top: 4px;
- }
- .el-radio {
- margin-left: 10px;
- }
- .el-date-editor.el-input {
- width: 100%;
- }
- .el-input {
- height: 100%;
- }
- .el-input__inner {
- box-sizing: border-box;
- height: 100%;
- border-radius: 0px;
- color: #303133;
- background-color: #fff;
- border: none;
- }
- .el-textarea__inner {
- border: none;
- margin: 8px 0;
- }
- }
- }
- // tab栏竖型分布样式
- .vertical-tab {
- .el-tabs--left .el-tabs__header.is-left {
- width: 100%;
- }
- .el-tabs--left .el-tabs__item.is-left {
- text-align: left;
- }
- .el-tabs__item.is-active {
- background: #ecf5ff;
- }
- .el-tabs__item:hover {
- background: #ecf5ff;
- }
- // 竖线靠左
- .el-tabs--left .el-tabs__nav-wrap.is-left::after {
- right: auto;
- left: 0;
- }
- .el-tabs--left .el-tabs__active-bar.is-left {
- right: auto;
- left: 0;
- }
- }
- // 左右结果布局,左边18%,右边82%
- .left-list-box {
- width: 18%;
- margin-right: 20px;
- border-radius: 6px;
- background-color: #fff;
- height: 100%;
- overflow-y: auto;
- }
- // 左右结果布局,左边18%,右边82%
- .right-common-box {
- width: 82%;
- padding: 20px;
- background-color: #fff;
- border-radius: 6px;
- overflow-y: auto;
- }
- // 药品信息三行显示公共样式
- .drug-name {
- white-space: nowrap;
- }
- // 按钮湖蓝色----------新增按钮
- .lake-Blue {
- background: #52C8CC;
- border: #52C8CC;
- &:hover {
- background: #52C8CC;
- border: #52C8CC;
- opacity: 0.8;
- }
- &:focus {
- background: #52C8CC;
- border: #52C8CC;
- }
- &.is-disabled {
- background: #52C8CC;
- border: #52C8CC;
- opacity: 0.8;
- &:hover {
- background: #52C8CC;
- border: #52C8CC;
- opacity: 0.8;
- }
- }
- }
- // 表格内按钮颜色---------------开始-------------------------------------------
- // 不加类名,默认蓝色(详情,查看,启用等)
- // 绿色(新增,保存等)
- .green {
- color: #67c23a;
- &:hover {
- color: #67c23a;
- }
- &:focus {
- color: #67c23a;
- }
- }
- // 青色(编辑等)
- .cyan {
- color: #52c8cc;
- &:hover {
- color: #52c8cc;
- opacity: 0.8;
- }
- &:focus {
- color: #52c8cc;
- }
- }
- // 红色(删除等)
- .red {
- color: #f56c6c;
- &:hover {
- color: #f56c6c;
- opacity: 0.8;
- }
- &:focus {
- color: #f56c6c;
- }
- }
- // 橘黄色(设置,申请退货等)
- .orange {
- color: #e6a23c;
- &:hover {
- color: #e6a23c;
- opacity: 0.8;
- }
- &:focus {
- color: #e6a23c;
- }
- }
- // 灰色(禁用,停用等)
- .grey {
- color: #909399;
- &:hover {
- color: #909399;
- opacity: 0.8;
- }
- &:focus {
- color: #909399;
- }
- }
- // 耗材信息三行显示公共样式
- .mcs-name {
- white-space: nowrap;
- line-height: 16px;
- }
- // -----------------------------------结束------------------------------------
|