Skip to content

Commit

Permalink
fix: css changed for NR v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed Oct 15, 2019
1 parent d7d1b8c commit 41539d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions nodes/_static/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
margin-top: 5px;
}

.checkboxOption input {
.form-row.checkboxOption input {
margin-left: 105px;
display: inline-block;
width: auto;
vertical-align: baseline;
}

.checkboxOption label {
.form-row.checkboxOption label {
width: auto;
margin-right: 20px;
}

.node_label_legacy {
.ha-nodeLabelLegacy {
fill: #fdfd96;
stroke-width: 0;
font-size: 14px;
Expand All @@ -50,7 +50,7 @@ li span.property-type {
float: right;
}

.ha-alertbox {
.ha-alertBox {
padding: 10px;
margin-bottom: 10px;
}
4 changes: 2 additions & 2 deletions nodes/_static/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var nodeVersion = (function($) {

function check(node) {
node.version = node.version === undefined ? 0 : Number(node.version);
const versionAlert = `<div id="versionUpdate" class="ui-state-error ha-alertbox"><p><strong>Alert:</strong>This node will be updated to version ${
const versionAlert = `<div id="versionUpdate" class="ui-state-error ha-alertBox"><p><strong>Alert:</strong>This node will be updated to version ${
node._def.defaults.version.value
} from ${node.version} (<a href="${wikiLink(
node.type
Expand Down Expand Up @@ -55,7 +55,7 @@ var nodeVersion = (function($) {
return `${
this._def.defaults.version &&
Number(this.version) !== this._def.defaults.version.value
? 'node_label_legacy '
? 'ha-nodeLabelLegacy '
: ''
}${this.name ? 'node_label_italic' : ''}`;
}
Expand Down
2 changes: 1 addition & 1 deletion nodes/events-all/events-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<input type="text" id="node-input-event_type" placeholder="leave empty for all events" />
</div>

<div id="eventAlert" class="ui-state-error ha-alertbox"><strong>Alert:</strong> Leaving Event Type empty and listening for all events may overload the websocket message queue.</div>
<div id="eventAlert" class="ui-state-error ha-alertBox"><strong>Alert:</strong> Leaving Event Type empty and listening for all events may overload the websocket message queue.</div>
</script>

<script type="text/x-red" data-help-name="server-events">
Expand Down

0 comments on commit 41539d7

Please sign in to comment.