Permalink
Browse files

tree animate,form ajaxsubmit

  • Loading branch information...
1 parent 2f5f63b commit f8be7f7c447fd25417d1102cd71301f4f6754bf6 @2250918808 2250918808 committed Sep 2, 2013
Showing with 1,746 additions and 340 deletions.
  1. +1 −0 README.md
  2. +1 −1 assets/css/bui-min.css
  3. +51 −41 assets/css/bui.css
  4. +5 −0 assets/css/less/bui/form.less
  5. +16 −16 assets/css/less/bui/menu.less
  6. +62 −60 assets/css/less/bui/tree.less
  7. BIN assets/img/load-16-16.gif
  8. +7 −7 build/bui-min.js
  9. +330 −32 build/bui.js
  10. +1 −1 build/common-min.js
  11. +20 −5 build/common.js
  12. +1 −1 build/css/bui-min.css
  13. +51 −41 build/css/bui.css
  14. +2 −2 build/form-min.js
  15. +194 −5 build/form.js
  16. BIN build/img/load-16-16.gif
  17. +1 −1 build/list-min.js
  18. +18 −4 build/list.js
  19. +1 −1 build/menu-min.js
  20. +8 −0 build/menu.js
  21. +9 −3 build/overlay.js
  22. +2 −2 build/seed-min.js
  23. +20 −5 build/seed.js
  24. +1 −1 build/tree-min.js
  25. +81 −15 build/tree.js
  26. +4 −2 src/common/component/loader.js
  27. +1 −1 src/common/component/uibase/decorate.js
  28. +15 −2 src/common/component/uibase/selection.js
  29. +2 −0 src/form/build.xml
  30. +5 −2 src/form/field.js
  31. +34 −0 src/form/field/checklist.js
  32. +10 −0 src/form/field/list.js
  33. +33 −0 src/form/field/radiolist.js
  34. +114 −3 src/form/form.js
  35. +18 −4 src/list/domlist.js
  36. +8 −0 src/menu/menu.js
  37. +9 −3 src/overlay/dialog.js
  38. +1 −1 src/tree/treelist.js
  39. +124 −0 src/tree/treemenu.js
  40. +80 −14 src/tree/treemixin.js
  41. +1 −0 test/data/submit.php
  42. +25 −8 test/form-field.php
  43. +72 −0 test/form-submit.php
  44. +102 −36 test/specs/form-field-spec.js
  45. +55 −0 test/specs/form-submit-spec.js
  46. +2 −20 test/specs/list-spec.js
  47. +96 −0 test/specs/tree-menu-spec.js
  48. +52 −0 test/treemenu.php
