Viz.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. @import "~assets/less/variable";
  2. .slides {
  3. position: absolute;
  4. top: 0;
  5. bottom: 0;
  6. left: 0;
  7. right: 0;
  8. overflow-y: auto;
  9. }
  10. .unit {
  11. height: 120px;
  12. background-color: @body-background;
  13. background-repeat: no-repeat;
  14. background-size: 100%;
  15. background-position: center center;
  16. margin-bottom: 20px;
  17. border-radius: 2px;
  18. box-shadow: @block-box-shadow;
  19. transform: translate3d(0, 0, 0);
  20. transition: transform 200ms linear,
  21. box-shadow 200ms linear,
  22. background-size 500ms linear;
  23. position: relative;
  24. cursor: pointer;
  25. &:hover {
  26. background-size: 110%;
  27. box-shadow: @block-active-box-shadow;
  28. transform: translate3d(0, -5px, 0);
  29. }
  30. &.editing {
  31. opacity: .3;
  32. }
  33. header {
  34. background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
  35. border-radius: 2px 2px 0 0;
  36. }
  37. .title {
  38. padding: 12px 80px 0 12px;
  39. color: @white;
  40. font-size: 1.15em;
  41. font-weight: normal;
  42. .ellipsis;
  43. }
  44. .content {
  45. padding: 8px 12px 24px;
  46. color: @white;
  47. font-size: .85em;
  48. .ellipsis;
  49. }
  50. .portalActions {
  51. position: absolute;
  52. right: 8px;
  53. top: 8px;
  54. .edit, .delete {
  55. opacity: .7;
  56. font-size: 15px;
  57. margin-left: 8px;
  58. color: @white;
  59. transition: transform 200ms ease;
  60. &:hover {
  61. opacity: 1;
  62. transform: scale(1.1, 1.1);
  63. }
  64. }
  65. }
  66. .central {
  67. height: 100%;
  68. display: flex;
  69. flex-direction: column;
  70. align-items: center;
  71. justify-content: center;
  72. &:hover {
  73. .add,.text {
  74. color: @blue;
  75. cursor: pointer;
  76. }
  77. }
  78. .item {
  79. color: @light-text-color;
  80. &.add {
  81. font-size: 28px;
  82. }
  83. &.text {
  84. font-size: 16px;
  85. }
  86. }
  87. }
  88. }
  89. .excludeList{
  90. margin: 8px 8px;
  91. b{
  92. margin-left: 6px;
  93. }
  94. }
  95. .searchAdmin, .addCol {
  96. padding: 0 4px;
  97. text-align: right;
  98. }
  99. @media (max-width: 768px) {
  100. .searchAdmin {
  101. margin-bottom: 8px;
  102. }
  103. }
  104. .searchUser {
  105. float: right;
  106. }
  107. .searchInputAdmin {
  108. margin-right: 10px;
  109. }
  110. .controlTab {
  111. overflow: auto;
  112. max-height: 400px;
  113. }
  114. .display {
  115. height: 120px;
  116. background-color: @body-background;
  117. background-repeat: no-repeat;
  118. background-position: center;
  119. background-size: 100%;
  120. margin-bottom: 20px;
  121. border-radius: 2px;
  122. box-shadow: @block-box-shadow;
  123. transform: translate3d(0, 0, 0);
  124. transition: all 200ms linear;
  125. transition: transform 200ms linear,
  126. box-shadow 200ms linear,
  127. background-size 500ms linear;
  128. cursor: pointer;
  129. &.editing {
  130. opacity: .3;
  131. }
  132. header {
  133. background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
  134. border-radius: 2px 2px 0 0;
  135. }
  136. .container {
  137. position: absolute;
  138. width: 100%;
  139. height: 100%;
  140. display: flex;
  141. flex-direction: column;
  142. .central {
  143. flex: 1;
  144. height: 100%;
  145. width: 100%;
  146. display: flex;
  147. flex-direction: column;
  148. align-items: center;
  149. justify-content: center;
  150. &:hover {
  151. .icon,.text {
  152. color: @blue;
  153. cursor: pointer;
  154. }
  155. }
  156. .item {
  157. color: @light-text-color;
  158. &.icon {
  159. font-size: 28px;
  160. }
  161. &.text {
  162. font-size: 16px;
  163. }
  164. }
  165. }
  166. }
  167. &:hover {
  168. background-size: 110%;
  169. box-shadow: @block-active-box-shadow;
  170. transform: translate3d(0, -5px, 0);
  171. .pic {
  172. transform: translate(0, -5px);
  173. }
  174. }
  175. .title {
  176. padding: 12px 40px 0 12px;
  177. color: @white;
  178. font-size: 1.15em;
  179. font-weight: normal;
  180. .ellipsis;
  181. }
  182. .content {
  183. padding: 8px 12px 24px;
  184. color: @white;
  185. font-size: .85em;
  186. .ellipsis;
  187. }
  188. .displayActions {
  189. position: absolute;
  190. right: 8px;
  191. top: 8px;
  192. .delete, .copy, .edit {
  193. color: @white;
  194. margin-left: 8px;
  195. font-size: 15px;
  196. opacity: .5;
  197. transition: transform 200ms ease;
  198. &:hover {
  199. opacity: 1;
  200. transform: scale(1.1, 1.1);
  201. }
  202. }
  203. }
  204. }
  205. .listPadding{
  206. padding: 0 12px 12px 12px;
  207. }
  208. .spliter11 {
  209. height: 11px;
  210. }
  211. .spliter16 {
  212. height: 16px;
  213. }