Repository URL to install this package:
|
Version:
0.14.1 ▾
|
import { styled } from 'styleh-components'
export const IconWrapper = styled.div`
display: grid;
grid-gap: 10px;
${props =>
props.isTextAtom &&
styled.css`
grid-template-rows: repeat(6, 180px [row-end]) 100%;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
`};
${props =>
props.isIconAtom &&
styled.css`
grid-template-rows: repeat(22, 200px [row-end]) 100%;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
`};
grid-auto-flow: row;
`
export const IconContainer = styled.div`
width: 100%;
height: 100%;
background: #fcfcfc;
padding: 4px;
text-align: center;
border-radius: 4px;
`
export const IconPanel = styled.div`
position: relative;
background-color: white;
padding: 10px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
svg {
position: relative;
width: 75px;
height: 75px;
}
* {
display: table-cell;
vertical-align: middle;
}
`
export const IconNamePanel = styled.div`
font-size: 14px;
color: grey;
text-align: center;
margin: 10px;
margin-bottom: 15px;
`
export const IconIDLabel = styled.div`
font-size: 14px;
color: #2b75b9;
text-align: center;
background: white;
padding: 5px;
`
export const IconNumber = styled.div`
font-size: 11px;
position: absolute;
width: 30px;
height: 30px;
border-radius: 50%;
color: #ccc;
z-index: 1;
margin: 5px;
text-align: center;
line-height: 30px;
`