A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/commit/b852bba below:

fix SCSS styling when placed in a nav dropdown … · bootstrap-vue/bootstrap-vue@b852bba · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+25

-27

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+25

-27

lines changed Original file line number Diff line number Diff line change

@@ -6,35 +6,33 @@ $bv-dropdown-form-defined: false !default;

6 6 7 7

// Custom styles for <b-dropdown-form>

8 8

// Based on class `.dropdown-item`

9 -

.dropdown.b-dropdown {

10 -

.b-dropdown-form {

11 -

display: inline-block;

12 -

padding: $dropdown-item-padding-y $dropdown-item-padding-x;

13 -

width: 100%;

14 -

clear: both;

15 -

font-weight: $font-weight-normal;

9 +

.b-dropdown-form {

10 +

display: inline-block;

11 +

padding: $dropdown-item-padding-y $dropdown-item-padding-x;

12 +

width: 100%;

13 +

clear: both;

14 +

font-weight: $font-weight-normal;

16 15 17 -

&:focus {

18 -

// From https://github.com/twbs/bootstrap/blob/master/scss/_reboot.scss

19 -

// mimicking button:focus styling.

20 -

// We add important here as anything with tabindex `-1` and focused will not

21 -

// have a focus ring due to reboot.scss and it's `!important` override.

22 -

// Needed for keyboard navigation high-lighting

23 -

outline: 1px dotted !important;

24 -

outline: 5px auto -webkit-focus-ring-color !important;

25 -

}

16 +

&:focus {

17 +

// From https://github.com/twbs/bootstrap/blob/master/scss/_reboot.scss

18 +

// mimicking button:focus styling.

19 +

// We add important here as anything with tabindex `-1` and focused will not

20 +

// have a focus ring due to reboot.scss and it's `!important` override.

21 +

// Needed for keyboard navigation high-lighting

22 +

outline: 1px dotted !important;

23 +

outline: 5px auto -webkit-focus-ring-color !important;

24 +

}

26 25 27 -

&.disabled,

28 -

&:disabled {

29 -

outline: 0 !important;

30 -

color: $dropdown-link-disabled-color;

31 -

pointer-events: none;

32 -

// background-color: transparent;

33 -

// Remove CSS gradients if they're enabled

34 -

// @if $enable-gradients {

35 -

// background-image: none;

36 -

// }

37 -

}

26 +

&.disabled,

27 +

&:disabled {

28 +

outline: 0 !important;

29 +

color: $dropdown-link-disabled-color;

30 +

pointer-events: none;

31 +

// background-color: transparent;

32 +

// Remove CSS gradients if they're enabled

33 +

// @if $enable-gradients {

34 +

// background-image: none;

35 +

// }

38 36

}

39 37

}

40 38

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4