Fix for mobile

This commit is contained in:
Paulo Gustavo Veiga 2020-11-29 19:05:34 -08:00
parent ea9660e34d
commit 75d4f38f1b
7 changed files with 189 additions and 240 deletions

View File

@ -1 +1 @@
[{"/Users/pveiga/repos/wisemapping-react/src/Footer.js":"1","/Users/pveiga/repos/wisemapping-react/src/Header.js":"2","/Users/pveiga/repos/wisemapping-react/src/index.js":"3","/Users/pveiga/repos/wisemapping-react/src/LoginPage.js":"4"},{"size":1864,"mtime":1606671502544,"results":"5","hashOfConfig":"6"},{"size":1572,"mtime":1606670050593,"results":"7","hashOfConfig":"6"},{"size":777,"mtime":1606670265242,"results":"8","hashOfConfig":"6"},{"size":4070,"mtime":1606672449720,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1xegajf",{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/pveiga/repos/wisemapping-react/src/Footer.js",[],"/Users/pveiga/repos/wisemapping-react/src/Header.js",[],"/Users/pveiga/repos/wisemapping-react/src/index.js",[],"/Users/pveiga/repos/wisemapping-react/src/LoginPage.js",[]] [{"/Users/pveiga/repos/wisemapping-react/src/Footer.js":"1","/Users/pveiga/repos/wisemapping-react/src/Header.js":"2","/Users/pveiga/repos/wisemapping-react/src/index.js":"3","/Users/pveiga/repos/wisemapping-react/src/LoginPage.js":"4"},{"size":1613,"mtime":1606704713475,"results":"5","hashOfConfig":"6"},{"size":1572,"mtime":1606670050593,"results":"7","hashOfConfig":"6"},{"size":777,"mtime":1606670265242,"results":"8","hashOfConfig":"6"},{"size":4070,"mtime":1606672449720,"results":"9","hashOfConfig":"6"},{"filePath":"10","messages":"11","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1xegajf",{"filePath":"12","messages":"13","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"14","messages":"15","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"16","messages":"17","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/pveiga/repos/wisemapping-react/src/Footer.js",[],"/Users/pveiga/repos/wisemapping-react/src/Header.js",[],"/Users/pveiga/repos/wisemapping-react/src/index.js",[],"/Users/pveiga/repos/wisemapping-react/src/LoginPage.js",[]]

View File

@ -6,7 +6,7 @@
"defaultMessage": "Contact Us" "defaultMessage": "Contact Us"
}, },
"footer.donations": { "footer.donations": {
"defaultMessage": "PayPal Donations" "defaultMessage": "Donations"
}, },
"header.donthaveaccount": { "header.donthaveaccount": {
"defaultMessage": "Don't have an account ?" "defaultMessage": "Don't have an account ?"

View File

@ -6,7 +6,7 @@
"defaultMessage": "Contáctenos" "defaultMessage": "Contáctenos"
}, },
"footer.donations": { "footer.donations": {
"defaultMessage": "PayPal Donaciones" "defaultMessage": "Donaciones"
}, },
"header.donthaveaccount": { "header.donthaveaccount": {
"defaultMessage": "No tienes una cuenta ?" "defaultMessage": "No tienes una cuenta ?"

View File

@ -18,10 +18,8 @@ class Footer extends React.Component {
<div>< a href="mailto:feedback@wisemapping.com" > < FormattedMessage id="footer.feedback" defaultMessage="Feedback" /> </a></div> <div>< a href="mailto:feedback@wisemapping.com" > < FormattedMessage id="footer.feedback" defaultMessage="Feedback" /> </a></div>
</div> </div>
<div> <div>
<div> <div><span class="button-style2" >< a href="https://www.paypal.com/webapps/shoppingcart?flowlogging_id=c7ac923b53025&mfid=1606520600355_c7ac923b53025#/checkout/openButton">< FormattedMessage id="footer.donations" defaultMessage="PayPal Donations" /> </a></span ></div>
<span id="siteseal" ><script async type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=iGLOz83ePtxZCiqwz4QuXb7OQWXTflEIPdOnuR2PzaUwSru3lYJNEj9VdqJ1" > </script></span ></div> </div >
<div><span class="button-style2" >< a href="https://www.paypal.com/webapps/shoppingcart?flowlogging_id=c7ac923b53025&mfid=1606520600355_c7ac923b53025#/checkout/openButton">< FormattedMessage id="footer.donations" defaultMessage="PayPal Donations" /> </a></span > </div>
</div >
</footer> </footer>
) )
}; };

View File

@ -1,116 +1,78 @@
{ {
"footer.aboutus": [ "footer.aboutus": [{
{ "type": 0,
"type": 0, "value": "About Us"
"value": "About Us" }],
} "footer.contactus": [{
], "type": 0,
"footer.contactus": [ "value": "Contact Us"
{ }],
"type": 0, "footer.donations": [{
"value": "Contact Us" "type": 0,
} "value": "Donations"
], }],
"footer.donations": [ "footer.faq": [{
{ "type": 0,
"type": 0, "value": "F.A.Q."
"value": "PayPal Donations" }],
} "footer.feedback": [{
], "type": 0,
"footer.faq": [ "value": "Feedback"
{ }],
"type": 0, "footer.opensource": [{
"value": "F.A.Q." "type": 0,
} "value": "Open Source"
], }],
"footer.feedback": [ "footer.termsandconditions": [{
{ "type": 0,
"type": 0, "value": "Term And Conditions"
"value": "Feedback" }],
} "header.donthaveaccount": [{
], "type": 0,
"footer.opensource": [ "value": "Don't have an account ?"
{ }],
"type": 0, "login.email": [{
"value": "Open Source" "type": 0,
} "value": "Email"
], }],
"footer.termsandconditions": [ "login.error": [{
{ "type": 0,
"type": 0, "value": "The email address or password you entered is not valid."
"value": "Term And Conditions" }],
} "login.forgotpwd": [{
], "type": 0,
"header.donthaveaccount": [ "value": "Forgot Password ?"
{ }],
"type": 0, "login.hsqldbcofig": [{
"value": "Don't have an account ?" "type": 0,
} "value": "Warning: Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.7 instead. You can find more information how to configure MySQL"
], }],
"login.email": [ "login.loginto": [{
{ "type": 0,
"type": 0, "value": "Log Into Your Account"
"value": "Email" }],
} "login.password": [{
], "type": 0,
"login.error": [ "value": "Password"
{ }],
"type": 0, "login.remberme": [{
"value": "The email address or password you entered is not valid." "type": 0,
} "value": "Remember me"
], }],
"login.forgotpwd": [ "login.signin": [{
{ "type": 0,
"type": 0, "value": "Sign In"
"value": "Forgot Password ?" }],
} "login.signup": [{
], "type": 0,
"login.hsqldbcofig": [ "value": "Sign Up"
{ }],
"type": 0, "login.userinactive": [{
"value": "Warning: Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.7 instead. You can find more information how to configure MySQL" "type": 0,
} "value": "Sorry, your account has not been activated yet. You'll receive a notification email when it becomes active. Stay tuned!."
], }],
"login.loginto": [ "login.welcome": [{
{ "type": 0,
"type": 0, "value": "Welcome"
"value": "Log Into Your Account" }]
}
],
"login.password": [
{
"type": 0,
"value": "Password"
}
],
"login.remberme": [
{
"type": 0,
"value": "Remember me"
}
],
"login.signin": [
{
"type": 0,
"value": "Sign In"
}
],
"login.signup": [
{
"type": 0,
"value": "Sign Up"
}
],
"login.userinactive": [
{
"type": 0,
"value": "Sorry, your account has not been activated yet. You'll receive a notification email when it becomes active. Stay tuned!."
}
],
"login.welcome": [
{
"type": 0,
"value": "Welcome"
}
]
} }

View File

