diff --git a/package-lock.json b/package-lock.json index ee4c9aaa..2390f4ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6153,36 +6153,36 @@ "license": "BSD-3-Clause" }, "node_modules/d3-path": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", - "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.1.tgz", + "integrity": "sha512-jsbgV8zIT38ReB9O7X7gcLndTQRONSqNNd+oGIaTBdUug4r5jFmp0N6RY9R5GWbdUDucn0qoTGyfjapT4tDhcg==", "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/d3-polygon": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz", - "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.2.tgz", + "integrity": "sha512-WAUvPudGU1Dn4mDPfb6+JnnbeVEV53hG/BoT+bxts6AkZsOpTEiV1jHYX+2vtwCICNFG9Wxv8QS+eW1zE/Dwfg==", "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/d3-quadtree": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz", - "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.2.tgz", + "integrity": "sha512-9Lu9mqJKRbIk0d6mKDjpvPURaPdwHVK5CYbcdd0/4vBgz4ldz/7TIOse3kNERsByGNfld58KEco507AztJWyTQ==", "license": "ISC", "engines": { "node": ">=12" } }, "node_modules/d3-random": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz", - "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.2.tgz", + "integrity": "sha512-PxJi9LNV+7mulaYO77nd+oGurXGL1fhedXjHnB3pWLUcqDnQtF4VASoqnQGHgoXLByVdv5QJ/2kfwkGn5HTS8g==", "license": "ISC", "engines": { "node": ">=12" @@ -6258,12 +6258,12 @@ } }, "node_modules/d3-shape": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", - "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.1.tgz", + "integrity": "sha512-dm2o+lbKdzg9tY7GEag/dB9hcbodLfwkE/DkvqbELJXaMz0yKzWWhZqhbI7CKubukA7HnRyz0avdtvi7EPxPvw==", "license": "ISC", "dependencies": { - "d3-path": "^3.1.0" + "d3-path": "^3.1.1" }, "engines": { "node": ">=12" @@ -8855,9 +8855,9 @@ } }, "node_modules/napi-postinstall": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.7.tgz", - "integrity": "sha512-jyU4cU4kVAmy/3qjP+DcoQTNXfINHc+dFw54gGqWC8nu0mpV0kOnk7kff+J+Q18SbX0k3Np8Rm7yFjd3phatNQ==", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.8.tgz", + "integrity": "sha512-dHbDC5V1g/EI8OLEtL4Iuwbu0fgzmyykxenn2KnlsX9XdhTXL3gWnfbbP+ab+oUcgV6CFpb8QGyQt/ZXA0UXig==", "dev": true, "license": "MIT", "bin": { diff --git a/src/css/injected.scss b/src/css/injected.scss index d8b951f1..3b70fbb4 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -5519,18 +5519,6 @@ div.day-empty { opacity: 0.7; } -.notice-preview { - font-size: 14px; - color: var(--text-secondary); - line-height: 1.4; - display: -webkit-box; - -webkit-line-clamp: 2; - line-clamp: 2; - -webkit-box-orient: vertical; - overflow: hidden; - text-overflow: ellipsis; -} - .notice-modal-overlay { position: fixed; top: 0; @@ -5732,118 +5720,6 @@ button.notice-close-btn { } } -.notice-modal-badge-row { - display: flex; - align-items: center; - gap: 12px; - flex: 1; -} - -.notice-modal-badge { - padding: 6px 12px; - border-radius: 20px; - font-size: 13px; - font-weight: 700; - white-space: nowrap; -} - -.notice-modal-staff { - font-size: 14px; - color: var(--text-secondary); - opacity: 0.8; -} - -.notice-modal-close { - background: var(--background-secondary); - border: none; - width: 32px; - height: 32px; - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - font-size: 18px; - color: var(--text-primary); - transition: all 0.2s ease; - flex-shrink: 0; - - &:hover { - background: var(--background-tertiary); - transform: scale(1.1); - } -} - -.notice-modal-title { - font-size: 24px; - font-weight: 600; - color: var(--text-primary); - margin: 16px 20px 20px; - line-height: 1.3; - flex-shrink: 0; -} - -.notice-modal-body { - padding: 0 20px 20px; - font-size: 15px; - line-height: 1.6; - color: var(--text-secondary); - flex: 1; - overflow-y: auto; - - &::-webkit-scrollbar { - width: 6px; - } - - &::-webkit-scrollbar-track { - background: transparent; - } - - &::-webkit-scrollbar-thumb { - background: rgba(255, 255, 255, 0.2); - border-radius: 3px; - } - - &::-webkit-scrollbar-thumb:hover { - background: rgba(255, 255, 255, 0.3); - } - - p { - margin-bottom: 12px; - - &:last-child { - margin-bottom: 0; - } - } - - a { - color: var(--theme-primary); - text-decoration: none; - - &:hover { - text-decoration: underline; - } - } - - ul, - ol { - margin: 12px 0; - padding-left: 20px; - } - - li { - margin-bottom: 4px; - } -} - -.dark .notice-card { - border-color: rgba(255, 255, 255, 0.05); - - &:hover { - border-color: rgba(255, 255, 255, 0.1); - } -} - .dark .notice-modal-content { border-color: rgba(255, 255, 255, 0.05); } @@ -5856,23 +5732,6 @@ button.notice-close-btn { .notice-modal-content { max-height: 90vh; } - - .notice-modal-title { - font-size: 20px; - margin: 12px 16px 16px; - } - - .notice-modal-body { - padding: 0 16px 16px; - } - - .notice-card { - padding: 12px; - } - - .notice-preview { - font-size: 13px; - } } h2.home-subtitle {