mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
ui: Remove the noise background
- Update the mediawiki functional tests which were using this image. - Slightly increase the darkness of the shadow around the cards to compensate for the loss of the contrast with the noise background. Tests: - Re-run mediawiki functional tests. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
6cb51719aa
commit
c8c753af29
@ -70,8 +70,9 @@ class TestMediawikiApp(functional.BaseAppTests):
|
||||
|
||||
def test_upload_images(self, session_browser, login):
|
||||
"""Test uploading an image."""
|
||||
_upload_image(session_browser, 'admin', 'whatever123', 'noise.png')
|
||||
assert _image_exists(session_browser, 'Noise.png')
|
||||
_upload_image(session_browser, 'admin', 'whatever123',
|
||||
'freedombox-logo-250px.png')
|
||||
assert _image_exists(session_browser, 'Freedombox-logo-250px.png')
|
||||
|
||||
def test_upload_svg_image(self, session_browser, login):
|
||||
"""Test uploading an SVG image."""
|
||||
@ -81,20 +82,22 @@ class TestMediawikiApp(functional.BaseAppTests):
|
||||
|
||||
def test_backup_restore(self, session_browser, login):
|
||||
"""Test backup and restore of pages and images."""
|
||||
if not _image_exists(session_browser, 'Noise.png'):
|
||||
_upload_image(session_browser, 'admin', 'whatever123', 'Noise.png')
|
||||
if not _image_exists(session_browser, 'Freedombox-logo-250px.png'):
|
||||
_upload_image(session_browser, 'admin', 'whatever123',
|
||||
'freedombox-logo-250px.png')
|
||||
|
||||
functional.backup_create(session_browser, 'mediawiki',
|
||||
'test_mediawiki')
|
||||
|
||||
_enable_public_registrations(session_browser)
|
||||
_delete_image(session_browser, 'admin', 'whatever123', 'Noise.png')
|
||||
_delete_image(session_browser, 'admin', 'whatever123',
|
||||
'Freedombox-logo-250px.png')
|
||||
_delete_main_page(session_browser, 'admin', 'whatever123')
|
||||
functional.backup_restore(session_browser, 'mediawiki',
|
||||
'test_mediawiki')
|
||||
|
||||
assert _has_main_page(session_browser)
|
||||
assert _image_exists(session_browser, 'Noise.png')
|
||||
assert _image_exists(session_browser, 'Freedombox-logo-250px.png')
|
||||
_verify_create_account_link(session_browser)
|
||||
|
||||
def test_uninstall(self, session_browser):
|
||||
|
||||
@ -183,19 +183,6 @@ body {
|
||||
padding-top: 6rem;
|
||||
position: relative;
|
||||
font-family: Lato, sans-serif;
|
||||
background: url('../img/noise.png') var(--background-color);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
body {
|
||||
background: none;
|
||||
}
|
||||
|
||||
body.index-page,
|
||||
body.apps-page,
|
||||
body.system-page {
|
||||
background: url('../img/noise.png') var(--background-color);
|
||||
}
|
||||
}
|
||||
|
||||
.multiple-checkbox li {
|
||||
@ -560,7 +547,7 @@ a.menu_link_active {
|
||||
display: block;
|
||||
line-height: 1.42857143;
|
||||
text-align: center;
|
||||
box-shadow: 0 0.1875rem 0.3125rem 0 rgba(0,0,0,0.12);
|
||||
box-shadow: 0 0.1875rem 0.3125rem 0 rgba(0,0,0,0.2);
|
||||
width: 10rem;
|
||||
padding: 0.5rem 0.25rem;
|
||||
margin: 0 0.625rem 1.25rem;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB |
Loading…
x
Reference in New Issue
Block a user