Skip to content

Commit

Permalink
Merge pull request #364 from afaneca/develop
Browse files Browse the repository at this point in the history
5.7.0
  • Loading branch information
afaneca committed Nov 25, 2023
2 parents 2d0a37f + 9c52401 commit 51c294b
Show file tree
Hide file tree
Showing 9 changed files with 97 additions and 48 deletions.
44 changes: 39 additions & 5 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -533,17 +533,51 @@ table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
}

/* Tooltip container */
.tooltip {
.myfin-tooltip-trigger {
position: relative;
display: block;
/*border-bottom: 1px dotted black; !* If you want dots under the hoverable text *!*/
}

.myfin-tooltip-text {
visibility: hidden;
background-color: #1f2125bf;
color: #fff;
/*text-align: center;*/
padding: 10px;
border-radius: 6px;

/* Position the tooltip text */
position: absolute;
/*z-index: 1;*/
z-index: 2222222;
bottom: 125%;

/* Fade in tooltip */
opacity: 0;
transition: opacity 0.3s;

font-size: smaller;
width: max-content;
}

/* Show the tooltip text when you mouse over the tooltip container */
.myfin-tooltip-trigger:hover .myfin-tooltip-text {
visibility: visible;
opacity: 1;
}

.budget-category-tooltip {
position: relative;
display: block;
/*border-bottom: 1px dotted black; !* If you want dots under the hoverable text *!*/
}

/* Tooltip text */
.tooltip .tooltiptext {
.budget-category-tooltip .budget-category-tooltip-text {
visibility: hidden;
/*width: 120px;*/
background-color: #555;
background-color: #1f2125fc;
color: #fff;
/*text-align: center;*/
padding: 10px;
Expand All @@ -566,7 +600,7 @@ table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
.budget-category-tooltip .budget-category-tooltip-text::after {
content: "";
position: absolute;
top: 100%;
Expand All @@ -578,7 +612,7 @@ table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
.budget-category-tooltip:hover .budget-category-tooltip-text {
visibility: visible;
opacity: 1;
}
Expand Down
54 changes: 35 additions & 19 deletions js/budgetDetails.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions js/categories.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/consts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions js/funcs/investmentAssetsTableFunc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@
"roi": "ROI",
"assetClass": "Asset Class",
"feesAndTaxes": "Fees & taxes",
"showInactives": "Show Inactives"
"showInactives": "Show Inactives",
"updateValue": "Update Value"
},
"stats": {
"stats": "Stats",
Expand Down
3 changes: 2 additions & 1 deletion locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,8 @@
"roi": "ROI",
"assetClass": "Classe de Ativos",
"feesAndTaxes": "Taxas e impostos",
"showInactives": "Mostrar Inativos"
"showInactives": "Mostrar Inativos",
"updateValue": "Atualizar Valor"
},
"stats": {
"stats": "Estatísticas",
Expand Down
4 changes: 2 additions & 2 deletions myfin.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<!-- Compiled and minified CSS -->
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@materializecss/materialize@1.1.0/dist/css/materialize.min.css">
href="https://cdn.jsdelivr.net/npm/@materializecss/materialize@1.2.2/dist/css/materialize.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="./js/external/monthpicker/monthpicker.css">
<link href="https://unpkg.com/tabulator-tables@4.5.3/dist/css/tabulator.min.css" rel="stylesheet">
Expand Down Expand Up @@ -156,7 +156,7 @@
<script src="./js/external/js.cookie.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@materializecss/materialize@1.1.0/dist/js/materialize.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@materializecss/materialize@1.2.2/dist/js/materialize.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.8.0/dist/chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-trendline"></script>
<script src="./js/external/monthpicker/monthpicker.js"></script>
Expand Down
1 change: 0 additions & 1 deletion views/budgetDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ <h4><span data-i18n="common.credit"></span></h4>
$('#conclusion-close-btn').click(() => BudgetDetails.onBudgetCloseClicked())
$('#clone-month-btn').click(() => BudgetDetails.onCloneMonthClicked())

$('.tooltipped').tooltip()
DialogUtils.initStandardModal()
})
</script>

0 comments on commit 51c294b

Please sign in to comment.