diff options
| author | Jacob Thornton <[email protected]> | 2011-09-02 11:49:41 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-09-02 11:49:41 -0700 |
| commit | db43777ddf2a72146621f385f54cba0d4103f80d (patch) | |
| tree | f6dc34a1873c0f66904ac92927ec1ef0b70d6330 /lib | |
| parent | 3f242bc70cde589d41dd7574e273e29511c317d2 (diff) | |
| parent | a4dc2c8955e0db79cc800f38d949db0ba0e7ba9a (diff) | |
| download | bootstrap-db43777ddf2a72146621f385f54cba0d4103f80d.tar.xz bootstrap-db43777ddf2a72146621f385f54cba0d4103f80d.zip | |
Merge branch '1.2-wip' of github.com:twitter/bootstrap into 1.2-wip
Conflicts:
bootstrap-1.2.0.css
bootstrap-1.2.0.min.css
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/patterns.less | 17 | ||||
| -rw-r--r-- | lib/scaffolding.less | 1 |
2 files changed, 13 insertions, 5 deletions
diff --git a/lib/patterns.less b/lib/patterns.less index 013566b81..9213a7699 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -57,7 +57,6 @@ background-color: #444; background-color: rgba(255,255,255,.3); #font > .sans-serif(13px, normal, 1); - width: 220px; padding: 4px 9px; color: #fff; color: rgba(255,255,255,.75); @@ -143,6 +142,8 @@ float: right; margin-left: 10px; margin-right: 0; + // backwards compatibility + .menu-dropdown, .dropdown-menu { right: 0; } @@ -335,16 +336,22 @@ a.menu:after, color: @gray; } } + // first one for backwards compatibility + .menu-dropdown, .dropdown-menu { top: 35px; border-width: 1px; .border-radius(0 6px 6px 6px); } + // first one for backwards compatibility + a.menu:after, .dropdown-toggle:after { border-top-color: #999; margin-top: 15px; margin-left: 5px; } + // first one for backwards compatibility + li.open a.menu:after, .dropdown.open .dropdown-toggle:after { border-top-color: #555; } @@ -450,6 +457,10 @@ footer { .transition(.1s linear all); // Active and Disabled states + &:active { + @shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.05); + .box-shadow(@shadow); + } &.disabled { cursor: default; background-image: none; @@ -464,10 +475,6 @@ footer { .opacity(65); .box-shadow(none); } - &:active { - @shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.05); - .box-shadow(@shadow); - } // Button Sizes &.large { diff --git a/lib/scaffolding.less b/lib/scaffolding.less index ed2b6512b..615e6be78 100644 --- a/lib/scaffolding.less +++ b/lib/scaffolding.less @@ -85,6 +85,7 @@ body { float: left; width: 220px; } + // TODO in v2: rename this and .popover .content to be more specific > .content { min-width: 700px; max-width: 1180px; |
