mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
make less files compile with strict maths in 1.4.0
This commit is contained in:
+5
-5
@@ -21,8 +21,8 @@
|
||||
margin-top: 15px;
|
||||
}
|
||||
.nav > li > a {
|
||||
padding-top: (@navbar-height - @line-height-base) / 2;
|
||||
padding-bottom: (@navbar-height - @line-height-base) / 2;
|
||||
padding-top: ((@navbar-height - @line-height-base) / 2);
|
||||
padding-bottom: ((@navbar-height - @line-height-base) / 2);
|
||||
color: @navbar-link-color;
|
||||
line-height: 20px;
|
||||
}
|
||||
@@ -276,8 +276,8 @@
|
||||
}
|
||||
.navbar-brand {
|
||||
float: left;
|
||||
padding-top: (@navbar-height - @line-height-base) / 2;
|
||||
padding-bottom: (@navbar-height - @line-height-base) / 2;
|
||||
padding-top: ((@navbar-height - @line-height-base) / 2);
|
||||
padding-bottom: ((@navbar-height - @line-height-base) / 2);
|
||||
margin-left: -10px;
|
||||
}
|
||||
.navbar .nav {
|
||||
@@ -297,7 +297,7 @@
|
||||
// Change the height and height, disable bottom border, then add right border
|
||||
.navbar .nav > .divider {
|
||||
width: 1px;
|
||||
height: @navbar-height * .6;
|
||||
height: (@navbar-height * .6);
|
||||
margin: (@navbar-height * .2) 9px;
|
||||
border-bottom: 0;
|
||||
border-right: 1px solid lighten(@navbar-bg, 5%);
|
||||
|
||||
Reference in New Issue
Block a user