Permalink
Browse files

feature: Merged latest MDL/JS master

  • Loading branch information...
MikeMitterer committed Sep 21, 2015
1 parent 6025ec0 commit 288dc40f292b996f480b46aebcb22605f9126d3e
Showing with 1,479 additions and 293 deletions.
  1. +9 −9 lib/assets/styles/footer/_mega_footer.orig.scss
  2. +4 −0 lib/assets/styles/grid/README.md
  3. +28 −0 lib/assets/styles/grid/_grid.orig.scss
  4. +257 −2 lib/assets/styles/material.css
  5. +1 −1 lib/assets/styles/material.min.css
  6. +0 −1 lib/assets/styles/switch/_switch.orig.scss
  7. +1 −0 lib/assets/styles/variables/_variables.orig.scss
  8. +1 −0 lib/assets/styles/variables/_variables.scss
  9. +11 −11 lib/src/components/MaterialDataTable.dart
  10. +11 −11 lib/src/components/MaterialDivDataTable.dart
  11. +13 −4 lib/src/components/MaterialLayout.dart
  12. +2 −2 lib/src/components/MaterialMenu.dart
  13. +8 −0 lib/src/components/MaterialTextfield.dart
  14. +4 −0 samples/mdl_grid/web/README.md
  15. +1 −1 samples/mdlo_list/pubspec.yaml
  16. +257 −2 samples/mdlx_forms/web/demo.css
  17. +20 −0 samples/styleguide/.sitegen/html/_partials/usage/grid/readme.html
  18. +20 −0 samples/styleguide/web/views/usage/grid.html
  19. +253 −2 tool/demobase/material.css
  20. +1 −1 tool/demobase/material.min.css
  21. +5 −3 tool/jsbase/button.js
  22. +14 −6 tool/jsbase/checkbox.js
  23. +26 −23 tool/jsbase/data-table.js
  24. +16 −6 tool/jsbase/icon-toggle.js
  25. +27 −7 tool/jsbase/layout.js
  26. +13 −9 tool/jsbase/menu.js
  27. +10 −5 tool/jsbase/progress.js
  28. +15 −7 tool/jsbase/radio.js
  29. +28 −3 tool/jsbase/ripple.js
  30. +10 −6 tool/jsbase/slider.js
  31. +8 −4 tool/jsbase/spinner.js
  32. +14 −5 tool/jsbase/switch.js
  33. +11 −3 tool/jsbase/tabs.js
  34. +30 −6 tool/jsbase/textfield.js
  35. +4 −3 tool/jsbase/tooltip.js
  36. +5 −3 tool/portbase/button.js.dart
  37. +14 −7 tool/portbase/checkbox.js.dart
  38. +28 −25 tool/portbase/data-table.js.dart
  39. +16 −7 tool/portbase/icon-toggle.js.dart
  40. +21 −7 tool/portbase/layout.js.dart
  41. +137 −47 tool/portbase/mdlComponentHandler.js.dart
  42. +12 −9 tool/portbase/menu.js.dart
  43. +10 −5 tool/portbase/progress.js.dart
  44. +15 −8 tool/portbase/radio.js.dart
  45. +16 −3 tool/portbase/ripple.js.dart
  46. +11 −7 tool/portbase/slider.js.dart
  47. +8 −4 tool/portbase/spinner.js.dart
  48. +14 −6 tool/portbase/switch.js.dart
  49. +9 −3 tool/portbase/tabs.js.dart
  50. +26 −6 tool/portbase/textfield.js.dart
  51. +4 −3 tool/portbase/tooltip.js.dart
@@ -262,21 +262,21 @@
&~.mdl-mega-footer--heading:after,
&~.mdl-mega-footer__heading:after {
background-image: none;
content: '';
}
}
.mdl-mega-footer--heading-checkbox:checked,
.mdl-mega-footer__heading-checkbox:checked {
&~ul {
display: block;
}
&~.mdl-mega-footer--heading:after,
&~.mdl-mega-footer__heading:after {
content: '';
&~ul {
display: block;
}
&~.mdl-mega-footer--heading:after,
&~.mdl-mega-footer__heading:after {
content: '';
}
}
}
}
.mdl-mega-footer--bottom-section,
.mdl-mega-footer__bottom-section {
@@ -110,6 +110,10 @@ The MDL CSS classes apply various predefined visual enhancements and behavioral
| `mdl-cell--N-offset-desktop` | Adds N columns of whitespace before the cell in desktop mode | N is 1-11 inclusive; optional on "inner" div elements|
| `mdl-cell--N-offset-tablet` | Adds N columns of whitespace before the cell in tablet mode | N is 1-7 inclusive; optional on "inner" div elements|
| `mdl-cell--N-offset-phone` | Adds N columns of whitespace before the cell in phone mode | N is 1-3 inclusive; optional on "inner" div elements|
| `mdl-cell--order-N` | Reorders cell to position N | N is 1-12 inclusive; optional on "inner" div elements|
| `mdl-cell--order-N-desktop` | Reorders cell to position N when in desktop mode | N is 1-12 inclusive; optional on "inner" div elements|
| `mdl-cell--order-N-tablet` | Reorders cell to position N when in tablet mode | N is 1-12 inclusive; optional on "inner" div elements|
| `mdl-cell--order-N-phone` | Reorders cell to position N when in phone mode | N is 1-12 inclusive; optional on "inner" div elements|
| `mdl-cell--hide-desktop` | Hides the cell when in desktop mode | Optional on "inner" div elements |
| `mdl-cell--hide-tablet` | Hides the cell when in tablet mode | Optional on "inner" div elements |
| `mdl-cell--hide-phone` | Hides the cell when in phone mode | Optional on "inner" div elements |
@@ -58,6 +58,13 @@
margin: 0;
}
// Define order override classes.
@for $i from 1 through $grid-max-columns {
.mdl-cell--order-#{$i} {
order: $i;
}
}
// Mixins for width calculation.
@mixin partial-size($size, $columns, $gutter) {
@@ -99,6 +106,13 @@
display: none !important;
}
// Define order override classes.
@for $i from 1 through $grid-max-columns {
.mdl-cell--order-#{$i}-phone.mdl-cell--order-#{$i}-phone {
order: $i;
}
}
// Define partial sizes for columnNumber < totalColumns.
@for $i from 1 through ($grid-phone-columns - 1) {
.mdl-cell--#{$i}-col,
@@ -142,6 +156,13 @@
display: none !important;
}
// Define order override classes.
@for $i from 1 through $grid-max-columns {
.mdl-cell--order-#{$i}-tablet.mdl-cell--order-#{$i}-tablet {
order: $i;
}
}
// Define partial sizes for columnNumber < totalColumns.
@for $i from 1 through ($grid-tablet-columns - 1) {
.mdl-cell--#{$i}-col,
@@ -185,6 +206,13 @@
display: none !important;
}
// Define order override classes.
@for $i from 1 through $grid-max-columns {
.mdl-cell--order-#{$i}-desktop.mdl-cell--order-#{$i}-desktop {
order: $i;
}
}
// Define partial sizes for all numbers of columns.
@for $i from 1 through $grid-desktop-columns {
.mdl-cell--#{$i}-col,
Oops, something went wrong.

0 comments on commit 288dc40

Please sign in to comment.