global.less 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. /*1.页面布局 start------------------------------------------------------------>*/
  2. //全局颜色
  3. @defaultBg:#fff;
  4. @defaultBorder:#E9EDF7;
  5. @defaultText:#999999;
  6. //按钮颜色
  7. @deleteBg:#F7E5E5;
  8. @editBg:#E4E8FD;
  9. @mainBg:#E3EFE6;
  10. //页面布局样式
  11. .layerBox_search {
  12. margin:30px 30px 10px 30px;
  13. background: @defaultBg;
  14. border-radius: 20px;
  15. border:1px solid @defaultBorder;
  16. padding: 20px 0;
  17. box-sizing: border-box;
  18. .searchTitle {
  19. font-size:14px;
  20. color:@defaultText;
  21. margin-bottom:10px;
  22. white-space:nowrap;
  23. }
  24. .searchBox {
  25. .el-cascader--medium {
  26. width:100%;
  27. }
  28. .el-select {
  29. width:100%;
  30. }
  31. }
  32. .el-row {
  33. >div:nth-child(1){
  34. padding-left:20px;
  35. padding-right:20px;
  36. }
  37. >div:nth-child(2){
  38. padding-right:20px
  39. }
  40. >div:nth-child(3){
  41. padding-right:20px
  42. }
  43. }
  44. }
  45. .layerBox {
  46. margin:30px;
  47. border-radius: 20px;
  48. background:@defaultBg;
  49. border:1px solid @defaultBorder;
  50. padding: 20px 20px 20px 20px;
  51. box-sizing: border-box;
  52. }
  53. .layerBoxNoBg {
  54. margin:0 30px 0 30px;
  55. text-align: right;
  56. display:flex;
  57. align-items: center;
  58. justify-content: space-between;
  59. }
  60. //分页
  61. .alignBox {
  62. text-align:right;
  63. padding-right:30px;
  64. padding-bottom:30px;
  65. }
  66. //列表中的按钮样式
  67. .listBtnBox{
  68. display:flex;
  69. align-items: center;
  70. justify-content: center;
  71. }
  72. .listDeleteBtn,.listEditBtn,.listMainBtn {
  73. width:70px;
  74. height:28px;
  75. line-height:28px;
  76. text-align:center;
  77. border-radius: 8px;
  78. margin-left:10px;
  79. cursor:pointer;
  80. i {
  81. margin-right:8px;
  82. }
  83. }
  84. .listDeleteBtn{
  85. color:#CC5F5F;
  86. background:@deleteBg;
  87. }
  88. .listDeleteBtn:hover {
  89. background:#EFCFCF;
  90. }
  91. .listEditBtn{
  92. color:#5570F1;
  93. background:@editBg;
  94. }
  95. .listEditBtn:hover {
  96. background:#CCD1F1;
  97. }
  98. .listMainBtn{
  99. color:#519C66;
  100. background:@mainBg;
  101. }
  102. .listMainBtn:hover {
  103. background:#CAD9CB;
  104. }
  105. //表单样式微调
  106. //1.网站列表
  107. .footerBtnbox {
  108. text-align: center;
  109. }
  110. .formDiv {
  111. .el-cascader {
  112. width:100%;
  113. }
  114. .treeBox {
  115. border: 1px solid #DCDFE6;
  116. border-radius: 4px;
  117. padding: 20px;
  118. }
  119. }
  120. .delete-button {
  121. width:30px;
  122. height:30px;
  123. line-height: 30px;
  124. text-align:center;
  125. border-radius: 50%;
  126. position: absolute;
  127. top: 60px;
  128. left: 60px;
  129. background: rgba(0, 0, 0, 0.5);
  130. color: white;
  131. cursor: pointer;
  132. transition: background 0.3s ease;
  133. z-index: 999; /* 确保删除按钮在图片上方 */
  134. }
  135. .delete-button:hover {
  136. background: rgba(255, 0, 0, 0.7);
  137. }
  138. .askBox {
  139. position: relative;
  140. i {
  141. position: absolute;
  142. top:1px;
  143. right:-5px;
  144. width:10px;
  145. height:10px;
  146. color:#A9A9A9;
  147. }
  148. }
  149. //logo上传
  150. .chooseImgDiv {
  151. width: 140px;
  152. height:140px;
  153. display:flex;
  154. align-items: center;
  155. justify-content: center;
  156. color:#5570F1;
  157. font-size:14px;
  158. img {
  159. display:block;
  160. }
  161. }
  162. .uploaderBox {
  163. .avatar-uploader{
  164. width: 140px;
  165. height:140px;
  166. border: 1px solid #d9d9d9;
  167. border-radius: 12px;
  168. cursor: pointer;
  169. position: relative;
  170. overflow: hidden;
  171. }
  172. .avatar-uploader {
  173. border-color: #d9d9d9;
  174. }
  175. }
  176. .avatar-uploader-icon {
  177. font-size: 20px;
  178. color: #8c939d;
  179. width: 60px;
  180. height: 60px;
  181. line-height: 60px;
  182. text-align: center;
  183. }
  184. .avatar {
  185. width: 140px;
  186. height: 140px;
  187. display: block;
  188. }
  189. //2.导航池
  190. .windowTitle {
  191. display:flex;
  192. padding-bottom:20px;
  193. font-size:16px;
  194. font-weight: bold;
  195. box-sizing: border-box;
  196. margin-bottom: 20px;
  197. .webNavTitle {
  198. width:120px;
  199. text-align:right;
  200. margin-right:20px;
  201. }
  202. .webNavTitleRight {
  203. width:100%;
  204. text-align: center;
  205. }
  206. }
  207. //关联导航池
  208. .layerBoxLineTwo{
  209. padding-top: 30px;
  210. }
  211. //投诉举报
  212. .complaintListdownloadBtn {
  213. width: 70px;
  214. height: 28px;
  215. color: #5570F1;
  216. background: #E4E8FD;
  217. line-height: 28px;
  218. text-align: center;
  219. border-radius: 8px;
  220. display: block;
  221. }
  222. .complaintListdownloadBtn {
  223. cursor: pointer;
  224. }
  225. .complaintListdownloadBtn:hover {
  226. color: #5570F1;
  227. background: #CCD1F1;
  228. }
  229. //发布新闻
  230. .bottomBtnBox {
  231. margin:0 30px 30px 30px;
  232. text-align:center;
  233. }
  234. /*页面布局 end------------------------------------------------------------>*/