Limit button style to buttons within a .openerp div

bzr revid: mit@openerp.com-20111208102034-6ut270uvcw2tya99
This commit is contained in:
Minh Tran
2011-12-08 11:20:34 +01:00
parent 2b203bcb7f
commit 9ca9d38c14
+5 -5
View File
@@ -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;