Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Bootstrap 5.3.2 #14294

Merged
merged 56 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
fd549d9
Bootstrap 5.3.1
agriffard Sep 8, 2023
89aca04
Upgrade most TheAdmin theme including classes
MikeAlhayek Sep 11, 2023
a6a6842
update the release notes
MikeAlhayek Sep 11, 2023
a220095
fixing _layout.scss
MikeAlhayek Sep 11, 2023
4ed2042
fix JS error and icon
MikeAlhayek Sep 11, 2023
eed98cb
rebuild resources
MikeAlhayek Sep 11, 2023
419d07a
Fix colors
MikeAlhayek Sep 12, 2023
a9752f2
Fix AuditTrail color issue
MikeAlhayek Sep 13, 2023
b460a12
Merge branch 'main' into ag/Bootstrap5.3.1
MikeAlhayek Sep 13, 2023
7885a82
Upgrading to 5.3.2
MikeAlhayek Sep 14, 2023
1add395
Other 5.3.2 replacements
agriffard Sep 14, 2023
3f8f492
Fix the lens icon
MikeAlhayek Sep 15, 2023
9deec05
Fix, html editors in full screen and honor BS z-indexes for simplific…
MikeAlhayek Sep 15, 2023
bbbaf81
remove scss-old
MikeAlhayek Sep 15, 2023
4500d9c
Fix z-indexes and the bootstrap-select header
MikeAlhayek Sep 15, 2023
0fc574e
Fix vue-multiselect style and adjust the menu colors
MikeAlhayek Sep 15, 2023
a0d23e2
compiling media
MikeAlhayek Sep 15, 2023
3bd85f8
improve dark mode and add toggler
MikeAlhayek Sep 16, 2023
b4a5f1b
add zone for toggle items
MikeAlhayek Sep 16, 2023
9244535
Fix the forntawesome picker
MikeAlhayek Sep 16, 2023
57d1b2d
use bs variable is media
MikeAlhayek Sep 16, 2023
1e48054
resources
MikeAlhayek Sep 16, 2023
78f4def
Update media colors
MikeAlhayek Sep 16, 2023
970fc57
Merge branch 'main' into ag/Bootstrap5.3.1
MikeAlhayek Sep 17, 2023
8ff1356
change auto position, and rebuild resources
MikeAlhayek Sep 17, 2023
ebe2ebc
Fix the theme loader and seperate bootstrap.js from TheAdmin.js
MikeAlhayek Sep 17, 2023
9d71dff
Media library Delete button pill text
agriffard Sep 17, 2023
7e898d2
fix .text-bg-theme and add .btn-theme
MikeAlhayek Sep 18, 2023
bc319f0
Merge branch 'ag/Bootstrap5.3.1' of https://github.com/OrchardCMS/Orc…
MikeAlhayek Sep 18, 2023
fe5e4e8
Use btn-secondary and text-bg-theme
agriffard Sep 18, 2023
5964f11
cleanup js and remove material
MikeAlhayek Sep 18, 2023
fb2f222
Merge branch 'ag/Bootstrap5.3.1' of https://github.com/OrchardCMS/Orc…
MikeAlhayek Sep 18, 2023
4989e10
removing font-awesome-v4-shims from layout
MikeAlhayek Sep 18, 2023
269442d
update dependency
MikeAlhayek Sep 18, 2023
a3cf022
Remove Bootstrap dependency from TheAdmin.css
MikeAlhayek Sep 20, 2023
015ff38
Replace DarkModeService with ThemeTogglerService
MikeAlhayek Sep 20, 2023
f79b7bc
rebuild resources
MikeAlhayek Sep 20, 2023
4c8fbe9
Fix close button in bootstrap-select and the menu item size
MikeAlhayek Sep 20, 2023
d13e850
Fix the login screen
MikeAlhayek Sep 20, 2023
2ae4bfb
Moving isCompactExplicit to the header so it is defined early.
MikeAlhayek Sep 20, 2023
21d31a2
remove bootstrap-scss
MikeAlhayek Sep 20, 2023
60d0d06
package-lock
agriffard Sep 20, 2023
61fb1bc
Fix workflow colors
MikeAlhayek Sep 20, 2023
5272af0
Merge branch 'ag/Bootstrap5.3.1' of https://github.com/OrchardCMS/Orc…
MikeAlhayek Sep 20, 2023
9925305
Fix content picker and user picker
MikeAlhayek Sep 20, 2023
bac0969
badge bg- => badge text-bg-
agriffard Sep 21, 2023
0f9a03b
Minor workflow style adjustment
MikeAlhayek Sep 21, 2023
d609a74
Merge branch 'ag/Bootstrap5.3.1' of https://github.com/OrchardCMS/Orc…
MikeAlhayek Sep 21, 2023
8e6c0dc
Fix workflow initializing issue
MikeAlhayek Sep 23, 2023
d6ab233
Fix the navbar for small devices
MikeAlhayek Sep 23, 2023
0b3591d
Fix all Monaco Editors
MikeAlhayek Sep 23, 2023
5512bd2
update Monaco colors to match the style
MikeAlhayek Sep 24, 2023
a42cc77
Fix code mirror and Trumbowyg color
MikeAlhayek Sep 24, 2023
54494fa
Fix Trumboyg dropdown menus
MikeAlhayek Sep 24, 2023
fa9fbc7
Adding width helpers, fix Markdown editor, the slider, and validation
MikeAlhayek Sep 25, 2023
a38bd37
Fix zindex and add --oc-editor-fullscreen variable
MikeAlhayek Sep 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<a class="ta-navbar-brand" href="@Url.Content("~/" + AdminOptions.Value.AdminUrlPrefix)">
<div class="d-flex align-items-center">
<img src="@Url.Content("~/OrchardCore.Admin/logo.png")" alt="@Site.SiteName" />
<img src="@Url.Content("~/OrchardCore.Admin/logo.png")" alt="@Site.SiteName" class="pe-2" />
<span>@Site.SiteName</span>
</div>
</a>
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import '../../node_modules/bootstrap/scss/_functions';
@import '../../node_modules/bootstrap/scss/_variables';
@import '../../node_modules/bootstrap/scss/mixins/_breakpoints';
@import '../../node_modules/bootstrap/scss/mixins/_color-mode';

