mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 08:50:01 +02:00
Add styling and preferential link logic
This commit is contained in:
parent
228fcaea65
commit
3224d41c33
2 changed files with 9 additions and 2 deletions
|
@ -26,6 +26,12 @@ a.usa-button {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.usa-button.disabled-link {
|
||||||
|
pointer-events: none !important;
|
||||||
|
cursor: default !important;
|
||||||
|
background-color: #ccc !important;
|
||||||
|
}
|
||||||
|
|
||||||
a.usa-button:not(.usa-button--unstyled, .usa-button--outline) {
|
a.usa-button:not(.usa-button--unstyled, .usa-button--outline) {
|
||||||
color: color('white');
|
color: color('white');
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,15 @@
|
||||||
<p class="margin-top-4">
|
<p class="margin-top-4">
|
||||||
{% if is_production %}
|
{% if is_production %}
|
||||||
<a href="{% url 'application:' %}"
|
<a href="{% url 'application:' %}"
|
||||||
class="usa-button usa-tooltip disabled-domain-request-link"
|
class="usa-button usa-tooltip disabled-link"
|
||||||
data-position="right"
|
data-position="right"
|
||||||
title="Coming in 2024"
|
title="Coming in 2024"
|
||||||
>
|
>
|
||||||
Start a new domain request
|
Start a new domain request
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{% url 'application:' %}" class="usa-button">
|
<a href="{% url 'application:' %}" class="usa-button"
|
||||||
|
>
|
||||||
Start a new domain request
|
Start a new domain request
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue