material-ui 0.7.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +31 -0
  6. data/Rakefile +20 -0
  7. data/lib/material-ui.rb +4 -0
  8. data/material-ui-gem.gemspec +33 -0
  9. data/vendor/assets/javascripts/material-ui.js +1 -0
  10. data/vendor/assets/javascripts/material-ui/components/app-bar.jsx +93 -0
  11. data/vendor/assets/javascripts/material-ui/components/app-canvas.jsx +27 -0
  12. data/vendor/assets/javascripts/material-ui/components/checkbox.jsx +60 -0
  13. data/vendor/assets/javascripts/material-ui/components/date-picker/calendar-month.jsx +59 -0
  14. data/vendor/assets/javascripts/material-ui/components/date-picker/calendar-toolbar.jsx +64 -0
  15. data/vendor/assets/javascripts/material-ui/components/date-picker/calendar.jsx +194 -0
  16. data/vendor/assets/javascripts/material-ui/components/date-picker/date-display.jsx +79 -0
  17. data/vendor/assets/javascripts/material-ui/components/date-picker/date-picker-dialog.jsx +118 -0
  18. data/vendor/assets/javascripts/material-ui/components/date-picker/date-picker.jsx +116 -0
  19. data/vendor/assets/javascripts/material-ui/components/date-picker/day-button.jsx +49 -0
  20. data/vendor/assets/javascripts/material-ui/components/dialog-window.jsx +183 -0
  21. data/vendor/assets/javascripts/material-ui/components/dialog.jsx +54 -0
  22. data/vendor/assets/javascripts/material-ui/components/drop-down-icon.jsx +68 -0
  23. data/vendor/assets/javascripts/material-ui/components/drop-down-menu.jsx +94 -0
  24. data/vendor/assets/javascripts/material-ui/components/enhanced-button.jsx +147 -0
  25. data/vendor/assets/javascripts/material-ui/components/enhanced-switch.jsx +296 -0
  26. data/vendor/assets/javascripts/material-ui/components/enhanced-textarea.jsx +113 -0
  27. data/vendor/assets/javascripts/material-ui/components/flat-button.jsx +46 -0
  28. data/vendor/assets/javascripts/material-ui/components/floating-action-button.jsx +123 -0
  29. data/vendor/assets/javascripts/material-ui/components/font-icon.jsx +23 -0
  30. data/vendor/assets/javascripts/material-ui/components/icon-button.jsx +123 -0
  31. data/vendor/assets/javascripts/material-ui/components/ink-bar.jsx +25 -0
  32. data/vendor/assets/javascripts/material-ui/components/input.jsx +143 -0
  33. data/vendor/assets/javascripts/material-ui/components/left-nav.jsx +105 -0
  34. data/vendor/assets/javascripts/material-ui/components/menu/link-menu-item.jsx +42 -0
  35. data/vendor/assets/javascripts/material-ui/components/menu/menu-item.jsx +105 -0
  36. data/vendor/assets/javascripts/material-ui/components/menu/menu.jsx +325 -0
  37. data/vendor/assets/javascripts/material-ui/components/menu/subheader-menu-item.jsx +18 -0
  38. data/vendor/assets/javascripts/material-ui/components/mixins/classable.js +42 -0
  39. data/vendor/assets/javascripts/material-ui/components/mixins/click-awayable.js +35 -0
  40. data/vendor/assets/javascripts/material-ui/components/mixins/window-listenable.js +23 -0
  41. data/vendor/assets/javascripts/material-ui/components/overlay.jsx +58 -0
  42. data/vendor/assets/javascripts/material-ui/components/paper.jsx +58 -0
  43. data/vendor/assets/javascripts/material-ui/components/radio-button-group.jsx +112 -0
  44. data/vendor/assets/javascripts/material-ui/components/radio-button.jsx +65 -0
  45. data/vendor/assets/javascripts/material-ui/components/raised-button.jsx +102 -0
  46. data/vendor/assets/javascripts/material-ui/components/ripples/circle.jsx +35 -0
  47. data/vendor/assets/javascripts/material-ui/components/ripples/focus-ripple.jsx +40 -0
  48. data/vendor/assets/javascripts/material-ui/components/ripples/touch-ripple.jsx +174 -0
  49. data/vendor/assets/javascripts/material-ui/components/slider.jsx +178 -0
  50. data/vendor/assets/javascripts/material-ui/components/snackbar.jsx +76 -0
  51. data/vendor/assets/javascripts/material-ui/components/svg-icons/drop-down-arrow.jsx +16 -0
  52. data/vendor/assets/javascripts/material-ui/components/svg-icons/navigation-chevron-left.jsx +16 -0
  53. data/vendor/assets/javascripts/material-ui/components/svg-icons/navigation-chevron-right.jsx +17 -0
  54. data/vendor/assets/javascripts/material-ui/components/svg-icons/navigation-menu.jsx +16 -0
  55. data/vendor/assets/javascripts/material-ui/components/svg-icons/svg-icon.jsx +23 -0
  56. data/vendor/assets/javascripts/material-ui/components/svg-icons/toggle-check-box-checked.jsx +16 -0
  57. data/vendor/assets/javascripts/material-ui/components/svg-icons/toggle-check-box-outline-blank.jsx +16 -0
  58. data/vendor/assets/javascripts/material-ui/components/svg-icons/toggle-radio-button-off.jsx +16 -0
  59. data/vendor/assets/javascripts/material-ui/components/svg-icons/toggle-radio-button-on.jsx +16 -0
  60. data/vendor/assets/javascripts/material-ui/components/table-header.jsx +50 -0
  61. data/vendor/assets/javascripts/material-ui/components/table-rows-item.jsx +31 -0
  62. data/vendor/assets/javascripts/material-ui/components/table-rows.jsx +57 -0
  63. data/vendor/assets/javascripts/material-ui/components/tabs/tab.jsx +38 -0
  64. data/vendor/assets/javascripts/material-ui/components/tabs/tabTemplate.jsx +15 -0
  65. data/vendor/assets/javascripts/material-ui/components/tabs/tabs.jsx +96 -0
  66. data/vendor/assets/javascripts/material-ui/components/text-field.jsx +215 -0
  67. data/vendor/assets/javascripts/material-ui/components/toggle.jsx +62 -0
  68. data/vendor/assets/javascripts/material-ui/components/toolbar-group.jsx +28 -0
  69. data/vendor/assets/javascripts/material-ui/components/toolbar.jsx +21 -0
  70. data/vendor/assets/javascripts/material-ui/components/tooltip.jsx +58 -0
  71. data/vendor/assets/javascripts/material-ui/components/transition-groups/slide-in.jsx +48 -0
  72. data/vendor/assets/javascripts/material-ui/components/utils/css-event.js +52 -0
  73. data/vendor/assets/javascripts/material-ui/components/utils/date-time.js +132 -0
  74. data/vendor/assets/javascripts/material-ui/components/utils/dom.js +71 -0
  75. data/vendor/assets/javascripts/material-ui/components/utils/events.js +34 -0
  76. data/vendor/assets/javascripts/material-ui/components/utils/key-code.js +10 -0
  77. data/vendor/assets/javascripts/material-ui/components/utils/key-line.js +13 -0
  78. data/vendor/assets/javascripts/material-ui/components/utils/unique-id.js +7 -0
  79. data/vendor/assets/stylesheets/material-ui.less +2 -0
  80. data/vendor/assets/stylesheets/material-ui/components.less +5 -0
  81. data/vendor/assets/stylesheets/material-ui/components/app-bar.less +37 -0
  82. data/vendor/assets/stylesheets/material-ui/components/card.less +20 -0
  83. data/vendor/assets/stylesheets/material-ui/components/checkbox.less +66 -0
  84. data/vendor/assets/stylesheets/material-ui/components/components.less +37 -0
  85. data/vendor/assets/stylesheets/material-ui/components/date-picker/calendar-month.less +11 -0
  86. data/vendor/assets/stylesheets/material-ui/components/date-picker/calendar-toolbar.less +23 -0
  87. data/vendor/assets/stylesheets/material-ui/components/date-picker/calendar.less +59 -0
  88. data/vendor/assets/stylesheets/material-ui/components/date-picker/date-display.less +84 -0
  89. data/vendor/assets/stylesheets/material-ui/components/date-picker/date-picker-dialog.less +18 -0
  90. data/vendor/assets/stylesheets/material-ui/components/date-picker/date-picker.less +9 -0
  91. data/vendor/assets/stylesheets/material-ui/components/date-picker/day-button.less +35 -0
  92. data/vendor/assets/stylesheets/material-ui/components/dialog-window.less +42 -0
  93. data/vendor/assets/stylesheets/material-ui/components/dialog.less +10 -0
  94. data/vendor/assets/stylesheets/material-ui/components/drop-down-icon.less +43 -0
  95. data/vendor/assets/stylesheets/material-ui/components/drop-down-menu.less +77 -0
  96. data/vendor/assets/stylesheets/material-ui/components/enhanced-button.less +24 -0
  97. data/vendor/assets/stylesheets/material-ui/components/enhanced-switch.less +52 -0
  98. data/vendor/assets/stylesheets/material-ui/components/enhanced-textarea.less +16 -0
  99. data/vendor/assets/stylesheets/material-ui/components/flat-button.less +93 -0
  100. data/vendor/assets/stylesheets/material-ui/components/floating-action-button.less +95 -0
  101. data/vendor/assets/stylesheets/material-ui/components/font-icon.less +6 -0
  102. data/vendor/assets/stylesheets/material-ui/components/icon-button.less +46 -0
  103. data/vendor/assets/stylesheets/material-ui/components/ink-bar.less +9 -0
  104. data/vendor/assets/stylesheets/material-ui/components/input.less +186 -0
  105. data/vendor/assets/stylesheets/material-ui/components/left-nav.less +31 -0
  106. data/vendor/assets/stylesheets/material-ui/components/menu-item.less +69 -0
  107. data/vendor/assets/stylesheets/material-ui/components/menu.less +50 -0
  108. data/vendor/assets/stylesheets/material-ui/components/overlay.less +21 -0
  109. data/vendor/assets/stylesheets/material-ui/components/paper.less +59 -0
  110. data/vendor/assets/stylesheets/material-ui/components/radio-button.less +67 -0
  111. data/vendor/assets/stylesheets/material-ui/components/raised-button.less +132 -0
  112. data/vendor/assets/stylesheets/material-ui/components/ripples/circle.less +31 -0
  113. data/vendor/assets/stylesheets/material-ui/components/ripples/focus-ripple.less +30 -0
  114. data/vendor/assets/stylesheets/material-ui/components/ripples/touch-ripple.less +9 -0
  115. data/vendor/assets/stylesheets/material-ui/components/slider.less +163 -0
  116. data/vendor/assets/stylesheets/material-ui/components/snackbar.less +44 -0
  117. data/vendor/assets/stylesheets/material-ui/components/subheader.less +17 -0
  118. data/vendor/assets/stylesheets/material-ui/components/svg-icon.less +11 -0
  119. data/vendor/assets/stylesheets/material-ui/components/table.less +46 -0
  120. data/vendor/assets/stylesheets/material-ui/components/tabs.less +41 -0
  121. data/vendor/assets/stylesheets/material-ui/components/text-field.less +168 -0
  122. data/vendor/assets/stylesheets/material-ui/components/toggle.less +83 -0
  123. data/vendor/assets/stylesheets/material-ui/components/toolbar.less +95 -0
  124. data/vendor/assets/stylesheets/material-ui/components/tooltip.less +73 -0
  125. data/vendor/assets/stylesheets/material-ui/components/transition-groups/slide-in.less +92 -0
  126. data/vendor/assets/stylesheets/material-ui/core/base.less +31 -0
  127. data/vendor/assets/stylesheets/material-ui/core/core.less +4 -0
  128. data/vendor/assets/stylesheets/material-ui/core/keylines.less +29 -0
  129. data/vendor/assets/stylesheets/material-ui/core/layouts.less +12 -0
  130. data/vendor/assets/stylesheets/material-ui/core/typography.less +158 -0
  131. data/vendor/assets/stylesheets/material-ui/mixins/clearfix.less +22 -0
  132. data/vendor/assets/stylesheets/material-ui/mixins/mixins.less +3 -0
  133. data/vendor/assets/stylesheets/material-ui/mixins/no-wrap.less +3 -0
  134. data/vendor/assets/stylesheets/material-ui/mixins/transitions.less +17 -0
  135. data/vendor/assets/stylesheets/material-ui/resets/normalize.css +430 -0
  136. data/vendor/assets/stylesheets/material-ui/resets/typography-resets.less +34 -0
  137. data/vendor/assets/stylesheets/material-ui/scaffolding.less +10 -0
  138. data/vendor/assets/stylesheets/material-ui/variables/colors.less +285 -0
  139. data/vendor/assets/stylesheets/material-ui/variables/custom-variables.less +163 -0
  140. data/vendor/assets/stylesheets/material-ui/variables/media-queries.less +4 -0
  141. data/vendor/assets/stylesheets/material-ui/variables/spacing.less +16 -0
  142. metadata +268 -0
