Skip to content

Commit

Permalink
Fix bugs detected from sonarcloud.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrykuku committed Dec 28, 2023
1 parent 64c81a5 commit 655c9ed
Show file tree
Hide file tree
Showing 26 changed files with 657 additions and 733 deletions.
2 changes: 2 additions & 0 deletions main/src/assets/scss/common/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
user-select: none;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background-color: transparent;
border: none;
border-radius: 9999px;
Expand Down Expand Up @@ -153,6 +154,7 @@
user-select: none;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background-color: transparent;
border: none;
border-radius: 9999px;
Expand Down
22 changes: 0 additions & 22 deletions main/src/assets/scss/common/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,6 @@
filter: grayscale(100%);
}

//&.stop::after {
// position: absolute;
// content: "";
// width: 0.75rem;
// height: 0.75rem;
// background-color: #ff1616;
// border-radius: 50%;
// right: -0.375rem;
// top: -0.375rem;
//}

img {
border-radius: 8px;
margin: 0 auto;
Expand All @@ -67,17 +56,6 @@
filter: grayscale(100%);
}

//&.stop::after {
// position: absolute;
// content: "";
// width: 0.75rem;
// height: 0.75rem;
// background-color: #ff1616;
// border-radius: 50%;
// right: -0.375rem;
// top: -0.375rem;
//}

img {
border-radius: 8px;
margin: 0 auto;
Expand Down
129 changes: 65 additions & 64 deletions main/src/assets/scss/common/_font.scss
Original file line number Diff line number Diff line change
@@ -1,271 +1,272 @@
.has-text-title-01 {
/* Title 600SemiBold/H1 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 2.5rem;
line-height: 2.75rem;
/* identical to box height, or 110% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-title-02 {
/* Title 600SemiBold/H2 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 2rem;
line-height: 2.25rem;
/* identical to box height, or 112% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-title-03 {
/* Title 600SemiBold/H3 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 1.5rem;
line-height: 2rem;
/* identical to box height, or 117% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-title-04 {
/* Title 600SemiBold/H4 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 1.25rem;
line-height: 1.75rem;
/* identical to box height, or 120% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-title-06 {
/* Title 600SemiBold/H6 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 1rem;
line-height: 1.5rem;
/* identical to box height, or 120% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-sub-01 {
/* Sub-title 500Medium/H1 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 2.5rem;
line-height: 2.75rem;
/* identical to box height, or 110% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-sub-02 {
/* Sub-title 500Medium/H2 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 2rem;
line-height: 2.25rem;
/* identical to box height, or 112% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-sub-03 {
/* Sub-title 500Medium/H3 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 1.5rem;
line-height: 2rem;
/* identical to box height, or 133% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-sub-04 {
/* Sub-title 500Medium/H4 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 1.25rem;
line-height: 1.75rem;
/* identical to box height, or 140% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-emphasis-01 {
/* Text 500Medium/Text01 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 1.125rem;
line-height: 1.75rem;
/* identical to box height, or 156% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-emphasis-02 {
/* Text 500Medium/Text02 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 1rem;
line-height: 1.5rem;
/* identical to box height, or 150% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-emphasis-03 {
/* Text 500Medium/Text03 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 0.875rem;
line-height: 1.25rem;
/* identical to box height, or 143% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-emphasis-04 {
/* Text 500Medium/Text04 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 0.75rem;
line-height: 1rem;
/* identical to box height, or 133% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-full-01 {
/* Text 400Regular/Text01 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 400;
font-size: 1.125rem;
line-height: 1.75rem;
/* identical to box height, or 156% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-full-02 { /* Text 400Regular/Text02 */

.has-text-full-02 {
/* Text 400Regular/Text02 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 400;
font-size: 1rem;
line-height: 1.5rem;
/* identical to box height, or 150% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-full-03 {
/* Text 400Regular/Text03 */

font-family: $family-sans-serif !important;
font-style: normal;
font-weight: 400;
font-size: 0.875rem;
line-height: 1.25rem;
/* identical to box height, or 143% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-full-04 {
/* Text 400Regular/Text04 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 400;
font-size: 0.75rem;
line-height: 1rem;
/* identical to box height, or 133% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-auxiliary-01 {
/* Text 300Light/Text01 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 300;
font-size: 1.125rem;
line-height: 1.75rem;
/* identical to box height, or 156% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-auxiliary-02 {
/* Text 300Light/Text02 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 300;
font-size: 1rem;
line-height: 1.5rem;
/* identical to box height, or 150% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-auxiliary-03 {
/* Text 300Light/Text03 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 300;
font-size: 0.875rem;
line-height: 1.25rem;
/* identical to box height, or 143% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}

.has-text-auxiliary-04 {
/* Text 300Light/Text04 */

font-family: $family-sans-serif;
font-style: normal;
font-weight: 300;
font-size: 0.75rem;
line-height: 1rem;
/* identical to box height, or 133% */
font-feature-settings: 'pnum' on, 'lnum' on;

font-feature-settings: "pnum" on, "lnum" on;
}
Loading

0 comments on commit 655c9ed

Please sign in to comment.