File tree Expand file tree Collapse file tree 10 files changed +49
-10
lines changed Expand file tree Collapse file tree 10 files changed +49
-10
lines changed Original file line number Diff line number Diff line change 10
10
@import " mixins/responsive-visibility.less" ;
11
11
@import " mixins/size.less" ;
12
12
@import " mixins/tab-focus.less" ;
13
+ @import " mixins/reset-text.less" ;
13
14
@import " mixins/text-emphasis.less" ;
14
15
@import " mixins/text-overflow.less" ;
15
16
@import " mixins/vendor-prefixes.less" ;
Original file line number Diff line number Diff line change 2
2
3
3
.bg-variant (@color ) {
4
4
background-color : @color ;
5
- a& :hover {
5
+ a& :hover ,
6
+ a& :focus {
6
7
background-color : darken (@color , 10% );
7
8
}
8
9
}
Original file line number Diff line number Diff line change 8
8
background-color : @background ;
9
9
border-color : @border ;
10
10
11
- & :hover ,
12
11
& :focus ,
13
- & .focus ,
12
+ & .focus {
13
+ color : @color ;
14
+ background-color : darken (@background , 10% );
15
+ border-color : darken (@border , 25% );
16
+ }
17
+ & :hover {
18
+ color : @color ;
19
+ background-color : darken (@background , 10% );
20
+ border-color : darken (@border , 12% );
21
+ }
14
22
& :active ,
15
23
& .active ,
16
24
.open > .dropdown-toggle & {
17
25
color : @color ;
18
26
background-color : darken (@background , 10% );
19
27
border-color : darken (@border , 12% );
28
+
29
+ & :hover ,
30
+ & :focus ,
31
+ & .focus {
32
+ color : @color ;
33
+ background-color : darken (@background , 17% );
34
+ border-color : darken (@border , 25% );
35
+ }
20
36
}
21
37
& :active ,
22
38
& .active ,
Original file line number Diff line number Diff line change 13
13
14
14
// Creates a wrapper for a series of columns
15
15
.make-row (@gutter : @grid-gutter-width ) {
16
- margin-left : ( @gutter / -2 );
17
- margin-right : ( @gutter / -2 );
16
+ margin-left : ceil (( @gutter / -2 ) );
17
+ margin-right : floor (( @gutter / -2 ) );
18
18
& :extend(.clearfix all );
19
19
}
20
20
Original file line number Diff line number Diff line change 1
1
// CSS image replacement
2
2
//
3
- // Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
3
+ // Heads up! v3 launched with only `.hide-text()`, but per our pattern for
4
4
// mixins being reused as classes with the same name, this doesn't hold up. As
5
5
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
6
6
//
Original file line number Diff line number Diff line change 5
5
color : @color ;
6
6
background-color : @background ;
7
7
8
- a& {
8
+ a& ,
9
+ button& {
9
10
color : @color ;
10
11
11
12
.list-group-item-heading {
Original file line number Diff line number Diff line change 1
1
// Pagination
2
2
3
- .pagination-size (@padding-vertical ; @padding-horizontal ; @font-size ; @border-radius ) {
3
+ .pagination-size (@padding-vertical ; @padding-horizontal ; @font-size ; @line-height ; @ border-radius ) {
4
4
> li {
5
5
> a ,
6
6
> span {
7
7
padding : @padding-vertical @padding-horizontal ;
8
8
font-size : @font-size ;
9
+ line-height : @line-height ;
9
10
}
10
11
& :first-child {
11
12
> a ,
Original file line number Diff line number Diff line change
1
+ .reset-text () {
2
+ font-family : @font-family-base ;
3
+ // We deliberately do NOT reset font-size.
4
+ font-style : normal ;
5
+ font-weight : normal ;
6
+ letter-spacing : normal ;
7
+ line-break : auto ;
8
+ line-height : @line-height-base ;
9
+ text-align : left ; // Fallback for where `start` is not supported
10
+ text-align : start ;
11
+ text-decoration : none ;
12
+ text-shadow : none ;
13
+ text-transform : none ;
14
+ white-space : normal ;
15
+ word-break : normal ;
16
+ word-spacing : normal ;
17
+ word-wrap : normal ;
18
+ }
Original file line number Diff line number Diff line change 5
5
.responsive-visibility () {
6
6
display : block !important ;
7
7
table & {
8
- display : table ;
8
+ display : table !important ;
9
9
}
10
10
tr& {
11
11
display : table-row !important ;
Original file line number Diff line number Diff line change 2
2
3
3
.text-emphasis-variant (@color ) {
4
4
color : @color ;
5
- a& :hover {
5
+ a& :hover ,
6
+ a& :focus {
6
7
color : darken (@color , 10% );
7
8
}
8
9
}
You can’t perform that action at this time.
0 commit comments