common.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* flex布局 */
  2. .u-f,.u-f-ac,.u-f-ajc,.u-f-jsb,.u-f-je,.u-f1,.u-f-column,.u-f-sa{
  3. display: flex;
  4. }
  5. .u-f-ac,.u-f-ajc{
  6. align-items: center;
  7. }
  8. .u-f-ajc{
  9. justify-content: center;
  10. }
  11. .u-f-jsb{
  12. justify-content: space-between;
  13. }
  14. .u-f-je{
  15. justify-content: flex-end;
  16. }
  17. .u-f-sa{
  18. justify-content: space-around;
  19. }
  20. .u-f1{
  21. flex: 1;
  22. }
  23. .u-f-column{
  24. flex-direction: column;
  25. }
  26. .flex{
  27. display: flex;
  28. }
  29. .j-s{
  30. justify-content: space-between;
  31. }
  32. .j-c{
  33. justify-content: center;
  34. }
  35. .j-start{
  36. justify-content: flex-start;
  37. }
  38. .j-end{
  39. justify-content: flex-end;
  40. }
  41. .a-c{
  42. align-items: center;
  43. }
  44. .a-start{
  45. align-items: flex-start;
  46. }
  47. .a-end{
  48. align-items: flex-end;
  49. }
  50. .f-c{
  51. flex-direction: column;
  52. }
  53. .p-1{
  54. padding: 10px;
  55. }
  56. .p-2{
  57. padding: 20px;
  58. }
  59. .mrgin-1{
  60. margin: 10px;
  61. }
  62. .mrgin-2{
  63. margin: 20px;
  64. }
  65. .el-button--primary{
  66. background-color: #D42426;
  67. color: #fff;
  68. border-color: #D42426;
  69. }
  70. .el-button--primary.is-plain{
  71. background-color: #EAEDF1;
  72. color: #D42426;
  73. border-color: #EAEDF1;
  74. }
  75. .el-button--primary:hover{
  76. background-color: #BB1012;
  77. border-color: #BB1012;
  78. }
  79. .el-button--primary.is-plain:hover{
  80. background-color: #D2D2D2;
  81. color: #D42426;
  82. border-color: #D2D2D2;
  83. }