icon.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .icon {
  2. box-sizing: border-box;
  3. display: inline-block;
  4. width: 20px;
  5. height: 20px;
  6. }
  7. .icon-more {
  8. margin: 0;
  9. background: url('../assets/icon/more.png') no-repeat;
  10. background-size: contain;
  11. }
  12. .icon-chat-setting {
  13. background: url('../assets/icon/chat-setting.png') no-repeat;
  14. background-size: contain;
  15. }
  16. .icon-image {
  17. margin: 12px 10px 0;
  18. background: url('../assets/icon/image.png') no-repeat;
  19. background-size: contain;
  20. }
  21. .icon-files {
  22. margin: 12px 10px 0;
  23. background: url('../assets/icon/files.png') no-repeat;
  24. background-size: contain;
  25. }
  26. .icon-video {
  27. margin: 12px 10px 0;
  28. background: url('../assets/icon/video.png') no-repeat;
  29. background-size: contain;
  30. }
  31. .icon-face {
  32. margin: 12px 10px 0;
  33. background: url('../assets/icon/face.png') no-repeat;
  34. background-size: contain;
  35. }
  36. .icon-custom {
  37. margin: 12px 10px 0;
  38. background: url('../assets/icon/custom.png') no-repeat;
  39. background-size: contain;
  40. }
  41. .icon-location {
  42. margin: 12px 10px 0;
  43. background: url('../assets/icon/location.png') no-repeat;
  44. background-size: contain;
  45. }
  46. .icon-selected {
  47. width: 16px;
  48. height: 16px;
  49. background: url('../assets/icon/selected.png') no-repeat;
  50. background-size: contain;
  51. }
  52. .icon-unselected {
  53. width: 16px;
  54. height: 16px;
  55. background: #FFFFFF;
  56. border: 1px solid #DDDDDD;
  57. border-radius: 8px;
  58. }
  59. .icon-cancel {
  60. width: 16px;
  61. height: 16px;
  62. background: url('../assets/icon/cancel.png') no-repeat;
  63. background-size: contain;
  64. }
  65. .icon-left {
  66. width: 12px;
  67. height: 12px;
  68. background: url('../assets/icon/right.png') no-repeat;
  69. background-size: contain;
  70. transform: rotate(180deg);
  71. }
  72. .icon-right {
  73. width: 12px;
  74. height: 12px;
  75. background: url('../assets/icon/right.png') no-repeat;
  76. background-size: contain;
  77. }
  78. .icon-edit {
  79. width: 16px;
  80. height: 16px;
  81. background: url('../assets/icon/edit.png') no-repeat;
  82. background-size: contain;
  83. }
  84. .icon-voice {
  85. width: 16px;
  86. height: 16px;
  87. background: url('../assets/icon/voice.png') no-repeat;
  88. background-size: contain;
  89. }
  90. .icon-reserve {
  91. transform: rotate(180deg);
  92. }
  93. .icon-del {
  94. width: 16px;
  95. height: 16px;
  96. background: url('../assets/icon/del.png') no-repeat;
  97. background-size: contain;
  98. }
  99. .icon-work {
  100. width: 36px;
  101. height: 36px;
  102. background: url('../assets/icon/work.png') no-repeat;
  103. background-size: contain;
  104. }
  105. .icon-public {
  106. width: 36px;
  107. height: 36px;
  108. background: url('../assets/icon/public.png') no-repeat;
  109. background-size: contain;
  110. }
  111. .icon-meeting {
  112. width: 36px;
  113. height: 36px;
  114. background: url('../assets/icon/meeting.png') no-repeat;
  115. background-size: contain;
  116. }
  117. .icon-room {
  118. width: 36px;
  119. height: 36px;
  120. background: url('../assets/icon/room.png') no-repeat;
  121. background-size: contain;
  122. }
  123. .icon-close {
  124. width: 16px;
  125. height: 16px;
  126. background: url('../assets/icon/close.png') no-repeat;
  127. background-size: contain;
  128. }
  129. .close {
  130. display: inline-block;
  131. width:24px;
  132. height:24px;
  133. position: relative;
  134. border-radius: 50%;
  135. &::before,&::after{
  136. content: "";
  137. position: absolute; /*方便进行定位*/
  138. background-color: #8F959E;
  139. height: 24px;
  140. width: 2px;
  141. top: 50%;
  142. left: 50%;
  143. margin-top: -15px;
  144. margin-left: -1px;
  145. }
  146. &::before{
  147. transform: rotate(45deg);
  148. }
  149. &::after{
  150. transform: rotate(-45deg);
  151. }
  152. }