Skip to content

Commit 615532e

Browse files
authored
Removing some more old CSS. (#4230)
1 parent de7ec07 commit 615532e

File tree

21 files changed

+20
-232
lines changed

21 files changed

+20
-232
lines changed

hypha/apply/activity/templates/activity/partial_comment_message.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
{% with activity.attachments.all as attachments %}
1212
{% if attachments %}
13-
<div class="section-attachments flex flex-wrap gap-2 min-w-40 max-w-xl mt-4 pb-2">
13+
<div class="flex flex-wrap gap-2 min-w-40 max-w-xl mt-4 pb-2">
1414
{% for attachment in attachments %}
1515
<a href="{{attachment.get_absolute_url }}"
1616
class="inline-flex items-center border rounded px-3 py-2 font-medium bg-slate-50 hover:bg-slate-200 transition-colors"

hypha/apply/dashboard/templates/dashboard/finance_dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
role="tablist" aria-label="Invoice Tabs"
2727
x-data="{ tab: '{% trans "Active" %}' }"
2828
>
29-
<section class="section section--with-options">
29+
<section class="flex flex-col justify-between items-center md:flex-row">
3030
<h4 class="heading heading--normal heading--no-margin">{% trans 'Invoices' %} </h4>
3131
<nav>
3232
<a class="tab__item tab__item--alt"

hypha/apply/dashboard/templates/dashboard/includes/projects_in_contracting.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% load i18n %}
33

44
<div id="projects-in-contracting" class="wrapper wrapper--bottom-space" x-data="{ tab: '{% trans "Waiting for contract" %}' }">
5-
<section class="section section--with-options">
5+
<section class="flex flex-col justify-between items-center md:flex-row">
66
<h2 class="text-xl mb-2">
77
{% trans 'Projects in contracting' %}
88
</h2>

hypha/apply/determinations/templates/determinations/determination_detail.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
{% endadminbar %}
1818

1919
<div class="flex justify-between pt-2 mb-2 mt-2 max-w-[50em] border-b">
20-
21-
<h5 class="determination-outcome mb-4">
20+
<h5>
2221
{% trans "Determination" %}: {{ determination.get_outcome_display }}
2322
</h5>
2423
{% if request.user.is_apply_staff %}

hypha/apply/funds/templates/funds/applicationrevision_list.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
{% endadminbar %}
1010

1111
<div class="wrapper wrapper--medium">
12-
<ul class="revision">
12+
<ul class="my-8 border border-slate-300">
1313
{% for revision in object_list %}
14-
<li class="revision__item">
15-
<p class="revision__meta">
16-
<span class="revision__date">{{ revision.timestamp|date:"Y-m-d H:i e"}} </span>
14+
<li class="flex flex-col justify-between p-4 border-b border-dashed first:bg-sky-blue last:border-0 md:flex-row">
15+
<p class="m-0">
16+
<span class="font-semibold">{{ revision.timestamp|date:"Y-m-d H:i e"}} </span>
1717
{% trans "by" %} {{ revision.author }}
1818
{% if forloop.first %}
19-
<span class="revision__current">- {% trans "current" %}</span>
19+
<span class="font-semibold">({% trans "current" %})</span>
2020
{% endif %}
2121
{% if revision.is_draft %}
22-
<span class="revision__draft">(<span class="text-red-600">{% trans "draft" %}</span>)</span
22+
<span class="font-semibold">(<span class="text-red-600">{% trans "draft" %}</span>)</span
2323
{% endif %}
2424
</p>
2525
{% if not forloop.first %}

hypha/apply/funds/templates/funds/includes/round-block.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
x-data="{ activeTab: 'open-rounds' }"
44
x-init="activeTab = window.location.hash && ['#open-rounds', '#closed-rounds'].includes(window.location.hash) ? window.location.hash.substring(1) : activeTab"
55
>
6-
<section class="section section--with-options">
6+
<section class="flex flex-col justify-between items-center md:flex-row">
77
<h3 class="text-xl mb-2">
88
<a href="{% url 'apply:rounds:list' %}">{{ title }}</a>
99
</h3>

hypha/apply/funds/templates/funds/includes/status-block.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load i18n %}
22
<div class="wrapper wrapper--bottom-space">
3-
<section class="section">
3+
<section>
44
<ul class="status-block">
55
{% for status, data in status_counts.items %}
66
<a class="status-block__item {% if data.is_active %}status-block__item--active{% endif %}" href="{{ data.url }}">

hypha/apply/funds/templates/funds/revisions_compare.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
{% endadminbar %}
1919

20-
<table class="revision-diff-table prose prose-h4:mt-0 max-w-none mb-8">
20+
<table class="prose prose-h4:mt-0 max-w-none mb-8">
2121
<tr>
2222
<td>
2323
<h3>{% trans "Proposal Information (Old)" %}</h3>

hypha/apply/users/templates/users/account.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ <h3 class="heading heading--no-margin font-bold">{% trans "Submit a new applicat
3535
</span>
3636
{% endadminbar %}
3737

38-
<div class="profile">
39-
<div class="profile__column">
38+
<div class="flex flex-col gap-8 justify-between my-8 md:flex-row md:divide-x">
39+
<div class="flex-1">
4040
<h2 class="text-2xl">{% trans "Profile" %}</h2>
4141

4242
<form action="" method="post" class="form">
@@ -51,7 +51,7 @@ <h2 class="text-2xl">{% trans "Profile" %}</h2>
5151
</div>
5252

5353

54-
<div class="profile__column">
54+
<div class="flex-1 md:ps-8">
5555
<h2 class="text-2xl">{% trans "Account Security" %}</h2>
5656

5757
{% if show_change_password %}
@@ -87,7 +87,7 @@ <h3 class="text-base mb-2">{% trans "Two-Factor Authentication (2FA)" %}</h3>
8787

8888

8989
{% if swappable_form %}
90-
<div class="profile__column">
90+
<div class="flex-1 md:ps-8">
9191
{% if swappable_form %}
9292
<h2 class="text-2xl">{% trans "Become" %}:</h2>
9393
<form action="{% url 'hijack-become' %}" method="post" class="form">

hypha/apply/users/templates/wagtailusers/users/edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Override the Wagtail's user edit template to add a custom 'Disable 2FA' button to account section-->
1+
<!-- Override the Wagtail's user edit template to add a custom 'Disable 2FA' button to account section -->
22
{% extends "wagtailusers/users/edit.html" %}
33
{% load wagtailimages_tags %}
44
{% load users_tags %}

0 commit comments

Comments
 (0)