diff --git a/media/css/core.css b/media/css/core.css index d37ab4d7823..03f9f972cf0 100644 --- a/media/css/core.css +++ b/media/css/core.css @@ -654,8 +654,9 @@ p.build-missing { font-size: .8em; color: #9d9a55; margin: 0 0 3px; } #footer a:hover, #footer a:active { color: white; text-decoration: underline; } /* Social icons */ -#footer .social { font-family: FontAwesome; margin-left: 25px; } -#footer .social li { float: left; } +#footer .social { font-family: FontAwesome; text-align: center; } +#footer .social:after { clear: both; content: ''; display: table; } +#footer .social li { width: 50px; display: inline-block; } #footer .social a { text-decoration: none; opacity: 0.5; } #footer .social a:hover, #footer .social a:visited { opacity: 1; } #footer .social .icon { display: inline-block; width: 36px; height: 36px; font-size: 24px;} @@ -667,6 +668,13 @@ p.build-missing { font-size: .8em; color: #9d9a55; margin: 0 0 3px; } #footer select { float: left; width: 175px; padding: 2px; height: 24px; font-size: 12px; margin-right: 10px; } #footer input[type="submit"] { margin-top: 0; padding: 4px; height: 24px; font-size: 12px; line-height: 16px; } +/* Other footer forms */ +#footer #email-signup { margin-bottom: 20px; } +#footer #email-signup:after { clear: both; content:''; display: table; } +#footer #email-signup p { padding-right: 10px; font-size: 14px; color: #BCC1C3; } +#footer label { color: #BCC1C3; font-weight: normal; } +#footer input[type="text"], #footer input[type="email"] { padding: 4px; font-size: 12px; line-height: 16px; margin-bottom: 5px } + /* utils */ diff --git a/readthedocs/rtd_tests/tests/test_project.py b/readthedocs/rtd_tests/tests/test_project.py index 03e9aac8960..0d0ea9e9101 100644 --- a/readthedocs/rtd_tests/tests/test_project.py +++ b/readthedocs/rtd_tests/tests/test_project.py @@ -287,14 +287,13 @@ def test_user_cant_change_lang_to_translation_lang(self): follow=True ) self.assertEqual(resp.status_code, 200) - self.assertContains(resp, 'error') self.assertContains( resp, 'There is already a "es" translation ' 'for the read-the-docs project' ) - def test_user_can_change_project_whith_same_lang(self): + def test_user_can_change_project_with_same_lang(self): user_a = User.objects.get(username='eric') project_a = Project.objects.get(slug='read-the-docs') project_b = get( @@ -322,7 +321,7 @@ def test_user_can_change_project_whith_same_lang(self): follow=True ) self.assertEqual(resp.status_code, 200) - self.assertNotContains(resp, 'error') + self.assertNotContains(resp, 'There is already a') def test_token(self): r = self.client.get('/api/v2/project/6/token/', {}) diff --git a/readthedocs/templates/base.html b/readthedocs/templates/base.html index 1b37b68b1c3..5268f1c2f94 100644 --- a/readthedocs/templates/base.html +++ b/readthedocs/templates/base.html @@ -105,76 +105,97 @@ {% block footer-content %}
-

{% trans "About Us" %}

+

{% trans 'Get Involved' %}

+
-

{% trans "Read the Docs" %}

+

{% trans 'Business Info' %}

+
+ +
+ +
+