2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-18 12:39:41 +03:00
This commit is contained in:
Mark Otto
2022-04-17 09:56:18 -07:00
parent 015d729445
commit ad2e2d7e69
4 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
--#{$prefix}dropdown-padding-y: #{$dropdown-padding-y};
--#{$prefix}dropdown-spacer: #{$dropdown-spacer};
@include rfs($dropdown-font-size, --#{$prefix}dropdown-font-size);
--#{$prefix}dropdown-color: #{$dropdown-color}; // stylelint-disable-line custom-property-empty-line-before
--#{$prefix}dropdown-color: #{$dropdown-color};
--#{$prefix}dropdown-bg: #{$dropdown-bg};
--#{$prefix}dropdown-border-color: #{$dropdown-border-color};
--#{$prefix}dropdown-border-radius: #{$dropdown-border-radius};
+2 -2
View File
@@ -134,8 +134,8 @@
// Toggle color modes
var toggleSwitch = document.querySelector('.bd-theme-toggle input[type="checkbox"]')
var currentTheme = localStorage.getItem('theme')
const toggleSwitch = document.querySelector('.bd-theme-toggle input[type="checkbox"]')
const currentTheme = localStorage.getItem('theme')
if (currentTheme) {
document.documentElement.setAttribute('data-theme', currentTheme)
+3 -3
View File
@@ -63,7 +63,6 @@
}
// Prevent breaking of code
// stylelint-disable-next-line selector-max-compound-selectors
th,
td:first-child > code {
white-space: nowrap;
@@ -80,8 +79,9 @@
.table-options td:last-child,
.table-utilities td:last-child {
min-width: 280px;
}
.table-swatches {
.table-swatches {
td:first-child { width: 340px; }
td:nth-child(2) { width: 200px; }
}
@@ -103,7 +103,7 @@
width: 1em;
height: 1em;
vertical-align: -.125em;
fill: currentColor;
fill: currentcolor;
}
.icon-link {
+1 -3
View File
@@ -87,7 +87,7 @@
<hr class="d-md-none text-white-50">
<div class="vr d-none d-lg-flex ms-lg-2 me-lg-3 my-lg-1"></div>
<div class="vr d-none d-lg-flex ms-lg-2 me-lg-3 my-lg-1 text-white"></div>
<div class="d-flex flex-row-reverse flex-lg-row">
<label class="bd-theme-toggle align-self-center ms-auto me-lg-1" title="Toggle mode">
@@ -96,8 +96,6 @@
<svg class="bd-theme-toggle-dark bi"><use xlink:href="#moon-stars-fill"></use></svg>
<svg class="bd-theme-toggle-light bi"><use xlink:href="#sun-fill"></use></svg>
</label>
<a class="btn btn-bd-accent d-lg-inline-block my-2 my-md-0 ms-md-3" href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/">Download</a>
</div>
</div>
</div>