mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Replace bootstrap .divider with cleaner .dividerbar which also reduces knockout calls
This commit is contained in:
parent
c2a5d0fda5
commit
527694f361
10 changed files with 30 additions and 83 deletions
5
vendors/bootstrap/less/dropdowns.less
vendored
5
vendors/bootstrap/less/dropdowns.less
vendored
|
|
@ -56,11 +56,6 @@
|
|||
left: auto;
|
||||
}
|
||||
|
||||
// Dividers (basically an hr) within the dropdown
|
||||
.divider {
|
||||
.nav-divider(@dropdownDividerTop, @dropdownDividerBottom);
|
||||
}
|
||||
|
||||
// Links within the dropdown menu
|
||||
a {
|
||||
display: block;
|
||||
|
|
|
|||
11
vendors/bootstrap/less/mixins.less
vendored
11
vendors/bootstrap/less/mixins.less
vendored
|
|
@ -106,17 +106,6 @@
|
|||
// COMPONENT MIXINS
|
||||
// --------------------------------------------------
|
||||
|
||||
// Horizontal dividers
|
||||
// -------------------------
|
||||
// Dividers (basically an hr) within dropdowns and nav lists
|
||||
.nav-divider(@top: #e5e5e5, @bottom: @white) {
|
||||
height: 1px;
|
||||
margin: ((@baseLineHeight / 2) - 1) 1px; // 8px 1px
|
||||
overflow: hidden;
|
||||
background-color: @top;
|
||||
border-bottom: 1px solid @bottom;
|
||||
}
|
||||
|
||||
// Button backgrounds
|
||||
// ------------------
|
||||
.buttonBackground(@startColor, @endColor, @textColor: #fff, @textShadow: 0 -1px 0 rgba(0,0,0,.25)) {
|
||||
|
|
|
|||
4
vendors/bootstrap/less/navs.less
vendored
4
vendors/bootstrap/less/navs.less
vendored
|
|
@ -70,10 +70,6 @@
|
|||
.nav-list [class^="icon-"] {
|
||||
margin-right: 2px;
|
||||
}
|
||||
// Dividers (basically an hr) within the dropdown
|
||||
.nav-list .divider {
|
||||
.nav-divider();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue