Skip to content

Commit

Permalink
Merge pull request #65 from damienbod/dev9
Browse files Browse the repository at this point in the history
.NET 9 CSS styles
  • Loading branch information
damienbod authored Dec 21, 2024
2 parents eebee31 + a9584b5 commit cc57c82
Show file tree
Hide file tree
Showing 17 changed files with 248 additions and 104 deletions.
1 change: 1 addition & 0 deletions AspNetCoreIdentityFido2Mfa/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="~/css/site.css" />
<link rel="stylesheet" href="~/css/vendor.min.css" asp-append-version="true" />
<link rel="stylesheet" href="~/css/fontawesome-free-5.4.1-web/css/all.min.css" asp-append-version="true" />
<link rel="stylesheet" href="~/AspNetCoreIdentityFido2Mfa.styles.css" asp-append-version="true" />
</head>
<body>
<header>
Expand Down
2 changes: 1 addition & 1 deletion AspNetCoreIdentityFido2Mfa/Pages/Shared/_Layout.cshtml.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
Expand Down
8 changes: 4 additions & 4 deletions AspNetCoreIdentityFido2Mfa/bundleconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"inputFiles": [
"wwwroot/css/site.css"
],
"minify": { "enabled": true }
"minify": { "enabled": false }
},
{
"outputFileName": "wwwroot/js/site.min.js",
Expand Down Expand Up @@ -41,7 +41,7 @@
],
"minify": {
"enabled": false,
"renameLocals": true
"renameLocals": false
},
"sourceMap": false
},
Expand All @@ -55,8 +55,8 @@
"node_modules/jquery-ajax-unobtrusive/dist/jquery.unobtrusive-ajax.min.js"
],
"minify": {
"enabled": true,
"renameLocals": true
"enabled": false,
"renameLocals": false
},
"sourceMap": false
}
Expand Down
75 changes: 49 additions & 26 deletions AspNetCoreIdentityFido2Mfa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions AspNetCoreIdentityFido2Mfa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"name": "asp.net",
"private": true,
"devDependencies": {
"bootstrap": "4.6.0",
"jquery": "3.6.3",
"bootstrap": "5.3.3",
"jquery": "3.7.1",
"jquery-ajax-unobtrusive": "3.2.6",
"jquery-validation": "1.19.5",
"jquery-validation": "1.21.0",
"jquery-validation-unobtrusive": "4.0.0",
"popper.js": "^1.16.1",
"sweetalert2": "^11.6.16"
Expand Down
19 changes: 18 additions & 1 deletion AspNetCoreIdentityFido2Mfa/wwwroot/css/site.min.css
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
html{font-size:14px}@media(min-width:768px){html{font-size:16px}}html{position:relative;min-height:100%}body{margin-bottom:60px}
html {
font-size: 14px;
}

@media (min-width: 768px) {
html {
font-size: 16px;
}
}

html {
position: relative;
min-height: 100%;
}

body {
margin-bottom: 60px;
}
9 changes: 4 additions & 5 deletions AspNetCoreIdentityFido2Mfa/wwwroot/css/vendor.min.css

Large diffs are not rendered by default.

30 changes: 23 additions & 7 deletions AspNetCoreIdentityFido2Mfa/wwwroot/js/vendor-validation.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions AspNetCoreIdentityFido2Mfa/wwwroot/js/vendor.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="~/css/site.min.css" />
<link rel="stylesheet" href="~/css/vendor.min.css" asp-append-version="true" />
<link rel="stylesheet" href="~/css/fontawesome-free-5.4.1-web/css/all.min.css" asp-append-version="true" />
<link rel="stylesheet" href="~/AspNetCoreIdentityFido2Passwordless.styles.css" asp-append-version="true" />
</head>
<body>
<header>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
white-space: normal;
text-align: center;
word-break: break-all;
}

a {
color: #0077cc;
}

.btn-primary {
color: #fff;
background-color: #1b6ec2;
border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
color: #fff;
background-color: #1b6ec2;
border-color: #1861ac;
}

.border-top {
border-top: 1px solid #e5e5e5;
}
.border-bottom {
border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
font-size: 1rem;
line-height: inherit;
}

.footer {
position: absolute;
bottom: 0;
width: 100%;
white-space: nowrap;
line-height: 60px;
}
10 changes: 5 additions & 5 deletions AspNetCoreIdentityFido2Passwordless/bundleconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Optionally specify minification options
"minify": {
"enabled": true,
"renameLocals": true
"renameLocals": false
},
// Optinally generate .map file
"sourceMap": false
Expand All @@ -29,7 +29,7 @@
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/sweetalert2/dist/sweetalert2.min.css"
],
"minify": { "enabled": true }
"minify": { "enabled": false }
},
// Vendor JS
{
Expand All @@ -41,7 +41,7 @@
],
"minify": {
"enabled": false,
"renameLocals": true
"renameLocals": false
},
"sourceMap": false
},
Expand All @@ -55,8 +55,8 @@
"node_modules/jquery-ajax-unobtrusive/dist/jquery.unobtrusive-ajax.min.js"
],
"minify": {
"enabled": true,
"renameLocals": true
"enabled": false,
"renameLocals": false
},
"sourceMap": false
}
Expand Down
Loading

0 comments on commit cc57c82

Please sign in to comment.