rails_admin_material 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +25 -0
  4. data/Rakefile +24 -0
  5. data/lib/rails_admin_material.rb +4 -0
  6. data/lib/rails_admin_material/engine.rb +4 -0
  7. data/lib/rails_admin_material/version.rb +3 -0
  8. data/vendor/assets/javascripts/rails_admin/themes/material/bootstrap-material-design/material.js +352 -0
  9. data/vendor/assets/javascripts/rails_admin/themes/material/bootstrap-material-design/material.min.js +2 -0
  10. data/vendor/assets/javascripts/rails_admin/themes/material/bootstrap-material-design/material.min.js.map +1 -0
  11. data/vendor/assets/javascripts/rails_admin/themes/material/bootstrap-material-design/ripples.js +324 -0
  12. data/vendor/assets/javascripts/rails_admin/themes/material/bootstrap-material-design/ripples.min.js +2 -0
  13. data/vendor/assets/javascripts/rails_admin/themes/material/bootstrap-material-design/ripples.min.js.map +1 -0
  14. data/vendor/assets/javascripts/rails_admin/themes/material/ui.js +6 -0
  15. data/vendor/assets/stylesheets/bootstrap/variables.scss +874 -0
  16. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_alerts.scss +19 -0
  17. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_buttons.scss +246 -0
  18. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_cards.scss +68 -0
  19. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_checkboxes.scss +272 -0
  20. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_colors-map.scss +311 -0
  21. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_colors.scss +361 -0
  22. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_core.scss +95 -0
  23. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_dialogs.scss +54 -0
  24. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_dividers.scss +73 -0
  25. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_form.scss +42 -0
  26. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_import-bs-less.scss +4 -0
  27. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_import-bs-sass.scss +1 -0
  28. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_inputs-size.scss +223 -0
  29. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_inputs.scss +354 -0
  30. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_labels.scss +6 -0
  31. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_lists.scss +104 -0
  32. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_mixins-utilities.scss +31 -0
  33. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_mixins.scss +242 -0
  34. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_navbar.scss +212 -0
  35. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_panels.scss +23 -0
  36. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_plugins.scss +7 -0
  37. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_popups.scss +20 -0
  38. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_progress.scss +12 -0
  39. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_radios.scss +117 -0
  40. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_shadows.scss +84 -0
  41. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_tabs.scss +26 -0
  42. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_themes.scss +8 -0
  43. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_togglebutton.scss +85 -0
  44. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_typography.scss +17 -0
  45. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_variables.scss +174 -0
  46. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_welljumbo.scss +28 -0
  47. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/bootstrap-material-design.scss +6 -0
  48. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/plugins/_plugin-dropdownjs.scss +17 -0
  49. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/plugins/_plugin-nouislider.scss +112 -0
  50. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/plugins/_plugin-selectize.scss +93 -0
  51. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/plugins/_plugin-snackbarjs.scss +34 -0
  52. data/vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/ripples.scss +38 -0
  53. data/vendor/assets/stylesheets/rails_admin/themes/material/mixins.scss +5 -0
  54. data/vendor/assets/stylesheets/rails_admin/themes/material/theming.scss +124 -0
  55. data/vendor/assets/stylesheets/rails_admin/themes/material/variables.scss +32 -0
  56. metadata +98 -0
