Skip to content

Commit 05655dd

Browse files
committed
🐛 Dropdown active class support. Fixes mdbootstrap#368
1 parent c27e059 commit 05655dd

9 files changed

Lines changed: 5311 additions & 6 deletions

dist/css/material-wfont.css

Lines changed: 2649 additions & 0 deletions
Large diffs are not rendered by default.

dist/css/material-wfont.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/material-wfont.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/material-wfont.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/material.css

Lines changed: 2649 additions & 0 deletions
Large diffs are not rendered by default.

dist/css/material.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/material.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/material.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

less/material.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ legend {
7373
.variations(~" li a:hover", color, @primary);
7474
}
7575

76+
// Active state
77+
.dropdown-menu {
78+
.variations(~" > .active > a", background-color, @primary);
79+
.variations(~" > .active > a:hover", background-color, @primary);
80+
.variations(~" > .active > a:focus", background-color, @primary);
81+
}
82+
7683
// Alerts
7784
@import "_alerts.less";
7885

0 commit comments

Comments
 (0)