Added transactions.css to the views of the transactions in the accounting application.

This commit is contained in:
依瑪貓 2020-08-04 23:59:15 +08:00
parent 66c08fd413
commit 4f7c338dfd
4 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,36 @@
/* The Mia Website
* transaction.css: The style sheet for the current transaction
*/
/* Copyright (c) 2019-2020 imacat.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2019/9/17
*/
.subject-line {
font-size: 0.833em;
}
.amount {
font-style: italic;
text-align: right;
}
#txn-form .amount {
font-style: italic;
}
.balance-row {
border-color: transparent;
}

View File

@ -28,6 +28,7 @@ First written: 2020/7/23
{% block settings %} {% block settings %}
{% trans "Cash Expense Transaction" context "Accounting|" as title %} {% trans "Cash Expense Transaction" context "Accounting|" as title %}
{% setvar "title" title %} {% setvar "title" title %}
{% static "accounting/css/transactions.css" as file %}{% add_css file %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}

View File

@ -28,6 +28,7 @@ First written: 2020/7/23
{% block settings %} {% block settings %}
{% trans "Cash Income Transaction" context "Accounting|" as title %} {% trans "Cash Income Transaction" context "Accounting|" as title %}
{% setvar "title" title %} {% setvar "title" title %}
{% static "accounting/css/transactions.css" as file %}{% add_css file %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}

View File

@ -28,6 +28,7 @@ First written: 2020/7/23
{% block settings %} {% block settings %}
{% trans "Transfer Transaction" context "Accounting|" as title %} {% trans "Transfer Transaction" context "Accounting|" as title %}
{% setvar "title" title %} {% setvar "title" title %}
{% static "accounting/css/transactions.css" as file %}{% add_css file %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}