Skip to content

Commit

Permalink
Forms: Disabled checks/radios background-color fix
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Oct 8, 2024
1 parent 1e46871 commit 64e1354
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 7 deletions.
8 changes: 8 additions & 0 deletions dist/css/modus-bootstrap.css

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

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modus-bootstrap.min.css.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions scss/forms/_form-check.scss
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,15 @@
forced-color-adjust: none;
}
}

.form-check-input:disabled:not(:checked):not(:indeterminate) {
background-color: #e0e1e9;
}

@if $enable-dark-mode {
@include color-mode(dark) {
.form-check-input:disabled:not(:checked):not(:indeterminate) {
background-color: #585c65;
}
}
}
4 changes: 2 additions & 2 deletions site/content/docs/v2/content/typography.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: docs
title: Typography
description: Documentation and examples for Modus Bootstrap typography, including global settings, headings, body text, lists, and more.
description: Documentation and examples for Modus typography, including global settings, headings, body text, lists, and more.
group: content
toc: true
---

## Global settings

Bootstrap sets basic global display, typography, and link styles. When more control is needed, check out the [textual utility classes]({{< docsref "/utilities/text" >}}).
Sets basic global display, typography, and link styles. When more control is needed, check out the [textual utility classes]({{< docsref "/utilities/text" >}}).

- Use the `$font-family-base`, `$font-size-base`, and `$line-height-base` attributes as our typographic base applied to the `<body>`.
- Set the global link color via `$link-color`.
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/v2/layout/breakpoints.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: docs
title: Breakpoints
description: Breakpoints are customizable widths that determine how your responsive layout behaves across device or viewport sizes in Bootstrap.
description: Breakpoints are customizable widths that determine how your responsive layout behaves across device or viewport sizes.
group: layout
aliases:
- "/docs/v2/layout/"
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/v2/layout/gutters.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: docs
title: Gutters
description: Gutters are the padding between your columns, used to responsively space and align content in the Bootstrap grid system.
description: Gutters are the padding between your columns, used to responsively space and align content in the grid system.
group: layout
toc: true
---
Expand Down

0 comments on commit 64e1354

Please sign in to comment.