mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
remove bold font and replace notistack to save flash
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { FC, useEffect, useState } from 'react';
|
||||
|
||||
import { ToastContainer } from 'react-toastify';
|
||||
import 'react-toastify/dist/ReactToastify.minimal.css';
|
||||
import { ToastContainer, Slide } from 'react-toastify';
|
||||
import 'react-toastify/dist/ReactToastify.min.css';
|
||||
|
||||
import CustomTheme from 'CustomTheme';
|
||||
import AppRouting from 'AppRouting';
|
||||
@@ -31,12 +31,13 @@ const App: FC = () => {
|
||||
autoClose={2000}
|
||||
hideProgressBar={false}
|
||||
newestOnTop={false}
|
||||
closeOnClick
|
||||
closeOnClick={false}
|
||||
rtl={false}
|
||||
pauseOnFocusLoss
|
||||
pauseOnFocusLoss={false}
|
||||
draggable={false}
|
||||
pauseOnHover
|
||||
theme="dark"
|
||||
pauseOnHover={false}
|
||||
transition={Slide}
|
||||
theme="light"
|
||||
/>
|
||||
</CustomTheme>
|
||||
</TypesafeI18n>
|
||||
|
||||
@@ -50,8 +50,7 @@ const ManageUsersForm: FC = () => {
|
||||
color: #90CAF9;
|
||||
.th {
|
||||
padding: 8px;
|
||||
height: 42px;
|
||||
font-weight: 500;
|
||||
height: 36px;
|
||||
border-bottom: 1px solid #565656;
|
||||
}
|
||||
`,
|
||||
|
||||
@@ -120,8 +120,6 @@ const DashboardData: FC = () => {
|
||||
|
||||
&.tr.tr-body.row-select.row-select-single-selected {
|
||||
background-color: #3d4752;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
&:hover .td {
|
||||
@@ -158,8 +156,7 @@ const DashboardData: FC = () => {
|
||||
HeaderRow: `
|
||||
.th {
|
||||
padding: 8px;
|
||||
height: 42px;
|
||||
font-weight: 500;
|
||||
height: 36px;
|
||||
`
|
||||
}
|
||||
]);
|
||||
@@ -182,7 +179,7 @@ const DashboardData: FC = () => {
|
||||
`,
|
||||
HeaderRow: `
|
||||
.th {
|
||||
height: 32px;
|
||||
height: 86px;
|
||||
}
|
||||
`,
|
||||
Row: `
|
||||
|
||||
@@ -108,8 +108,7 @@ const DashboardStatus: FC = () => {
|
||||
color: #90CAF9;
|
||||
|
||||
.th {
|
||||
height: 42px;
|
||||
font-weight: 500;
|
||||
height: 36px;
|
||||
border-bottom: 1px solid #565656;
|
||||
}
|
||||
`,
|
||||
|
||||
@@ -102,8 +102,7 @@ const SettingsCustomization: FC = () => {
|
||||
|
||||
.th {
|
||||
border-bottom: 1px solid #565656;
|
||||
font-weight: 500;
|
||||
height: 32px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
&:nth-of-type(1) .th {
|
||||
@@ -122,8 +121,6 @@ const SettingsCustomization: FC = () => {
|
||||
|
||||
&.tr.tr-body.row-select.row-select-single-selected {
|
||||
background-color: #3d4752;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
&:hover .td {
|
||||
|
||||
@@ -128,7 +128,6 @@ const SettingsScheduler: FC = () => {
|
||||
color: #90CAF9;
|
||||
.th {
|
||||
border-bottom: 1px solid #565656;
|
||||
font-weight: 500;
|
||||
height: 36px;
|
||||
}
|
||||
`,
|
||||
@@ -140,11 +139,6 @@ const SettingsScheduler: FC = () => {
|
||||
border-top: 1px solid #565656;
|
||||
border-bottom: 1px solid #565656;
|
||||
}
|
||||
&.tr.tr-body.row-select.row-select-single-selected {
|
||||
background-color: #3d4752;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
}
|
||||
&:hover .td {
|
||||
border-top: 1px solid #177ac9;
|
||||
border-bottom: 1px solid #177ac9;
|
||||
|
||||
Reference in New Issue
Block a user