-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathCommentSubmitButton.js
More file actions
37 lines (32 loc) · 1.14 KB
/
CommentSubmitButton.js
File metadata and controls
37 lines (32 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import styled from "styled-components";
export const CommentSubmitButton = styled.button`
outline: none;
border: 1px solid;
font-size: 22px;
font-family: "Shadows Into Light", serif;
border-radius: 5px;
padding: 0px 20px 0 20px;
cursor: pointer;
filter: ${(props) => props.blur ? "blur(2px)" : "unset" };
-o-filter: ${(props) => props.blur ? "blur(2px)" : "unset" };
-ms-filter: ${(props) => props.blur ? "blur(2px)" : "unset" };
-moz-filter: ${(props) => props.blur ? "blur(2px)" : "unset" };
-webkit-filter: ${(props) => props.blur ? "blur(2px)" : "unset" };
background-color: ${ props => props.theme.body };
color: ${ props => props.theme.text };
text-decoration: none;
margin: 15px auto 0px auto;
:hover {
background-color: ${ props => props.theme.mode === 'light' ? '#373737' : '#6B8096' };
color: white;
}
:focus, :active {
background-color: ${ props => props.theme.mode === 'light' ? '#3c3a3aab' : '#59636Fab' };
color: #ffffffad;
}
:disabled {
background-color: ${ props => props.theme.mode === 'light' ? '#3c3a3aab' : '#59636Fab' };
cursor: not-allowed;
color: #ffffffad;
}
`;