index.less 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .cascaders {
  2. box-sizing: border-box;
  3. display: inline-block;
  4. position: relative;
  5. }
  6. .cinput {
  7. cursor: pointer;
  8. margin-right: 10px;
  9. position: relative;
  10. display: inline-block;
  11. padding: 4px 7px;
  12. font-size: 12px;
  13. line-height: 1.5;
  14. color: rgba(0, 0, 0, 0.65);
  15. background-color: #fff;
  16. background-image: none;
  17. border: 1px solid #d9d9d9;
  18. border-radius: 4px;
  19. transition: all .3s;
  20. }
  21. .cpop {
  22. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  23. margin-bottom: 0;
  24. padding-left: 0;
  25. list-style: none;
  26. background-color: #fff;
  27. box-shadow: 0 1px 6px #d9d9d9;
  28. border-radius: 4px;
  29. box-sizing: border-box;
  30. position: fixed;
  31. z-index: 1050;
  32. outline: none;
  33. overflow: hidden;
  34. }
  35. .clist {
  36. max-height: 240px;
  37. overflow: auto;
  38. }
  39. .item {
  40. display: flex;
  41. flex-direction: row;
  42. flex-wrap: nowrap;
  43. align-items: center;
  44. }
  45. .iname {
  46. width: 84%;
  47. margin-left: 8px;
  48. font-size: 12px;
  49. white-space: nowrap;
  50. overflow: hidden;
  51. text-overflow: ellipsis;
  52. }
  53. .cboot {
  54. margin: 10px 0;
  55. padding: 0 10px;
  56. display: flex;
  57. flex-direction: row-reverse;
  58. }