@@ -0,0 +1,19 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ .alert {
4
+ border: 0;
5
+ border-radius: 0;
6
+
7
+ // SASS conversion note: please mirror any content change in _mixins-shared.scss alert-variations-content
8
+ @include alert-variations(unquote(".alert"), unquote(""), $mdb-text-color-light);
9
+
10
+ &-info, &-danger, &-warning, &-success {
11
+ color: $mdb-text-color-light;
12
+ }
13
+
14
+ &-default {
15
+ a, .alert-link {
16
+ color: $mdb-text-color-primary;
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,246 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ // specification: https://www.google.com/design/spec/components/buttons.html
4
+
5
+ @mixin typo-button($colorContrast: false){
6
+ font-size: $mdb-btn-font-size-base;
7
+ font-weight: 500;
8
+ text-transform: uppercase;
9
+ //line-height: 1;
10
+ letter-spacing: 0;
11
+
12
+ @if ($colorContrast) {
13
+ opacity: 0.87;
14
+ }
15
+ }
16
+
17
+ // mdb default buttons are flat by default
18
+ // synchronized with mdl 11/23/15
19
+ .btn,
20
+ .input-group-btn .btn {
21
+ border: none;
22
+ border-radius: $border-radius-base;
23
+ position: relative;
24
+ padding: 8px 30px;
25
+ margin: 10px 1px;
26
+ @include typo-button();
27
+ will-change: box-shadow, transform;
28
+ transition: box-shadow 0.2s $mdb-animation-curve-fast-out-linear-in,
29
+ background-color 0.2s $mdb-animation-curve-default,
30
+ color 0.2s $mdb-animation-curve-default;
31
+ outline: 0;
32
+ cursor: pointer;
33
+ text-decoration: none;
34
+
35
+ &::-moz-focus-inner {
36
+ border: 0;
37
+ }
38
+
39
+ //---
40
+ // btn-flat
41
+ background: transparent;
42
+ &:not(.btn-raised) {
43
+ @include variations(unquote(".btn"), unquote(""), color, $mdb-text-color-primary);
44
+ box-shadow: none;
45
+
46
+ &:not(.btn-link) {
47
+ &:hover,
48
+ &:focus {
49
+ // spec: flat/light bg Hover: 20% #999999
50
+ background-color: rgba(#999999, (20/100));
51
+
52
+ .theme-dark & {
53
+ // spec: dark bg Hover: 15% #CCCCCC
54
+ background-color: rgba(#CCCCCC, (15/100));
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ //--
61
+ // color variations
62
+ &.btn-raised,
63
+ &.btn-fab,
64
+ .btn-group-raised & {
65
+ @include background-variations(unquote(".btn"), unquote(""), $mdb-btn-background-color);
66
+ }
67
+
68
+ //---
69
+ // btn-raised
70
+ &.btn-raised,
71
+ .btn-group-raised & {
72
+ &:not(.btn-link) {
73
+ @include shadow-2dp();
74
+
75
+ // colors on hover, focus, active
76
+ &:hover,
77
+ &:focus,
78
+ &.active,
79
+ &:active {
80
+
81
+ outline: 0;
82
+
83
+ // FIXME: SPEC - this should be the 600 color, how can we get that programmatically if at all? Or are we limited to the color palette only?
84
+ // SASS conversion note: please mirror any content change in _mixins-shared.scss button-variations-content
85
+ @include button-variations(unquote(".btn"), "", $mdb-btn-background-color);
86
+
87
+ // Spec:
88
+ // - Raised Light/Light theme no hover.
89
+ // - Raised Dark/Dark theme Hover color: 600
90
+ .theme-dark & {
91
+ }
92
+ }
93
+
94
+ // shadow on active
95
+ &.active,
96
+ &:active {
97
+ &,
98
+ &:hover {
99
+ @include shadow-4dp();
100
+ }
101
+ }
102
+
103
+ // shadow on focus
104
+ // Focus should take precedence over active, so specificity is needed
105
+ &:focus {
106
+ &,
107
+ &.active,
108
+ &:active {
109
+ &,
110
+ &:hover {
111
+ @include focus-shadow();
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+ &.btn-fab {
119
+ // see above for color variations
120
+ border-radius: 50%;
121
+ font-size: $mdb-btn-fab-font-size;
122
+ height: $mdb-btn-fab-size;
123
+ margin: auto;
124
+ min-width: $mdb-btn-fab-size;
125
+ width: $mdb-btn-fab-size;
126
+ padding: 0;
127
+ overflow: hidden;
128
+ box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24);
129
+ position: relative;
130
+ line-height: normal;
131
+
132
+ .ripple-container {
133
+ border-radius: 50%;
134
+ }
135
+
136
+ &.btn-fab-mini,
137
+ .btn-group-sm & {
138
+ height: $mdb-btn-fab-size-mini;
139
+ min-width: $mdb-btn-fab-size-mini;
140
+ width: $mdb-btn-fab-size-mini;
141
+
142
+ &.material-icons {
143
+ top: ($mdb-btn-icon-size-mini - $mdb-btn-fab-font-size) / 2;
144
+ left: ($mdb-btn-icon-size-mini - $mdb-btn-fab-font-size) / 2;
145
+ }
146
+ }
147
+
148
+ i.material-icons {
149
+ position: absolute;
150
+ top: 50%;
151
+ left: 50%;
152
+ transform: translate(-($mdb-btn-fab-font-size / 2), -($mdb-btn-fab-font-size / 2));
153
+ line-height: $mdb-btn-fab-font-size;
154
+ width: $mdb-btn-fab-font-size;
155
+ }
156
+ }
157
+
158
+ // Align icons inside buttons with text
159
+ i.material-icons {
160
+ vertical-align: middle;
161
+ }
162
+
163
+ // Size variations
164
+ &.btn-lg,
165
+ .btn-group-lg & {
166
+ font-size: $mdb-btn-font-size-lg;
167
+ }
168
+ &.btn-sm,
169
+ .btn-group-sm & {
170
+ padding: 5px 20px;
171
+ font-size: $mdb-btn-font-size-sm;
172
+ }
173
+ &.btn-xs,
174
+ .btn-group-xs & {
175
+ padding: 4px 15px;
176
+ font-size: $mdb-btn-font-size-xs;
177
+ }
178
+ }
179
+
180
+ // Disabled buttons and button groups
181
+ .btn,
182
+ .input-group-btn .btn,
183
+ .btn-group,
184
+ .btn-group-vertical {
185
+ // have to ratchet up the specificity to kill drop shadows on disabled raised buttons
186
+ fieldset[disabled][disabled] &,
187
+ &.disabled,
188
+ &:disabled,
189
+ &[disabled][disabled] {
190
+ // spec: light theme: Disabled text: 26% #000000
191
+ color: rgba(#000000, (26/100));
192
+ .theme-dark & {
193
+ // spec: dark theme: Disabled text: 30% #FFFFFF
194
+ color: rgba(#FFFFFF, (30/100));
195
+ }
196
+
197
+ // flat buttons lose transparency
198
+ background: transparent;
199
+
200
+ // no box-shadow on raised - need specificity
201
+ &.btn-raised,
202
+ &.btn-group-raised {
203
+ &,
204
+ &.active,
205
+ &:active,
206
+ &:focus:not(:active) {
207
+ box-shadow: none;
208
+ }
209
+ }
210
+ }
211
+ }
212
+
213
+ // btn-group variations
214
+ .btn-group,
215
+ .btn-group-vertical {
216
+
217
+ position: relative;
218
+ //border-radius: 2px;
219
+ margin: 10px 1px;
220
+
221
+ // spec: https://www.google.com/design/spec/components/buttons.html#buttons-toggle-buttons
222
+ &.open {
223
+ .dropdown-toggle {
224
+ //box-shadow: none;
225
+ }
226
+
227
+ & > .dropdown-toggle.btn {
228
+ @include variations(unquote(".btn"), unquote(""), background-color, $mdb-btn-background-color);
229
+ }
230
+ }
231
+
232
+ .dropdown-menu {
233
+ border-radius: 0 0 $border-radius-base $border-radius-base;
234
+ }
235
+
236
+ &.btn-group-raised {
237
+ @include shadow-2dp();
238
+ }
239
+
240
+ & .btn + .btn,
241
+ .btn,
242
+ .btn:active,
243
+ .btn-group {
244
+ margin: 0;
245
+ }
246
+ }
@@ -0,0 +1,68 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ .card {
4
+
5
+ /***** Make height equal to width (http://stackoverflow.com/a/6615994) ****/
6
+
7
+ display: inline-block;
8
+ position: relative;
9
+ width: 100%;
10
+ .card-height-indicator {
11
+ margin-top: 100%;
12
+ }
13
+ .card-content {
14
+ position: absolute;
15
+ top: 0;
16
+ bottom: 0;
17
+ left: 0;
18
+ right: 0;
19
+ }
20
+
21
+ /**************************************************************************/
22
+
23
+
24
+ border-radius: $border-radius-base;
25
+ color: $mdb-card-body-text;
26
+ background: $mdb-card-body-background;
27
+
28
+ @include shadow-z-2();
29
+
30
+ .card-image {
31
+ height: 60%;
32
+ position: relative;
33
+ overflow: hidden;
34
+ img {
35
+ width: 100%;
36
+ height: 100%;
37
+ border-top-left-radius: 2px;
38
+ border-top-right-radius: 2px;
39
+ pointer-events: none;
40
+ }
41
+ .card-image-headline {
42
+ position: absolute;
43
+ bottom: 16px;
44
+ left: 18px;
45
+ color: $mdb-card-image-headline;
46
+ font-size: 2em;
47
+ }
48
+ }
49
+
50
+ .card-body {
51
+ height: 30%;
52
+ padding: 18px;
53
+ }
54
+
55
+ .card-footer {
56
+ height: 10%;
57
+ padding: 18px;
58
+ button, a {
59
+ margin: 0 !important;
60
+ position: relative;
61
+ bottom: 25px;
62
+ width: auto;
63
+ &:first-child {
64
+ left: -15px;
65
+ }
66
+ }
67
+ }
68
+ }
@@ -0,0 +1,272 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ // http://www.google.com/design/spec/components/selection-controls.html#selection-controls-checkbox
4
+
5
+ .checkbox label,
6
+ label.checkbox-inline {
7
+ cursor: pointer;
8
+ padding-left: 0; // Reset for Bootstrap rule
9
+ color: $mdb-checkbox-label-color;
10
+ @include mdb-label-color-toggle-focus();
11
+ }
12
+
13
+ .checkbox,
14
+ label.checkbox-inline {
15
+ // Hide native checkbox
16
+ input[type=checkbox] {
17
+ opacity: 0;
18
+ position: absolute;
19
+ margin: 0;
20
+ z-index: -1;
21
+ width: 0;
22
+ height: 0;
23
+ overflow: hidden;
24
+ left: 0;
25
+ pointer-events: none;
26
+ }
27
+
28
+ .checkbox-material {
29
+ vertical-align: middle;
30
+ position: relative;
31
+ top: 3px;
32
+ &:before { // FIXME: document why this is necessary (doesn't seem to be on chrome)
33
+ display: block;
34
+ position: absolute;
35
+ top:-5px;
36
+ left: 0;
37
+ content: "";
38
+ background-color: rgba(0, 0, 0, .84);
39
+ height: $mdb-checkbox-size;
40
+ width: $mdb-checkbox-size;
41
+ border-radius: 100%;
42
+ z-index: 1;
43
+ opacity: 0;
44
+ margin: 0;
45
+ transform: scale3d(2.3, 2.3, 1);
46
+ }
47
+
48
+ .check {
49
+ position: relative;
50
+ display: inline-block;
51
+ width: $mdb-checkbox-size;
52
+ height: $mdb-checkbox-size;
53
+ border: $mdb-checkbox-border-size solid $mdb-checkbox-border-color;
54
+ border-radius: $border-radius-base;
55
+ overflow: hidden;
56
+ z-index: 1;
57
+ }
58
+ .check:before {
59
+ position: absolute;
60
+ content: "";
61
+ transform: rotate(45deg);
62
+ display: block;
63
+ margin-top: -4px;
64
+ margin-left: 6px;
65
+ width: 0;
66
+ height: 0;
67
+ box-shadow:
68
+ 0 0 0 0,
69
+ 0 0 0 0,
70
+ 0 0 0 0,
71
+ 0 0 0 0,
72
+ 0 0 0 0,
73
+ 0 0 0 0,
74
+ 0 0 0 0 inset;
75
+ }
76
+ }
77
+
78
+ input[type=checkbox] {
79
+
80
+ &:focus + .checkbox-material .check:after {
81
+ opacity: 0.2;
82
+ }
83
+
84
+ &:focus{
85
+
86
+ &:checked{
87
+ & + .checkbox-material:before {
88
+ animation: rippleOn 500ms;
89
+ }
90
+ & + .checkbox-material .check:before {
91
+ animation: checkbox-on $mdb-checkbox-animation-check forwards;
92
+ }
93
+ & + .checkbox-material .check:after {
94
+ animation: rippleOn $mdb-checkbox-animation-ripple forwards; // Ripple effect on check
95
+ }
96
+ }
97
+
98
+ &:not(:checked) {
99
+ & + .checkbox-material:before {
100
+ animation: rippleOff 500ms;
101
+ }
102
+ & + .checkbox-material .check:before {
103
+ animation: checkbox-off $mdb-checkbox-animation-check forwards;
104
+ }
105
+ & + .checkbox-material .check:after {
106
+ animation: rippleOff $mdb-checkbox-animation-ripple forwards; // Ripple effect on uncheck
107
+ }
108
+ }
109
+
110
+ }
111
+
112
+
113
+ &:checked {
114
+
115
+ // FIXME: once working - combine further to reduce code
116
+ & + .checkbox-material .check {
117
+ color: $mdb-checkbox-checked-color;
118
+ border-color: $mdb-checkbox-checked-color;
119
+ }
120
+
121
+ & + .checkbox-material .check:before {
122
+ color: $mdb-checkbox-checked-color;
123
+ box-shadow:
124
+ 0 0 0 10px,
125
+ 10px -10px 0 10px,
126
+ 32px 0 0 20px,
127
+ 0px 32px 0 20px,
128
+ -5px 5px 0 10px,
129
+ 20px -12px 0 11px;
130
+ }
131
+
132
+ & + .checkbox-material .check:after {
133
+ //background-color: $brand-success; // FIXME: seems like tho wrong color, test and make sure it can be removed
134
+ }
135
+ }
136
+ }
137
+
138
+ // Style for disabled inputs
139
+ fieldset[disabled] &,
140
+ fieldset[disabled] & input[type=checkbox],
141
+ input[type=checkbox][disabled]:not(:checked) ~ .checkbox-material .check:before,
142
+ input[type=checkbox][disabled]:not(:checked) ~ .checkbox-material .check,
143
+ input[type=checkbox][disabled] + .circle {
144
+ opacity: 0.5;
145
+ }
146
+ input[type=checkbox][disabled] + .checkbox-material .check:after {
147
+ background-color: $mdb-text-color-primary;
148
+ transform: rotate(-45deg);
149
+ }
150
+ }
151
+
152
+ @keyframes checkbox-on {
153
+ 0% {
154
+ box-shadow:
155
+ 0 0 0 10px,
156
+ 10px -10px 0 10px,
157
+ 32px 0 0 20px,
158
+ 0px 32px 0 20px,
159
+ -5px 5px 0 10px,
160
+ 15px 2px 0 11px;
161
+ }
162
+ 50% {
163
+ box-shadow:
164
+ 0 0 0 10px,
165
+ 10px -10px 0 10px,
166
+ 32px 0 0 20px,
167
+ 0px 32px 0 20px,
168
+ -5px 5px 0 10px,
169
+ 20px 2px 0 11px;
170
+ }
171
+ 100% {
172
+ box-shadow:
173
+ 0 0 0 10px,
174
+ 10px -10px 0 10px,
175
+ 32px 0 0 20px,
176
+ 0px 32px 0 20px,
177
+ -5px 5px 0 10px,
178
+ 20px -12px 0 11px;
179
+ }
180
+ }
181
+
182
+ @keyframes checkbox-off {
183
+ 0% {
184
+ box-shadow:
185
+ 0 0 0 10px,
186
+ 10px -10px 0 10px,
187
+ 32px 0 0 20px,
188
+ 0px 32px 0 20px,
189
+ -5px 5px 0 10px,
190
+ 20px -12px 0 11px,
191
+ 0 0 0 0 inset;
192
+ }
193
+ 25% {
194
+ box-shadow:
195
+ 0 0 0 10px,
196
+ 10px -10px 0 10px,
197
+ 32px 0 0 20px,
198
+ 0px 32px 0 20px,
199
+ -5px 5px 0 10px,
200
+ 20px -12px 0 11px,
201
+ 0 0 0 0 inset;
202
+ }
203
+ 50% {
204
+ transform: rotate(45deg);
205
+ margin-top: -4px;
206
+ margin-left: 6px;
207
+ width: 0;
208
+ height: 0;
209
+ box-shadow:
210
+ 0 0 0 10px,
211
+ 10px -10px 0 10px,
212
+ 32px 0 0 20px,
213
+ 0px 32px 0 20px,
214
+ -5px 5px 0 10px,
215
+ 15px 2px 0 11px,
216
+ 0 0 0 0 inset;
217
+ }
218
+ 51% {
219
+ transform: rotate(0deg);
220
+ margin-top: -2px;
221
+ margin-left: -2px;
222
+ width: 20px;
223
+ height: 20px;
224
+ box-shadow:
225
+ 0 0 0 0,
226
+ 0 0 0 0,
227
+ 0 0 0 0,
228
+ 0 0 0 0,
229
+ 0 0 0 0,
230
+ 0 0 0 0,
231
+ 0px 0 0 10px inset;
232
+ }
233
+ 100% {
234
+ transform: rotate(0deg);
235
+ margin-top: -2px;
236
+ margin-left: -2px;
237
+ width: 20px;
238
+ height: 20px;
239
+ box-shadow:
240
+ 0 0 0 0,
241
+ 0 0 0 0,
242
+ 0 0 0 0,
243
+ 0 0 0 0,
244
+ 0 0 0 0,
245
+ 0 0 0 0,
246
+ 0px 0 0 0 inset;
247
+ }
248
+ }
249
+
250
+ @keyframes rippleOn {
251
+ 0% {
252
+ opacity: 0;
253
+ }
254
+ 50% {
255
+ opacity: 0.2;
256
+ }
257
+ 100% {
258
+ opacity: 0;
259
+ }
260
+ }
261
+
262
+ @keyframes rippleOff {
263
+ 0% {
264
+ opacity: 0;
265
+ }
266
+ 50% {
267
+ opacity: 0.2;
268
+ }
269
+ 100% {
270
+ opacity: 0;
271
+ }
272
+ }