step.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /* #region 步骤条面板 */
  2. html,body{
  3. width: 100%;
  4. }
  5. .layui-step{
  6. width: 100%;
  7. height: 100%;
  8. position: relative;
  9. background-color: #fff;
  10. }
  11. .layui-step-title {
  12. width: 100%;
  13. padding-top: 10px;
  14. }
  15. .layui-step-title-item{
  16. min-height: 60px;
  17. float: left;
  18. background-color: #fff;
  19. text-align: center;
  20. position: relative;
  21. }
  22. .layui-step-title-item::after{
  23. content: "";
  24. width: 100%;
  25. display: inline-block;
  26. height: 2px;
  27. background-color: #ccc;
  28. position: absolute;
  29. top: 14px;
  30. left: 0px;
  31. }
  32. .layui-step-title-item.step-finish::after{
  33. background-color: #1E9FFF;
  34. }
  35. .layui-step-title-item.step-current::after{
  36. background-color: #1E9FFF;
  37. }
  38. .layui-step-title-item.step-disabled::after{
  39. background-color: #ccc;
  40. }
  41. .layui-step-title-item.step-first::after{
  42. width: 50%;
  43. left: 50%;
  44. }
  45. .layui-step-title-item.step-last::after{
  46. width: 50%;
  47. right: 50%;
  48. }
  49. .layui-step-title-item.step-finish .step-icon{
  50. background-color: #1E9FFF;
  51. color: #fff;
  52. border: 1px solid #1E9FFF
  53. }
  54. .layui-step-title-item.step-current .step-icon{
  55. background-color: #1E9FFF;
  56. color: #fff;
  57. border: 1px solid #1E9FFF;
  58. }
  59. .layui-step-title-item.step-disabled .step-icon{
  60. background-color: #ccc;
  61. color: #fff;
  62. border: 1px solid #ccc;
  63. cursor: not-allowed;
  64. }
  65. .layui-step-title-item.step-disabled .step-text{
  66. color: #bbb;
  67. }
  68. .layui-step-title-item.step-disabled .step-description{
  69. color: #ddd;
  70. }
  71. .step-icon{
  72. height: 26px;
  73. width: 26px;
  74. z-index: 1;
  75. color: #999;
  76. cursor: pointer;
  77. text-align: center;
  78. position: relative;
  79. border-radius: 50%;
  80. display: inline-block;
  81. background: #ffffff;
  82. border: 1px solid #ccc;
  83. }
  84. .step-icon>i{
  85. position: absolute;
  86. top: 5px;
  87. font-style: normal;
  88. left: 9px;
  89. }
  90. .step-text{
  91. font-weight: bolder;
  92. color: #555555;
  93. margin-bottom: 10px;
  94. padding: 0px 15px;
  95. }
  96. .step-description{
  97. color: #aaa;
  98. font-weight: 300;
  99. padding: 0px 15px;
  100. }
  101. .layui-step-content{
  102. width: 100%;
  103. min-height: calc(100% - 105px);
  104. position: relative;
  105. margin-top: 10px;
  106. background-color: #f5f5f5;
  107. }
  108. .layui-step-content-item{
  109. width: 100%;
  110. position: relative;
  111. padding: 15px 0px 0;
  112. top: 0px;
  113. left: 0px;
  114. display: none;
  115. }
  116. .layui-step-content-item .content-item-before{
  117. content: " ";
  118. width: 20px;
  119. height: 20px;
  120. background-color: #f5f5f5;
  121. position: absolute;
  122. top: -10px;
  123. transform: rotate(45deg);
  124. }
  125. .layui-step-btn{
  126. position: fixed;
  127. top: calc(100% - 48px);
  128. right: 50%;
  129. margin-right: -46px;
  130. }
  131. /* #endregion */