summaryrefslogtreecommitdiff
path: root/addons/pad/static/src
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2014-02-12 19:10:14 +0100
committerChristophe Simonis <chs@openerp.com>2014-02-12 19:10:14 +0100
commite90a59aef626d65e30eaa10f861c5bfe83b9201e (patch)
tree4ac5b80e5bdbe8df6191f6acf42b6ca0c899d4a0 /addons/pad/static/src
parent9d670cd45fe2f1e2d06bb27df8d249fec1ef83b0 (diff)
[FIX] pad: font-awesomeize icon
bzr revid: chs@openerp.com-20140212181014-rk1qh1pcovtmjhqu
Diffstat (limited to 'addons/pad/static/src')
-rw-r--r--addons/pad/static/src/css/etherpad.css5
-rw-r--r--addons/pad/static/src/js/pad.js1
-rw-r--r--addons/pad/static/src/xml/pad.xml2
3 files changed, 4 insertions, 4 deletions
diff --git a/addons/pad/static/src/css/etherpad.css b/addons/pad/static/src/css/etherpad.css
index facf15b28de..d8281ef4d48 100644
--- a/addons/pad/static/src/css/etherpad.css
+++ b/addons/pad/static/src/css/etherpad.css
@@ -13,13 +13,12 @@
border: solid 1px #ccc;
border-radius:3px;
text-align: center;
- line-height: 22px;
+ line-height: 28px;
overflow: hidden;
-webkit-box-sizing: border-box;
color: #666666;
- padding-top:-3px;
- padding-left:-1px;
cursor: pointer;
+ font-size: 14px;
}
.oe_pad_switch:hover{
diff --git a/addons/pad/static/src/js/pad.js b/addons/pad/static/src/js/pad.js
index ba5ee3a3037..b685eb1e8fb 100644
--- a/addons/pad/static/src/js/pad.js
+++ b/addons/pad/static/src/js/pad.js
@@ -13,6 +13,7 @@ openerp.pad = function(instance) {
this.switch_configured();
this.$('.oe_pad_switch').click(function() {
self.$el.toggleClass('oe_pad_fullscreen');
+ self.$el.find('.oe_pad_switch').toggleClass('fa-expand fa-compress');
});
this.render_value();
},
diff --git a/addons/pad/static/src/xml/pad.xml b/addons/pad/static/src/xml/pad.xml
index f915e867b35..5d2ab779ead 100644
--- a/addons/pad/static/src/xml/pad.xml
+++ b/addons/pad/static/src/xml/pad.xml
@@ -15,7 +15,7 @@
</t>
<t t-if="! widget.get('effective_readonly')">
<div class="oe_pad_switch_positioner oe_configured">
- <span class="oe_pad_switch oe_e">&amp;Ntilde;</span>
+ <span class="fa fa-expand oe_pad_switch"></span>
</div>
<div class="oe_pad_content oe_editing oe_configured">
</div>