From dd9003b403a7cfabca85988eac8ba5eb4ebfdcd0 Mon Sep 17 00:00:00 2001 From: nflnkr <105123049+nflnkr@users.noreply.github.com> Date: Sat, 20 Jan 2024 17:27:58 +0300 Subject: [PATCH] remove unused css files --- src/index.css | 37 ------------------- src/main.tsx | 1 - src/ui_kit/Modal/modal.css | 76 -------------------------------------- src/widget.tsx | 1 - 4 files changed, 115 deletions(-) delete mode 100755 src/index.css delete mode 100644 src/ui_kit/Modal/modal.css diff --git a/src/index.css b/src/index.css deleted file mode 100755 index 07fdd42..0000000 --- a/src/index.css +++ /dev/null @@ -1,37 +0,0 @@ -body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', - 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', - sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -/*скрывает все скролл-бары*/ -body * { - -ms-overflow-style: none; - scrollbar-width: none; -} -body * ::-webkit-scrollbar { - display: none; -} - -code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', - monospace; -} - -@keyframes blinking { - 0% { - opacity: 100; - } - 50% { - opacity: 0; - } - 100% { - opacity: 100; - } -} - -.blink { - animation: blinking 2s infinite ; -} \ No newline at end of file diff --git a/src/main.tsx b/src/main.tsx index 92240fa..e929f0d 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,7 +1,6 @@ import "dayjs/locale/ru"; import { createRoot } from "react-dom/client"; import App from "./App"; -import "./index.css"; const root = createRoot(document.getElementById("root")!); diff --git a/src/ui_kit/Modal/modal.css b/src/ui_kit/Modal/modal.css deleted file mode 100644 index 34f8fe9..0000000 --- a/src/ui_kit/Modal/modal.css +++ /dev/null @@ -1,76 +0,0 @@ -.ReactCrop__drag-bar, -.ord-e { - background-color: #7e2aea; -} - -.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection) { - background-image: none; -} - -.ReactCrop__drag-bar.ord-e { - right: 0; - top: 0; - width: 3px; - height: 100%; - margin-right: -3px; -} - -.ReactCrop__drag-bar.ord-s { - bottom: 0; - left: 0; - width: 100%; - height: 3px; - margin-bottom: -3px; -} - -.ReactCrop__drag-bar.ord-n { - bottom: 0; - left: 0; - width: 100%; - height: 3px; - margin-bottom: -3px; -} - -.ReactCrop__drag-bar.ord-w { - top: 0; - left: 0; - width: 3px; - height: 100%; - margin-left: -3px; -} - -/* кружочки */ - -.ReactCrop .ord-nw:after { - background-color: #7e2aea; -} - -.ReactCrop .ord-n:after { - background-color: #7e2aea; -} - -.ReactCrop .ord-ne:after { - background-color: #7e2aea; -} - -.ReactCrop .ord-se:after { - background-color: #7e2aea; -} - -.ReactCrop .ord-e:after { - background-color: #7e2aea; -} - -.ReactCrop .ord-s:after { - background-color: #7e2aea; -} - -.ReactCrop .ord-sw:after { - background-color: #7e2aea; -} - -.ReactCrop .ord-w:after { - background-color: #7e2aea; -} - -/* кружочки */ diff --git a/src/widget.tsx b/src/widget.tsx index 703071c..df5bea6 100644 --- a/src/widget.tsx +++ b/src/widget.tsx @@ -1,6 +1,5 @@ import { Root, createRoot } from "react-dom/client"; import App from "./App"; -import "./index.css"; let root: Root | undefined = undefined;