diff --git a/app/assets/stylesheets/app.scss b/app/assets/stylesheets/app.scss index 229a7276a..64db8e310 100644 --- a/app/assets/stylesheets/app.scss +++ b/app/assets/stylesheets/app.scss @@ -1,26 +1,5 @@ // Extra CSS overlaying elements -.form-control-2-3, .form-control-1-4 { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - font-family: "nta", Arial, sans-serif; - font-size: 16px; - line-height: 1.25; - font-weight: 400; - text-transform: none; - padding: 4px; - background-color: #fff; - border: 2px solid #6f777b; -} - -@media (min-width: 641px) { - .form-control-2-3, .form-control-1-4 { - font-size: 19px; - line-height: 1.31579; - } -} - #global-header-bar { background-color: $red; } diff --git a/app/assets/stylesheets/components/banner.scss b/app/assets/stylesheets/components/banner.scss index ca27acac0..18a4ae6db 100644 --- a/app/assets/stylesheets/components/banner.scss +++ b/app/assets/stylesheets/components/banner.scss @@ -8,7 +8,7 @@ display: block; padding: $gutter-half; margin: $gutter-half 0 $gutter 0; - text-align: center; + text-align: left; position: relative; } @@ -16,7 +16,7 @@ .banner-with-tick { @extend %banner; - padding: $gutter-half $gutter; + padding: $gutter-half ($gutter + $gutter-half); &:before { @include core-24; @@ -58,7 +58,6 @@ background: $yellow; color: $text-colour; text-align: left; - border: 5px solid $text-colour; font-weight: bold; a:link, a:visited { diff --git a/app/assets/stylesheets/components/navigation.scss b/app/assets/stylesheets/components/navigation.scss index 8c384cdbd..82032dea9 100644 --- a/app/assets/stylesheets/components/navigation.scss +++ b/app/assets/stylesheets/components/navigation.scss @@ -1,13 +1,13 @@ .navigation { - padding: 3px 0 0 0; + padding: 20px 0 0 0; ul, h2 { - @include core-16; + @include core-19; border-bottom: 1px solid $border-colour; - margin: 10px 20px 0 0; + margin: 10px 20px 15px 0; list-style-type: none; - padding: 0 0 8px 0; + padding: 0 0 10px 0; } h2 { @@ -15,7 +15,7 @@ } li { - margin: 7px 0 0 0; + margin: 10px 0 0 0; } a:link, diff --git a/app/main/views/dashboard.py b/app/main/views/dashboard.py index e3720a444..9c25fb21f 100644 --- a/app/main/views/dashboard.py +++ b/app/main/views/dashboard.py @@ -30,5 +30,5 @@ def service_dashboard(service_id): jobs=jobs, free_text_messages_remaining='25,000', spent_this_month='0.00', - has_templates=bool(len(templates)), + template_count=len(templates), service_id=str(service_id)) diff --git a/app/templates/components/banner.html b/app/templates/components/banner.html index 8adbfa5c6..74402779e 100644 --- a/app/templates/components/banner.html +++ b/app/templates/components/banner.html @@ -1,6 +1,19 @@ -{% macro banner(body, type=None, with_tick=False, delete_button=None) %} +{% macro banner(body, type=None, with_tick=False, delete_button=None, subhead=None) %}
{{ banner( - 'Your service is in restricted mode. You can only send notifications to yourself.', - 'info' + 'You can only send notifications to yourself', + type='info', + subhead='Restricted mode' ) }} {{ banner('You’re not allowed to do this', 'dangerous')}} {{ banner('Are you sure you want to delete?', 'dangerous', delete_button="Yes, delete this thing")}} - {{ banner('Send your first message'|safe, 'tip')}} + {{ banner( + 'Send your first message'|safe, + subhead='Get started', + type='tip' + )}}We've sent you confirmation codes by email and text message. You need to enter both codes here.
+We’ve sent you confirmation codes by email and text message. You need to enter both codes here.
diff --git a/app/templates/withnav_template.html b/app/templates/withnav_template.html index 1201801b3..73ce81224 100644 --- a/app/templates/withnav_template.html +++ b/app/templates/withnav_template.html @@ -2,14 +2,10 @@ {% block fullwidth_content %}