mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-14 10:58:58 -04:00
Fix background colours on big numbers without links
This commit is contained in:
@@ -45,7 +45,8 @@
|
||||
.big-number {
|
||||
padding: $gutter-half;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
background: $black;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.big-number-label {
|
||||
@@ -69,7 +70,13 @@
|
||||
margin-bottom: 5px;
|
||||
|
||||
&:hover {
|
||||
|
||||
color: $light-blue-25;
|
||||
|
||||
.big-number {
|
||||
color: $light-blue-25;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:active,
|
||||
@@ -77,6 +84,10 @@
|
||||
outline: 3px solid $yellow;
|
||||
}
|
||||
|
||||
.big-number {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.big-number-label {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
]) }}
|
||||
|
||||
|
||||
<h2 class='heading-medium'>Today's statistics</h2>
|
||||
<div class="grid-row">
|
||||
<h2 class='heading-medium'>Today</h2>
|
||||
<div class="grid-row bottom-gutter">
|
||||
<div class="column-half">
|
||||
{{ big_number_with_status(
|
||||
global_stats.emails_delivered,
|
||||
|
||||
@@ -43,7 +43,7 @@ def test_should_render_platform_admin_page(
|
||||
assert response.status_code == 200
|
||||
resp_data = response.get_data(as_text=True)
|
||||
assert 'Platform admin' in resp_data
|
||||
assert 'Today\'s statistics' in resp_data
|
||||
assert 'Today' in resp_data
|
||||
assert 'Services' in resp_data
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user