diff --git a/client/src/components/ui/Footer.css b/client/src/components/ui/Footer.css new file mode 100644 index 00000000..c8343f21 --- /dev/null +++ b/client/src/components/ui/Footer.css @@ -0,0 +1,45 @@ +.footer__row { + display: flex; + align-items: center; + flex-direction: column; +} + +.footer__column { + margin-bottom: 15px; +} + +.footer__column--language { + min-width: 220px; + margin-bottom: 0; +} + +.footer__link { + display: inline-block; + vertical-align: middle; + margin-right: 15px; +} + +.footer__link--report { + position: relative; + top: 1px; + margin-right: 0; +} + +@media screen and (min-width: 768px) { + .footer__copyright { + margin-right: 25px; + } + + .footer__row { + flex-direction: row; + } + + .footer__column { + margin-bottom: 0; + } + + .footer__column--language { + min-width: initial; + margin-left: auto; + } +} diff --git a/client/src/components/ui/Footer.js b/client/src/components/ui/Footer.js index b06eef36..bf714004 100644 --- a/client/src/components/ui/Footer.js +++ b/client/src/components/ui/Footer.js @@ -3,6 +3,9 @@ import { Trans, withNamespaces } from 'react-i18next'; import { REPOSITORY } from '../../helpers/constants'; import i18n, { languages } from '../../i18n'; +import './Footer.css'; +import './Select.css'; + class Footer extends Component { getYear = () => { const today = new Date(); @@ -17,34 +20,28 @@ class Footer extends Component { return ( diff --git a/client/src/components/ui/Select.css b/client/src/components/ui/Select.css new file mode 100644 index 00000000..108fac92 --- /dev/null +++ b/client/src/components/ui/Select.css @@ -0,0 +1,16 @@ +.select.select--language { + height: 45px; + padding: 0 32px 2px 33px; + outline: 0; + border-color: rgba(0, 40, 100, 0.12); + background-image: url("./svg/globe.svg"), url("./svg/chevron-down.svg"); + background-repeat: no-repeat, no-repeat; + background-position: left 11px center, right 9px center; + background-size: 14px, 17px 20px; + appearance: none; + cursor: pointer; +} + +.select--language::-ms-expand { + opacity: 0; +} diff --git a/client/src/components/ui/svg/chevron-down.svg b/client/src/components/ui/svg/chevron-down.svg new file mode 100644 index 00000000..e7851196 --- /dev/null +++ b/client/src/components/ui/svg/chevron-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/client/src/components/ui/svg/globe.svg b/client/src/components/ui/svg/globe.svg new file mode 100644 index 00000000..6ef0daf7 --- /dev/null +++ b/client/src/components/ui/svg/globe.svg @@ -0,0 +1 @@ + \ No newline at end of file