memos.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. body {
  2. font-family: Lyon-Text, Georgia, "Songti SC", SimSun, serif;
  3. }
  4. /* 增强加粗、颜色、背景等 */
  5. strong {
  6. font-weight: 900; /* 更粗的字体(如果有可用字重) */
  7. padding: 1px; /* 增加内边距 */
  8. }
  9. .vditor-reset {
  10. font-family: Lyon-Text, Georgia, "Songti SC", SimSun, serif !important;
  11. padding: 10px 0px !important;
  12. }
  13. .vditor-reset div {
  14. margin: 0 !important;
  15. }
  16. img {
  17. border: 1px solid #b7b6b6;
  18. }
  19. .img {
  20. border: 1px solid #b7b6b6;
  21. max-width: 200px;
  22. max-height: 200px;
  23. margin: 10px 10px 0 0 !important;
  24. cursor: pointer;
  25. }
  26. .editClass button {
  27. display: inline;
  28. /*margin-top: 5px;*/
  29. margin-left: 30px;
  30. }
  31. /*.border.el-row:hover {*/
  32. /* background-color: #d2ddd5; !* 鼠标悬停时的背景色 *!*/
  33. /*}*/
  34. .contentLine > div {
  35. /*margin: 5px 0 0;*/
  36. padding-left: 5px;
  37. }
  38. /*.border {*/
  39. /* !*border: 1px solid #b7b6b6;*!*/
  40. /* border-radius: 5px;*/
  41. /* padding: 10px;*/
  42. /* background-color: white;*/
  43. /*}*/
  44. body {
  45. background-color: #f4f4f5;
  46. }
  47. .myTop {
  48. position: fixed;
  49. top: 0;
  50. left: 0;
  51. background-image: url("./img/gray.png");
  52. /* 背景铺满整个div*/
  53. background-size: 100% 100%;
  54. width: 100%;
  55. padding: 10px;
  56. z-index: 100;
  57. }
  58. /* .vditor-reset {
  59. padding: 10px 20px !important;
  60. } */
  61. /* .vditor-toolbar {
  62. display: none;
  63. } */
  64. .main {
  65. max-width: 1200px;
  66. margin: 0 auto;
  67. }
  68. #all {
  69. padding: 20px;
  70. /*background: #f5f7fa;*/
  71. min-height: 100vh;
  72. }
  73. .myLine {
  74. }
  75. .border {
  76. border-radius: 8px;
  77. transition: all 0.3s;
  78. background: white;
  79. }
  80. .border:hover {
  81. box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
  82. transform: translateY(-3px);
  83. }
  84. /* 按钮样式统一 */
  85. .el-button {
  86. transition: all 0.3s;
  87. }
  88. .el-button:not(.el-button--text) {
  89. border-radius: 6px;
  90. padding: 8px 15px;
  91. }
  92. /* 输入框样式 */
  93. .el-input__inner {
  94. border-radius: 6px !important;
  95. }
  96. /* 标签选择区 */
  97. .el-checkbox-group {
  98. display: flex;
  99. flex-wrap: wrap;
  100. gap: 8px;
  101. }
  102. .el-checkbox-button__inner {
  103. border-radius: 14px !important;
  104. padding: 8px 15px !important;
  105. }
  106. .myText {
  107. font-size: 14px;
  108. line-height: 1.6;
  109. color: #606266;
  110. border-radius: 6px;
  111. }
  112. /* 图片展示优化 */
  113. .img {
  114. width: 150px;
  115. height: 150px;
  116. border-radius: 6px;
  117. margin: 5px;
  118. object-fit: cover;
  119. cursor: pointer;
  120. transition: transform 0.3s;
  121. }
  122. .img:hover {
  123. transform: scale(1.05);
  124. }
  125. /* 时间选择器 */
  126. .el-date-editor {
  127. width: 200px !important;
  128. }
  129. /* 编辑对话框 */
  130. #vditor {
  131. border-radius: 8px;
  132. margin: 10px 0;
  133. }
  134. /* 删除按钮动画 */
  135. @keyframes shake {
  136. 0% { transform: translateX(0); }
  137. 25% { transform: translateX(-3px); }
  138. 50% { transform: translateX(3px); }
  139. 75% { transform: translateX(-3px); }
  140. 100% { transform: translateX(0); }
  141. }
  142. /*.el-button--warning {*/
  143. /* animation: shake 0.5s ease-in-out infinite;*/
  144. /*}*/
  145. @media (max-width: 768px) {
  146. .myTop {
  147. padding: 10px;
  148. }
  149. .el-input {
  150. margin-left: 10px !important;
  151. }
  152. .el-button {
  153. padding: 6px 10px !important;
  154. font-size: 12px;
  155. }
  156. .el-col-18 {
  157. width: 100% !important;
  158. }
  159. .el-col-4 {
  160. width: 100% !important;
  161. margin-top: 10px;
  162. }
  163. }
  164. :root {
  165. --primary-color: #409EFF;
  166. --success-color: #67C23A;
  167. --warning-color: #E6A23C;
  168. --danger-color: #F56C6C;
  169. --text-primary: #303133;
  170. --text-regular: #606266;
  171. --border-color: #DCDFE6;
  172. }
  173. /* 隐藏复选框按钮,悬停时显示 */
  174. .myLine .el-checkbox-button {
  175. opacity: 0.3;
  176. transition: all 0.3s;
  177. transform: scale(0.9);
  178. margin: 2px;
  179. border: none;
  180. background: transparent !important;
  181. }
  182. .myLine:hover .el-checkbox-button {
  183. opacity: 1;
  184. transform: scale(1);
  185. }
  186. /* 调整选中状态的样式 */
  187. .myLine .el-checkbox-button.is-checked {
  188. opacity: 1;
  189. }
  190. .el-checkbox-button.is-checked .el-checkbox-button__inner {
  191. background-color: rgba(64,158,255,0.1) !important;
  192. border-color: rgba(64,158,255,0.3) !important;
  193. color: #4a90e2 !important;
  194. }
  195. /* 调整按钮文字颜色 */
  196. .myLine .el-checkbox-button span {
  197. color: #666;
  198. font-size: 12px;
  199. }