style.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /* 公共*/
  2. .float-btn .float-btn-box {
  3. display: flex;
  4. flex-direction: column;
  5. align-items: flex-end;
  6. justify-content: center;
  7. text-align: center;
  8. border:1px dashed #FF6A00;
  9. }
  10. .float-btn .float-btn-box a:last-child{
  11. margin-bottom: 0;
  12. }
  13. .float-btn .float-btn-item {
  14. display: flex;
  15. justify-content: center;
  16. align-items: center;
  17. flex-direction: column;
  18. margin-bottom: 10px;
  19. width: 40px;
  20. height: 40px;
  21. overflow: hidden;
  22. }
  23. .float-btn .float-btn-item .img-box {
  24. overflow: hidden;
  25. display: flex;
  26. justify-content: center;
  27. align-items: center;
  28. width: 40px;
  29. height: 40px;
  30. }
  31. .float-btn .float-btn-item .img-box img {
  32. max-width: 100%;
  33. max-height: 100%;
  34. }
  35. .float-btn .float-btn-item span {
  36. margin-top: 5px;
  37. color: #333;
  38. font-size: 12px;
  39. }
  40. .float-btn .float-btn-list li, .float-btn .float-btn-list .add-item {
  41. display: flex;
  42. align-items: end;
  43. border: 1px dashed #e5e5e5;
  44. padding: 10px;
  45. }
  46. .float-btn .float-btn-list li + li {
  47. margin: 10px 0;
  48. }
  49. .float-btn .float-btn-list li .content-block {
  50. width: 71%;
  51. display: flex;
  52. flex-direction: column;
  53. }
  54. .float-btn .float-btn-list li .content-block .layui-form-item {
  55. margin: 0;
  56. }
  57. .float-btn .float-btn-list .add-item {
  58. justify-content: center;
  59. align-items: center;
  60. margin: 10px 0;
  61. cursor: pointer;
  62. }
  63. .float-btn .float-btn-list .add-item i {
  64. font-weight: bold;
  65. display: inline-block;
  66. height: 24px;
  67. line-height: 24px;
  68. font-size: 18px;
  69. margin-right: 10px;
  70. }
  71. .float-btn .float-btn-list .add-item span {
  72. display: inline-block;
  73. height: 24px;
  74. line-height: 24px;
  75. }
  76. .float-btn .float-btn-list li {
  77. position: relative;
  78. }
  79. .float-btn .float-btn-list li:hover .del {
  80. display: block;
  81. }
  82. .float-btn{
  83. position: absolute;
  84. width: 40px;
  85. max-height: 170px;
  86. min-height: 62px;
  87. }
  88. .float-btn .preview-draggable{
  89. padding: 0;
  90. }
  91. .float-btn.left{
  92. background: rgba(255, 255, 255, 0.45);
  93. margin-left: 10px;
  94. top:130px;
  95. }
  96. .float-btn.left .edit-attribute{
  97. right: -980px;
  98. top: -100px;
  99. }
  100. .float-btn.right_bottom{
  101. margin-left: 10px;
  102. bottom:130px;
  103. left:642px;
  104. }
  105. .float-btn-list .hint{
  106. color:#909399 !important
  107. }
  108. .flex{justify-content: space-between;display: flex;align-items: center;}
  109. .flex .flex_left{display: flex;align-items: center;}
  110. .flex .flex_left .curr_color{color:#303133}
  111. .flex .flex_fill{flex:1;text-align: right;display: flex;justify-content: flex-end;align-items: center;}
  112. .flex .flex_fill .flex_choose{display: flex;align-items: center;}
  113. .flex .flex_fill .flex_choose>div{border:1px solid #EEEEEE;width:30px;height:23px;border-right: 0;line-height: 23px;text-align: center;}
  114. .flex .flex_fill .flex_choose>div img{vertical-align: middle;}
  115. .flex .flex_fill .flex_choose>div:last-child{border-right: 1px solid #EEEEEE;}
  116. .flex .flex_fill .flex_choose>div.active{border:1px solid #FF6A00;background-color: rgba(255, 106, 0, 0.1);}