File tree 9 files changed +67
-41
lines changed
9 files changed +67
-41
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ $bv-utility-classes-defined: false !default;
4
4
5
5
@if $bv-utility-classes-defined == false {
6
6
// This test will only include these style definitions once
7
+ $bv-utility-classes-defined : true;
7
8
8
9
// Create .bv-d-<bp>-down-none helper classes
9
10
@each $breakpoint in map-keys ($grid-breakpoints ) {
Original file line number Diff line number Diff line change 1
- // Custom styles for b-dropdown-form
2
- // Based on class .dropdown-item
1
+ $bv-dropdown-form-defined : false !default ;
3
2
4
- .b-dropdown-form {
5
- display : inline-block ;
6
- padding : $dropdown-item-padding-y $dropdown-item-padding-x ;
7
- width : 100% ;
8
- clear : both ;
9
- font-weight : $font-weight-normal ;
3
+ @if $bv-dropdown-form-defined == false {
4
+ // This test will only include these style definitions once
5
+ $bv-dropdown-form-defined : true;
10
6
11
- & :first-child {
12
- @include border-top-radius ($dropdown-inner-border-radius );
13
- }
7
+ // Custom styles for b-dropdown-form
8
+ // Based on class .dropdown-item
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 ;
15
+
16
+ & :first-child {
17
+ @include border-top-radius ($dropdown-inner-border-radius );
18
+ }
14
19
15
- & :last-child {
16
- @include border-bottom-radius ($dropdown-inner-border-radius );
20
+ & :last-child {
21
+ @include border-bottom-radius ($dropdown-inner-border-radius );
22
+ }
17
23
}
18
24
}
Original file line number Diff line number Diff line change 1
- // Custom styles for b-dropdown-text
2
- // Based on class .dropdown-item
1
+ $bv-dropdown-text-defined : false !default ;
3
2
4
- .b-dropdown-text {
5
- display : inline-block ;
6
- padding : $dropdown-item-padding-y $dropdown-item-padding-x ;
7
- margin-bottom : 0 ;
8
- width : 100% ;
9
- clear : both ;
10
- font-weight : $font-weight-lighter ;
3
+ @if $bv-dropdown-text-defined == false {
4
+ // This test will only include these style definitions once
5
+ $bv-dropdown-text-defined : true;
11
6
12
- & :first-child {
13
- @include border-top-radius ($dropdown-inner-border-radius );
14
- }
7
+ // Custom styles for b-dropdown-text
8
+ // Based on class .dropdown-item
9
+ .b-dropdown-text {
10
+ display : inline-block ;
11
+ padding : $dropdown-item-padding-y $dropdown-item-padding-x ;
12
+ margin-bottom : 0 ;
13
+ width : 100% ;
14
+ clear : both ;
15
+ font-weight : $font-weight-lighter ;
16
+
17
+ & :first-child {
18
+ @include border-top-radius ($dropdown-inner-border-radius );
19
+ }
15
20
16
- & :last-child {
17
- @include border-bottom-radius ($dropdown-inner-border-radius );
21
+ & :last-child {
22
+ @include border-bottom-radius ($dropdown-inner-border-radius );
23
+ }
18
24
}
19
25
}
Original file line number Diff line number Diff line change 1
- // Hide the caret for no-caret setting
2
- // See: https://github.com/bootstrap-vue/bootstrap-vue/issues/1473
3
- // See: https://github.com/twbs/bootstrap/issues/23724
4
- .dropdown {
5
- & :not (.dropleft ) {
6
- .dropdown-toggle {
7
- & .dropdown-toggle-no-caret :after {
8
- display : none !important ;
1
+ $bv-dropdown-defined : false !default ;
2
+
3
+ @if $bv-dropdown-defined == false {
4
+ // This test will only include these style definitions once
5
+ $bv-dropdown-defined : true;
6
+
7
+ // Hide the caret for no-caret setting
8
+ // See: https://github.com/bootstrap-vue/bootstrap-vue/issues/1473
9
+ // See: https://github.com/twbs/bootstrap/issues/23724
10
+ .dropdown {
11
+ & :not (.dropleft ) {
12
+ .dropdown-toggle {
13
+ & .dropdown-toggle-no-caret ::after {
14
+ display : none !important ;
15
+ }
9
16
}
10
17
}
11
- }
12
18
13
- // See: https://github.com/bootstrap-vue/bootstrap-vue/issues/2909
14
- & .dropleft {
15
- .dropdown-toggle {
16
- & .dropdown-toggle-no-caret :before {
17
- display : none !important ;
19
+ // See: https://github.com/bootstrap-vue/bootstrap-vue/issues/2909
20
+ & .dropleft {
21
+ .dropdown-toggle {
22
+ & .dropdown-toggle-no-caret ::before {
23
+ display : none !important ;
24
+ }
18
25
}
19
26
}
20
27
}
Original file line number Diff line number Diff line change 4
4
@import " form-input/index" ;
5
5
@import " form-radio/index" ;
6
6
@import " input-group/index" ;
7
+ @import " nav/index" ;
8
+ @import " navbar/index" ;
7
9
@import " pagination/index" ;
8
10
@import " pagination-nav/index" ;
9
11
@import " table/index" ;
Original file line number Diff line number Diff line change
1
+ @import " ../dropdown/index" ;
Original file line number Diff line number Diff line change
1
+ @import " nav-item-dropdown" ;
Original file line number Diff line number Diff line change
1
+ @import " ../dropdown/index" ;
Original file line number Diff line number Diff line change
1
+ @import " navbar" ;
You can’t perform that action at this time.
0 commit comments