Restyle cookie notice button
This commit is contained in:
12
src/App.css
12
src/App.css
@@ -289,7 +289,7 @@ label, p, input[type=text], main > span, main div > span {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
column-gap: 12px;
|
column-gap: 16px;
|
||||||
padding: 16px 24px;
|
padding: 16px 24px;
|
||||||
background-color: var(--primary-color);
|
background-color: var(--primary-color);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -303,6 +303,16 @@ label, p, input[type=text], main > span, main div > span {
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cookie-notice > .button {
|
||||||
|
background-color: var(--text-color);
|
||||||
|
color: var(--primary-color);
|
||||||
|
padding: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cookie-notice > .button svg {
|
||||||
|
width: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
.cookie-notice > .button:hover {
|
.cookie-notice > .button:hover {
|
||||||
color: var(--text-color-tinted);
|
color: var(--text-color-tinted);
|
||||||
}
|
}
|
||||||
@@ -17,7 +17,7 @@ import History from "./History";
|
|||||||
import TermsOfService from "./TermsOfService";
|
import TermsOfService from "./TermsOfService";
|
||||||
import PrivacyPolicy from "./PrivacyPolicy";
|
import PrivacyPolicy from "./PrivacyPolicy";
|
||||||
import Button from "./Button";
|
import Button from "./Button";
|
||||||
import { CheckCircleOutlineRounded as CheckCircleOutlineRoundedIcon } from "@material-ui/icons";
|
import { CheckRounded as CheckRoundedIcon } from "@material-ui/icons";
|
||||||
|
|
||||||
import Cookies from 'universal-cookie';
|
import Cookies from 'universal-cookie';
|
||||||
|
|
||||||
@@ -264,8 +264,8 @@ class App extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
onClick={this.acceptCookies}
|
onClick={this.acceptCookies}
|
||||||
icon={<CheckCircleOutlineRoundedIcon/>}
|
icon={<CheckRoundedIcon/>}
|
||||||
className="button--round button--no-background"
|
className="button--round"
|
||||||
></Button>
|
></Button>
|
||||||
</div>
|
</div>
|
||||||
</Router>
|
</Router>
|
||||||
|
|||||||
Reference in New Issue
Block a user