index.less 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. @import "~@less/mixin.less";
  2. .clearfix {
  3. zoom: 1;
  4. }
  5. .clearfix:after {
  6. content: "";
  7. display: block;
  8. height: 0;
  9. clear: both;
  10. visibility: hidden;
  11. }
  12. .wrapper{
  13. // margin-bottom: 5px;
  14. border: 1px solid #fff;
  15. &:hover{
  16. border: 1px solid @blue-background-color;
  17. border: 1px solid @blue-background-color;
  18. .title{
  19. color:@blue-background-color;
  20. }
  21. }
  22. &:hover .edit{
  23. display: block !important;
  24. }
  25. .fl-element {
  26. float: left;
  27. }
  28. .title-wrapper{
  29. // padding:2px 10px 2px 0;
  30. background-color: #fff;
  31. font-size: 0;
  32. position: relative;
  33. height: 45px;
  34. line-height: 45px;
  35. padding: 0 20px;
  36. cursor: pointer;
  37. img {
  38. display: inline-block;
  39. vertical-align: middle;
  40. width: 30px;
  41. height: 30px;
  42. }
  43. .check-wrap{
  44. height: 45px;
  45. padding-right: 10px;
  46. display: inline-block;
  47. float: left;
  48. }
  49. .check-box {
  50. height: 18px;
  51. width: 18px;
  52. margin-top: 14px;
  53. }
  54. .title{
  55. display: inline-block;
  56. font-size: @font-size-h4;
  57. height: 100%;
  58. vertical-align: top;
  59. // margin-top: 3px;
  60. // padding: 0 5px;
  61. max-width: 150px;
  62. overflow: hidden;
  63. text-overflow: ellipsis;
  64. white-space: nowrap;
  65. float: left;
  66. &.editing{
  67. // color: #fff;
  68. // background-color: #424243;
  69. outline: none;
  70. }
  71. }
  72. .arrow {
  73. float: right;
  74. margin-top: 8px;
  75. }
  76. .del {
  77. float: right;
  78. margin-top: 13px;
  79. margin-right: 10px;
  80. width: 20px;
  81. height: 20px;
  82. }
  83. .edit{
  84. float: left;
  85. margin-top: 13px;
  86. margin-right: 3px;
  87. display: none;
  88. width: 20px;
  89. height: 20px;
  90. margin-left: 5px;
  91. }
  92. .quote {
  93. float: right;
  94. height: 28px;
  95. line-height: 28px;
  96. width: 66px;
  97. border: 1px solid @template-color;
  98. color: @template-color;
  99. margin-right: 10px;
  100. letter-spacing: 2px;
  101. margin-top: 9px;
  102. border-radius: 15px;
  103. text-align: center;
  104. }
  105. .confirm{
  106. background-color: #85ccc9;
  107. color:#fff;
  108. float: left;
  109. font-size: 10px;
  110. width: 34px;
  111. height: 18px;
  112. text-align: center;
  113. line-height: 18px;
  114. margin-top: 14px;
  115. margin-left: 8px;
  116. border-radius: 2px;
  117. letter-spacing: 1px;
  118. }
  119. }
  120. .title-wrapper-bg{
  121. background-color: #EBF5FA;
  122. }
  123. .content{
  124. border-top: 1px solid @border-color;
  125. background-color: #fff;
  126. font-size: @font-size-h4;
  127. padding: 20px;
  128. width: 100%;
  129. box-sizing: border-box;
  130. cursor: pointer;
  131. display: none;
  132. }
  133. }
  134. .wrapperDes{
  135. padding: 2px 0;
  136. line-height: 16px;
  137. overflow: hidden;
  138. text-overflow:ellipsis;
  139. white-space: nowrap;
  140. }