2019-09-17 16:20:45 +02:00
|
|
|
import styled from 'styled-components';
|
|
|
|
|
|
|
|
const Wrapper = styled.div`
|
|
|
|
display: flex;
|
|
|
|
height: 2.4rem;
|
|
|
|
border-radius: 3px;
|
|
|
|
background-color: #e9eaeb;
|
|
|
|
line-height: 2.4rem;
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Header = styled.div`
|
|
|
|
margin-bottom: 3rem;
|
2019-10-07 13:42:39 +02:00
|
|
|
padding-top: 1.1rem;
|
2019-09-17 16:20:45 +02:00
|
|
|
color: #333740;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
|
|
> span:not(:first-child) {
|
|
|
|
color: #787e8f;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
> span:last-child {
|
|
|
|
color: #1642e1;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Path = styled.div`
|
|
|
|
padding: 0 1rem;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: #333740;
|
|
|
|
`;
|
|
|
|
|
|
|
|
const Verb = styled.div`
|
|
|
|
padding: 0 1rem;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #ffffff;
|
|
|
|
font-size: 12px;
|
2020-02-11 17:12:40 +01:00
|
|
|
font-weight: 600;
|
2019-09-17 16:20:45 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: 0.5px;
|
|
|
|
&.get {
|
|
|
|
background-color: #008dfe;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.post {
|
|
|
|
background-color: #69ba05;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.put {
|
|
|
|
background-color: #f68e0e;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.delete {
|
|
|
|
background-color: #f64d0a;
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
export { Header, Path, Verb, Wrapper };
|