Skip to content

Commit 88bf5a3

Browse files
authored
[Templates] Updates libraries dependencies content (#57863)
* Updates the content of the Identity UI and templates to the latest versions of bootstrap, jquery, jquery-validate and jquery-validation-unobtrusive.
1 parent 43a247f commit 88bf5a3

File tree

337 files changed

+233742
-80518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

337 files changed

+233742
-80518
lines changed

src/Identity/UI/src/Areas/Identity/Pages/V5/_Layout.cshtml

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<link rel="stylesheet" href="~/Identity/css/site.css" />
1515
</environment>
1616
<environment exclude="Development">
17-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css"
18-
integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous"
17+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
18+
integrity="sha256-PI8n5gCcz9cQqQXm3PEtDuPG8qx9oFsFctPg0S5zb8g=" crossorigin="anonymous"
1919
asp-fallback-href="~/Identity/lib/bootstrap/dist/css/bootstrap.min.css"
2020
asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" />
2121
<link rel="stylesheet" href="~/Identity/css/site.css" asp-append-version="true" />
@@ -75,17 +75,17 @@
7575
<script src="~/Identity/js/site.js" asp-append-version="true"></script>
7676
</environment>
7777
<environment exclude="Development">
78-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"
78+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"
7979
asp-fallback-src="~/Identity/lib/jquery/dist/jquery.min.js"
8080
asp-fallback-test="window.jQuery"
8181
crossorigin="anonymous"
82-
integrity="sha384-vtXRMe3mGCbOeY7l30aIg8H9p3GdeSe4IFlP6G8JMa7o7lXvnz3GFKzPxzJdPfGK">
82+
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=">
8383
</script>
84-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
84+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
8585
asp-fallback-src="~/Identity/lib/bootstrap/dist/js/bootstrap.bundle.min.js"
8686
asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal"
8787
crossorigin="anonymous"
88-
integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj">
88+
integrity="sha256-CDOy6cOibCWEdsRiZuaHf8dSGGJRYuBGC+mjoJimHGw=">
8989
</script>
9090
<script src="~/Identity/js/site.js" asp-append-version="true"></script>
9191
</environment>

src/Identity/UI/src/Areas/Identity/Pages/V5/_ValidationScriptsPartial.cshtml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<environment include="Development">
22
<script src="~/Identity/lib/jquery-validation/dist/jquery.validate.js"></script>
3-
<script src="~/Identity/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
3+
<script src="~/Identity/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.js"></script>
44
</environment>
55
<environment exclude="Development">
6-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.20.0/jquery.validate.min.js"
6+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.21.0/jquery.validate.min.js"
77
asp-fallback-src="~/Identity/lib/jquery-validation/dist/jquery.validate.min.js"
88
asp-fallback-test="window.jQuery && window.jQuery.validator"
99
crossorigin="anonymous"
10-
integrity="sha256-ic6hxNWCB3IBDsXq0z5KpKHmcJc1anmnh0xGOi0C5Dw=">
10+
integrity="sha512-KFHXdr2oObHKI9w4Hv1XPKc898mE4kgYx58oqsc/JqqdLMDI4YjOLzom+EMlW8HFUd0QfjfAvxSL6sEq/a42fQ==">
1111
</script>
1212
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validation-unobtrusive/4.0.0/jquery.validate.unobtrusive.min.js"
13-
asp-fallback-src="~/Identity/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"
13+
asp-fallback-src="~/Identity/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min.js"
1414
asp-fallback-test="window.jQuery && window.jQuery.validator && window.jQuery.validator.unobtrusive"
1515
crossorigin="anonymous"
1616
integrity="sha384-DU2a51mTHKDhpXhTyJQ++hP8L9L8Gc48TlvbzBmUof71V7kNVs4ELmaVJKPxcAGn">
+11-75
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,15 @@
1-
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification\
2-
for details on configuring this project to bundle and minify static web assets. */
3-
4-
a.navbar-brand {
5-
white-space: normal;
6-
text-align: center;
7-
word-break: break-all;
8-
}
9-
10-
a {
11-
color: #0077cc;
12-
}
13-
14-
.form-control:focus {
15-
border-color: #0077cc;
16-
outline: black auto 1px;
17-
box-shadow: none;
18-
}
19-
20-
.form-check-input:focus {
21-
border-color: #0077cc;
22-
box-shadow: none;
23-
outline: black auto 1px;
24-
}
25-
26-
.btn-primary {
27-
color: #fff;
28-
background-color: #1b6ec2;
29-
border-color: #1861ac;
30-
}
31-
32-
.btn-primary:focus {
33-
box-shadow: none;
34-
outline: black auto 1px;
35-
}
36-
37-
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
38-
color: #fff;
39-
background-color: #1b6ec2;
40-
border-color: #1861ac;
41-
}
42-
43-
.btn-link.nav-link:focus {
44-
outline: black auto 1px;
45-
}
46-
471
html {
482
font-size: 14px;
493
}
4+
505
@media (min-width: 768px) {
516
html {
527
font-size: 16px;
538
}
549
}
5510

56-
.container {
57-
max-width: 960px;
58-
}
59-
60-
.pricing-header {
61-
max-width: 700px;
62-
}
63-
64-
.border-top {
65-
border-top: 1px solid #e5e5e5;
66-
}
67-
.border-bottom {
68-
border-bottom: 1px solid #e5e5e5;
69-
}
70-
71-
.box-shadow {
72-
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
73-
}
74-
75-
button.accept-policy {
76-
font-size: 1rem;
77-
line-height: inherit;
11+
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
12+
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
7813
}
7914

8015
html {
@@ -85,11 +20,12 @@ html {
8520
body {
8621
margin-bottom: 60px;
8722
}
88-
.footer {
89-
position: absolute;
90-
bottom: 0;
91-
width: 100%;
92-
overflow: scroll;
93-
white-space: nowrap;
94-
line-height: 60px;
23+
24+
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
25+
color: var(--bs-secondary-color);
26+
text-align: end;
9527
}
28+
29+
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
30+
text-align: start;
31+
}

0 commit comments

Comments
 (0)