Skip to content

Commit 86ffc80

Browse files
committed
Tidy up spinner css
1 parent 7f6915e commit 86ffc80

4 files changed

Lines changed: 24 additions & 13 deletions

File tree

editor/sass/jquery.scss

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2015 IBM Corp.
2+
* Copyright 2015, 2016 IBM Corp.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -76,3 +76,23 @@
7676
.ui-dialog .ui-dialog-buttonpane {
7777
padding: .3em 1em .5em 1em;
7878
}
79+
80+
.ui-spinner {
81+
border-radius: 4px;
82+
padding: 0;
83+
border: 1px solid $form-input-border-color;
84+
}
85+
.ui-spinner input {
86+
margin: 0 17px 0 0;
87+
padding: 6px;
88+
border: none;
89+
border-top-right-radius: 0px;
90+
border-bottom-right-radius: 0px;
91+
92+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
93+
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
94+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
95+
&:focus {
96+
outline: none;
97+
}
98+
}

nodes/core/core/20-inject.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,7 @@
142142
.inject-time-times {
143143
width: 90px;
144144
}
145-
.inject-time-row > .ui-spinner {
146-
height: 28px;
147-
margin: 3px 0;
148-
border-color: rgb(204, 204, 204);
149-
}
150145
#inject-time-time {
151-
margin-top: 3px;
152146
width: 75px;
153147
}
154148
.inject-time-count {

nodes/core/core/80-function.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright 2013, 2015 IBM Corp.
2+
Copyright 2013, 2016 IBM Corp.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
2929
</div>
3030
<div class="form-row">
3131
<label for="node-input-outputs"><i class="fa fa-random"></i> <span data-i18n="function.label.outputs"></span></label>
32-
<input id="node-input-outputs" style="width: 60px; height: 1.7em;" value="1">
32+
<input id="node-input-outputs" style="width: 60px;" value="1">
3333
</div>
3434
<div class="form-tips"><span data-i18n="function.tip"></span></div>
3535
</script>

nodes/core/core/90-comment.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright 2013, 2015 IBM Corp.
2+
Copyright 2013, 2016 IBM Corp.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -55,9 +55,6 @@
5555
},
5656
oneditprepare: function() {
5757
var that = this;
58-
$( "#node-input-outputs" ).spinner({
59-
min:1
60-
});
6158
this.editor = RED.editor.createEditor({
6259
id: 'node-input-info-editor',
6360
mode: 'ace/mode/markdown',

0 commit comments

Comments
 (0)