血透系统PC前端

index.scss 8.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. @import './btn.scss';
  7. @import './reset.scss';
  8. body {
  9. height: 100%;
  10. -moz-osx-font-smoothing: grayscale;
  11. -webkit-font-smoothing: antialiased;
  12. text-rendering: optimizeLegibility;
  13. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  14. }
  15. ul {
  16. padding: 0;
  17. }
  18. label {
  19. // font-weight: 700;
  20. }
  21. html {
  22. height: 100%;
  23. box-sizing: border-box;
  24. }
  25. li {
  26. list-style: none;
  27. }
  28. #app {
  29. height: 100%;
  30. }
  31. *,
  32. *:before,
  33. *:after {
  34. box-sizing: inherit;
  35. }
  36. .no-padding {
  37. padding: 0px !important;
  38. }
  39. .padding-content {
  40. padding: 4px 0;
  41. }
  42. a:focus,
  43. a:active {
  44. outline: none;
  45. }
  46. a,
  47. a:focus,
  48. a:hover {
  49. cursor: pointer;
  50. color: inherit;
  51. text-decoration: none;
  52. }
  53. div:focus {
  54. outline: none;
  55. }
  56. .fr {
  57. float: right;
  58. }
  59. .fl {
  60. float: left;
  61. }
  62. .pr-5 {
  63. padding-right: 5px;
  64. }
  65. .pl-5 {
  66. padding-left: 5px;
  67. }
  68. .block {
  69. display: block;
  70. }
  71. .pointer {
  72. cursor: pointer;
  73. }
  74. .inlineBlock {
  75. display: block;
  76. }
  77. .clearfix {
  78. &:after {
  79. visibility: hidden;
  80. display: block;
  81. font-size: 0;
  82. content: " ";
  83. clear: both;
  84. height: 0;
  85. }
  86. }
  87. code {
  88. background: #eef1f6;
  89. padding: 15px 16px;
  90. margin-bottom: 20px;
  91. display: block;
  92. line-height: 36px;
  93. font-size: 15px;
  94. font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  95. a {
  96. color: #337ab7;
  97. cursor: pointer;
  98. &:hover {
  99. color: rgb(32, 160, 255);
  100. }
  101. }
  102. }
  103. .warn-content {
  104. background: rgba(66, 185, 131, .1);
  105. border-radius: 2px;
  106. padding: 16px;
  107. padding: 1rem;
  108. line-height: 1.6rem;
  109. word-spacing: .05rem;
  110. a {
  111. color: #42b983;
  112. font-weight: 600;
  113. }
  114. }
  115. //main-container全局样式
  116. .app-container {
  117. padding: 20px;
  118. background: #fff;
  119. margin: 0 15px 15px 15px;
  120. min-height: calc(100vh - 178px);
  121. }
  122. .components-container {
  123. margin: 30px 50px;
  124. position: relative;
  125. }
  126. .pagination-container {
  127. margin-top: 30px;
  128. }
  129. .text-center {
  130. text-align: center
  131. }
  132. .sub-navbar {
  133. height: 50px;
  134. line-height: 50px;
  135. position: relative;
  136. width: 100%;
  137. text-align: right;
  138. padding-right: 20px;
  139. transition: 600ms ease position;
  140. background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  141. .subtitle {
  142. font-size: 20px;
  143. color: #fff;
  144. }
  145. &.draft {
  146. background: #d0d0d0;
  147. }
  148. &.deleted {
  149. background: #d0d0d0;
  150. }
  151. }
  152. .link-type,
  153. .link-type:focus {
  154. color: #337ab7;
  155. cursor: pointer;
  156. &:hover {
  157. color: rgb(32, 160, 255);
  158. }
  159. }
  160. .filter-container {
  161. padding-bottom: 10px;
  162. .filter-item {
  163. display: inline-block;
  164. vertical-align: middle;
  165. margin-bottom: 10px;
  166. }
  167. }
  168. //refine vue-multiselect plugin
  169. .multiselect {
  170. line-height: 16px;
  171. }
  172. .multiselect--active {
  173. z-index: 1000 !important;
  174. }
  175. .DetailsTit {
  176. border-bottom: 1px #e5e5e5 solid;
  177. text-align: center;
  178. span {
  179. height: 50px;
  180. line-height: 50px;
  181. color: $main-color;
  182. position: relative;
  183. font-size: 16px;
  184. width: 120px;
  185. margin: 0 auto;
  186. display: inline-block;
  187. font-weight: 700;
  188. &::before,
  189. &::after {
  190. content: '';
  191. display: block;
  192. position: absolute;
  193. top: 23px;
  194. width: 10px;
  195. height: 2px;
  196. background: $main-color;
  197. }
  198. &::before {
  199. left: 10px;
  200. }
  201. &::after {
  202. right: 10px;
  203. }
  204. }
  205. }
  206. .middleLine {
  207. background: #f5f7fa;
  208. height: 18px;
  209. }
  210. .plate {
  211. margin: 12px 100px 0 100px;
  212. padding-bottom: 14px;
  213. @include box-sizing;
  214. @include display-flex;
  215. @include align-items-center;
  216. @include justify-content-between; // border-bottom: 1px #e6e6e6 dashed;
  217. ul {
  218. li {
  219. font-size: 15px;
  220. line-height: 30px;
  221. label {
  222. color: #34495e;
  223. }
  224. .content {
  225. color: $main-color;
  226. }
  227. .unit {
  228. color: $font-color;
  229. }
  230. }
  231. }
  232. }
  233. .note {
  234. font-size: 14px;
  235. color: $pgh-color;
  236. margin: 0 100px;
  237. line-height: 50px;
  238. border-top: 1px #e5e5e5 dashed;
  239. span {
  240. color: $main-color;
  241. }
  242. }
  243. .el-dialog__body {
  244. max-height: calc(100vh - 350px) !important;
  245. overflow-y: scroll !important;
  246. margin-right: 8px;
  247. /* 针对缺省样式 (必须的) */
  248. &::-webkit-scrollbar {
  249. width: 6px;
  250. height: 10px;
  251. }
  252. /* 滚动条的滑轨背景颜色 */
  253. &::-webkit-scrollbar-track {
  254. background-color: #fff;
  255. border-radius: 3px;
  256. -moz-border-radius: 3px;
  257. -webkit-border-radius: 3px;
  258. }
  259. /* 滑块颜色 */
  260. &::-webkit-scrollbar-thumb {
  261. background: #d7dce2;
  262. border-radius: 3px;
  263. -moz-border-radius: 3px;
  264. -webkit-border-radius: 3px;
  265. }
  266. /*内层轨道的颜色*/
  267. &::-webkit-scrollbar-track-piece {
  268. background-color: #fff;
  269. border-radius: 3px;
  270. -moz-border-radius: 3px;
  271. -webkit-border-radius: 3px;
  272. }
  273. /* 滑轨两头的监听按钮颜色 */
  274. &::-webkit-scrollbar-button {
  275. background-color: #eee;
  276. width: 0;
  277. height: 0;
  278. }
  279. /* 横向滚动条和纵向滚动条相交处尖角的颜色 */
  280. &::-webkit-scrollbar-corner {
  281. background-color: #eee;
  282. }
  283. }
  284. .NoData {
  285. width: 180px;
  286. margin: 40px auto;
  287. img {
  288. width: 100%;
  289. }
  290. }
  291. .el-menu-item,
  292. .el-submenu__title {
  293. height: 46px !important;
  294. line-height: 46px !important;
  295. padding: 0 15px !important;
  296. }
  297. .el-menu-item {
  298. min-width: 0;
  299. }
  300. .position {
  301. background: #f6f8f9;
  302. padding: 10px 20px;
  303. display: flex;
  304. align-items: center;
  305. justify-content: space-between;
  306. height: 52px;
  307. }
  308. // 筛选全局样式
  309. .app-container {
  310. .cell.clearfix {
  311. margin: 0px 0 12px 0;
  312. display: flex;
  313. align-items:center;
  314. justify-content: flex-start;
  315. box-sizing: border-box;
  316. color: #333;
  317. .el-button--primary{
  318. margin-left: 6px;
  319. }
  320. .title {
  321. width: 80px;
  322. display: inline-block;
  323. font-weight: normal;
  324. color: #909399;
  325. padding: 6px 0;
  326. .name {
  327. width: 60px;
  328. text-align: justify;
  329. text-justify: distribute-all-lines;
  330. text-align-last: justify;
  331. -moz-text-align-last: justify;
  332. -webkit-text-align-last: justify;
  333. display: inline-block;
  334. font-size: 14px;
  335. }
  336. }
  337. .time {
  338. // -webkit-box-flex: 1;
  339. // -ms-flex: 1;
  340. // flex: 1;
  341. ul {
  342. margin: 0;
  343. // padding-left: 5px;
  344. li {
  345. float: left;
  346. list-style: none;
  347. cursor: pointer;
  348. padding: 6px 20px;
  349. color: #606266;
  350. border-radius: 4px;
  351. margin: 0 8px 0 0;
  352. font-size: 14px;
  353. // width: 70px;
  354. text-align: center;
  355. &:hover {
  356. background: #f5f7fa;
  357. }
  358. }
  359. .active {
  360. background: #409eff;
  361. color: #fff;
  362. }
  363. }
  364. }
  365. }
  366. }
  367. // 表格
  368. .el-table {
  369. th,
  370. td {
  371. .cell {
  372. margin: 0;
  373. padding: 0 12px;
  374. }
  375. }
  376. td {
  377. .cell {
  378. padding: 0 12px;
  379. }
  380. }
  381. }
  382. // 标题线
  383. .dataTitle {
  384. color: #303133;
  385. font-size: 14px;
  386. border-bottom: 2px #E4E7ED solid;
  387. height: 36px;
  388. line-height: 36px;
  389. margin: 0 0 25px 0;
  390. position: relative;
  391. &::before {
  392. position: absolute;
  393. left: 0;
  394. bottom: -2px;
  395. content: "";
  396. width: 60px;
  397. height: 2px;
  398. background: #409eff;
  399. }
  400. }
  401. .el-dialog__wrapper{
  402. // z-index: 2012 !important;
  403. }
  404. .el-dialog{
  405. left: 50% !important;
  406. position: fixed !important;
  407. top: 50% !important;
  408. transform: translate(-50%,-50%) !important;
  409. margin-top: 0 !important;
  410. }
  411. .el-dialog__wrapper{
  412. // z-index: 9999!important;
  413. }
  414. .el-message{
  415. z-index: 99999!important;
  416. }
  417. .el-select-dropdown{
  418. // z-index: 2003!important;
  419. }
  420. // .patient-app-container {
  421. // margin-bottom: 4px;
  422. // height: 36px;
  423. // line-height: 36px;
  424. // }
  425. .patient-app-container {
  426. margin-left: 180px;
  427. margin-right: 0;
  428. background: #fff;
  429. }
  430. .patient-name{
  431. color: #606266;
  432. font-size: 14px;
  433. padding: 15px 0 15px 0;
  434. display: block;
  435. border-bottom: 1px #E4E7ED solid;
  436. margin: 0 18px;
  437. flex: 1;
  438. }
  439. .el-button+.el-button{
  440. // margin-left: 0;
  441. }
  442. // 病人管理-病程管理
  443. .filter_title {
  444. font-size: 14px;
  445. color: gray;
  446. margin-right: 6px;
  447. }
  448. .Total{
  449. margin:0 0 10px 0;
  450. float: right;
  451. }
  452. .cellLine{
  453. color: #C0C4CC;
  454. padding: 0 3px;
  455. }