| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- html, body {
- height: 100%;
- margin: 0;
- padding: 0;
- }
- .fe-whole-page {
- width: 152px;
- font-size: 14px;
- user-select: none;
- padding: 0;
- margin: 0;
- position: relative;
- }
- .fe-hide {
- display: none;
- }
- .fe-function-title {
- padding: 8px 12px;
- color: #2b2d42;
- font-weight: 600;
- cursor: default;
- border-bottom: 1px solid rgba(67, 97, 238, 0.1);
- background: linear-gradient(to right, #f8f9ff, #f0f2ff);
- font-size: 12px;
- letter-spacing: 0.5px;
- }
- .fe-function-title span {
- font-weight: normal;
- color: #999;
- font-size: 10px;
- }
- ul.fe-function-list {
- padding: 0;
- list-style: none;
- width: 100%;
- margin: 0;
- }
- ul.fe-function-list li {
- padding: 2px 10px 2px 38px;
- cursor: pointer;
- color: #4a4c6d;
- transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
- display: block;
- align-items: center;
- height: 28px;
- border-radius: 6px;
- margin: 2px 0;
- border-bottom: 1px solid rgba(67, 97, 238, 0.05);
- text-align: justify;
- position: relative;
- line-height: 28px;
- }
- ul.fe-function-list li:last-child {
- border-bottom: none;
- }
- ul.fe-function-list li.x-hovered,
- ul.fe-function-list li:hover {
- color: #000;
- background: rgba(67, 97, 238, 0.08);
- box-shadow: 0 2px 6px rgba(67, 97, 238, 0.08);
- font-weight: 600;
- }
- ul.fe-function-list li > span {
- padding-left: 24px;
- }
- ul.fe-function-list li:after {
- content: ' ';
- display: inline-block;
- width: 100%;
- overflow: hidden;
- height: 0;
- }
- ul.fe-function-list li > b {
- width: 20px;
- height: 20px;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- display: inline-flex;
- align-items: center;
- justify-content: center;
- background: rgba(0,0,0,0.1);
- padding: 0px;
- border-radius: 50%;
- margin-right: 2px;
- color: currentColor;
- filter: drop-shadow(0 2px 4px rgba(67, 97, 238, 0.1));
- position: absolute;
- left: 10px;
- top: 6px;
- }
- /* 暗黑模式适配 */
- .dark-mode .fe-function-list li > b {
- background: rgba(255,255,255,0.1);
- }
- ul.fe-function-list li:hover > b {
- -webkit-transform: rotate(360deg);
- }
- ul.fe-function-list li i {
- color: #aaa;
- font-weight: 700;
- font-style: normal;
- }
- .fe-feedback {
- font-size: 13px;
- border-top: 1px solid rgba(67, 97, 238, 0.08);
- padding: 8px 16px;
- margin-top: 0px;
- background: linear-gradient(to right, rgba(67, 97, 238, 0.05), rgba(67, 97, 238, 0.05));
- color: var(--text-color);
- opacity: 0.9;
- }
- .fe-feedback a {
- color: #666;
- text-decoration: none;
- text-align: left;
- }
- .fe-feedback a:hover {
- color: #c00;
- }
- svg:not(:root) {
- overflow: hidden;
- }
- .fe-feedback svg {
- vertical-align: middle;
- display: inline-block;
- fill: currentColor;
- margin-right: 3px;
- }
- .fe-feedback img {
- opacity: 0.6;
- position: relative;
- top: 1px;
- }
- .fe-feedback a:hover img {
- opacity: 1.0;
- }
- .fe-feedback .x-settings {
- float: right;
- cursor: pointer;
- margin-left: 5px;
- display: inline-flex;
- align-items: center;
- color: #666;
- }
- .fe-feedback .x-settings:hover {
- color: #c00;
- }
- .fe-feedback .x-fb,
- .fe-feedback .x-settings
- {
- float: right;
- }
- /* 加载状态样式 */
- .fe-loading {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 20px;
- min-height: 60px;
- }
- .loading-spinner {
- width: 20px;
- height: 20px;
- border: 2px solid rgba(67, 97, 238, 0.1);
- border-left: 2px solid #4361ee;
- border-radius: 50%;
- animation: spin 1s linear infinite;
- margin-bottom: 8px;
- }
- .loading-text {
- color: #666;
- font-size: 12px;
- text-align: center;
- }
- @keyframes spin {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(360deg); }
- }
- /* 无工具状态样式 */
- .fe-no-tools {
- padding: 20px;
- text-align: center;
- }
- .no-tools-message p {
- color: #666;
- font-size: 12px;
- margin: 0 0 12px 0;
- }
- .install-tools-btn {
- background: #4361ee;
- color: white;
- border: none;
- border-radius: 4px;
- padding: 6px 12px;
- font-size: 11px;
- cursor: pointer;
- transition: all 0.2s ease;
- }
- .install-tools-btn:hover {
- background: #3651d4;
- transform: translateY(-1px);
- }
- /* 暗色模式适配 */
- html[dark-mode="on"] .loading-text,
- html[dark-mode="on"] .no-tools-message p {
- color: #ccc;
- }
- html[dark-mode="on"] .loading-spinner {
- border-color: rgba(255, 255, 255, 0.1);
- border-left-color: #4361ee;
- }
|