Improved highlighting

This commit is contained in:
Dominik Süß 2016-10-25 15:52:16 +02:00 committed by Simon Michael
parent c6c2a93f01
commit c0a6689c27
2 changed files with 4 additions and 2 deletions

View File

@ -65,7 +65,7 @@ sidebar vd@VD{..} =
[hamlet| [hamlet|
<div #sidebar-menu .#{showmd} .#{showsm} .sidebar-offcanvas> <div #sidebar-menu .#{showmd} .#{showsm} .sidebar-offcanvas>
<table .main-menu .table> <table .main-menu .table>
<tr> <tr .#{journalcurrent}>
<td .top .acct> <td .top .acct>
<a href=@{JournalR} .#{journalcurrent} title="Show general journal entries, most recent first">Journal <a href=@{JournalR} .#{journalcurrent} title="Show general journal entries, most recent first">Journal
<td .top> <td .top>
@ -191,7 +191,7 @@ balanceReportAsHtml _ vd@VD{..} (items',total) =
items = items' -- maybe items' (\m -> filter (matchesAccount m . \(a,_,_,_)->a) items') showacctmatcher items = items' -- maybe items' (\m -> filter (matchesAccount m . \(a,_,_,_)->a) items') showacctmatcher
itemAsHtml :: ViewData -> BalanceReportItem -> HtmlUrl AppRoute itemAsHtml :: ViewData -> BalanceReportItem -> HtmlUrl AppRoute
itemAsHtml _ (acct, adisplay, aindent, abal) = [hamlet| itemAsHtml _ (acct, adisplay, aindent, abal) = [hamlet|
<tr> <tr .#{inacctclass}>
<td .acct> <td .acct>
<div .ff-wrapper> <div .ff-wrapper>
\#{indent} \#{indent}

View File

@ -174,11 +174,13 @@ ul {
#sidebar-menu .main-menu .inacct { #sidebar-menu .main-menu .inacct {
font-weight: bold; font-weight: bold;
color: #11427D; color: #11427D;
background-color: #f9f9f9;
} }
#sidebar-menu .main-menu .amount { #sidebar-menu .main-menu .amount {
float: right; float: right;
overflow-x:auto; overflow-x:auto;
font-weight: 500 !important;
} }
#sidebar-menu .main-menu .acct { #sidebar-menu .main-menu .acct {