Skip to content

Conversation

@KJeffree
Copy link

@KJeffree KJeffree commented Sep 9, 2021

This PR updates the CSS for all themes to become up to date with FreeAgent master as of 09/09/2021.

These changes include adding more control over width and padding and adjusting margins, as well as changing the hex codes of some colours to match those used in the main app.

Formatting of CSS files have also been updated for readability and consistency

@KJeffree KJeffree force-pushed the update-to-09-09-2021-master branch from 805c9ed to 827b180 Compare September 9, 2021 09:16
Copy link

@dmorgan-fa dmorgan-fa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small things that I've highlighted, but other than that nicely done 👍 Not an easy one to have tackled.

border-top: 5px solid #000;
padding: 0 1cm 1cm 1cm;
}
/*=========================== LAYOUT =========================*/ß

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing German character here that's been overlooked.

Suggested change
/*=========================== LAYOUT =========================*/ß
/*=========================== LAYOUT =========================*/

margin: 0;
}

#invoice {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The legacy talaria has this line as #invoice.pagestyle {

width: 18.3035714%; /* 164/896px */
}

/*Push the main body down to counteract the absolute positioning */

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsequential change, just changing for consistency

Suggested change
/*Push the main body down to counteract the absolute positioning */
/* Push the main body down to counteract the absolute positioning */

*/

@page:first {
@page: first {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this space intentional? Comparing this to what's in master no space has been added.

Suggested change
@page: first {
@page:first {

styles/lola.css Outdated
padding:2px 0;
text-align:left;
}
#vat-total td, #vat-total th {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separating these to their own lines

Suggested change
#vat-total td, #vat-total th {
#vat-total td,
#vat-total th {

styles/lola.css Outdated
Comment on lines 266 to 268
font-size:9pt;
padding:2px 0;
text-align:left;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding in spacing

Suggested change
font-size:9pt;
padding:2px 0;
text-align:left;
font-size: 9pt;
padding: 2px 0;
text-align: left;

The CSS in these style sheets have not been updated to match the styling
added to the css style sheets in-app. These changes include adding more
control over width and padding, adjusting margins, and so on. This will
help to provide customers with accurate representations of the themes
we provide in-app.
@KJeffree KJeffree force-pushed the update-to-09-09-2021-master branch from 3a74cab to 7be4830 Compare September 9, 2021 15:44
Copy link

@dmorgan-fa dmorgan-fa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants