index.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. .fe-whole-page {
  2. font-size: 14px;
  3. user-select: none;
  4. padding: 0;
  5. margin: 0;
  6. width: 152px;
  7. position: relative;
  8. overflow: hidden;
  9. }
  10. .fe-hide {
  11. display: none;
  12. }
  13. .fe-function-title {
  14. padding: 8px 12px;
  15. color: #2b2d42;
  16. font-weight: 600;
  17. cursor: default;
  18. border-bottom: 1px solid rgba(67, 97, 238, 0.1);
  19. background: linear-gradient(to right, #f8f9ff, #f0f2ff);
  20. font-size: 12px;
  21. letter-spacing: 0.5px;
  22. }
  23. .fe-function-title span {
  24. font-weight: normal;
  25. color: #999;
  26. font-size: 10px;
  27. }
  28. ul.fe-function-list {
  29. padding: 0;
  30. list-style: none;
  31. width: 100%;
  32. margin: 0;
  33. }
  34. ul.fe-function-list li {
  35. padding: 2px 10px 2px 38px;
  36. cursor: pointer;
  37. color: #4a4c6d;
  38. transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  39. display: block;
  40. align-items: center;
  41. height: 28px;
  42. border-radius: 6px;
  43. margin: 2px 0;
  44. border-bottom: 1px solid rgba(67, 97, 238, 0.05);
  45. text-align: justify;
  46. position: relative;
  47. line-height: 28px;
  48. }
  49. ul.fe-function-list li:last-child {
  50. border-bottom: none;
  51. }
  52. ul.fe-function-list li.x-hovered,
  53. ul.fe-function-list li:hover {
  54. color: #000;
  55. background: rgba(67, 97, 238, 0.08);
  56. box-shadow: 0 2px 6px rgba(67, 97, 238, 0.08);
  57. font-weight: 600;
  58. }
  59. ul.fe-function-list li > span {
  60. padding-left: 24px;
  61. }
  62. ul.fe-function-list li:after {
  63. content: ' ';
  64. display: inline-block;
  65. width: 100%;
  66. overflow: hidden;
  67. height: 0;
  68. }
  69. ul.fe-function-list li > b {
  70. width: 20px;
  71. height: 20px;
  72. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  73. display: inline-flex;
  74. align-items: center;
  75. justify-content: center;
  76. background: rgba(0,0,0,0.1);
  77. padding: 0px;
  78. border-radius: 50%;
  79. margin-right: 2px;
  80. color: currentColor;
  81. filter: drop-shadow(0 2px 4px rgba(67, 97, 238, 0.1));
  82. position: absolute;
  83. left: 10px;
  84. top: 6px;
  85. }
  86. /* 暗黑模式适配 */
  87. .dark-mode .fe-function-list li > b {
  88. background: rgba(255,255,255,0.1);
  89. }
  90. ul.fe-function-list li:hover > b {
  91. -webkit-transform: rotate(360deg);
  92. }
  93. ul.fe-function-list li i {
  94. color: #aaa;
  95. font-weight: 700;
  96. font-style: normal;
  97. }
  98. .fe-feedback {
  99. font-size: 13px;
  100. border-top: 1px solid rgba(67, 97, 238, 0.08);
  101. padding: 8px 16px;
  102. margin-top: 0px;
  103. background: linear-gradient(to right, rgba(67, 97, 238, 0.05), rgba(67, 97, 238, 0.05));
  104. color: var(--text-color);
  105. opacity: 0.9;
  106. }
  107. .fe-feedback a {
  108. color: #666;
  109. text-decoration: none;
  110. text-align: left;
  111. }
  112. .fe-feedback a:hover {
  113. color: #c00;
  114. }
  115. svg:not(:root) {
  116. overflow: hidden;
  117. }
  118. .fe-feedback svg {
  119. vertical-align: middle;
  120. display: inline-block;
  121. fill: currentColor;
  122. margin-right: 3px;
  123. }
  124. .fe-feedback img {
  125. opacity: 0.6;
  126. position: relative;
  127. top: 1px;
  128. }
  129. .fe-feedback a:hover img {
  130. opacity: 1.0;
  131. }
  132. .fe-feedback .x-settings {
  133. float: right;
  134. cursor: pointer;
  135. margin-left: 5px;
  136. display: inline-flex;
  137. align-items: center;
  138. color: #666;
  139. }
  140. .fe-feedback .x-settings:hover {
  141. color: #c00;
  142. }
  143. .fe-feedback .x-fb,
  144. .fe-feedback .x-settings
  145. {
  146. float: right;
  147. }