diff options
| author | Minh Tran <mit@openerp.com> | 2011-12-08 11:20:34 +0100 |
|---|---|---|
| committer | Minh Tran <mit@openerp.com> | 2011-12-08 11:20:34 +0100 |
| commit | 9ca9d38c14b8a590fe49bbda0d0ee7f52434ca39 (patch) | |
| tree | 0ba9280397061f0c56356e334be1c1f6d4206eb0 /addons/web/static/src/css | |
| parent | 2b203bcb7f7cc2b6c906419bb73ef816e8352659 (diff) | |
Limit button style to buttons within a .openerp div
bzr revid: mit@openerp.com-20111208102034-6ut270uvcw2tya99
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index cbfb8b0c710..4d8b91815cb 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1708,7 +1708,7 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after { /* Buttons */ /***********/ -a.button:link, a.button:visited, button, input[type='submit'], input[type='reset'] { +.openerp a.button:link, a.button:visited, button, input[type='submit'], input[type='reset'] { display: inline-block; border: 1px solid #ababab; color: #404040; @@ -1741,7 +1741,7 @@ a.button:link, a.button:visited, button, input[type='submit'], input[type='reset outline: none; } -a.button:hover, button:hover, input[type='submit']:hover, input[type='reset']:hover { +.openerp a.button:hover, button:hover, input[type='submit']:hover, input[type='reset']:hover { background: #e3e3e3, none; -o-background-size: 100% 100%; -moz-background-size: 100% 100%; @@ -1755,7 +1755,7 @@ a.button:hover, button:hover, input[type='submit']:hover, input[type='reset']:ho cursor: pointer; } -a.button:focus, button:focus, input[type='submit']:focus, input[type='reset']:focus { +.openerp a.button:focus, button:focus, input[type='submit']:focus, input[type='reset']:focus { border: 1px solid #80bfff; background: #e3e3e3, none; -o-background-size: 100% 100%; @@ -1773,7 +1773,7 @@ a.button:focus, button:focus, input[type='submit']:focus, input[type='reset']:fo -box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset; } -a.button:active, a.button.active, button:active, button.active, input[type='submit']:active, input[type='submit'].active, input[type='reset']:active, input[type='reset'].active { +.openerp a.button:active, a.button.active, button:active, button.active, input[type='submit']:active, input[type='submit'].active, input[type='reset']:active, input[type='reset'].active { background: #e3e3e3; background: -moz-linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f; background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6)) #1b468f; @@ -1784,7 +1784,7 @@ a.button:active, a.button.active, button:active, button.active, input[type='subm -box-shadow: none, 0 0 0 transparent; } -a.button.disabled, button:disabled, input[type='submit']:disabled, input[type='reset']:disabled { +.openerp a.button.disabled, button:disabled, input[type='submit']:disabled, input[type='reset']:disabled { background: #efefef !important; border: 1px solid #d1d1d1 !important; font-weight: 550; |
