Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 443298e

Browse files
committed
styling and ace editor updates for IE
1 parent a013a19 commit 443298e

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

Playground/src/css/pg-toolbar-button.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.toolbar-button {
22
width: 116px;
33
height: 38px;
4+
display: inline-block;
45
text-decoration: none !important;
56
-webkit-user-select: none;
67
user-select: none;
@@ -10,19 +11,23 @@
1011
-moz-box-sizing: border-box;
1112
background-image: -webkit-linear-gradient(top, #4387fd, #4683ea);
1213
background-image: -moz-linear-gradient(top, #4387fd, #4683ea);
13-
border: 1px solid #3079ed;
14+
background-image: -ms-linear-gradient(top, #4387fd, #4683ea);
15+
/*border: 1px solid #3079ed;*/
16+
border: 0;
1417
border-radius: 3px;
1518
text-align: center;
1619
line-height: 31px;
1720
font-size: 14px;
1821
color: white;
1922
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
2023
cursor: pointer;
24+
outline: 0;
2125
}
2226

2327
.toolbar-button:hover {
2428
background-image: -webkit-linear-gradient(top, #357ae8, #4683ea);
2529
background-image: -moz-linear-gradient(top, #357ae8, #4683ea);
30+
background-image: -ms-linear-gradient(top, #357ae8, #4683ea);
2631
}
2732

2833
.toolbar-button:active {

Playground/src/pg-view.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</polymer-ui-toolbar>
3131

3232
<div id="stage" h-flexbox?="{{!vertical}}" v-flexbox?="{{vertical}}" flex>
33-
<ace-element id="ace" mode="html" theme="chrome" tabSize="2" vertical?="{{vertical}}"></ace-element>
33+
<ace-element id="ace" mode="html" theme="chrome" tabSize="2" vertical?="{{vertical}}" on-editor-input="editorChange"></ace-element>
3434

3535
<polymer-ui-splitter direction="{{vertical ? 'up' : 'left'}}" locked="{{maximized}}"
3636
on-pointerdown="disableOutputMouseEvents" on-pointerup="enableOutputMouseEvents"
@@ -64,7 +64,6 @@
6464
if (meta) {
6565
this.meta = meta;
6666
}
67-
this.editor.editor.on('change', this.editorChange.bind(this));
6867
},
6968
resize: function() {
7069
this.$.ace.editor.resize();

0 commit comments

Comments
 (0)