common.css 2.0 KB

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