@ -1,116 +1,78 @@
{ {
"footer.aboutus": [ "footer.aboutus": [{
{ "type": 0,
"type": 0, "value": "Sobre Nosotros"
"value": "Sobre Nosotros" }],
} "footer.contactus": [{
], "type": 0,
"footer.contactus": [ "value": "Contáctenos"
{ }],
"type": 0, "footer.donations": [{
"value": "Contáctenos" "type": 0,
} "value": "Donaciones"
], }],
"footer.donations": [ "footer.faq": [{
{ "type": 0,
"type": 0, "value": "Preguntas Frecuentes"
"value": "PayPal Donaciones" }],
} "footer.feedback": [{
], "type": 0,
"footer.faq": [ "value": "Feedback"
{ }],
"type": 0, "footer.opensource": [{
"value": "Preguntas Frecuentes" "type": 0,
} "value": "Open Source"
], }],
"footer.feedback": [ "footer.termsandconditions": [{
{ "type": 0,
"type": 0, "value": "Terminos y Condiciones"
"value": "Feedback" }],
} "header.donthaveaccount": [{
], "type": 0,
"footer.opensource": [ "value": "No tienes una cuenta ?"
{ }],
"type": 0, "login.email": [{
"value": "Open Source" "type": 0,
} "value": "Email"
], }],
"footer.termsandconditions": [ "login.error": [{
{ "type": 0,
"type": 0, "value": "El email o la contraseña no es valida."
"value": "Terminos y Condiciones" }],
} "login.forgotpwd": [{
], "type": 0,
"header.donthaveaccount": [ "value": "Olvidaste la contraseña ?"
{ }],
"type": 0, "login.hsqldbcofig": [{
"value": "No tienes una cuenta ?" "type": 0,
} "value": "Warning: Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.7 instead. You can find more information how to configure MySQL"
], }],
"login.email": [ "login.loginto": [{
{ "type": 0,
"type": 0, "value": "Ingresar a tu Cuenta"
"value": "Email" }],
} "login.password": [{
], "type": 0,
"login.error": [ "value": "Contraseña"
{ }],
"type": 0, "login.remberme": [{
"value": "El email o la contraseña no es valida." "type": 0,
} "value": "Recordarme"
], }],
"login.forgotpwd": [ "login.signin": [{
{ "type": 0,
"type": 0, "value": "Ingresar"
"value": "Olvidaste la contraseña ?" }],
} "login.signup": [{
], "type": 0,
"login.hsqldbcofig": [ "value": "Registrarse"
{ }],
"type": 0, "login.userinactive": [{
"value": "Warning: Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.7 instead. You can find more information how to configure MySQL" "type": 0,
} "value": "Sorry, your account has not been activated yet. You'll receive a notification email when it becomes active. Stay tuned!."
], }],
"login.loginto": [ "login.welcome": [{
{ "type": 0,
"type": 0, "value": "Bienvenido"
"value": "Ingresar a tu Cuenta" }]
}
],
"login.password": [
{
"type": 0,
"value": "Contraseña"
}
],
"login.remberme": [
{
"type": 0,
"value": "Recordarme"
}
],
"login.signin": [
{
"type": 0,
"value": "Ingresar"
}
],
"login.signup": [
{
"type": 0,
"value": "Registrarse"
}
],
"login.userinactive": [
{
"type": 0,
"value": "Sorry, your account has not been activated yet. You'll receive a notification email when it becomes active. Stay tuned!."
}
],
"login.welcome": [
{
"type": 0,
"value": "Bienvenido"
}
]
} }

View File

@ -154,16 +154,18 @@ nav a {
padding: 30px 40px 10px 50px; padding: 30px 40px 10px 50px;
background-color: #f9a826; background-color: #f9a826;
display: grid; display: grid;
grid-template-columns: 200px 200px 200px 1fr; grid-template-columns: 100px 1fr 1fr 3fr;
} }
.footer a { .footer a {
font-size: 14px; font-size: 14px;
margin: 0px 10px; margin: 0px 10px;
color: white; color: white;
word-wrap: nowrap;
text-align: center;
} }
.footer>img { .footer>svg {
grid-column: 1; grid-column: 1;
} }
@ -175,9 +177,34 @@ nav a {
grid-column: 3; grid-column: 3;
} }
.footer div:nth-child(4) { @media (min-width: 500px) {
grid-column: 4; .footer {
text-align: right; grid-template-columns: 5px 1fr 1fr 5px;
}
.footer>svg {
display: none;
visibility: hidden;
}
.footer div:nth-child(4) {
display: none;
visibility: hidden;
}
}
@media (min-width: 800px) {
.footer {
grid-template-columns: 150px 1fr 1fr;
}
.footer>svg {
display: inline-block;
visibility: visible;
}
.footer div:nth-child(4) {
grid-column: 4;
text-align: right;
display: inline-block;
visibility: visible;
}
} }