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
} }
} }
+596 -3378
View File
File diff suppressed because it is too large Load Diff
+7 -7
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"
@@ -130,4 +130,4 @@
"node": ">= 16.15.1", "node": ">= 16.15.1",
"npm": ">= 8.11.0" "npm": ">= 8.11.0"
} }
} }
@@ -1,5 +1,5 @@
.container { .container {
.filter-button{ .filter-button {
height: 2.5rem; height: 2.5rem;
margin-top: 1rem; margin-top: 1rem;
} }
@@ -7,14 +7,15 @@
table { table {
width: 100%; width: 100%;
.account-action-button{
min-width: 26px; .account-action-button {
padding: 0 6px; min-width: 26px;
margin: 4px; padding: 0 6px;
line-height: 25px; margin: 4px;
} line-height: 25px;
}
} }
.mat-divider { .mat-divider {
border-top-color: #ffffff; border-top-color: #fff;
} }
@@ -1,20 +1,22 @@
h2, h3, h4 { h2,
margin: 0; h3,
font-weight: 500; h4 {
margin: 0;
font-weight: 500;
} }
span { span {
margin: 0.5em 0; margin: 0.5em 0;
} }
.margin-t { .margin-t {
margin-top: 1em; margin-top: 1em;
} }
mat-divider { mat-divider {
margin: 0 0 0.5em 0; margin: 0 0 0.5em;
} }
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
@@ -1,12 +1,12 @@
h3 { h3 {
margin: 0; margin: 0;
font-weight: 500; font-weight: 500;
} }
span { span {
margin: 0.5em 0; margin: 0.5em 0;
} }
mat-divider { mat-divider {
margin: 0 0 0.5em 0; margin: 0 0 0.5em;
} }
@@ -1,20 +1,22 @@
.mat-elevation-z1 { .mat-elevation-z1 {
margin: 1em 0 1.5em 0; margin: 1em 0 1.5em;
} }
h2, h3, h4 { h2,
margin: 0; h3,
font-weight: 500; h4 {
margin: 0;
font-weight: 500;
} }
span { span {
margin: 0.5em 0; margin: 0.5em 0;
} }
.margin-t { .margin-t {
margin-top: 1em; margin-top: 1em;
} }
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;
@@ -1,3 +1,3 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
@@ -1,3 +1,3 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
@@ -1,3 +1,3 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
@@ -1,3 +1,3 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
@@ -1,35 +1,35 @@
.container { .container {
max-width: 50rem; max-width: 50rem;
.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-header-row {
display: flex;
border-bottom-width: 1px;
border-bottom-style: solid;
align-items: center;
min-height: 48px;
padding: 0 24px;
}
.mat-cell,
.mat-header-cell {
flex: 1;
overflow: hidden;
word-wrap: break-word;
}
h3 {
padding-left: 0;
margin-bottom: 0;
}
.group-card { .mat-row,
max-height: 20rem; .mat-header-row {
} display: flex;
border-bottom-width: 1px;
border-bottom-style: solid;
align-items: center;
min-height: 48px;
padding: 0 24px;
}
.mat-cell,
.mat-header-cell {
flex: 1;
overflow: hidden;
word-wrap: break-word;
}
h3 {
padding-left: 0;
margin-bottom: 0;
}
.group-card {
max-height: 20rem;
}
} }
@@ -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,48 +3,59 @@
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 {
.center-meeting {
align-self: flex-end;
width: 300px;
height: 140px;
div,
ng-template > div {
background-color: #0a6aac;
p {
color: white; color: white;
width: 90%; padding: 0 10px;
p {
color: white;
}
} }
} }
.profile-image-container {
margin: 1%;
.profile-image {
object-fit: cover;
border-radius: 20px;
}
}
.center-meeting {
align-self: flex-end;
width: 300px;
height: 140px;
div, ng-template > div {
background-color: #0a6aac;
p {
color: white;
padding: 0 10px;
}
}
}
.center-actions {
align-self: flex-end;
margin: 0 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-actions {
align-self: flex-end;
margin: 0 1%;
}
.navigation-tabs { .navigation-tabs {
overflow: auto; overflow: auto;
} }
} }
.meetingDetails { .meetingDetails {
float:right; float: right;
margin-right: 10px; margin-right: 10px;
border: 1px black solid; border: 1px black solid;
padding: 10px; padding: 10px;
@@ -2,9 +2,10 @@
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
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,7 +13,8 @@
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;
+3 -2
View File
@@ -1,8 +1,9 @@
.container { .container {
.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,10 +1,10 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
.mat-table { .mat-table {
display: block; display: block;
font-family: Tahoma, Verdana; font-family: Tahoma, Verdana, sans-serif;
width: 50%; width: 50%;
} }
@@ -1,3 +1,3 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
@@ -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%;
@@ -1,14 +1,16 @@
.tab-container { .tab-container {
padding:1%; padding: 1%;
margin: 1%; margin: 1%;
.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,6 +1,6 @@
table { table {
width: 100%; width: 100%;
margin-top: 3%; margin-top: 3%;
} }
.tab-container { .tab-container {
@@ -1,19 +1,19 @@
.delBtn{ .delBtn {
width: 20px !important; width: 20px !important;
height: 25px; height: 25px;
min-width: 20px!important; min-width: 20px !important;
line-height: 0px; line-height: 0px;
padding-left: 10px; padding-left: 10px;
padding-right: 25px; padding-right: 25px;
} }
.strikeoff { .strikeoff {
color: red !important; color: red !important;
text-decoration: line-through; text-decoration: line-through;
text-decoration-style: double; text-decoration-style: double;
} }
.share-account-tables { .share-account-tables {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
@@ -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;
} }
@@ -1,19 +1,17 @@
.fa-question-circle { .fa-question-circle {
color: #1abc9c; color: #1abc9c;
} }
.fa { .fa {
display: inline-block; display: inline-block;
font-family: FontAwesome; font-family: FontAwesome;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
* { mat-card {
-webkit-box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
} }
@@ -1,19 +1,18 @@
.surveyOption { .surveyOption {
border: 1px solid #cbcbcb; border: 1px solid #cbcbcb;
padding: 5px; padding: 5px;
} }
.displayQuestions { .displayQuestions {
margin-top: 20px; margin-top: 20px;
} }
.question { .question {
padding: 10px 0px; padding: 10px 0;
} }
.wrap-mat-radio-label { .wrap-mat-radio-label {
white-space: normal white-space: normal;
} }
.questionText { .questionText {
@@ -21,16 +20,16 @@
} }
.surveySelect { .surveySelect {
height: 40px; height: 40px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.nameLabel { .nameLabel {
width: 25%; width: 25%;
} }
.surveyCont { .surveyCont {
padding: 5% padding: 5%;
} }
.button-cancel { .button-cancel {
@@ -1,4 +1,4 @@
.headingContent{ .headingContent {
margin-bottom: 1%; margin-bottom: 1%;
margin-top: 1%; margin-top: 1%;
} }
@@ -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;
} }
@@ -1,14 +1,15 @@
.add-family-member-container { .add-family-member-container {
width: 70%; width: 70%;
margin: 0 auto; margin: 0 auto;
padding: 5%; padding: 5%;
@media screen and (min-width:960px) {
[fxFlex]:nth-child(odd) { @media screen and (width >=960px) {
margin-right: 25px; [fxFlex]:nth-child(odd) {
} margin-right: 25px;
[fxFlex]:last-child { }
margin-right: 0;
} [fxFlex]:last-child {
margin-right: 0;
} }
} }
}
@@ -1,14 +1,16 @@
.tab-container { .tab-container {
padding:1%; padding: 1%;
margin: 1%; margin: 1%;
.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;
} }
@@ -2,9 +2,10 @@
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
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,10 +13,12 @@
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;
margin: 4px; margin: 4px;
@@ -26,7 +29,6 @@
cursor: pointer; cursor: pointer;
} }
} }
} }
.heading-content { .heading-content {
@@ -1,18 +1,19 @@
.tab-container { .tab-container {
padding: 1%; padding: 1%;
margin: 1%; margin: 1%;
h3{ h3 {
margin:1% auto; margin: 1% auto;
} }
table {
width: 100%; table {
.identity-action-button{ width: 100%;
min-width: 26px;
padding: 0 6px; .identity-action-button {
margin: 4px; min-width: 26px;
line-height: 25px; padding: 0 6px;
} margin: 4px;
line-height: 25px;
} }
} }
}
+16 -11
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,8 +21,9 @@ table {
tr.select-row:hover { tr.select-row:hover {
cursor: pointer; cursor: pointer;
} }
tr:nth-child(odd).td{
color : black; tr:nth-child(odd).td {
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;
} }
@@ -1,36 +1,43 @@
.client-collateral-card { .client-collateral-card {
margin: 0 auto; margin: 0 auto;
max-width: 80rem; max-width: 80rem;
width: 90%; width: 90%;
padding: 0; padding: 0;
} }
.tab-container { .tab-container {
padding: 1%;
margin: 1%;
h3 {
margin: 1% auto;
}
.group-details-container {
border: 1px solid;
padding: 1%; padding: 1%;
margin: 1%; }
h3 {
margin:1% auto; .action-button {
margin-left: auto;
}
table {
width: 100%;
.account-action-button {
min-width: 26px;
padding: 0 6px;
margin: 4px;
line-height: 25px;
} }
.group-details-container {
border: 1px solid; tr.select-row:hover {
padding: 1%;
}
.action-button{
margin-left: auto;
}
table {
width: 100%;
.account-action-button{
min-width: 26px;
padding: 0 6px;
margin: 4px;
line-height: 25px;
}
tr.select-row:hover {
cursor: pointer;
}
}
i:hover {
cursor: pointer; cursor: pointer;
} }
} }
i:hover {
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,20 +21,21 @@
} }
.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,11 +136,8 @@
.app-brand { .app-brand {
.app-logo { .app-logo {
margin: auto; margin: auto;
&:hover {
cursor: pointer;
}
} }
.app-logo-text { .app-logo-text {
display: none; display: none;
} }
@@ -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,9 +47,9 @@
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,15 +1,19 @@
.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;
margin: 4px; margin: 4px;
@@ -1,26 +1,28 @@
.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%;
tr.incentives-row { tr.incentives-row {
height: 0; height: 0;
> td { > td {
padding: 0; padding: 0;
} }
.incentives { .incentives {
overflow: hidden; overflow: hidden;
} }
.mat-card { .mat-card {
border-radius: 0; border-radius: 0;
} }
} }
} }
} }
@@ -1,15 +1,19 @@
.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;
margin: 4px; margin: 4px;
@@ -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;
} }
@@ -34,4 +42,4 @@
.select-row:hover { .select-row:hover {
cursor: pointer; cursor: pointer;
font-weight: 800; font-weight: 800;
} }
@@ -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;
@@ -1,15 +1,15 @@
.expandcollapsebutton { .expandcollapsebutton {
margin-top: -7px; margin-top: -7px;
} }
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
.right-input { .right-input {
text-align: right; text-align: right;
} }
.right-label { .right-label {
padding-right: 25px !important; padding-right: 25px !important;
} }
@@ -3,6 +3,6 @@
} }
.expandcollapsebutton { .expandcollapsebutton {
margin-top: -7px; margin-top: -7px;
margin-left: 2%; margin-left: 2%;
} }
@@ -3,8 +3,8 @@
} }
.expandcollapsebutton { .expandcollapsebutton {
margin-top: -7px; margin-top: -7px;
margin-left: 2%; margin-left: 2%;
} }
.right-input { .right-input {
@@ -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,15 +1,19 @@
.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;
margin: 4px; margin: 4px;
@@ -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,15 +1,19 @@
.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;
margin: 4px; margin: 4px;
@@ -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%;
} }
@@ -26,4 +31,4 @@
.select-row:hover { .select-row:hover {
cursor: pointer; cursor: pointer;
font-weight: 800; font-weight: 800;
} }
@@ -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;
@@ -29,4 +30,4 @@
.undo { .undo {
background-color: $status-active-overdue; background-color: $status-active-overdue;
height: 4px; height: 4px;
} }
@@ -1,10 +1,10 @@
.container { .container {
max-width: 50rem; max-width: 50rem;
} }
.mat-table { .mat-table {
display: block; display: block;
font-family: Tahoma, Verdana; font-family: Tahoma, Verdana, sans-serif;
width: 50%; width: 50%;
} }
@@ -1,15 +1,19 @@
.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;
margin: 4px; margin: 4px;
@@ -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;
} }
@@ -1,11 +1,11 @@
.container { .container {
max-width: 37rem; max-width: 37rem;
} }
.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;
.header {
padding: 1%;
.header-title-group {
.group-card-title {
color: white;
width: 90%;
mat-card-subtitle {
color: white;
}
}
}
.profile-image-container {
margin: 1%;
.profile-image {
object-fit: cover;
border-radius: 20px;
}
}
.group-meeting {
align-self: flex-end;
width: 300px;
div, ng-template > div {
background-color: #0a6aac;
p {
color: white;
padding: 0 10px;
}
}
}
.group-actions {
align-self: flex-end;
margin: 0 1%;
i {
margin-bottom: 2px;
margin-right: 4px;
}
}
}
.navigation-tabs {
overflow: auto;
}
i:hover { i:hover {
cursor: pointer; cursor: pointer;
} }
.header {
padding: 1%;
}
.header-title-group {
.group-card-title {
color: white;
width: 90%;
mat-card-subtitle {
color: white;
}
}
}
.profile-image-container {
margin: 1%;
.profile-image {
object-fit: cover;
border-radius: 20px;
}
}
.group-meeting {
align-self: flex-end;
width: 300px;
div,
ng-template > div {
background-color: #0a6aac;
p {
color: white;
padding: 0 10px;
}
}
}
.group-actions {
align-self: flex-end;
margin: 0 1%;
i {
margin-bottom: 2px;
margin-right: 4px;
}
}
.navigation-tabs {
overflow: auto;
}
} }
+3 -2
View File
@@ -1,8 +1,9 @@
.container { .container {
.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);
@@ -14,16 +15,18 @@
mifosx-amount-collected-pie, mifosx-amount-collected-pie,
mifosx-amount-disbursed-pie, mifosx-amount-disbursed-pie,
mifosx-client-trends-bar { mifosx-client-trends-bar {
.card { .card {
.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 @@
} }
} }
} }
} }
} }
+11 -12
View File
@@ -6,17 +6,18 @@
overflow-x: hidden; overflow-x: hidden;
.search { .search {
width: 100%; width: 100%;
padding: 12px; padding: 12px;
mat-card-content {
width: 100%;
}
mat-form-field { mat-card-content {
width: 100%; width: 100%;
}
} }
mat-form-field {
width: 100%;
}
}
.top-card { .top-card {
flex: 1 0 100%; flex: 1 0 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;
+3 -3
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,38 +3,46 @@
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;
} }
} }
.loans-overview{ .loans-overview {
font-size: 14px; font-size: 14px;
} }
@@ -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,9 +28,9 @@ mat-divider {
} }
.margin-b { .margin-b {
margin: 0 0 1em 0; margin: 0 0 1em;
} }
.tableName { .tableName {
padding-left: 2%; padding-left: 2%;
} }
@@ -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,7 +1,7 @@
table { table {
width: 100%; width: 100%;
} }
span { span {
margin: 0.5em 0; margin: 0.5em 0;
} }
@@ -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 {
@@ -20,4 +20,4 @@
span { span {
margin: 0.5em 0; margin: 0.5em 0;
} }

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