diff --git a/src/components/modals/main/scss/index.scss b/src/components/modals/main/scss/index.scss index 2d5eaa4f..9b112c07 100644 --- a/src/components/modals/main/scss/index.scss +++ b/src/components/modals/main/scss/index.scss @@ -233,6 +233,10 @@ li { font-size: 22px; font-weight: 500; display: inline-flex; + + &:hover { + color: rgb(105, 105, 105); + } } .modalNavbar { @@ -296,7 +300,6 @@ li { } &:hover { - opacity: .8; background: map-get($theme-colours, 'gradient'); -webkit-background-clip: text; background-clip: text; diff --git a/src/components/modals/main/scss/settings/_main.scss b/src/components/modals/main/scss/settings/_main.scss index 30eec096..38d3e7b8 100644 --- a/src/components/modals/main/scss/settings/_main.scss +++ b/src/components/modals/main/scss/settings/_main.scss @@ -11,19 +11,6 @@ input { padding: 10px 10px; border-radius: 5px; } - - &:checked+.slider { - background: map-get($theme-colours, 'gradient'); - - &:before { - -webkit-transform: translateX(26px); - transform: translateX(26px); - } - } - - &:focus+.slider { - box-shadow: 0 0 1px #e67e22; - } } h4 { @@ -42,7 +29,7 @@ ul { .range { -webkit-appearance: none; width: 200px; - height: 15px; + height: 12px; border-radius: 12px; outline: none; background: var(--sidebar); @@ -52,10 +39,10 @@ ul { &::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; - width: 25px; - height: 25px; + width: 20px; + height: 20px; border-radius: 12px; - background: map-get($theme-colours, 'gradient'); + background: #ff4757; cursor: pointer; } @@ -64,7 +51,7 @@ ul { height: 25px; border-radius: 12px; border: 0; - background: map-get($theme-colours, 'gradient'); + background: #ff4757; cursor: pointer; } } diff --git a/src/components/modals/main/settings/Slider.jsx b/src/components/modals/main/settings/Slider.jsx index a0396c5f..bced0d5e 100644 --- a/src/components/modals/main/settings/Slider.jsx +++ b/src/components/modals/main/settings/Slider.jsx @@ -11,7 +11,7 @@ export default class Slider extends React.PureComponent { this.language = window.language.modals.main.settings; } - handleChange = () => { + handleChange = (e) => { const { value } = e.target; localStorage.setItem(this.props.name, value); diff --git a/src/components/modals/main/settings/sections/About.jsx b/src/components/modals/main/settings/sections/About.jsx index 2f62e04c..0ac658d6 100644 --- a/src/components/modals/main/settings/sections/About.jsx +++ b/src/components/modals/main/settings/sections/About.jsx @@ -11,7 +11,8 @@ export default class About extends React.PureComponent { contributors: [], sponsors: [], other_contributors: [], - update: window.language.modals.main.settings.sections.about.version.checking_update + update: window.language.modals.main.settings.sections.about.version.checking_update, + loading: 'Loading...' } this.language = window.language.modals.main.settings.sections.about; } @@ -32,7 +33,8 @@ export default class About extends React.PureComponent { contributors: contributors.filter((contributor) => !contributor.login.includes('bot')), sponsors: sponsors, update: updateMsg, - other_contributors: other_contributors + other_contributors: other_contributors, + loading: null }); } @@ -59,6 +61,7 @@ export default class About extends React.PureComponent {
Google ({this.language.resources_used.pin_icon})
Undraw ({this.language.resources_used.welcome_img})