_BoxBaseStyle.cshtml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <style>
  2. .btn {
  3. cursor: pointer;
  4. }
  5. .btn-info {
  6. color: #fff;
  7. background-color: #049e9a;
  8. border-color: #049e9a;
  9. box-shadow: none;
  10. }
  11. .btn-outline-info, .btn-outline-success {
  12. color: #fff;
  13. border-color: #fff;
  14. }
  15. .btn-outline-info:hover {
  16. color: #fff;
  17. background-color: #049e9a;
  18. border-color: #049e9a;
  19. }
  20. .box {
  21. width: 100%;
  22. height: 100%;
  23. padding: 0;
  24. margin: 0;
  25. --mainColor: #049e9a;
  26. border: 1px solid var(--mainColor);
  27. }
  28. .box .box-header {
  29. width: 100%;
  30. line-height: 40px;
  31. font-size: 20px;
  32. font-weight: 600;
  33. /*padding: 10px 20px;*/
  34. color: #fff;
  35. background: var(--mainColor);
  36. text-align: center;
  37. position: relative;
  38. }
  39. .box .box-body {
  40. padding: 0 20px;
  41. height: calc(100% - 50px)
  42. }
  43. .box .box-header .back-btn {
  44. position: absolute;
  45. /*top: 8px;*/
  46. top: -3.5px;
  47. right: 20px;
  48. }
  49. dl.dl {
  50. width: 100%;
  51. display: flex;
  52. margin: 10px 0;
  53. padding: 10px;
  54. font-size: 18px;
  55. background: var(--mainBgColor2);
  56. color: var(--mainColor);
  57. border-radius: 10px;
  58. min-height: 70px;
  59. }
  60. .dl dt, .dl dd {
  61. display: flex;
  62. align-items: center;
  63. padding: 5px;
  64. }
  65. .dl dt {
  66. width: 15%;
  67. min-width: 100px;
  68. font-weight: 600;
  69. justify-content: flex-end;
  70. }
  71. .dl dd {
  72. width: 85%;
  73. white-space: normal;
  74. word-break: break-all;
  75. margin: 0;
  76. flex-wrap: wrap;
  77. }
  78. </style>