diff --git a/src/core/tags/afx-button.tag b/src/core/tags/afx-button.tag index cac3bdc..565c16c 100644 --- a/src/core/tags/afx-button.tag +++ b/src/core/tags/afx-button.tag @@ -1,13 +1,16 @@ - - \ No newline at end of file diff --git a/src/core/tags/afx-nspinner.tag b/src/core/tags/afx-nspinner.tag new file mode 100644 index 0000000..2cb80bb --- /dev/null +++ b/src/core/tags/afx-nspinner.tag @@ -0,0 +1,75 @@ + + + + + \ No newline at end of file diff --git a/src/packages/AntOSDK/dialog.coffee b/src/packages/AntOSDK/dialog.coffee index 270642c..d4a9f78 100644 --- a/src/packages/AntOSDK/dialog.coffee +++ b/src/packages/AntOSDK/dialog.coffee @@ -35,7 +35,7 @@ class BuildDialog extends this.OS.GUI.BasicDialog { text: "+", onbtclick: (e) -> - d.selectFile ["text/coffeescript"], (f) -> + d.selectFile ["text/.*coffeescript"], (f) -> lv.push { text: f }, true if f }, { diff --git a/src/packages/AntOSDK/main.coffee b/src/packages/AntOSDK/main.coffee index 5ae6023..a887ec4 100644 --- a/src/packages/AntOSDK/main.coffee +++ b/src/packages/AntOSDK/main.coffee @@ -262,7 +262,7 @@ class AntOSDK extends this.OS.GUI.BaseApplication { path: "#{rpath}/assets/scheme.html", content: """ - + """ diff --git a/src/packages/AntOSDK/package.json b/src/packages/AntOSDK/package.json index a1d7273..4d0e74c 100644 --- a/src/packages/AntOSDK/package.json +++ b/src/packages/AntOSDK/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LE", "email": "xsang.le@gmail.com" }, - "version":"0.0.3-a", + "version":"0.0.4-a", "category":"System", "iconclass":"fa fa-cubes", "mimes":[ diff --git a/src/packages/DummyApp/main.coffee b/src/packages/DummyApp/main.coffee index ee39073..28e8a5c 100644 --- a/src/packages/DummyApp/main.coffee +++ b/src/packages/DummyApp/main.coffee @@ -74,7 +74,7 @@ class DummyApp extends this.OS.GUI.BaseApplication (@find "sw").set "onchange", (e) -> console.log e, ((self.find "sw").get "swon") tree.set "data",tdata - + (@find "spinner").set "onchange", (e) -> console.log e list = @find "mylist" ldata = [ {text:"some thing with avery long text"}, diff --git a/src/packages/DummyApp/scheme.html b/src/packages/DummyApp/scheme.html index aa6f574..b1c467e 100644 --- a/src/packages/DummyApp/scheme.html +++ b/src/packages/DummyApp/scheme.html @@ -9,7 +9,8 @@ - + + diff --git a/src/themes/antos/afx-button.css b/src/themes/antos/afx-button.css index f5a035c..e380e16 100644 --- a/src/themes/antos/afx-button.css +++ b/src/themes/antos/afx-button.css @@ -18,7 +18,7 @@ afx-button i.icon-style { display: inline-block; float:left; } -afx-button button:active { +afx-button button:active, afx-button.btactive button { background-color: #2786F3; color: white; border: 1px solid #dedede; diff --git a/src/themes/antos/afx-nspinner.css b/src/themes/antos/afx-nspinner.css new file mode 100644 index 0000000..886a071 --- /dev/null +++ b/src/themes/antos/afx-nspinner.css @@ -0,0 +1,44 @@ +afx-nspinner{ + display: flex; + flex-direction: row; +} +afx-nspinner ul{ + padding:0; + margin: 0; + list-style: none; +} +afx-nspinner ul li{ + display: block; + border: 1px solid #a6a6a6; + width: 100%; + padding:0; + margin: 0; + height:45%; + border-radius: 3px; + color: #414339; + position: relative; +} +afx-nspinner ul li:hover{ + color:#116cD6; +} +afx-nspinner ul li i { + display: block; +} +afx-nspinner ul li.incr i:before{ + content: "\f0d8"; + font-family: "FontAwesome"; + font-size: 16px; + font-style: normal; + position: absolute; + top:-6px; + left: 5px; +} +afx-nspinner ul li.decr i:before{ + content: "\f0d7"; + font-family: "FontAwesome"; + font-size: 16px; + font-style: normal; + position: absolute; + bottom: -4px; + left: 5px; +} \ No newline at end of file