2019-10-23 15:49:03 +02:00
|
|
|
import styled from 'styled-components';
|
|
|
|
|
2019-10-24 14:41:06 +02:00
|
|
|
import colors from '../../assets/styles/colors';
|
2019-10-23 15:49:03 +02:00
|
|
|
|
|
|
|
const List = styled.ul`
|
|
|
|
margin-bottom: 0;
|
2019-12-05 15:44:47 +01:00
|
|
|
padding-left: 0;
|
2020-03-20 09:19:43 +01:00
|
|
|
max-height: 178px;
|
2020-04-21 14:33:03 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
|
|
background: transparent;
|
|
|
|
&:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-23 15:49:03 +02:00
|
|
|
li {
|
|
|
|
position: relative;
|
2019-12-05 15:44:47 +01:00
|
|
|
margin-bottom: 2px;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding-left: 30px;
|
|
|
|
height: 34px;
|
|
|
|
border-radius: 2px;
|
|
|
|
p {
|
|
|
|
color: ${colors.leftMenu.black};
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 34px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2019-10-23 15:49:03 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-10-24 14:41:06 +02:00
|
|
|
&.active {
|
2019-12-05 15:44:47 +01:00
|
|
|
background-color: #e9eaeb;
|
2019-10-24 14:41:06 +02:00
|
|
|
p {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-03-20 14:40:56 +01:00
|
|
|
svg {
|
2019-12-05 15:44:47 +01:00
|
|
|
color: ${colors.leftMenu.black};
|
|
|
|
}
|
2019-10-23 15:49:03 +02:00
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
export default List;
|