View
@@ -44,5 +44,6 @@ bui
## 联系我们
+- 论坛:http://bbs.builive.com
- 旺旺群号: 778141976
- QQ群:138692365
Oops, something went wrong.
View
@@ -43,12 +43,13 @@
}
.bui-side-menu .bui-menu-title,
.bui-side-menu .bui-menu-title s,
-.bui-side-menu .menu-second a,
-.bui-side-menu .menu-second em {
+.bui-side-menu .menu-leaf a,
+.bui-side-menu .menu-leaf em {
background: url("../img/menu-500-188.png") -9999px -9999px no-repeat;
}
.bui-side-menu a {
color: #5c637b;
+ cursor: pointer;
outline: none;
}
.bui-side-menu a:hover {
@@ -64,42 +65,42 @@
.bui-side-menu .bui-menu-item-collapsed .bui-menu-title s {
background-position: 0 -30px;
}
-.bui-side-menu .menu-second {
- padding-top: 1px;
- outline: 0;
-}
-.bui-side-menu .menu-second .bui-menu {
- margin-top: 5px;
-}
-.bui-side-menu .menu-second .bui-menu-item {
+.bui-side-menu .menu-leaf {
outline: 0;
line-height: 20px;
}
-.bui-side-menu .menu-second .bui-menu-item a {
+.bui-side-menu .menu-leaf a {
height: 20px;
text-indent: 24px;
overflow: hidden;
margin-bottom: 5px;
display: block;
}
-.bui-side-menu .menu-second .bui-menu-item a em {
+.bui-side-menu .menu-leaf a em {
display: block;
margin: 0 1px;
font-style: normal;
text-align: left;
overflow: hidden;
height: 19px;
line-height: 22px;
- cursor: pointer;
_line-height: 20px;
}
-.bui-side-menu .menu-second .bui-menu-item-selected a {
+.bui-side-menu .bui-menu-item-selected a {
color: #ffffff;
background-position: 0 -130px;
}
-.bui-side-menu .menu-second .bui-menu-item-selected a em {
+.bui-side-menu .bui-menu-item-selected a em {
background-position: right -100px;
}
+.bui-side-menu .menu-second {
+ padding-top: 1px;
+ outline: 0;
+ cursor: pointer;
+}
+.bui-side-menu .menu-second .bui-menu {
+ margin-top: 5px;
+}
.bui-side-menu .bui-menu-title-text {
float: left;
overflow: hidden;
@@ -1281,6 +1282,15 @@ textarea.bui-form-field-error,
.bui-form-field-disabled.calendar {
background-color: #ebebe4;
}
+.bui-form-feild-checklist .bui-list-item,
+.bui-form-feild-radiolist .bui-list-item {
+ display: inline-block;
+ *display: inline;
+ /* IE7 inline-block hack */
+
+ *zoom: 1;
+ margin-right: 10px;
+}
.bui-form-tip-container {
position: relative;
}
@@ -1645,7 +1655,7 @@ input.x-datepicker-time {
.bui-tree-item-disabled {
color: #cccccc;
}
-.x-tree-icon {
+.bui-tree-list .x-tree-icon {
display: inline-block;
*display: inline;
/* IE7 inline-block hack */
@@ -1655,63 +1665,63 @@ input.x-datepicker-time {
height: 20px;
width: 16px;
}
-.x-tree-elbow-expander,
-.x-tree-elbow-dir,
-.x-tree-elbow-leaf,
-.x-tree-elbow-line,
-.x-tree-elbow,
-.x-tree-elbow-expander-end,
-.x-tree-elbow-end {
+.bui-tree-list .x-tree-elbow-expander,
+.bui-tree-list .x-tree-elbow-dir,
+.bui-tree-list .x-tree-elbow-leaf,
+.bui-tree-list .x-tree-elbow-line,
+.bui-tree-list .x-tree-elbow,
+.bui-tree-list .x-tree-elbow-expander-end,
+.bui-tree-list .x-tree-elbow-end {
background: url("../img/tree_icon-80-100.gif") no-repeat -999px -999px transparent;
}
-.x-tree-icon-checkbox {
+.bui-tree-list .x-tree-icon-checkbox {
background: url("../img/check_icon-100-100.gif") no-repeat 0px 0px transparent;
}
-.x-tree-elbow-expander {
+.bui-tree-list .x-tree-elbow-expander {
background-position: 0 0;
}
-.bui-tree-item-expanded .x-tree-elbow-expander {
+.bui-tree-list .bui-tree-item-expanded .x-tree-elbow-expander {
background-position: -16px 0;
}
-.x-tree-elbow-expander:hover {
+.bui-tree-list .x-tree-elbow-expander:hover {
background-position: -32px 0;
}
-.bui-tree-item-expanded .x-tree-elbow-expander:hover {
+.bui-tree-list .bui-tree-item-expanded .x-tree-elbow-expander:hover {
background-position: -48px 0;
}
-.x-tree-elbow-dir,
-.x-tree-elbow-leaf {
+.bui-tree-list .x-tree-elbow-dir,
+.bui-tree-list .x-tree-elbow-leaf {
margin: 2px 3px 0 0;
}
-.x-tree-elbow-dir {
+.bui-tree-list .x-tree-elbow-dir {
background-position: 0 -80px;
}
-.bui-tree-item-expanded .x-tree-elbow-dir {
+.bui-tree-list .bui-tree-item-expanded .x-tree-elbow-dir {
background-position: -20px -80px;
}
-.x-tree-elbow-leaf {
+.bui-tree-list .x-tree-elbow-leaf {
background-position: -40px -80px;
}
-.x-tree-show-line .x-tree-elbow {
+.bui-tree-list .x-tree-show-line .x-tree-elbow {
background-position: 0 -20px;
}
-.x-tree-show-line .x-tree-elbow-end {
+.bui-tree-list .x-tree-show-line .x-tree-elbow-end {
background-position: -20px -20px;
}
-.x-tree-show-line .x-tree-elbow-line {
+.bui-tree-list .x-tree-show-line .x-tree-elbow-line {
background-position: -40px -20px;
}
-.x-tree-show-line .x-tree-elbow-expander,
-.x-tree-show-line .x-tree-elbow-expander:hover {
+.bui-tree-list .x-tree-show-line .x-tree-elbow-expander,
+.bui-tree-list .x-tree-show-line .x-tree-elbow-expander:hover {
background-position: -60px -40px;
}
-.x-tree-show-line .x-tree-elbow-expander-end {
+.bui-tree-list .x-tree-show-line .x-tree-elbow-expander-end {
background-position: -20px -40px;
}
-.x-tree-show-line .bui-tree-item-expanded .x-tree-elbow-expander {
+.bui-tree-list .x-tree-show-line .bui-tree-item-expanded .x-tree-elbow-expander {
background-position: -40px -40px;
}
-.x-tree-show-line .bui-tree-item-expanded .x-tree-elbow-expander-end {
+.bui-tree-list .x-tree-show-line .bui-tree-item-expanded .x-tree-elbow-expander-end {
background-position: 0px -40px;
}
.bui-tree-list .bui-tree-item-loading .x-tree-elbow-expander {
@@ -16,4 +16,9 @@ input.bui-form-field-error,textarea.bui-form-field-error, .bui-form-field-error
.bui-form-field-disabled.calendar{
background-color: rgb(235, 235, 228);
+}
+
+.bui-form-feild-checklist .bui-list-item,.bui-form-feild-radiolist .bui-list-item{
+ .inline-block();
+ margin-right: 10px;
}
@@ -11,7 +11,7 @@
.bui-side-menu{
- .bui-menu-title,.bui-menu-title s,.menu-second a,.menu-second em{
+ .bui-menu-title,.bui-menu-title s,.menu-leaf a,.menu-leaf em{
background:url("@{menuPath}") -9999px -9999px no-repeat;
}
height: 100%;
@@ -22,6 +22,7 @@
a{
color: @menuColor;
+ cursor: pointer;
outline:none;
}
@@ -42,19 +43,10 @@
}
}
-
- .menu-second{
- padding-top:1px;
+ .menu-leaf{
outline:0;
-
-
- .bui-menu{
- margin-top:5px;
- }
- .bui-menu-item{
- outline:0;
- line-height:20px;
- a{
+ line-height:20px;
+ a{
height: 20px;
text-indent: 24px;
overflow: hidden;
@@ -68,19 +60,27 @@
overflow: hidden;
height: 19px;
line-height: 22px;
- cursor: pointer;
+
_line-height: 20px;
}
}
- }
+ }
- .bui-menu-item-selected a{
+ .bui-menu-item-selected a{
color: @white;
background-position: 0 -130px;
em{
background-position: right -100px;
}
}
+
+ .menu-second{
+ padding-top:1px;
+ outline:0;
+ cursor:pointer;
+ .bui-menu{
+ margin-top:5px;
+ }
}
Oops, something went wrong.

0 comments on commit f8be7f7

Please sign in to comment.