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.

317 lines
5.4 KiB

2 years ago
  1. /* 主页面背景 */
  2. .app-main {
  3. background: #212121;
  4. }
  5. /* 侧边栏菜单 logo */
  6. .sidebar-logo-container {
  7. background: #393939;
  8. & .sidebar-logo-link {
  9. & .sidebar-title {
  10. color: #fff;
  11. }
  12. }
  13. }
  14. /* 菜单 */
  15. .el-scrollbar {
  16. background: #303030;
  17. }
  18. /* 导航栏 */
  19. .navbar {
  20. background: #303030;
  21. /* 与tagViews的间隔 */
  22. border-bottom: 1px solid #535353;
  23. /* 收缩图标 */
  24. >.hamburger-container {
  25. fill: #ffffff;
  26. &:hover {
  27. background: rgba(0, 0, 0, .05)
  28. }
  29. }
  30. /* 右侧功能区 */
  31. >.right-menu {
  32. /* 功能项 */
  33. >.right-menu-item {
  34. color: #fff;
  35. &.hover-effect {
  36. &:hover {
  37. background: rgba(0, 0, 0, .025)
  38. }
  39. }
  40. }
  41. }
  42. }
  43. /* 打开的菜单视图 */
  44. .tags-view-container {
  45. background: #303030;
  46. >.tags-view-wrapper {
  47. /* 显示区域 */
  48. .tags-view-item {
  49. color: #fff;
  50. border-left: 1px solid #5a6171;
  51. /* 关闭图标 */
  52. &>.el-icon-close {
  53. color: #fff;
  54. }
  55. &:hover {
  56. color: #dbd4d4;
  57. & .el-icon-close {
  58. color: red;
  59. }
  60. }
  61. /* 边框 */
  62. &:last-of-type {
  63. border-right: 1px solid #5a6171;
  64. }
  65. /* 激活项 */
  66. &.active {
  67. /* 图标 */
  68. &::before {
  69. background: #85ef47!important;
  70. box-shadow: 0 0 7px #b7eb8f;
  71. }
  72. }
  73. }
  74. }
  75. /* 菜单弹出功能区 */
  76. >.contextmenu {
  77. background: #fff;
  78. color: #333;
  79. box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
  80. /* 功能项 */
  81. li {
  82. &:hover {
  83. background-color: #e8f4ff;
  84. color: #46a6ff;
  85. }
  86. }
  87. }
  88. }
  89. /* 功能区背景 */
  90. .head-menu-container .tags-view-container {
  91. background: #fff;
  92. border-bottom: 1px solid #d8dce5;
  93. box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04);
  94. }
  95. /* 头部菜单右侧功能区字体颜色 */
  96. .headMenu {
  97. .navbar {
  98. background-color: rgb(39, 44, 51);
  99. .svg-icon.search-icon{
  100. color: rgba(255, 255, 255, 0.8);
  101. }
  102. .right-menu .right-menu-item .user-name{
  103. color: rgba(255, 255, 255, 0.8);
  104. }
  105. }
  106. #screenfull {
  107. color: rgba(255, 255, 255, 0.8);
  108. }
  109. }
  110. .app-container,.content-container {
  111. background: #303030;
  112. }
  113. //.drawer-bg {
  114. // background: #000;
  115. //}
  116. /* 底部商标区 */
  117. .footer {
  118. background: #303030;
  119. color: #fff;
  120. }
  121. /* 仪表盘 */
  122. .main {
  123. /* 用户信息区 */
  124. .user-wrapper {
  125. background: #393939;
  126. .user-info {
  127. .random-message {
  128. color: #fff;
  129. }
  130. .user-dept, .user-login-info {
  131. color: #dddbdb;
  132. }
  133. }
  134. }
  135. /* 访问量块 */
  136. .count-header {
  137. background: #303030;
  138. span {
  139. color: #fff;
  140. }
  141. }
  142. .todayIp {
  143. color: #27c6da !important;
  144. }
  145. .todayVisit {
  146. color: #fc573b !important;
  147. }
  148. .totalVisit {
  149. color: #be63f9 !important;
  150. }
  151. }
  152. /* 对话框 */
  153. .el-dialog__body {
  154. color: #ddd;
  155. }
  156. /* 表格 */
  157. .el-table{
  158. background-color: #303030 !important;
  159. & tr {
  160. background-color: #393939;
  161. }
  162. /* 表头 */
  163. & thead {
  164. color: #fff;
  165. }
  166. & th.is-leaf:first-child, & td:first-child {
  167. border: 1px solid #303030;
  168. }
  169. & td,& th.is-leaf,&--border, &--group{
  170. border: 1px solid #303030;
  171. }
  172. /* 斑马纹 */
  173. &--striped &__body tr.el-table__row--striped td {
  174. background: #464646;
  175. }
  176. &--enable-row-hover &__body tr:hover>td {
  177. background-color: #2b2a2a;
  178. }
  179. }
  180. /* 表格操作图标 */
  181. .table-operation, .el-icon-{
  182. &view{
  183. color: #87d068;
  184. }
  185. &unlock{
  186. color: #87d068;
  187. }
  188. &setting {
  189. color: #2db7f5;
  190. }
  191. &delete {
  192. color: #f50;
  193. }
  194. }
  195. /* 卡片组件 */
  196. .el-card {
  197. background-color: #303030;
  198. color: #fff;
  199. }
  200. /* 树形选择组件 */
  201. .vue-treeselect__menu-container {
  202. color: #303030;
  203. }
  204. .vue-treeselect__single-value {
  205. color: #606266 !important;
  206. }
  207. /* 树组件 */
  208. .el-tree{
  209. background: #393939;
  210. color: #fff;
  211. }
  212. .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#000000}
  213. /* 表单组件 */
  214. .el-form-item__label{
  215. color: #fff;
  216. }
  217. /* 输入组件 */
  218. .el-input {
  219. &-group__append, &-group__prepend {
  220. background-color: #F5F7FA;
  221. }
  222. /* 数字输入组件 */
  223. &-number__increase, &-number__decrease {
  224. background-color: #F5F7FA;
  225. }
  226. }
  227. /* 日期组件 */
  228. .el-picker-panel__icon-btn {
  229. color: #303133;
  230. }
  231. /* markdown组件 */
  232. aside {
  233. background: #393939;
  234. }
  235. .tui-editor-defaultUI {
  236. border: 1px solid #737070;
  237. &-toolbar{
  238. background: #303030;
  239. & button{
  240. background-color: #303030;
  241. border: 1px solid #303030;
  242. &:hover,&:active,&:hover {
  243. border: 1px solid #737070;
  244. background-color: #303030;
  245. }
  246. }
  247. }
  248. & .te-mode-switch-section {
  249. background-color: #303030;
  250. border-top: 1px solid #737070;
  251. }
  252. & .te-switch-button{
  253. background: #303030;
  254. border-left: 1px solid #737070;
  255. border-right: 1px solid #737070;
  256. }
  257. & .te-switch-button.active {
  258. background-color: #393939;
  259. color: #fff;
  260. border-left: 1px solid #737070;
  261. border-right: 1px solid #737070;
  262. }
  263. & .te-markdown-tab-section {
  264. background: #393939;
  265. }
  266. }
  267. /* 分割线 */
  268. .el-divider__text {
  269. background-color: #303030;
  270. }
  271. .te-toolbar-section{
  272. border-bottom: 1px solid #737070;
  273. }
  274. .tui-popup-wrapper{
  275. background: #393939;
  276. border: 1px solid #737070;
  277. }
  278. .tui-popup-body {
  279. color: #fff;
  280. }
  281. .te-heading-add ul :hover {
  282. background: #212121 !important
  283. }
  284. .CodeMirror{
  285. color:#fff;
  286. &-scroll{
  287. background: #393939;
  288. }
  289. }
  290. .tui-editor .te-md-splitter{
  291. border-left: 1px solid #737070;
  292. }