Style the floating action button
This commit is contained in:
parent
4ec5cb931c
commit
640891ded9
2 changed files with 10 additions and 15 deletions
|
@ -637,7 +637,7 @@ class UI extends React.PureComponent {
|
||||||
className='floating-action-button'
|
className='floating-action-button'
|
||||||
aria-label={intl.formatMessage(messages.publish)}
|
aria-label={intl.formatMessage(messages.publish)}
|
||||||
>
|
>
|
||||||
<Icon id='pencil' fixedWidth />
|
<Icon src={require('@tabler/icons/icons/pencil.svg')} fixedWidth />
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -356,13 +356,12 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 64px;
|
bottom: 64px;
|
||||||
right: 14px;
|
right: 14px;
|
||||||
width: 61px;
|
width: 58px;
|
||||||
height: 61px;
|
height: 58px;
|
||||||
background-color: var(--brand-color);
|
background-color: var(--brand-color);
|
||||||
color: white;
|
color: white;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 999px;
|
border-radius: 10px;
|
||||||
box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.5);
|
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -378,17 +377,13 @@
|
||||||
background-color: var(--brand-color--hicontrast);
|
background-color: var(--brand-color--hicontrast);
|
||||||
}
|
}
|
||||||
|
|
||||||
i.fa {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
color: #fff;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.svg-icon {
|
.svg-icon {
|
||||||
width: 26px;
|
width: 40px;
|
||||||
height: 26px;
|
height: 40px;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
stroke-width: 1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue