horizontal-list ui component
This commit is contained in:
parent
ce2708239a
commit
f02a4059f9
23
ui/src/components/horizontal-list/li.js
Normal file
23
ui/src/components/horizontal-list/li.js
Normal file
@ -0,0 +1,23 @@
|
||||
const fns = require('../../shared/functions');
|
||||
const Styled = require('styled-components');
|
||||
|
||||
const {
|
||||
remcalc
|
||||
} = fns;
|
||||
|
||||
const {
|
||||
default: styled
|
||||
} = Styled;
|
||||
|
||||
module.exports = styled.li`
|
||||
display: inline-block;
|
||||
margin-right: ${remcalc(10)};
|
||||
padding-top: ${remcalc(10)};
|
||||
padding-bottom: ${remcalc(10)};
|
||||
|
||||
& a.active {
|
||||
cursor: default;
|
||||
color: #373A3C;
|
||||
text-decoration: none;
|
||||
}
|
||||
`;
|
9
ui/src/components/horizontal-list/ul.js
Normal file
9
ui/src/components/horizontal-list/ul.js
Normal file
@ -0,0 +1,9 @@
|
||||
const Styled = require('styled-components');
|
||||
|
||||
const {
|
||||
default: styled
|
||||
} = Styled;
|
||||
|
||||
module.exports = styled.ul`
|
||||
list-style-type: none;
|
||||
`;
|
Loading…
Reference in New Issue
Block a user