[IMP] accounting: cheat sheet styles

closes odoo/documentation#13220

X-original-commit: c97f57ee93
Signed-off-by: Ruben Gomes (rugo) <rugo@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
This commit is contained in:
samueljlieber
2025-04-24 16:35:48 +00:00
parent 5d06b344d5
commit 0ef30be5d4
2 changed files with 13 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ main.index .toctree-wrapper > .row:first-child > .col-md-3 {
.related { .related {
background-color: hsl(317deg 16% 90%) !important; background-color: hsl(317deg 16% 90%) !important;
border: 1px solid #000000 !important;
transition: .3s; transition: .3s;
} }
.secondary { .secondary {
@@ -46,13 +47,13 @@ label:hover,
.accounts-table dl { .accounts-table dl {
margin: 0; margin: 0;
padding: .5rem 0; padding: .5rem 0;
border: 1px solid transparent;
} }
.accounts-table h4, .accounts-table h5 { .accounts-table h4, .accounts-table h5 {
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
padding: .5rem; padding: .5rem;
} }
.accounts-table h4 { .accounts-table h4 {
@@ -61,11 +62,13 @@ label:hover,
/* table root */ /* table root */
.accounts-table > div { .accounts-table > div {
display: flex; display: flex;
border: 1px solid transparent;
} }
/* P&L & Balance Sheet columns */ /* P&L & Balance Sheet columns */
.accounts-table > div > div { .accounts-table > div > div {
flex: 1; flex: 1;
padding: .5rem; padding: .5rem;
border: 1px solid transparent;
} }
.accounts-table > div > div:first-child { .accounts-table > div > div:first-child {
@@ -76,6 +79,7 @@ label:hover,
.accounts-table > div > div div { .accounts-table > div > div div {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border: 1px solid transparent;
} }
.accounts-table > div > div div > h5 { .accounts-table > div > div div > h5 {
@@ -139,16 +143,19 @@ label:hover,
.chart-of-accounts .highlight-op, .chart-of-accounts .highlight-op,
.valuation-chart .highlight-op { .valuation-chart .highlight-op {
background-color: #030035; background-color: #030035;
border-bottom: 1px solid #000000 !important;
} }
.chart-of-accounts .highlight-op, .chart-of-accounts .highlight-op,
.valuation-chart-continental .highlight-op { .valuation-chart-continental .highlight-op {
background-color: #030035; background-color: #030035;
border-bottom: 1px solid #000000 !important;
} }
.chart-of-accounts .highlight-op, .chart-of-accounts .highlight-op,
.valuation-chart-anglo-saxon .highlight-op { .valuation-chart-anglo-saxon .highlight-op {
background-color: #030035; background-color: #030035;
border-bottom: 1px solid #000000 !important;
} }
} }
.entries-listing { .entries-listing {
@@ -173,20 +180,24 @@ label:hover,
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
background-color: transparent; background-color: transparent;
border-bottom: 1px solid transparent;
} }
60% { 60% {
background-color: hsl(317deg 16% 90%); background-color: hsl(317deg 16% 90%);
border-bottom: 1px solid #000000;
} }
80% { 80% {
opacity: 1; opacity: 1;
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
border-bottom: 1px solid #000000;
} }
100% { 100% {
opacity: 0; opacity: 0;
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
display: none; display: none;
border-bottom: 1px solid #000000;
} }
} }
.reconcile1 .invoice1, .reconcile1 .invoice1 td { .reconcile1 .invoice1, .reconcile1 .invoice1 td {

View File

@@ -49,7 +49,7 @@
update_btn(); update_btn();
function update_btn() { function update_btn() {
var $reconcile = $('<button class="btn btn-success" type="button">') var $reconcile = $('<button class="btn btn-secondary" type="button">')
.text("Next Reconcile") .text("Next Reconcile")
.appendTo($buttons.empty()) .appendTo($buttons.empty())
switch (state) { switch (state) {