index.scss 9.1KB

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