// Small devices (landscape phones, 576px and up)
@include media-breakpoint-only(sm) {
Expand Down Expand Up @@ -79,7 +80,7 @@
}
}

:root[data-theme="default"] {
@include color-mode(light) {
& .dashboard-wrapper {
& .card {
& .card-header {
Expand All @@ -93,7 +94,7 @@
}
}

:root[data-theme="darkmode"] {
@include color-mode(dark) {
& .dashboard-wrapper {
& .card {
& .card-header {
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "orchardcore.admindashboard",
"version": "1.0.0",
"dependencies": {
"bootstrap": "5.1.3"
"bootstrap": "5.3.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@
padding-top: 12px;
}

:root[data-theme=default] .dashboard-wrapper .card .card-header {
[data-bs-theme=light] .dashboard-wrapper .card .card-header {
background-color: #fff !important;
}
:root[data-theme=default] .dashboard-wrapper .card .card-footer {
[data-bs-theme=light] .dashboard-wrapper .card .card-footer {
background-color: #fff !important;
}

:root[data-theme=darkmode] .dashboard-wrapper .card .card-header {
[data-bs-theme=dark] .dashboard-wrapper .card .card-header {
background-color: rgb(24, 26, 27) !important;
}
:root[data-theme=darkmode] .dashboard-wrapper .card .card-footer {
[data-bs-theme=dark] .dashboard-wrapper .card .card-footer {
background-color: rgb(24, 26, 27) !important;
}

Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,57 +1,21 @@
:root[data-theme='default'] {
@import "fontawesome-iconpicker";

@import "../../../../OrchardCore.Themes/TheAdmin/Assets/scss/modules/theme/default/_variables.scss";
@import "../../node_modules/bootstrap/scss/functions";
@import "../../node_modules/bootstrap/scss/variables";
#iconPickerModal {

#iconPickerModal {

.iconpicker-popover.popover {
width: 100%;
border: none;
}

.iconpicker-items {
min-height: 258px;
}

.iconpicker-item {
background-color: $body-bg;
}
}

.remove-icon, .sample-icon {
width: 40px;
.iconpicker-item {
background-color: var(--bs-body-bg, #fff);
}

@import "fontawesome-iconpicker.scss";
}

:root[data-theme='darkmode'] {

@import "../../../../OrchardCore.Themes/TheAdmin/Assets/scss/modules/theme/darkmode/_variables.scss";
@import "../../node_modules/bootstrap/scss/functions";
@import "../../node_modules/bootstrap/scss/variables";

#iconPickerModal {

.iconpicker-popover.popover {
width: 100%;
border: none;
}

.iconpicker-items {
min-height: 258px;
}

.iconpicker-item {
background-color: $body-bg;
}
.iconpicker-popover.popover {
width: 100%;
border: none;
}
.remove-icon, .sample-icon {
width: 40px;

.iconpicker-items {
min-height: 258px;
}
}

@import "fontawesome-iconpicker.scss";
.remove-icon, .sample-icon {
width: 40px;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.vue-multiselect .multiselect--active {
z-index: 1000; // bootstrap's default for dropdowns
z-index: var(--bs-dropdown-zindex, 1000);
}

[v-cloak] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
-moz-transition: opacity 0.2s 0.2s;
-webkit-transition: opacity 0.2s 0.2s;
-o-transition: opacity 0.2s 0.2s;
-ms-transition: opacity 0.2s 0.2s;
-khtml-transition: opacity 0.2s 0.2s;
}

.disabled-tree {
background-color: #f5f5f5;

.tree-name-link {
color: #808080;
}
Expand Down Expand Up @@ -44,7 +42,6 @@
}
}


@media only screen and ( min-width: 768px ) {
.card-columns {
column-count: 2;
Expand All @@ -55,4 +52,4 @@
}
}
}
}
}
Loading