build: Upgrade stylelint to version 16 and fix issues

Migrate upgrade stylelint from version 10 to 16 and fix all the
stylelint and prettier issues in scss files.

The following deprecated stylistic rules are no longer supported in
stylelint, and the checks are taken over by prettier:

- string-quotes
- max-empty-lines
- max-line-length
This commit is contained in:
Ralph Hopman
2024-11-28 13:46:48 +01:00
committed by Adam Saghy
parent 756ce9e0c7
commit 31f1890051
345 changed files with 2308 additions and 4783 deletions
+9
View File
@@ -0,0 +1,9 @@
/dist
/node_modules
**/.git
*.html
*.js
*.json
*.md
*.ts
*.yml
+4
View File
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "none"
}
+6 -9
View File
@@ -2,6 +2,7 @@
"extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"], "extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"],
"rules": { "rules": {
"font-family-name-quotes": "always-where-recommended", "font-family-name-quotes": "always-where-recommended",
"font-family-no-missing-generic-family-keyword": [true, { "ignoreFontFamilies": ["FontAwesome"] }],
"function-url-quotes": [ "function-url-quotes": [
"always", "always",
{ {
@@ -9,12 +10,13 @@
} }
], ],
"selector-attribute-quotes": "always", "selector-attribute-quotes": "always",
"string-quotes": "double",
"max-nesting-depth": 5, "max-nesting-depth": 5,
"selector-max-compound-selectors": 5, "selector-max-compound-selectors": 5,
"selector-max-specificity": "1,3,2", "selector-max-specificity": "1,3,2",
"declaration-no-important": true, "declaration-no-important": null,
"at-rule-no-vendor-prefix": true, "at-rule-no-vendor-prefix": true,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": [true, { "ignoreAtRules": ["tailwind"] }],
"media-feature-name-no-vendor-prefix": true, "media-feature-name-no-vendor-prefix": true,
"property-no-vendor-prefix": true, "property-no-vendor-prefix": true,
"selector-no-vendor-prefix": true, "selector-no-vendor-prefix": true,
@@ -33,10 +35,7 @@
"selector-type-no-unknown": [ "selector-type-no-unknown": [
true, true,
{ {
"ignoreTypes": [ "ignoreTypes": ["/^mat/", "/^mifosx/", "fa-icon", "ng-template"]
"mat-spinner",
"mat-radio-button"
]
} }
], ],
"selector-pseudo-element-no-unknown": [ "selector-pseudo-element-no-unknown": [
@@ -45,8 +44,6 @@
"ignorePseudoElements": ["ng-deep"] "ignorePseudoElements": ["ng-deep"]
} }
], ],
"unit-whitelist": ["px", "%", "em", "rem", "vw", "vh", "deg", "s"], "unit-allowed-list": ["px", "%", "em", "rem", "vw", "vh", "deg", "s", "ms"]
"max-empty-lines": 2,
"max-line-length": 120
} }
} }
+590 -3372
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -17,7 +17,7 @@
"start": "npm run env -s && ng serve --aot --proxy-config proxy.conf.js", "start": "npm run env -s && ng serve --aot --proxy-config proxy.conf.js",
"serve:dev": "npm run env -s && ng serve", "serve:dev": "npm run env -s && ng serve",
"serve:sw": "npm run build -s && npx http-server ./dist -p 4200", "serve:sw": "npm run build -s && npx http-server ./dist -p 4200",
"lint": "ng lint && stylelint \"src/**/*.scss\" --syntax scss && htmlhint \"src\" --config .htmlhintrc", "lint": "ng lint && stylelint \"src/**/*.scss\" && prettier . --check && htmlhint \"src\" --config .htmlhintrc",
"test": "npm run env -s && ng test", "test": "npm run env -s && ng test",
"test:ci": "npm run env -s && npm run lint -s && ng test --code-coverage --watch=false", "test:ci": "npm run env -s && npm run lint -s && ng test --code-coverage --watch=false",
"e2e": "ng e2e", "e2e": "ng e2e",
@@ -108,13 +108,13 @@
"karma-jasmine": "^5.1.0", "karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.0.0", "karma-jasmine-html-reporter": "^2.0.0",
"karma-junit-reporter": "1.2.0", "karma-junit-reporter": "1.2.0",
"prettier": "^3.0.1", "prettier": "^3.3.3",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"puppeteer": "^15.3.2", "puppeteer": "^15.3.2",
"stylelint": "10.0.1", "stylelint": "^16.10.0",
"stylelint-config-recommended-scss": "3.3.0", "stylelint-config-recommended-scss": "^14.1.0",
"stylelint-config-standard": "18.3.0", "stylelint-config-standard": "^36.0.1",
"stylelint-scss": "3.6.1", "stylelint-scss": "^6.8.1",
"tailwindcss": "^3.3.3", "tailwindcss": "^3.3.3",
"ts-node": "8.2.0", "ts-node": "8.2.0",
"typescript": "4.6.4" "typescript": "4.6.4"
@@ -7,6 +7,7 @@
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -16,5 +17,5 @@ table {
} }
.mat-divider { .mat-divider {
border-top-color: #ffffff; border-top-color: #fff;
} }
@@ -1,4 +1,6 @@
h2, h3, h4 { h2,
h3,
h4 {
margin: 0; margin: 0;
font-weight: 500; font-weight: 500;
} }
@@ -12,7 +14,7 @@ span {
} }
mat-divider { mat-divider {
margin: 0 0 0.5em 0; margin: 0 0 0.5em;
} }
.container { .container {
@@ -8,5 +8,5 @@ span {
} }
mat-divider { mat-divider {
margin: 0 0 0.5em 0; margin: 0 0 0.5em;
} }
@@ -1,8 +1,10 @@
.mat-elevation-z1 { .mat-elevation-z1 {
margin: 1em 0 1.5em 0; margin: 1em 0 1.5em;
} }
h2, h3, h4 { h2,
h3,
h4 {
margin: 0; margin: 0;
font-weight: 500; font-weight: 500;
} }
@@ -16,5 +18,5 @@ span {
} }
mat-divider { mat-divider {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
@@ -1,12 +1,12 @@
.rule-wrapper { .rule-wrapper {
margin: 17.5px 0 0 0; margin: 17.5px 0 0;
} }
.entries-wrapper { .entries-wrapper {
position: relative; position: relative;
.entries { .entries {
padding: 0 0 17.5px 0; padding: 0 0 17.5px;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
@@ -1,12 +1,12 @@
.rule-wrapper { .rule-wrapper {
margin: 17.5px 0 0 0; margin: 17.5px 0 0;
} }
.entries-wrapper { .entries-wrapper {
position: relative; position: relative;
.entries { .entries {
padding: 0 0 17.5px 0; padding: 0 0 17.5px;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
@@ -2,7 +2,7 @@
position: relative; position: relative;
.manual-entries-allowed { .manual-entries-allowed {
padding: 0 0 17.5px 0; padding: 0 0 17.5px;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
@@ -2,7 +2,7 @@
position: relative; position: relative;
.manual-entries-allowed { .manual-entries-allowed {
padding: 0 0 17.5px 0; padding: 0 0 17.5px;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
@@ -1,6 +1,7 @@
table { table {
width: 100%; width: 100%;
select-row:hover {
.select-row:hover {
cursor: pointer; cursor: pointer;
} }
} }
@@ -1,5 +1,6 @@
.content { .content {
padding-top: 20px; padding-top: 20px;
div { div {
word-wrap: break-word; word-wrap: break-word;
@@ -3,7 +3,7 @@
.mat-table { .mat-table {
display: block; display: block;
font-family: Tahoma, Verdana; font-family: Tahoma, Verdana, sans-serif;
width: 100%; width: 100%;
} }
@@ -1,5 +1,6 @@
.container { .container {
max-width: 60rem; max-width: 60rem;
.back-button { .back-button {
max-height: 2%; max-height: 2%;
margin-bottom: 2%; margin-bottom: 2%;
@@ -1,7 +1,8 @@
@use '@angular/material' as mat; @use '@angular/material' as mat;
@use 'sass:map';
@mixin centers-view-component-theme($theme) { @mixin centers-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map.get($theme, primary);
mifosx-centers-view { mifosx-centers-view {
.center-card { .center-card {
@@ -3,41 +3,52 @@
max-width: 80rem; max-width: 80rem;
width: 90%; width: 90%;
padding: 0; padding: 0;
.header { .header {
padding: 1%; padding: 1%;
.header-title-group {
.center-card-title {
color: white;
width: 90%;
p {
color: white;
}
}
}
.profile-image-container {
margin: 1%;
.profile-image {
object-fit: cover;
border-radius: 20px;
}
} }
.center-meeting { .center-meeting {
align-self: flex-end; align-self: flex-end;
width: 300px; width: 300px;
height: 140px; height: 140px;
div, ng-template > div {
div,
ng-template > div {
background-color: #0a6aac; background-color: #0a6aac;
p { p {
color: white; color: white;
padding: 0 10px; padding: 0 10px;
} }
} }
} }
.header-title-group {
.center-card-title {
color: white;
width: 90%;
p {
color: white;
}
}
}
.profile-image-container {
margin: 1%;
.profile-image {
object-fit: cover;
border-radius: 20px;
}
}
.center-actions { .center-actions {
align-self: flex-end; align-self: flex-end;
margin: 0 1%; margin: 0 1%;
} }
}
.navigation-tabs { .navigation-tabs {
overflow: auto; overflow: auto;
} }
@@ -5,6 +5,7 @@
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.summary-details-container { .summary-details-container {
border: 1px solid; border: 1px solid;
padding: 1%; padding: 1%;
@@ -12,6 +13,7 @@
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
+1
View File
@@ -2,6 +2,7 @@
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
.search-button { .search-button {
min-width: 30px; min-width: 30px;
margin: 4px; margin: 4px;
@@ -4,7 +4,7 @@
.mat-table { .mat-table {
display: block; display: block;
font-family: Tahoma, Verdana; font-family: Tahoma, Verdana, sans-serif;
width: 50%; width: 50%;
} }
@@ -1,13 +1,16 @@
.address { .address {
.address-actions { .address-actions {
margin-top: 1%; margin-top: 1%;
button { button {
margin-right: 1%; margin-right: 1%;
} }
} }
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
p { p {
line-height: 30px; line-height: 30px;
margin-left: 2%; margin-left: 2%;
@@ -1,13 +1,16 @@
.family-member { .family-member {
.family-member-actions { .family-member-actions {
margin-top: 1%; margin-top: 1%;
button { button {
margin-right: 1%; margin-right: 1%;
} }
} }
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
p { p {
line-height: 30px; line-height: 30px;
margin-left: 2%; margin-left: 2%;
@@ -1,5 +1,5 @@
.margin-v { .margin-v {
margin: 2em 0 0 0; margin: 2em 0 0;
} }
.margin-t { .margin-t {
@@ -1,4 +1,6 @@
h2, h3, h4 { h2,
h3,
h4 {
margin: 0; margin: 0;
font-weight: 500; font-weight: 500;
} }
@@ -8,7 +10,7 @@ span {
} }
mat-divider { mat-divider {
margin: 0 0 0.5em 0; margin: 0 0 0.5em;
} }
.margin-t { .margin-t {
@@ -19,6 +21,7 @@ mat-divider {
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
p { p {
line-height: 30px; line-height: 30px;
margin-left: 2%; margin-left: 2%;
@@ -29,6 +32,7 @@ mat-divider {
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
p { p {
line-height: 30px; line-height: 30px;
margin-left: 2%; margin-left: 2%;
@@ -5,10 +5,12 @@
.address { .address {
.address-actions { .address-actions {
margin-top: 1%; margin-top: 1%;
button { button {
margin-right: 1%; margin-right: 1%;
} }
} }
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
@@ -19,4 +21,3 @@
} }
} }
} }
@@ -1,4 +1,3 @@
.container { .container {
width: 37rem; width: 37rem;
} }
@@ -1,5 +1,6 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
.print { .print {
align-self: flex-end; align-self: flex-end;
} }
@@ -12,8 +12,6 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
* { mat-card {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -1,7 +1,6 @@
.surveyOption { .surveyOption {
border: 1px solid #cbcbcb; border: 1px solid #cbcbcb;
padding: 5px; padding: 5px;
} }
.displayQuestions { .displayQuestions {
@@ -9,11 +8,11 @@
} }
.question { .question {
padding: 10px 0px; padding: 10px 0;
} }
.wrap-mat-radio-label { .wrap-mat-radio-label {
white-space: normal white-space: normal;
} }
.questionText { .questionText {
@@ -30,7 +29,7 @@
} }
.surveyCont { .surveyCont {
padding: 5% padding: 5%;
} }
.button-cancel { .button-cancel {
@@ -7,11 +7,13 @@
margin: 4px; margin: 4px;
line-height: 25px; line-height: 25px;
} }
.signature { .signature {
color: white; color: white;
text-align: center; text-align: center;
margin: 0; margin: 0;
padding: 2%; padding: 2%;
&:hover { &:hover {
cursor: pointer; cursor: pointer;
} }
@@ -5,8 +5,10 @@
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
table { table {
width: 100%; width: 100%;
.document-action-button { .document-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -2,10 +2,12 @@
width: 70%; width: 70%;
margin: 0 auto; margin: 0 auto;
padding: 5%; padding: 5%;
@media screen and (min-width:960px) {
@media screen and (width >=960px) {
[fxFlex]:nth-child(odd) { [fxFlex]:nth-child(odd) {
margin-right: 25px; margin-right: 25px;
} }
[fxFlex]:last-child { [fxFlex]:last-child {
margin-right: 0; margin-right: 0;
} }
@@ -2,13 +2,14 @@
width: 70%; width: 70%;
margin: 0 auto; margin: 0 auto;
padding: 5%; padding: 5%;
@media screen and (min-width:960px) {
@media screen and (width >=960px) {
[fxFlex]:nth-child(odd) { [fxFlex]:nth-child(odd) {
margin-right: 25px; margin-right: 25px;
} }
[fxFlex]:last-child { [fxFlex]:last-child {
margin-right: 0; margin-right: 0;
} }
} }
} }
@@ -5,10 +5,12 @@
.family-member { .family-member {
.family-member-actions { .family-member-actions {
margin-top: 1%; margin-top: 1%;
button { button {
margin-right: 1%; margin-right: 1%;
} }
} }
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
@@ -5,6 +5,7 @@
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.performance-history-container { .performance-history-container {
border: 1px solid; border: 1px solid;
padding: 1%; padding: 1%;
@@ -12,9 +13,11 @@
table { table {
width: 100%; width: 100%;
td:hover { td:hover {
cursor: pointer; cursor: pointer;
} }
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -26,7 +29,6 @@
cursor: pointer; cursor: pointer;
} }
} }
} }
.heading-content { .heading-content {
@@ -5,8 +5,10 @@
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
table { table {
width: 100%; width: 100%;
.identity-action-button { .identity-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -15,4 +17,3 @@
} }
} }
} }
+14 -9
View File
@@ -2,13 +2,16 @@
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
.search-button { .search-button {
min-width: 30px; min-width: 30px;
margin: 4px; margin: 4px;
} }
.search-box { .search-box {
min-width: 320px; min-width: 320px;
} }
.filter-box { .filter-box {
min-width: 280px; min-width: 280px;
} }
@@ -18,6 +21,7 @@ table {
tr.select-row:hover { tr.select-row:hover {
cursor: pointer; cursor: pointer;
} }
tr:nth-child(odd).td { tr:nth-child(odd).td {
color: black; color: black;
} }
@@ -27,13 +31,14 @@ $bar: 150px;
$foo: $bar * 8; $foo: $bar * 8;
$color: #e2e4ec; $color: #e2e4ec;
.loading { .loading {
position: absolute; position: absolute;
width: $bar; width: $bar;
height: 8px; height: 8px;
background: linear-gradient(125deg, rgb(255, 255, 255), #c4d2e9, rgb(255, 255, 255)); background: linear-gradient(125deg, rgb(255 255 255), #c4d2e9, rgb(255 255 255));
animation: grow 4s linear infinite, move 4s linear infinite; animation:
grow 4s linear infinite,
move 4s linear infinite;
top: 75px; top: 75px;
} }
@@ -51,7 +56,7 @@ $color: #e2e4ec;
} }
33.3% { 33.3% {
left: $foo / 2; left: calc($foo / 2);
} }
50% { 50% {
@@ -59,7 +64,7 @@ $color: #e2e4ec;
} }
66.7% { 66.7% {
left: $foo / 2; left: calc($foo / 2);
} }
83.3% { 83.3% {
@@ -77,11 +82,11 @@ $color: #e2e4ec;
} }
16.7% { 16.7% {
width: $foo / 2; width: calc($foo / 2);
} }
33.3% { 33.3% {
width: $foo / 2; width: calc($foo / 2);
} }
50% { 50% {
@@ -89,11 +94,11 @@ $color: #e2e4ec;
} }
66.7% { 66.7% {
width: $foo / 2; width: calc($foo / 2);
} }
83.3% { 83.3% {
width: $foo / 2; width: calc($foo / 2);
} }
100% { 100% {
@@ -1,3 +1,3 @@
.margin-v { .margin-v {
margin: 2em 0 0 0; margin: 2em 0 0;
} }
@@ -1,4 +1,3 @@
.container { .container {
width: 37rem; width: 37rem;
} }
@@ -4,33 +4,40 @@
width: 90%; width: 90%;
padding: 0; padding: 0;
} }
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.group-details-container { .group-details-container {
border: 1px solid; border: 1px solid;
padding: 1%; padding: 1%;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
margin: 4px; margin: 4px;
line-height: 25px; line-height: 25px;
} }
tr.select-row:hover { tr.select-row:hover {
cursor: pointer; cursor: pointer;
} }
} }
i:hover { i:hover {
cursor: pointer; cursor: pointer;
} }
} }
@@ -1,5 +1,4 @@
.container { .container {
max-width: 37em; max-width: 37em;
.margin-v { .margin-v {
@@ -7,13 +6,12 @@
} }
.margin-b { .margin-b {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
.margin-t { .margin-t {
margin-top: 1em; margin-top: 1em;
} }
} }
.showcollectionsheet { .showcollectionsheet {
@@ -23,18 +21,19 @@
} }
.alert { .alert {
background-color: rgb(253, 236, 234); background-color: rgb(253 236 234);
padding: 6px 16px; padding: 6px 16px;
font-size: 0.875rem; font-size: 0.875rem;
font-family: "Roboto", "Helvetica", "Arial", sans-serif; font-family: Roboto, Helvetica, Arial, sans-serif;
font-weight: 400; font-weight: 400;
line-height: 1.43; line-height: 1.43;
border-radius: 4px; border-radius: 4px;
letter-spacing: 0.01071em; letter-spacing: 0.0107em;
.message { .message {
padding: 8px 0; padding: 8px 0;
} }
.alert-check { .alert-check {
color: #f44336; color: #f44336;
margin-right: 2px; margin-right: 2px;
@@ -1,4 +1,5 @@
@import "assets/styles/helper"; @use 'assets/styles/helper';
@use 'assets/styles/colours' as *;
.breadcrumb-wrapper { .breadcrumb-wrapper {
margin: 0 auto; margin: 0 auto;
@@ -18,7 +19,7 @@
} }
.separator::before { .separator::before {
content: ""; content: '';
border: 1.5px solid $mid-grey; border: 1.5px solid $mid-grey;
margin: 0 0.6rem; margin: 0 0.6rem;
font-size: 1.25rem; font-size: 1.25rem;
@@ -40,7 +41,7 @@
} }
&::after { &::after {
content: "/"; content: '/';
margin: 0 0.4rem; margin: 0 0.4rem;
} }
} }
@@ -4,6 +4,7 @@ mifosx-content {
height: 100%; height: 100%;
margin: 0 auto -30px; margin: 0 auto -30px;
} }
#push { #push {
height: 30px; height: 30px;
} }
+14 -11
View File
@@ -5,7 +5,10 @@
.sidebar-panel { .sidebar-panel {
min-height: 100vh; min-height: 100vh;
overflow: auto; overflow: auto;
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); box-shadow:
0 3px 1px -2px rgb(0 0 0 / 20%),
0 2px 2px 0 rgb(0 0 0 / 14%),
0 1px 5px 0 rgb(0 0 0 / 12%);
} }
.sidebar-full { .sidebar-full {
@@ -17,18 +20,18 @@
} }
} }
$bar: 190px; $bar: 190px;
$foo: $bar * 8; $foo: $bar * 8;
$color: #e2e4ec; $color: #e2e4ec;
.loading { .loading {
position: absolute; position: absolute;
width: $bar; width: $bar;
height: 8px; height: 8px;
background: linear-gradient(125deg, rgb(255, 255, 255), #c4d2e9, rgb(255, 255, 255)); background: linear-gradient(125deg, rgb(255 255 255), #c4d2e9, rgb(255 255 255));
animation: grow 4s linear infinite, move 4s linear infinite; animation:
grow 4s linear infinite,
move 4s linear infinite;
top: 64px; top: 64px;
} }
@@ -46,7 +49,7 @@ $color: #e2e4ec;
} }
33.3% { 33.3% {
left: $foo / 2; left: calc($foo / 2);
} }
50% { 50% {
@@ -54,7 +57,7 @@ $color: #e2e4ec;
} }
66.7% { 66.7% {
left: $foo / 2; left: calc($foo / 2);
} }
83.3% { 83.3% {
@@ -72,11 +75,11 @@ $color: #e2e4ec;
} }
16.7% { 16.7% {
width: $foo / 2; width: calc($foo / 2);
} }
33.3% { 33.3% {
width: $foo / 2; width: calc($foo / 2);
} }
50% { 50% {
@@ -84,11 +87,11 @@ $color: #e2e4ec;
} }
66.7% { 66.7% {
width: $foo / 2; width: calc($foo / 2);
} }
83.3% { 83.3% {
width: $foo / 2; width: calc($foo / 2);
} }
100% { 100% {
@@ -19,9 +19,7 @@
text-align: center; text-align: center;
max-width: 15rem; max-width: 15rem;
z-index: 9999; z-index: 9999;
&:hover {
cursor: pointer; cursor: pointer;
}
.app-logo { .app-logo {
width: auto; width: auto;
@@ -46,7 +44,8 @@
width: 72px; width: 72px;
margin: 0 auto 8px; margin: 0 auto 8px;
height: 72px; height: 72px;
border: 1px solid hsla(210, 8%, 51%, 0.13); /* stylelint-disable-next-line color-function-notation */
border: 1px solid hsla(210deg, 8%, 51%, 13%);
padding: 4px; padding: 4px;
border-radius: 50%; border-radius: 50%;
} }
@@ -75,7 +74,7 @@
} }
.text-muted { .text-muted {
color: rgba(0, 0, 0, 0.54); color: rgba(0 0 0 / 54%);
} }
} }
} }
@@ -137,9 +136,6 @@
.app-brand { .app-brand {
.app-logo { .app-logo {
margin: auto; margin: auto;
&:hover {
cursor: pointer;
}
} }
.app-logo-text { .app-logo-text {
@@ -172,10 +168,12 @@
} }
} }
} }
.sidebar-full { .sidebar-full {
.navigation-panel { .navigation-panel {
padding-top: 5%; padding-top: 5%;
} }
.app-sidenav { .app-sidenav {
.icon-menu { .icon-menu {
flex-direction: row; flex-direction: row;
@@ -1,6 +1,9 @@
#mifosx-toolbar { #mifosx-toolbar {
position: relative; position: relative;
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); box-shadow:
0 3px 1px -2px rgb(0 0 0 / 20%),
0 2px 2px 0 rgb(0 0 0 / 14%),
0 1px 5px 0 rgb(0 0 0 / 12%);
.tab-link { .tab-link {
min-width: auto; min-width: auto;
@@ -44,7 +47,7 @@
display: none; display: none;
} }
@media (max-width: 959px) { @media (width <= 959px) {
.lg-icon { .lg-icon {
display: block; display: block;
margin-left: 5px; margin-left: 5px;
@@ -3,7 +3,7 @@ table {
} }
.mat-elevation-z1 { .mat-elevation-z1 {
margin: 1em 0 1.5em 0; margin: 1em 0 1.5em;
} }
.margin-t { .margin-t {
@@ -3,10 +3,12 @@ table {
} }
.mat-elevation-z1 { .mat-elevation-z1 {
margin: 1em 0 1.5em 0; margin: 1em 0 1.5em;
} }
h2, h3, h4 { h2,
h3,
h4 {
margin: 0; margin: 0;
font-weight: 500; font-weight: 500;
} }
@@ -16,7 +18,7 @@ span {
} }
mat-divider { mat-divider {
margin: 0 0 0.5em 0; margin: 0 0 0.5em;
} }
.margin-t { .margin-t {
@@ -8,7 +8,7 @@ h3 {
} }
mat-divider { mat-divider {
margin: 1em 0 2em 0; margin: 1em 0 2em;
} }
.margin-v { .margin-v {
@@ -16,7 +16,7 @@ mat-divider {
} }
.margin-b { .margin-b {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
.margin-t { .margin-t {
@@ -8,7 +8,7 @@ h3 {
} }
mat-divider { mat-divider {
margin: 1em 0 2em 0; margin: 1em 0 2em;
} }
.margin-v { .margin-v {
@@ -16,7 +16,7 @@ mat-divider {
} }
.margin-b { .margin-b {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
.margin-t { .margin-t {
@@ -1,14 +1,18 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -1,9 +1,11 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
table { table {
width: 100%; width: 100%;
@@ -1,14 +1,18 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -1,30 +1,38 @@
@import "assets/styles/helper"; @use 'assets/styles/helper';
@use 'assets/styles/colours' as *;
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
color: $black; color: $black;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 0 3px 0; padding: 0 0 3px;
margin: 0 2%; margin: 0 2%;
line-height: 25px; line-height: 25px;
} }
.strike { .strike {
text-decoration: line-through; text-decoration: line-through;
color: $status-active-overdue; color: $status-active-overdue;
} }
.linked { .linked {
color: $status-approved; color: $status-approved;
} }
.accrual { .accrual {
color: $msg-default; color: $msg-default;
} }
@@ -1,4 +1,5 @@
@import "assets/styles/helper"; @use 'assets/styles/helper';
@use 'assets/styles/colours' as *;
.container { .container {
max-width: 37rem; max-width: 37rem;
@@ -3,7 +3,7 @@ table {
} }
.mat-elevation-z1 { .mat-elevation-z1 {
margin: 1em 0 1.5em 0; margin: 1em 0 1.5em;
} }
.margin-t { .margin-t {
@@ -3,10 +3,12 @@ table {
} }
.mat-elevation-z1 { .mat-elevation-z1 {
margin: 1em 0 1.5em 0; margin: 1em 0 1.5em;
} }
h2, h3, h4 { h2,
h3,
h4 {
margin: 0; margin: 0;
font-weight: 500; font-weight: 500;
} }
@@ -16,11 +18,7 @@ span {
} }
mat-divider { mat-divider {
margin: 0 0 0.5em 0; margin: 0 0 0.5em;
}
.margin-t {
margin-top: 1em;
} }
.margin-t { .margin-t {
@@ -50,4 +48,3 @@ mat-divider {
} }
} }
} }
@@ -8,7 +8,7 @@ h3 {
} }
mat-divider { mat-divider {
margin: 1em 0 2em 0; margin: 1em 0 2em;
} }
.margin-v { .margin-v {
@@ -16,7 +16,7 @@ mat-divider {
} }
.margin-b { .margin-b {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
.margin-t { .margin-t {
@@ -1,14 +1,18 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -1,9 +1,11 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
table { table {
width: 100%; width: 100%;
@@ -1,14 +1,18 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -1,21 +1,26 @@
@import "assets/styles/helper"; @use 'assets/styles/helper';
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 0 3px 0; padding: 0 0 3px;
margin: 0 10%; margin: 0 10%;
line-height: 25px; line-height: 25px;
.accruals { .accruals {
padding-top: 1%; padding-top: 1%;
} }
@@ -1,4 +1,5 @@
@import "assets/styles/helper"; @use 'assets/styles/helper';
@use 'assets/styles/colours' as *;
.container { .container {
max-width: 37rem; max-width: 37rem;
@@ -4,7 +4,7 @@
.mat-table { .mat-table {
display: block; display: block;
font-family: Tahoma, Verdana; font-family: Tahoma, Verdana, sans-serif;
width: 50%; width: 50%;
} }
@@ -1,14 +1,18 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -1,31 +1,39 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.group-details-container { .group-details-container {
border: 1px solid; border: 1px solid;
padding: 1%; padding: 1%;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
margin: 4px; margin: 4px;
line-height: 25px; line-height: 25px;
} }
tr.select-row:hover { tr.select-row:hover {
cursor: pointer; cursor: pointer;
} }
} }
i:hover { i:hover {
cursor: pointer; cursor: pointer;
} }
tr:hover { tr:hover {
cursor: pointer; cursor: pointer;
} }
@@ -4,8 +4,8 @@
.mat-table { .mat-table {
display: block; display: block;
font-family: Tahoma, Verdana; font-family: Tahoma, Verdana, sans-serif;
width: 100% width: 100%;
} }
.mat-row, .mat-row,
@@ -3,7 +3,7 @@
.mat-table { .mat-table {
display: block; display: block;
font-family: Tahoma, Verdana; font-family: Tahoma, Verdana, sans-serif;
width: 100%; width: 100%;
} }
@@ -1,7 +1,9 @@
@use '@angular/material' as mat; @use '@angular/material' as mat;
@use 'sass:map';
@mixin groups-view-component-theme($theme) { @mixin groups-view-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map.get($theme, primary);
mifosx-groups-view { mifosx-groups-view {
.group-card { .group-card {
.header { .header {
@@ -3,48 +3,61 @@
max-width: 80rem; max-width: 80rem;
width: 90%; width: 90%;
padding: 0; padding: 0;
i:hover {
cursor: pointer;
}
.header { .header {
padding: 1%; padding: 1%;
}
.header-title-group { .header-title-group {
.group-card-title { .group-card-title {
color: white; color: white;
width: 90%; width: 90%;
mat-card-subtitle { mat-card-subtitle {
color: white; color: white;
} }
} }
} }
.profile-image-container { .profile-image-container {
margin: 1%; margin: 1%;
.profile-image { .profile-image {
object-fit: cover; object-fit: cover;
border-radius: 20px; border-radius: 20px;
} }
} }
.group-meeting { .group-meeting {
align-self: flex-end; align-self: flex-end;
width: 300px; width: 300px;
div, ng-template > div {
div,
ng-template > div {
background-color: #0a6aac; background-color: #0a6aac;
p { p {
color: white; color: white;
padding: 0 10px; padding: 0 10px;
} }
} }
} }
.group-actions { .group-actions {
align-self: flex-end; align-self: flex-end;
margin: 0 1%; margin: 0 1%;
i { i {
margin-bottom: 2px; margin-bottom: 2px;
margin-right: 4px; margin-right: 4px;
} }
} }
}
.navigation-tabs { .navigation-tabs {
overflow: auto; overflow: auto;
} }
i:hover {
cursor: pointer;
}
} }
+1
View File
@@ -2,6 +2,7 @@
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
.search-button { .search-button {
min-width: 30px; min-width: 30px;
margin: 4px; margin: 4px;
@@ -1,11 +1,13 @@
.card { .card {
min-width: 18.5rem; min-width: 18.5rem;
padding: 0; padding: 0;
.header { .header {
#office { #office {
margin-bottom: -1.20em; margin-bottom: -1.2em;
} }
} }
.fallback { .fallback {
height: 20rem; height: 20rem;
} }
@@ -1,11 +1,13 @@
.card { .card {
min-width: 18.5rem; min-width: 18.5rem;
padding: 0; padding: 0;
.header { .header {
#office { #office {
margin-bottom: -1.20em; margin-bottom: -1.2em;
} }
} }
.fallback { .fallback {
height: 20rem; height: 20rem;
} }
@@ -1,15 +1,18 @@
.card { .card {
min-width: 18.5rem; min-width: 18.5rem;
padding: 0; padding: 0;
.header { .header {
#office { #office {
margin-bottom: -1.20em; margin-bottom: -1.2em;
} }
} }
#timescale { #timescale {
margin: 2% 50%; margin: 2% 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
.fallback { .fallback {
overflow-x: auto; overflow-x: auto;
max-width: 100%; max-width: 100%;
@@ -1,11 +1,12 @@
@use '@angular/material' as mat; @use '@angular/material' as mat;
@use 'sass:map';
@mixin dashboard-component-theme($theme) { @mixin dashboard-component-theme($theme) {
$primary: map-get($theme, primary); $primary: map.get($theme, primary);
mifosx-dashboard { mifosx-dashboard {
.recent-activities,
.recent-activities, .frequent-activities { .frequent-activities {
.header { .header {
background-color: mat.get-color-from-palette($primary, 500); background-color: mat.get-color-from-palette($primary, 500);
color: mat.get-contrast-color-from-palette($primary, 500); color: mat.get-contrast-color-from-palette($primary, 500);
@@ -19,11 +20,13 @@
.header { .header {
background-color: mat.get-color-from-palette($primary, 500); background-color: mat.get-color-from-palette($primary, 500);
color: mat.get-contrast-color-from-palette($primary, 500); color: mat.get-contrast-color-from-palette($primary, 500);
mat-label, mat-label,
.mat-select-value, .mat-select-value,
.mat-select-arrow { .mat-select-arrow {
color: mat.get-contrast-color-from-palette($primary, 500); color: mat.get-contrast-color-from-palette($primary, 500);
} }
.mat-form-field-underline, .mat-form-field-underline,
.mat-form-field-ripple { .mat-form-field-ripple {
background-color: mat.get-contrast-color-from-palette($primary, 500); background-color: mat.get-contrast-color-from-palette($primary, 500);
@@ -31,6 +34,5 @@
} }
} }
} }
} }
} }
@@ -8,6 +8,7 @@
.search { .search {
width: 100%; width: 100%;
padding: 12px; padding: 12px;
mat-card-content { mat-card-content {
width: 100%; width: 100%;
} }
@@ -28,8 +29,7 @@
.bottom-card { .bottom-card {
display: flex; display: flex;
flex-wrap: wrap; flex-flow: row wrap;
flex-direction: row;
gap: 2px; gap: 2px;
.amount-collected, .amount-collected,
@@ -41,8 +41,7 @@
} }
} }
@media screen and (max-width: 768px) { @media screen and (width <= 768px) {
.top-card, .top-card,
.bottom-card { .bottom-card {
flex-direction: column; flex-direction: column;
+2 -2
View File
@@ -9,10 +9,10 @@
} }
.mat-list-base { .mat-list-base {
padding-top: 0px; padding-top: 0;
} }
a { a {
text-decoration: none; text-decoration: none;
color: black color: black;
} }
@@ -3,33 +3,41 @@
max-width: 80rem; max-width: 80rem;
width: 90%; width: 90%;
padding: 0; padding: 0;
.header { .header {
padding: 1%; padding: 1%;
.header-title-group { .header-title-group {
.loan-card-title { .loan-card-title {
color: white; color: white;
width: 90%; width: 90%;
p { p {
color: white; color: white;
} }
} }
} }
.profile-image-container { .profile-image-container {
margin: 1%; margin: 1%;
.profile-image { .profile-image {
object-fit: cover; object-fit: cover;
border-radius: 20px; border-radius: 20px;
} }
} }
.loan-actions { .loan-actions {
align-self: flex-end; align-self: flex-end;
margin: 0 1%; margin: 0 1%;
// min-width: 72%; // min-width: 72%;
} }
.loan-span { .loan-span {
margin: 0 0.5%; margin: 0 0.5%;
} }
} }
.navigation-tabs { .navigation-tabs {
overflow: auto; overflow: auto;
} }
@@ -3,7 +3,7 @@ table {
} }
.mat-elevation-z1 { .mat-elevation-z1 {
margin: 1em 0 1.5em 0; margin: 1em 0 1.5em;
} }
.margin-t { .margin-t {
@@ -20,7 +20,7 @@ h3 {
} }
mat-divider { mat-divider {
margin: 1em 0 1em 0; margin: 1em 0;
} }
.margin-v { .margin-v {
@@ -28,7 +28,7 @@ mat-divider {
} }
.margin-b { .margin-b {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
.tableName { .tableName {
@@ -8,7 +8,7 @@ h3 {
} }
mat-divider { mat-divider {
margin: 1em 0 2em 0; margin: 1em 0 2em;
} }
.margin-v { .margin-v {
@@ -16,7 +16,7 @@ mat-divider {
} }
.margin-b { .margin-b {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
.margin-t { .margin-t {
@@ -3,10 +3,12 @@ table {
} }
.mat-elevation-z1 { .mat-elevation-z1 {
margin: 1em 0 1.5em 0; margin: 1em 0 1.5em;
} }
h2, h3, h4 { h2,
h3,
h4 {
margin: 0; margin: 0;
font-weight: 500; font-weight: 500;
} }
@@ -16,7 +18,7 @@ span {
} }
mat-divider { mat-divider {
margin: 0 0 0.5em 0; margin: 0 0 0.5em;
} }
.margin-t { .margin-t {
@@ -8,7 +8,7 @@ h3 {
} }
mat-divider { mat-divider {
margin: 1em 0 2em 0; margin: 1em 0 2em;
} }
.margin-v { .margin-v {
@@ -16,7 +16,7 @@ mat-divider {
} }
.margin-b { .margin-b {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
.margin-t { .margin-t {
@@ -1,18 +1,22 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
table { table {
width: 100%; width: 100%;
margin-top: 3%; margin-top: 3%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
margin: 4px; margin: 4px;
line-height: 25px; line-height: 25px;
} }
.select-row:hover { .select-row:hover {
cursor: pointer; cursor: pointer;
} }
@@ -1,5 +1,6 @@
.tab-container { .tab-container {
padding-bottom: 2%; padding: 1% 1% 2%;
margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
@@ -8,6 +9,7 @@
.transaction-buttons { .transaction-buttons {
padding-bottom: 1rem; padding-bottom: 1rem;
padding-top: 1rem; padding-top: 1rem;
.accruals { .accruals {
padding-top: 1%; padding-top: 1%;
} }
@@ -28,20 +30,13 @@
} }
} }
.tab-container {
padding: 1%;
margin: 1%;
}
.external-asset-owner-status { .external-asset-owner-status {
color: black; color: black;
} }
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 0 3px 0; padding: 0 0 3px;
margin: 0 2%; margin: 0 2%;
line-height: 25px; line-height: 25px;
} }
@@ -1,5 +1,4 @@
.asset-transfer-container { .asset-transfer-container {
height: 150px; height: 150px;
.status { .status {
@@ -1,4 +1,3 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
@@ -1,8 +1,7 @@
.container { .container {
.mat-table { .mat-table {
display: block; display: block;
font-family: Tahoma, Verdana; font-family: Tahoma, Verdana, sans-serif;
width: 100%; width: 100%;
} }
@@ -27,5 +26,4 @@
padding-left: 0; padding-left: 0;
margin-bottom: 0; margin-bottom: 0;
} }
} }
@@ -1,8 +1,10 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
.print { .print {
align-self: flex-end; align-self: flex-end;
} }
.screen-report { .screen-report {
text-align: center; text-align: center;
} }
@@ -1,10 +1,12 @@
.view-guarantors-account-tables { .view-guarantors-account-tables {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
.table-headers { .table-headers {
margin: 0; margin: 0;
padding: 6px; padding: 6px;
} }
td { td {
padding: 3px; padding: 3px;
} }
@@ -12,6 +14,7 @@
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -1,6 +1,7 @@
table { table {
width: 100%; width: 100%;
margin-top: 3%; margin-top: 3%;
.document-action-button { .document-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -5,6 +5,7 @@ table {
.container { .container {
padding-top: 1%; padding-top: 1%;
padding-bottom: 2%; padding-bottom: 2%;
.delete-button { .delete-button {
margin-left: 1%; margin-left: 1%;
} }
@@ -1,6 +1,7 @@
table { table {
width: 100%; width: 100%;
margin-top: 3%; margin-top: 3%;
.document-action-button { .document-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -5,6 +5,7 @@ table {
.container { .container {
padding-top: 1%; padding-top: 1%;
padding-bottom: 2%; padding-bottom: 2%;
.delete-button { .delete-button {
margin-left: 1%; margin-left: 1%;
} }
@@ -1,4 +1,5 @@
@import "assets/styles/helper"; @use 'assets/styles/helper';
@use 'assets/styles/colours' as *;
table { table {
width: 100%; width: 100%;
@@ -1,8 +1,9 @@
table { table {
width: 100%; width: 100%;
.action-button { .action-button {
min-width: 26px; min-width: 26px;
padding: 0 0 3px 0; padding: 0 0 3px;
margin: 0 2%; margin: 0 2%;
line-height: 25px; line-height: 25px;
} }
@@ -1,14 +1,18 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3 { h3 {
margin: 1% auto; margin: 1% auto;
} }
.action-button { .action-button {
margin-left: auto; margin-left: auto;
} }
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 6px; padding: 0 6px;
@@ -1,4 +1,5 @@
@import "assets/styles/helper"; @use 'assets/styles/helper';
@use 'assets/styles/colours' as *;
.container { .container {
padding-bottom: 2%; padding-bottom: 2%;
@@ -6,6 +7,7 @@
.transaction-buttons { .transaction-buttons {
padding-bottom: 1rem; padding-bottom: 1rem;
padding-top: 1rem; padding-top: 1rem;
.accruals { .accruals {
padding-top: 1%; padding-top: 1%;
} }
@@ -13,9 +15,10 @@
table { table {
width: 100%; width: 100%;
.account-action-button { .account-action-button {
min-width: 26px; min-width: 26px;
padding: 0 0 3px 0; padding: 0 0 3px;
margin: 0 2%; margin: 0 2%;
line-height: 25px; line-height: 25px;
} }
@@ -24,21 +27,27 @@
text-decoration: line-through; text-decoration: line-through;
color: $status-active-overdue; color: $status-active-overdue;
} }
.linked { .linked {
color: $status-approved; color: $status-approved;
} }
.accrual { .accrual {
color: $msg-default; color: $msg-default;
} }
.down-payment { .down-payment {
color: $status-downpayment; color: $status-downpayment;
} }
.chargeoff { .chargeoff {
color: $status-chargeoff; color: $status-chargeoff;
} }
.reage { .reage {
color: $status-reage; color: $status-reage;
} }
.reamortize { .reamortize {
color: $status-reamortize; color: $status-reamortize;
} }
@@ -1,5 +1,6 @@
.container { .container {
max-width: 50rem; max-width: 50rem;
.back-button { .back-button {
max-height: 2%; max-height: 2%;
margin-bottom: 2%; margin-bottom: 2%;

Some files were not shown because too many files have changed in this diff Show More