summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-08-06 09:36:20 +0200
committerXavier Morel <xmo@openerp.com>2012-08-06 09:36:20 +0200
commit2fc0ac8ce339f24d2816248b15e4c0d16ce0e066 (patch)
treee9cdd4e8183f06695f5dbefe3f9a60711f9f110d /addons/web/static/src
parentdf53003aea1b0312047fca27a5856f2d0323a57d (diff)
parenta653612bec8e68bccdc2f564d41d8ffe0c9d4370 (diff)
[FIX] placeholder styling for webkit and firefox, to better differentiate between placeholder text and actual data
also use existing sass variable for all instances of #afafb6 bzr revid: xmo@openerp.com-20120806073620-tza9gggwter1ud30
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css8
-rw-r--r--addons/web/static/src/css/base.sass20
2 files changed, 22 insertions, 6 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 09eeaf9ce76..8f35c81de2d 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -80,6 +80,14 @@
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
*/
}
+.openerp :-moz-placeholder {
+ color: #afafb6 !important;
+ font-style: italic !important;
+}
+.openerp ::-webkit-input-placeholder {
+ color: #afafb6 !important;
+ font-style: italic !important;
+}
.openerp a {
text-decoration: none;
}
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index dbf210730f6..688c306169b 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -140,6 +140,14 @@ $sheet-max-width: 860px
font-size: 13px
background: white
// }}}
+ //Placeholder style{{{
+ \:-moz-placeholder
+ color: $facets-border !important
+ font-style: italic !important
+ \::-webkit-input-placeholder
+ color: $facets-border !important
+ font-style: italic !important
+ //}}}
// Tag reset {{{
a
text-decoration: none
@@ -150,7 +158,7 @@ $sheet-max-width: 860px
font-weight: bold
background-color: #f0f0f0
th
- border-right: 1px dotted #afafb6
+ border-right: 1px dotted $facets-border
&:last-child
border-right: none
th, td
@@ -524,7 +532,7 @@ $sheet-max-width: 860px
top: 26px
left: 0
z-index: 1
- border: 1px solid #afafb6
+ border: 1px solid $facets-border
background: white
padding: 4px 0
min-width: 140px
@@ -804,7 +812,7 @@ $sheet-max-width: 860px
display: none
width: 220px
background: #f0eeee
- border-right: 1px solid #afafb6
+ border-right: 1px solid $facets-border
text-shadow: 0 1px 1px white
padding-bottom: 16px
a.oe_logo
@@ -1245,7 +1253,7 @@ $sheet-max-width: 860px
background-color: white
min-width: 100%
display: none
- border: 1px solid #afafb6
+ border: 1px solid $facets-border
text-align: left
@include radius(4px)
@include box-shadow(0 1px 4px rgba(0,0,0,0.3))
@@ -1543,7 +1551,7 @@ $sheet-max-width: 860px
background: white
min-height: 330px
padding: 16px
- border: 1px solid #afafb6
+ border: 1px solid $facets-border
@include box-shadow(0 0 10px rgba(0,0,0,0.3))
.ui-tabs
margin: 0 -16px
@@ -1924,7 +1932,7 @@ $sheet-max-width: 860px
border-bottom: 2px solid #cacaca
.treeview-tr, .treeview-td
cursor: pointer
- border-right: 1px dotted #afafb6
+ border-right: 1px dotted $facets-border
vertical-align: top
text-align: left
border-bottom: 1px solid #cfcccc