@@ -0,0 +1,31 @@
1
+ .mui-left-nav {
2
+
3
+ .mui-left-nav-menu {
4
+ height: 100%;
5
+ position: fixed;
6
+ width: @left-nav-width;
7
+ background-color: @left-nav-color;
8
+ z-index: 10;
9
+ left: 0px;
10
+ top: 0px;
11
+ .ease-out();
12
+
13
+ .mui-menu {
14
+ .mui-menu-item {
15
+ height: @desktop-left-nav-menu-item-height;
16
+ line-height: @desktop-left-nav-menu-item-height;
17
+ }
18
+ a.mui-menu-item {
19
+ display: block;
20
+ text-decoration: none;
21
+ color: @body-text-color;
22
+ }
23
+ }
24
+ }
25
+
26
+ &.mui-closed {
27
+ .mui-left-nav-menu {
28
+ transform: translate3d((-1 * @left-nav-width) - 10px, 0, 0);
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,69 @@
1
+ .mui-menu-item {
2
+
3
+ * { user-select: none }
4
+
5
+ cursor: pointer;
6
+ line-height: @menu-item-height;
7
+ padding-left: @menu-item-padding;
8
+ padding-right: @menu-item-padding;
9
+ background-color: fade(@menu-item-hover-color, 0%);
10
+
11
+ &:hover {
12
+ &:not(.mui-is-disabled) {
13
+ background-color: @menu-item-hover-color;
14
+ }
15
+ }
16
+
17
+ .mui-menu-item-number {
18
+ float: right;
19
+ width: 24px;
20
+ text-align: center;
21
+ }
22
+
23
+ .mui-menu-item-attribute {
24
+ float: right;
25
+ }
26
+
27
+ .mui-menu-item-icon-right {
28
+ line-height: @menu-item-height;
29
+ float: right;
30
+ }
31
+
32
+ .mui-menu-item-icon {
33
+ float: left;
34
+ line-height: @menu-item-height;
35
+ margin-right: @desktop-gutter;
36
+ }
37
+
38
+ .mui-menu-item-data {
39
+ display: block;
40
+ padding-left: (@desktop-gutter * 2);
41
+ line-height: @menu-item-data-height;
42
+ height: @menu-item-data-height;
43
+ vertical-align: top;
44
+ top: -12px;
45
+ position: relative;
46
+ .mui-font-weight-light;
47
+ }
48
+
49
+ .muidocs-icon-custom-arrow-drop-right {
50
+ margin-right: (@desktop-gutter-mini * -1);
51
+ color: @drop-down-menu-icon-color;
52
+ }
53
+
54
+ .mui-toggle {
55
+ margin-top: ((@menu-item-height - @radio-button-size) / 2);
56
+ float: right;
57
+ width: 42px;
58
+ }
59
+
60
+ &.mui-is-selected {
61
+ color: @menu-item-selected-text-color;
62
+ }
63
+
64
+ &.mui-is-disabled {
65
+ color: @disabled-color !important;
66
+ cursor: default;
67
+ }
68
+
69
+ }
@@ -0,0 +1,50 @@
1
+ .mui-menu {
2
+
3
+ * { .ease-out; }
4
+
5
+ background-color: @menu-background-color;
6
+
7
+ &.mui-menu-hideable {
8
+ opacity: 0;
9
+ position: absolute;
10
+ top: 0;
11
+ z-index: 1;
12
+
13
+ .mui-paper-container {
14
+ overflow: hidden;
15
+ padding: 0;
16
+ }
17
+
18
+ &.mui-visible {
19
+ & > .mui-paper-container {
20
+ padding-top: @desktop-gutter-mini;
21
+ padding-bottom: @desktop-gutter-mini;
22
+ }
23
+ }
24
+ }
25
+
26
+ .mui-paper-container {
27
+ padding-top: @desktop-gutter-mini;
28
+ padding-bottom: @desktop-gutter-mini;
29
+ }
30
+
31
+ .mui-subheader {
32
+ padding-left: @menu-subheader-padding;
33
+ padding-right: @menu-subheader-padding;
34
+ }
35
+
36
+ .mui-nested-menu-item {
37
+ position: relative;
38
+
39
+ &.mui-is-disabled {
40
+ color: @disabled-color;
41
+ cursor: default;
42
+ }
43
+
44
+ &.mui-open {
45
+ & > .mui-menu {
46
+ opacity: 1;
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,21 @@
1
+ .mui-overlay {
2
+ position: fixed;
3
+ height: 100%;
4
+ width: 100%;
5
+ z-index: 9;
6
+ top: 0px;
7
+
8
+ left: -100%;
9
+ background-color: rgba(0, 0, 0, 0);
10
+ transition:
11
+ left 0ms @ease-out-function 400ms,
12
+ background-color 400ms @ease-out-function 0ms;
13
+
14
+ &.mui-is-shown {
15
+ left: 0px;
16
+ background-color: @light-black;
17
+ transition:
18
+ left 0ms @ease-out-function 0ms,
19
+ background-color 400ms @ease-out-function 0ms;
20
+ }
21
+ }
@@ -0,0 +1,59 @@
1
+ .mui-paper {
2
+
3
+ &.mui-rounded {
4
+ border-radius: 2px;
5
+
6
+ & > .mui-paper-container {
7
+ border-radius: 2px;
8
+ }
9
+ }
10
+
11
+ &.mui-circle {
12
+ border-radius: 50%;
13
+
14
+ & > .mui-paper-container {
15
+ border-radius: 50%;
16
+ }
17
+ }
18
+
19
+ & > .mui-paper-container {
20
+ height: 100%;
21
+ width: 100%;
22
+ }
23
+
24
+ &.mui-z-depth-1 {
25
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
26
+ & > .mui-z-depth-bottom {
27
+ box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
28
+ }
29
+ }
30
+
31
+ &.mui-z-depth-2 {
32
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.23);
33
+ & > .mui-z-depth-bottom {
34
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
35
+ }
36
+ }
37
+
38
+ &.mui-z-depth-3 {
39
+ box-shadow: 0 6px 10px rgba(0, 0, 0, 0.23);
40
+ & > .mui-z-depth-bottom {
41
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.19);
42
+ }
43
+ }
44
+
45
+ &.mui-z-depth-4 {
46
+ box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
47
+ & > .mui-z-depth-bottom {
48
+ box-shadow: 0 14px 45px rgba(0, 0, 0, 0.25);
49
+ }
50
+ }
51
+
52
+ &.mui-z-depth-5 {
53
+ box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22);
54
+ & > .mui-z-depth-bottom {
55
+ box-shadow: 0 19px 60px rgba(0, 0, 0, 0.30);
56
+ }
57
+ }
58
+
59
+ }
@@ -0,0 +1,67 @@
1
+ .mui-radio-button {
2
+ .mui-radio-button-icon {
3
+ @radio-button-size: 24px;
4
+
5
+ height: @radio-button-size;
6
+ width: @radio-button-size;
7
+ margin-right: @desktop-gutter-less;
8
+
9
+
10
+ .mui-radio-button-fill {
11
+ position: absolute;
12
+ opacity: 0;
13
+ transform: scale(0);
14
+ transform-origin: 50% 50%;
15
+ .ease-out;
16
+ * { fill: @radio-button-checked-color; }
17
+ }
18
+
19
+ .mui-radio-button-target {
20
+ .ease-out();
21
+ position: absolute;
22
+ opacity: 1;
23
+ transform: scale(1);
24
+ * {
25
+ fill: @radio-button-border-color;
26
+ .ease-out(@duration: 2s; @delay: 200ms);
27
+ }
28
+ }
29
+ }
30
+
31
+ &.mui-is-switched {
32
+ .mui-radio-button-icon {
33
+ .mui-radio-button-fill {
34
+ opacity: 1;
35
+ transform: scale(1);
36
+ }
37
+
38
+ .mui-radio-button-target {
39
+ opacity: 0;
40
+ transform: scale(0);
41
+ * {
42
+ fill: @radio-button-checked-color;
43
+ .ease-out(@duration: 100s; @delay: 0ms);
44
+ }
45
+ }
46
+ }
47
+ }
48
+
49
+ &.mui-is-disabled {
50
+ .mui-radio-button-icon {
51
+ .mui-radio-button-fill,
52
+ .mui-radio-button-target {
53
+ * { fill: @radio-button-disabled-color; }
54
+ }
55
+ }
56
+ }
57
+
58
+ &.mui-is-required {
59
+ .mui-radio-button-icon {
60
+ .mui-radio-button-target {
61
+ * { fill: @radio-button-required-color; }
62
+ }
63
+ }
64
+ }
65
+ }
66
+
67
+
@@ -0,0 +1,132 @@
1
+ .mui-raised-button {
2
+
3
+ display: inline-block;
4
+ min-width: @button-min-width;
5
+ height: @button-height;
6
+
7
+ &, * { .ease-out(); }
8
+
9
+ .mui-raised-button-container {
10
+ position: relative;
11
+ width: 100%;
12
+ padding: 0;
13
+ overflow: hidden;
14
+ border-radius: 2px;
15
+ background-color: @raised-button-color;
16
+
17
+ //This is need so that ripples do not bleed
18
+ //past border radius.
19
+ //See: http://stackoverflow.com/questions/17298739/css-overflow-hidden-not-working-in-chrome-when-parent-has-border-radius-and-chil
20
+ transform: translate3d(0, 0, 0);
21
+
22
+ &.mui-is-keyboard-focused {
23
+ background-color: @raised-button-hover-color;
24
+ }
25
+
26
+ &.mui-is-disabled {
27
+ background-color: @raised-button-disabled-color;
28
+
29
+ .mui-raised-button-label {
30
+ color: @raised-button-disabled-text-color;
31
+ }
32
+
33
+ &:hover {
34
+ background-color: @raised-button-disabled-color;
35
+ }
36
+ }
37
+ }
38
+
39
+ .mui-touch-ripple {
40
+ .mui-ripple-circle-inner {
41
+ background-color: @raised-button-ripple-color;
42
+ }
43
+ }
44
+
45
+ .mui-focus-ripple {
46
+ .mui-focus-ripple-inner {
47
+ background-color: @raised-button-focus-ripple-color;
48
+ }
49
+ }
50
+
51
+ .mui-raised-button-label {
52
+ position: relative;
53
+ .mui-font-style-button;
54
+ margin: 0;
55
+ padding: 0 @desktop-gutter-less;
56
+ user-select: none;
57
+ line-height: @button-height;
58
+ color: @raised-button-text-color;
59
+ }
60
+
61
+ &:hover {
62
+ .mui-raised-button-container {
63
+ background-color: @raised-button-hover-color;
64
+ }
65
+ }
66
+
67
+ &.mui-is-primary {
68
+
69
+ .mui-raised-button-container {
70
+ background-color: @raised-button-primary-color;
71
+
72
+ &.mui-is-keyboard-focused {
73
+ background-color: @raised-button-primary-hover-color;
74
+ }
75
+ }
76
+
77
+ .mui-touch-ripple {
78
+ .mui-ripple-circle-inner {
79
+ background-color: @raised-button-primary-ripple-color;
80
+ }
81
+ }
82
+
83
+ .mui-focus-ripple {
84
+ .mui-focus-ripple-inner {
85
+ background-color: @raised-button-primary-focus-ripple-color;
86
+ }
87
+ }
88
+
89
+ .mui-raised-button-label {
90
+ color: @raised-button-primary-text-color;
91
+ }
92
+
93
+ &:hover {
94
+ .mui-raised-button-container {
95
+ background-color: @raised-button-primary-hover-color;
96
+ }
97
+ }
98
+ }
99
+
100
+ &.mui-is-secondary {
101
+
102
+ .mui-raised-button-container {
103
+ background-color: @raised-button-secondary-color;
104
+
105
+ &.mui-is-keyboard-focused {
106
+ background-color: @raised-button-secondary-hover-color;
107
+ }
108
+ }
109
+
110
+ .mui-touch-ripple {
111
+ .mui-ripple-circle-inner {
112
+ background-color: @raised-button-secondary-ripple-color;
113
+ }
114
+ }
115
+
116
+ .mui-focus-ripple {
117
+ .mui-focus-ripple-inner {
118
+ background-color: @raised-button-secondary-focus-ripple-color;
119
+ }
120
+ }
121
+
122
+ .mui-raised-button-label {
123
+ color: @raised-button-secondary-text-color;
124
+ }
125
+
126
+ &:hover {
127
+ .mui-raised-button-container {
128
+ background-color: @raised-button-secondary-hover-color;
129
+ }
130
+ }
131
+ }
132
+ }
@@ -0,0 +1,31 @@
1
+ .mui-ripple-circle {
2
+ position: absolute;
3
+ top: 0;
4
+ left: 0;
5
+ height: 100%;
6
+ width: 100%;
7
+ opacity: 0.7;
8
+ .ease-out(@property: opacity; @duration: 2s);
9
+
10
+ .mui-ripple-circle-inner {
11
+ height: 100%;
12
+ width: 100%;
13
+ border-radius: 50%;
14
+ transform: scale(0);
15
+ background-color: rgba(0,0,0,0.2);
16
+ .ease-out(@property: transform; @duration: 1s);
17
+ }
18
+
19
+ &.mui-is-started {
20
+ opacity: 1;
21
+
22
+ .mui-ripple-circle-inner {
23
+ transform: scale(1);
24
+ }
25
+ }
26
+
27
+ &.mui-is-ending {
28
+ opacity: 0;
29
+ }
30
+
31
+ }