You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TreeSelectIndex.css 2.8 KiB

4 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. .form-warp {
  2. position: relative;
  3. width: 100%;
  4. height: 100%;
  5. padding-left: 180px;
  6. }
  7. .form-warp-left {
  8. position: absolute;
  9. left: 0;
  10. top: 0;
  11. width: 180px;
  12. height: 100%;
  13. }
  14. .tree {
  15. position: relative;
  16. height: 100%;
  17. width: 100%;
  18. border-right: 1px solid #ddd;
  19. }
  20. .form-warp-main {
  21. position: relative;
  22. height: 100%;
  23. width: 100%;
  24. padding-top: 28px;
  25. }
  26. .item-search {
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. width: 100%;
  31. height: 28px;
  32. border-bottom: 1px solid #ddd;
  33. }
  34. .item-list {
  35. position: relative;
  36. height: 100%;
  37. width: 100%;
  38. }
  39. .form-warp-right {
  40. position: absolute;
  41. top: 0;
  42. right: -180px;
  43. height: 100%;
  44. width: 180px;
  45. border-left: 1px solid #ddd;
  46. padding-top: 28px;
  47. background-color: #fff;
  48. z-index: 10;
  49. }
  50. .form-warp-right-close {
  51. position: absolute;
  52. top: 7px;
  53. right: 4px;
  54. width: 12px;
  55. height: 13px;
  56. display: block;
  57. background: url(/Content/images/tab_close.png) no-repeat;
  58. cursor: pointer;
  59. }
  60. .form-warp-right-close:hover {
  61. background-position: 0 -12px;
  62. }
  63. .form-warp-right-title {
  64. position: absolute;
  65. top: 0;
  66. left: 0;
  67. height: 28px;
  68. line-height: 27px;
  69. padding-left: 10px;
  70. width: 100%;
  71. border-bottom: 1px solid #ddd;
  72. padding-right: 80px;
  73. }
  74. .selected-item-list-warp {
  75. position: relative;
  76. height: 100%;
  77. width: 100%;
  78. }
  79. .item-selected-btn {
  80. position: absolute;
  81. top: 0;
  82. right: 0;
  83. height: 100%;
  84. width: 80px;
  85. line-height: 27px;
  86. text-align: center;
  87. border-left: 1px solid #ddd;
  88. cursor: pointer;
  89. background-color: #eee;
  90. color: #666;
  91. }
  92. .item-selected-btn-unknow {
  93. position: absolute;
  94. top: 0;
  95. right: 80px;
  96. height: 100%;
  97. width: 80px;
  98. line-height: 27px;
  99. text-align: center;
  100. border-left: 1px solid #ddd;
  101. cursor: pointer;
  102. background-color: #eee;
  103. color: #666;
  104. }
  105. .item-selected-btn:hover {
  106. color: #333;
  107. }
  108. .form-control {
  109. border: 0px;
  110. height: 100%;
  111. }
  112. .input-query {
  113. position: absolute;
  114. right: 166px;
  115. top: 2px;
  116. color: #ccc;
  117. font-size: 16px;
  118. cursor: pointer;
  119. }
  120. .item-selected-box {
  121. position: relative;
  122. width: 160px;
  123. height: 30px;
  124. border: 1px solid #ccc;
  125. border-radius: 2px;
  126. margin: auto;
  127. margin-top: 10px;
  128. padding: 5px 0 0 10px;
  129. }
  130. .item-selected-box p {
  131. overflow: hidden;
  132. white-space: nowrap;
  133. text-overflow: ellipsis;
  134. margin: 0;
  135. }
  136. .item-reomve {
  137. position: absolute;
  138. top: 2px;
  139. right: 2px;
  140. width: 12px;
  141. height: 13px;
  142. display: block;
  143. background: url(/Content/images/tab_close.png) no-repeat;
  144. cursor: pointer;
  145. }
  146. .item-reomve:hover {
  147. background-position: 0 -12px;
  148. }