diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-06-27 11:41:06 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-06-27 11:41:06 +0200 |
| commit | ed7b1d1b568e871a4e5591df3e5f301900909788 (patch) | |
| tree | 0eb979d56d3152ddd2588d5e29bafa8df72a6a91 /addons/web/static/src/css | |
| parent | 3b8573f7ce273948826cffbffd7f2cfa91665e3c (diff) | |
[ADD] Added oe_link css class
bzr revid: fme@openerp.com-20120627094106-sg0nk89obcjtlzpl
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 32 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 19 |
2 files changed, 51 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 72d89921cfd..20d7e46dd11 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -309,6 +309,38 @@ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); border: none; } +.openerp .oe_button.oe_link { + border: none; + padding: 0; + margin: 0; + background: none; + -moz-border-radius: none; + -webkit-border-radius: none; + border-radius: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} +.openerp .oe_button.oe_link img { + display: none; +} +.openerp .oe_button.oe_link span { + border: none; + padding: 0; + margin: 0; + background: none; + -moz-border-radius: none; + -webkit-border-radius: none; + border-radius: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + color: #8a89ba; + font-weight: bold; +} +.openerp .oe_button.oe_link span:hover { + text-decoration: underline; +} .openerp.oe_tooltip { font-size: 12px; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index cae493ea2e5..f42b527a500 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -27,6 +27,14 @@ $colour4: #8a89ba font-weight: normal font-style: normal +@mixin reset() + border: none + padding: 0 + margin: 0 + background: none + @include radius(none) + @include box-shadow(none) + @mixin vertical-gradient($startColor: #555, $endColor: #333) background-color: $startColor background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */ @@ -261,6 +269,17 @@ $colour4: #8a89ba @include radius(3px) @include box-shadow(0 1px 3px rgba(0, 0, 0, 0.3)) border: none + .oe_button.oe_link + @include reset() + img + display: none + span + @include reset() + color: #8A89BA + font-weight: bold + &:hover + text-decoration: underline + //.oe_edit_only // }}} // Tooltips {{{ |
