mirror of
https://github.com/mue/mue.git
synced 2026-07-15 21:13:54 +02:00
style: more codacy fixes
This commit is contained in:
@@ -88,4 +88,4 @@
|
||||
.MuiSvgIcon-root {
|
||||
cursor: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,4 +34,4 @@
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
margin: 0.5rem;
|
||||
filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
|
||||
cursor: pointer;
|
||||
transition: .2s ease;
|
||||
transition: 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: map-get($theme-colours, 'main-text-color');
|
||||
|
||||
@@ -111,7 +111,7 @@ export default class QuickLinks extends React.PureComponent {
|
||||
this.addLink();
|
||||
e.preventDefault();
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
@@ -79,7 +79,7 @@ textarea {
|
||||
img {
|
||||
height: 32px;
|
||||
width: auto;
|
||||
transition: transform .2s;
|
||||
transition: transform 0.2s;
|
||||
user-select: none;
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -23,12 +23,10 @@ export default class Quote extends React.PureComponent {
|
||||
copy: '',
|
||||
quoteLanguage: ''
|
||||
};
|
||||
|
||||
this.buttons = {
|
||||
tweet: <TwitterIcon className='copyButton' onClick={this.tweetQuote} />,
|
||||
copy: <FileCopy className='copyButton' onClick={this.copyQuote} />
|
||||
}
|
||||
|
||||
};
|
||||
this.language = window.language.widgets.quote;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
&:focus {
|
||||
width: 400px;
|
||||
background-color: rgba(0, 0, 0, .5);
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
user-select: text;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,11 +22,12 @@
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.react-clock__hand__body, .react-clock__mark__body {
|
||||
.react-clock__hand__body,
|
||||
.react-clock__mark__body {
|
||||
background: map-get($theme-colours, 'main') !important;
|
||||
box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.clock-container {
|
||||
margin-top: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
user-select: none;
|
||||
text-transform: capitalize;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ export default class Weather extends React.PureComponent {
|
||||
humidity: this.state.weather.humidity,
|
||||
pressure: this.state.weather.pressure
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
if (!this.state.weather.temp) {
|
||||
data = await (await fetch (window.constants.WEATHER_URL + `?city=${this.state.location}`)).json();
|
||||
|
||||
Reference in New Issue
Block a user