common.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. [v-cloak] {
  2. display: none;
  3. }
  4. .flex{
  5. display: flex;
  6. }
  7. .flex1{
  8. flex: 1;
  9. }
  10. .vc{
  11. align-items: center;
  12. }
  13. .w-80{
  14. width: 80px;
  15. }
  16. .w-180{
  17. width: 180px;
  18. }
  19. .w-220{
  20. width: 220px;
  21. }
  22. .w-300{
  23. width: 300px;
  24. }
  25. .bgc-f5f5fa{
  26. background-color: #f5f5fa;
  27. }
  28. .c-FF0000{
  29. color: #FF0000
  30. }
  31. .lh28{
  32. height: 28px;
  33. line-height: 28px;
  34. }
  35. .h30{
  36. height: 30px;
  37. line-height: 30px;
  38. }
  39. /* 按钮样式 */
  40. .btn{
  41. outline: 0;
  42. cursor: pointer;
  43. display: inline-block;
  44. }
  45. .btn-size-s{
  46. min-width: 80px;
  47. height: 30px;
  48. font-size: 14px;
  49. }
  50. .btn-size-m{
  51. width: 120px;
  52. height: 36px;
  53. font-size: 14px;
  54. }
  55. .btn-12B7F5{
  56. background-color: #12B7F5;
  57. border-color: #12B7F5;
  58. color: #FFF;
  59. }
  60. /* 必填*样式 */
  61. .required{
  62. position: relative;
  63. padding-left: 10px;
  64. }
  65. .required::after{
  66. content: "*";
  67. display: inline-block;
  68. color: red;
  69. position: absolute;
  70. left: 0;
  71. top: 7px;
  72. z-index: 0;
  73. font-size: 14px;
  74. }
  75. .ui-row{
  76. flex-wrap: wrap;
  77. }
  78. .ui-row label{
  79. min-width: 70px;
  80. padding-top: 5px;
  81. }
  82. .ui-row .ui-row-item{
  83. margin-bottom: 20px;
  84. }
  85. .ui-row .el-input__inner{
  86. height: 30px;
  87. line-height: 30px;
  88. background-color: transparent;
  89. cursor: pointer;
  90. font-size: 14px;
  91. }
  92. .ui-row .el-input__icon{
  93. line-height: 30px;
  94. }
  95. /* 输入框样式 */
  96. .form-control{
  97. display: inline-block;
  98. border-radius: 3px;
  99. padding: 0 12px;
  100. box-sizing: border-box;
  101. }
  102. /* 单选框样式 */
  103. .row-line-item {
  104. display: inline-block;
  105. font-size: 14px;
  106. margin-bottom: 20px;
  107. }
  108. .checkbox-inline, .radio-inline {
  109. position: relative;
  110. display: inline-block;
  111. padding-left: 20px;
  112. margin-bottom: 0;
  113. font-weight: 400;
  114. vertical-align: middle;
  115. cursor: pointer;
  116. }
  117. .checkbox-inline {
  118. padding-left: 24px;
  119. }
  120. .checkbox-inline input[type='checkbox'], .radio-inline input[type='radio'] {
  121. position: absolute;
  122. margin-left: -20px;
  123. opacity: 0;
  124. }
  125. input[type='checkbox']+span:before {
  126. content: '';
  127. position: absolute;
  128. left: 0;
  129. top: 4px;
  130. background: url(../images/gouxuan_btn.png);
  131. width: 14px;
  132. height: 14px;
  133. display: inline-block;
  134. }
  135. input[type='checkbox']:checked+span:before {
  136. background: url(../images/gouxuan_pre.png);
  137. }