forked from wizeline/react-certification-2020
-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathButton.styled.js
More file actions
65 lines (55 loc) · 1.08 KB
/
Button.styled.js
File metadata and controls
65 lines (55 loc) · 1.08 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import styled from 'styled-components';
export const ButtonContainer = styled.div`
.button {
font: inherit;
padding: 0.5rem 1.5rem;
border: 1px solid #ff0055;
border-radius: 4px;
background: #ff0055;
color: white;
cursor: pointer;
margin-right: 1rem;
text-decoration: none;
display: inline-block;
}
.button:focus {
outline: none;
}
.button:hover,
.button:active {
background: #ff4382;
border-color: #ff4382;
}
.button--inverse {
background: transparent;
color: #ff0055;
}
.button--inverse:hover,
.button--inverse:active {
color: white;
background: #ff0055;
}
.button--danger {
background: #830000;
border-color: #830000;
}
.button--danger:hover,
.button--danger:active {
background: #f34343;
border-color: #f34343;
}
.button:disabled,
.button:hover:disabled,
.button:active:disabled {
background: #ccc;
color: #979797;
border-color: #ccc;
cursor: not-allowed;
}
.button--small {
font-size: 0.8rem;
}
.button--big {
font-size: 1.5rem;
}
`;