Update MudBlazor integration, improve captcha handling, and upgrade project dependencies
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url(../fonts/Vazir-Light.ttf) format('woff2');
|
||||
src: url(../fonts/Vazir-Light.ttf) format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -13,7 +13,7 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url(../fonts/Vazir-Regular.ttf) format('woff2');
|
||||
src: url(../fonts/Vazir-Regular.ttf) format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -21,7 +21,7 @@
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url(../fonts/Vazir-Medium.ttf) format('woff2');
|
||||
src: url(../fonts/Vazir-Medium.ttf) format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -29,7 +29,7 @@
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url(../fonts/Vazir-Bold.ttf) format('woff2');
|
||||
src: url(../fonts/Vazir-Bold.ttf) format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -37,8 +37,58 @@
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: swap;
|
||||
src: url(../fonts/Vazir-Bold.ttf) format('woff2');
|
||||
src: url(../fonts/Vazir-Bold.ttf) format('truetype');
|
||||
}
|
||||
|
||||
:root {
|
||||
--app-font-family: 'Vazir', Tahoma, 'Segoe UI', Arial, sans-serif;
|
||||
}
|
||||
|
||||
html, body {
|
||||
font-family: var(--app-font-family);
|
||||
font-weight: 400;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* Apply Vazir to common Mud components */
|
||||
.mud-typography,
|
||||
.mud-typography-root,
|
||||
.mud-button-label,
|
||||
.mud-input-slot,
|
||||
.mud-input-slot input,
|
||||
.mud-input-slot textarea,
|
||||
.mud-select,
|
||||
.mud-snackbar,
|
||||
.mud-chip,
|
||||
.mud-breadcrumbs,
|
||||
.mud-tooltip,
|
||||
.mud-table,
|
||||
.mud-textfield,
|
||||
.mud-checkbox,
|
||||
.mud-radio,
|
||||
.mud-switch {
|
||||
font-family: var(--app-font-family) !important;
|
||||
}
|
||||
|
||||
/* Typography variants override to match previous settings */
|
||||
.mud-typography-h1 { font-family: var(--app-font-family); font-size: 2rem; font-weight: 700; line-height: 1.70; letter-spacing: normal; }
|
||||
.mud-typography-h2 { font-family: var(--app-font-family); font-size: 1.875rem; font-weight: 700; line-height: 1.65; letter-spacing: normal; }
|
||||
.mud-typography-h3 { font-family: var(--app-font-family); font-size: 1.5rem; font-weight: 700; line-height: 1.60; letter-spacing: normal; }
|
||||
.mud-typography-h4 { font-family: var(--app-font-family); font-size: 1.25rem; font-weight: 700; line-height: 1.55; letter-spacing: normal; }
|
||||
.mud-typography-h5 { font-family: var(--app-font-family); font-size: 1.125rem; font-weight: 700; line-height: 1.50; letter-spacing: normal; }
|
||||
.mud-typography-h6 { font-family: var(--app-font-family); font-size: 1rem; font-weight: 700; line-height: 1.45; letter-spacing: normal; }
|
||||
|
||||
.mud-typography-subtitle1 { font-family: var(--app-font-family); font-size: 1rem; font-weight: 500; line-height: 1.62; letter-spacing: normal; }
|
||||
.mud-typography-subtitle2 { font-family: var(--app-font-family); font-size: 0.875rem; font-weight: 500; line-height: 1.60; letter-spacing: normal; }
|
||||
|
||||
.mud-typography-body1 { font-family: var(--app-font-family); font-size: 1rem; font-weight: 400; line-height: 1.85; letter-spacing: normal; }
|
||||
.mud-typography-body2 { font-family: var(--app-font-family); font-size: 0.875rem; font-weight: 400; line-height: 1.80; letter-spacing: normal; }
|
||||
|
||||
.mud-typography-caption { font-family: var(--app-font-family); font-size: 0.75rem; font-weight: 400; line-height: 1.60; letter-spacing: normal; }
|
||||
.mud-typography-overline { font-family: var(--app-font-family); font-size: 0.75rem; font-weight: 500; line-height: 1.60; letter-spacing: normal; }
|
||||
|
||||
.mud-button-label { text-transform: none; }
|
||||
/*#endregion*/
|
||||
|
||||
/*#region Layout Styles*/
|
||||
|
||||
Reference in New Issue
Block a user