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,23 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ .panel {
4
+ border-radius: 2px;
5
+ border: 0;
6
+
7
+ @include variations(unquote(".panel"), unquote(" > .panel-heading"), background-color, $grey-200);
8
+ @include shadow-z-1;
9
+ }
10
+
11
+
12
+ [class*="panel-"] > .panel-heading {
13
+ color: $mdb-text-color-light;
14
+ border: 0;
15
+ }
16
+ .panel-default, .panel:not([class*="panel-"]) {
17
+ > .panel-heading {
18
+ color: $mdb-text-color-primary;
19
+ }
20
+ }
21
+ .panel-footer {
22
+ background-color: $grey-200;
23
+ }
@@ -0,0 +1,7 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ // External plugins
4
+ @import 'plugins/_plugin-snackbarjs';
5
+ @import 'plugins/_plugin-nouislider';
6
+ @import 'plugins/_plugin-selectize';
7
+ @import 'plugins/_plugin-dropdownjs';
@@ -0,0 +1,20 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ .popover, .tooltip-inner {
4
+ color: $mdb-popover-color;
5
+ line-height: 1em;
6
+ background: $mdb-popover-background;
7
+ border: none;
8
+ border-radius: $border-radius-base;
9
+ @include shadow-z-1();
10
+ }
11
+
12
+ .tooltip, .tooltip.in {
13
+ opacity: 1;
14
+ }
15
+
16
+ .popover, .tooltip {
17
+ .arrow, .tooltip-arrow {
18
+ display: none;
19
+ }
20
+ }
@@ -0,0 +1,12 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ .progress {
4
+ height: 4px;
5
+ border-radius: 0;
6
+ box-shadow: none;
7
+ background: #c8c8c8;
8
+ .progress-bar {
9
+ box-shadow: none;
10
+ @include variations(unquote(".progress-bar"), unquote(""), background-color, $brand-primary);
11
+ }
12
+ }
@@ -0,0 +1,117 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ @mixin radio-color($color, $opacity){
4
+ & ~ .check,
5
+ & ~ .circle {
6
+ opacity: $opacity;
7
+ }
8
+
9
+ & ~ .check {
10
+ background-color: $color;
11
+ }
12
+
13
+ & ~ .circle {
14
+ border-color: $color;
15
+ }
16
+ }
17
+
18
+ .radio label, label.radio-inline {
19
+ cursor: pointer;
20
+ padding-left: 45px;
21
+ position: relative;
22
+ color: $mdb-radio-label-color;
23
+ @include mdb-label-color-toggle-focus();
24
+ }
25
+
26
+ .radio, label.radio-inline {
27
+ span {
28
+ display: block;
29
+ position: absolute;
30
+ left: 10px;
31
+ top: 2px;
32
+ transition-duration: 0.2s;
33
+ }
34
+ .circle {
35
+ border: 2px solid $mdb-radio-color-off;
36
+ height: 15px;
37
+ width: 15px;
38
+ border-radius: 100%;
39
+ }
40
+ .check {
41
+ height: 15px;
42
+ width: 15px;
43
+ border-radius: 100%;
44
+ background-color: $mdb-radio-color-on;
45
+ transform: scale3d(0, 0, 0);
46
+ }
47
+ .check:after {
48
+ display: block;
49
+ position: absolute;
50
+ content: "";
51
+ background-color: $mdb-text-color-primary;
52
+ left: -18px;
53
+ top: -18px;
54
+ height: 50px;
55
+ width: 50px;
56
+ border-radius: 100%;
57
+ z-index: 1;
58
+ opacity: 0;
59
+ margin: 0;
60
+ transform: scale3d(1.5, 1.5, 1);
61
+ }
62
+
63
+ input[type=radio]:focus:not(:checked) ~ .check:after {
64
+ animation: rippleOff 500ms;
65
+ }
66
+ input[type=radio]:focus:checked ~ .check:after {
67
+ animation: rippleOn 500ms;
68
+ }
69
+
70
+ input[type=radio] {
71
+ opacity: 0;
72
+ height: 0;
73
+ width: 0;
74
+ overflow: hidden;
75
+
76
+ &:checked {
77
+ @include radio-color($mdb-radio-color-on, 1);
78
+ }
79
+ &:checked ~ .check {
80
+ transform: scale3d(0.55, 0.55, 1);
81
+ }
82
+ }
83
+
84
+ input[type=radio][disabled] {
85
+
86
+ // light theme spec: Disabled: #000000, Opacity 26%
87
+ @include radio-color($black, 0.26);
88
+
89
+ // dark theme spec: Disabled: #FFFFFF, Opacity 30%
90
+ .theme-dark & {
91
+ @include radio-color($white, 0.30);
92
+ }
93
+ }
94
+ }
95
+
96
+ @keyframes rippleOn {
97
+ 0% {
98
+ opacity: 0;
99
+ }
100
+ 50% {
101
+ opacity: 0.2;
102
+ }
103
+ 100% {
104
+ opacity: 0;
105
+ }
106
+ }
107
+ @keyframes rippleOff {
108
+ 0% {
109
+ opacity: 0;
110
+ }
111
+ 50% {
112
+ opacity: 0.2;
113
+ }
114
+ 100% {
115
+ opacity: 0;
116
+ }
117
+ }
@@ -0,0 +1,84 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ @mixin shadow-z-1(){
4
+ box-shadow:
5
+ 0 1px 6px 0 rgba(0, 0, 0, 0.12),
6
+ 0 1px 6px 0 rgba(0, 0, 0, 0.12);
7
+ }
8
+
9
+ @mixin shadow-z-1-hover(){
10
+ box-shadow:
11
+ 0 5px 11px 0 rgba(0, 0, 0, 0.18),
12
+ 0 4px 15px 0 rgba(0, 0, 0, 0.15);
13
+ }
14
+
15
+ @mixin shadow-z-2(){
16
+ box-shadow:
17
+ 0 8px 17px 0 rgba(0, 0, 0, 0.2),
18
+ 0 6px 20px 0 rgba(0, 0, 0, 0.19);
19
+ }
20
+
21
+ @mixin shadow-z-3(){
22
+ box-shadow:
23
+ 0 12px 15px 0 rgba(0, 0, 0, 0.24),
24
+ 0 17px 50px 0 rgba(0, 0, 0, 0.19);
25
+ }
26
+
27
+ @mixin shadow-z-4(){
28
+ box-shadow:
29
+ 0 16px 28px 0 rgba(0, 0, 0, 0.22),
30
+ 0 25px 55px 0 rgba(0, 0, 0, 0.21);
31
+ }
32
+
33
+ @mixin shadow-z-5(){
34
+ box-shadow:
35
+ 0 27px 24px 0 rgba(0, 0, 0, 0.2),
36
+ 0 40px 77px 0 rgba(0, 0, 0, 0.22);
37
+ }
38
+
39
+
40
+ /* Shadows (from mdl http://www.getmdl.io/) */
41
+
42
+ // Focus shadow mixin.
43
+ @mixin focus-shadow(){
44
+ box-shadow: 0 0 8px rgba(0,0,0,.18),
45
+ 0 8px 16px rgba(0,0,0,.36);
46
+ }
47
+
48
+ @mixin shadow-2dp(){
49
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
50
+ 0 3px 1px -2px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity),
51
+ 0 1px 5px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity);
52
+ }
53
+ @mixin shadow-3dp(){
54
+ box-shadow: 0 3px 4px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
55
+ 0 3px 3px -2px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity),
56
+ 0 1px 8px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity);
57
+ }
58
+ @mixin shadow-4dp(){
59
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
60
+ 0 1px 10px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
61
+ 0 2px 4px -1px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
62
+ }
63
+ @mixin shadow-6dp(){
64
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
65
+ 0 1px 18px 0 rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
66
+ 0 3px 5px -1px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
67
+ }
68
+ @mixin shadow-8dp(){
69
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
70
+ 0 3px 14px 2px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
71
+ 0 5px 5px -3px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
72
+ }
73
+
74
+ @mixin shadow-16dp(){
75
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
76
+ 0 6px 30px 5px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
77
+ 0 8px 10px -5px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
78
+ }
79
+
80
+ @mixin shadow-24dp(){
81
+ box-shadow: 0 9px 46px 8px rgba(0, 0, 0, $mdb-shadow-key-penumbra-opacity),
82
+ 0 11px 15px -7px rgba(0, 0, 0, $mdb-shadow-ambient-shadow-opacity),
83
+ 0 24px 38px 3px rgba(0, 0, 0, $mdb-shadow-key-umbra-opacity);
84
+ }
@@ -0,0 +1,26 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ .nav-tabs {
4
+ background: $brand-primary;
5
+ > li {
6
+ > a {
7
+ color: #FFFFFF;
8
+ border: 0;
9
+ margin: 0;
10
+ &:hover {
11
+ background-color: transparent;
12
+ border: 0;
13
+ }
14
+ }
15
+ & > a, & > a:hover, & > a:focus {
16
+ background-color: transparent !important;
17
+ border: 0 !important;
18
+ color: #FFFFFF !important;
19
+ font-weight: 500;
20
+ }
21
+ &.disabled > a, &.disabled > a:hover {
22
+ color: rgba(255,255,255,0.5);
23
+ }
24
+ }
25
+
26
+ }
@@ -0,0 +1,8 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ // by default, assume light-theme, no need for a marker class.
4
+
5
+ // this is mostly a marker class, add it to something like the body or container. Subordinates will look for this marker - see buttons
6
+ .theme-dark {
7
+
8
+ }
@@ -0,0 +1,85 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ .togglebutton {
4
+ vertical-align: middle;
5
+ &, label, input, .toggle {
6
+ user-select: none;
7
+ }
8
+ label {
9
+ cursor: pointer;
10
+ color: $mdb-toggle-label-color;
11
+ @include mdb-label-color-toggle-focus();
12
+
13
+ // Hide original checkbox
14
+ input[type=checkbox] {
15
+ opacity: 0;
16
+ width: 0;
17
+ height: 0;
18
+ }
19
+
20
+ .toggle {
21
+ text-align: left; // Issue #737 horizontal form
22
+ }
23
+ // Switch bg off and disabled
24
+ .toggle,
25
+ input[type=checkbox][disabled] + .toggle {
26
+ content: "";
27
+ display: inline-block;
28
+ width: 30px;
29
+ height: 15px;
30
+ background-color: rgba(80, 80, 80, 0.7);
31
+ border-radius: 15px;
32
+ margin-right: 15px;
33
+ transition: background 0.3s ease;
34
+ vertical-align: middle;
35
+ }
36
+ // Handle off
37
+ .toggle:after {
38
+ content: "";
39
+ display: inline-block;
40
+ width: 20px;
41
+ height: 20px;
42
+ background-color: #F1F1F1;
43
+ border-radius: 20px;
44
+ position: relative;
45
+ box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
46
+ left: -5px;
47
+ top: -2px;
48
+ transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease;
49
+ }
50
+ input[type=checkbox] {
51
+ // Handle disabled
52
+ &[disabled] {
53
+ & + .toggle:after,
54
+ &:checked + .toggle:after {
55
+ background-color: #BDBDBD;
56
+ }
57
+ }
58
+
59
+ & + .toggle:active:after,
60
+ &[disabled] + .toggle:active:after {
61
+ box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 0, 0, 0.1);
62
+ }
63
+
64
+ // Ripple off and disabled
65
+ &:checked + .toggle:after {
66
+ left: 15px;
67
+ }
68
+ }
69
+
70
+ // set bg when checked
71
+ input[type=checkbox]:checked {
72
+ + .toggle {
73
+ background-color: rgba($brand-primary, (50/100)); // Switch bg on
74
+ }
75
+
76
+ + .toggle:after {
77
+ background-color: $brand-primary; // Handle on
78
+ }
79
+
80
+ + .toggle:active:after {
81
+ box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba($brand-primary, (10/100)); // Ripple on
82
+ }
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,17 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ .text-warning {
4
+ color: $brand-warning;
5
+ }
6
+ .text-primary {
7
+ color: $brand-primary;
8
+ }
9
+ .text-danger {
10
+ color: $brand-danger;
11
+ }
12
+ .text-success {
13
+ color: $brand-success;
14
+ }
15
+ .text-info {
16
+ color: $brand-info;
17
+ }
@@ -0,0 +1,174 @@
1
+ // This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
2
+
3
+ @import '_colors';
4
+
5
+ // Typography elements
6
+ $mdb-font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif !default;
7
+ $mdb-text-color-light: unquote("rgba(#{$rgb-white}, 0.84)") !default;
8
+ $mdb-text-color-light-hex: $white !default; // for contrast function in inverse
9
+ $mdb-text-color-primary: unquote("rgba(#{$rgb-black}, 0.87)") !default;
10
+ $mdb-text-color-primary-hex: $black !default; // for contrast function in inverse
11
+ $icon-color: rgba(0,0,0,0.5) !default;
12
+
13
+
14
+ $mdb-label-color: unquote("rgba(#{$rgb-black}, 0.26)") !default;
15
+ $mdb-label-color-toggle-focus: unquote("rgba(#{$rgb-black}, .54)") !default;
16
+
17
+
18
+ // import bs variables for less, last declared wins.
19
+ @import '_import-bs-less';
20
+
21
+ //---
22
+ // Converted bs variables
23
+
24
+ // Bootstrap brand color customization
25
+ $brand-primary: $teal !default;
26
+ $brand-success: $green !default;
27
+ $brand-danger: $red !default;
28
+ $brand-warning: $deep-orange !default;
29
+ $brand-info: $light-blue !default;
30
+
31
+ $border-radius-base: 2px !default;
32
+ $border-radius-small: 1px !default;
33
+
34
+ // Typography
35
+ $font-family-sans-serif: 'Roboto', 'Helvetica', 'Arial', sans-serif !default;
36
+ $headings-font-weight: 300 !default;
37
+
38
+ $body-bg: #EEEEEE !default;
39
+ //---
40
+
41
+ // import bs variables for sass, first declared wins.
42
+ @import '_import-bs-sass';
43
+
44
+ // Bootstrap Material Design variables start with mdb-
45
+ $mdb-brand-inverse: $indigo !default;
46
+
47
+
48
+ /* ANIMATION */
49
+ $mdb-animation-curve-fast-out-slow-in: cubic-bezier(0.4, 0, 0.2, 1) !default;
50
+ $mdb-animation-curve-linear-out-slow-in: cubic-bezier(0, 0, 0.2, 1) !default;
51
+ $mdb-animation-curve-fast-out-linear-in: cubic-bezier(0.4, 0, 1, 1) !default;
52
+ $mdb-animation-curve-default: $mdb-animation-curve-fast-out-slow-in !default;
53
+
54
+
55
+ //---
56
+ // FIXME: Similar but not quite the same as Bootstrap variables
57
+ // FIXME: these need to either a) be converted to $mdb- or b) converted to bs variables
58
+ $contrast-factor: 40% !default;
59
+ //---
60
+
61
+
62
+
63
+
64
+ // --------------------
65
+ // inputs
66
+ $mdb-input-placeholder-color: #BDBDBD !default;
67
+ $mdb-input-underline-color: #D2D2D2 !default;
68
+ $mdb-label-static-size-ratio: 75 / 100 !default;
69
+ $mdb-help-block-size-ratio: 75 / 100 !default;
70
+
71
+ $mdb-input-font-size-base: 16px !default;
72
+ $mdb-input-font-size-large: ceil(($font-size-base * 1.25)) !default; // ~20px
73
+ $mdb-input-font-size-small: ceil(($font-size-base * 0.75)) !default; // ~12px
74
+
75
+ // FIXME: with #733 customization of bootstrap, consider how these could be based on the original bs customized variables
76
+ //** Unit-less `line-height` for use in components like buttons.
77
+ $mdb-input-line-height-base: $line-height-base; //1.428571429 !default; // 20/14
78
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
79
+ $mdb-input-line-height-computed: floor(($mdb-input-font-size-base * $mdb-input-line-height-base)) !default; // ~20px
80
+ $mdb-input-line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
81
+ $mdb-input-line-height-small: 1.5 !default;
82
+
83
+ //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
84
+ $mdb-input-padding-base-vertical: 8px - 1px !default; // was 6.
85
+ $mdb-input-padding-base-horizontal: 0 !default; // was 12.
86
+ $mdb-label-as-placeholder-shim-base: 0 !default; // manual adjustment of label top when positioned as placeholder
87
+ $mdb-label-top-margin-base: 16px !default;
88
+
89
+ $mdb-input-padding-large-vertical: 10px - 1px !default; // 10
90
+ $mdb-input-padding-large-horizontal: 0 !default; // 16
91
+ $mdb-label-as-placeholder-shim-large: -4px !default; // manual adjustment of label top when positioned as placeholder
92
+ $mdb-label-top-margin-large: 16px !default;
93
+
94
+ $mdb-input-padding-small-vertical: 4px - 1px !default; // 5
95
+ $mdb-input-padding-small-horizontal: 0 !default; // 10
96
+ $mdb-label-as-placeholder-shim-small: 8px !default; // manual adjustment of label top when positioned as placeholder
97
+ $mdb-label-top-margin-small: 12px !default;
98
+
99
+ $mdb-input-padding-xs-vertical: 2px !default; // 1
100
+ $mdb-input-padding-xs-horizontal: 0 !default; // 5
101
+
102
+ $mdb-input-border-radius-base: 0 !default;
103
+ $mdb-input-border-radius-large: 0 !default;
104
+ $mdb-input-border-radius-small: 0 !default;
105
+
106
+
107
+ //** Default `.form-control` height
108
+ $mdb-input-height-base: ($mdb-input-line-height-computed + ($mdb-input-padding-base-vertical * 2) + 2) !default;
109
+ //** Large `.form-control` height
110
+ $mdb-input-height-large: (ceil($mdb-input-font-size-large * $mdb-input-line-height-large) + ($mdb-input-padding-large-vertical * 2) + 2) !default;
111
+ //** Small `.form-control` height
112
+ $mdb-input-height-small: (floor($mdb-input-font-size-small * $mdb-input-line-height-small) + ($mdb-input-padding-small-vertical * 2) + 2) !default;
113
+
114
+
115
+
116
+
117
+ // Card
118
+ $mdb-card-body-text: $mdb-text-color-primary !default;
119
+ $mdb-card-body-background: #fff !default;
120
+ $mdb-card-image-headline: #fff !default;
121
+
122
+ $text-disabled: #a8a8a8 !default;
123
+ $background-disabled: #eaeaea !default;
124
+
125
+ // Checkboxes
126
+ $mdb-checkbox-size: 20px !default;
127
+ $mdb-checkbox-animation-ripple: 500ms !default;
128
+ $mdb-checkbox-animation-check: 0.3s !default;
129
+ $mdb-checkbox-checked-color: $brand-primary !default;
130
+
131
+ $mdb-checkbox-border-size: 2px !default;
132
+ $mdb-checkbox-label-color: $mdb-label-color !default;
133
+ $mdb-checkbox-border-color: $mdb-label-color-toggle-focus !default;
134
+
135
+ // Popovers and Popups
136
+ $mdb-popover-background: rgba(101, 101, 101, 0.9) !default;
137
+ $mdb-popover-color: #ececec !default;
138
+
139
+ // Dropdown Menu
140
+ $mdb-dropdown-font-size: 16px !default;
141
+
142
+ // Toggle
143
+ $mdb-toggle-label-color: $mdb-label-color !default;
144
+
145
+ // Radio:
146
+ $mdb-radio-label-color: $mdb-label-color !default;
147
+ $mdb-radio-color-off: $mdb-label-color-toggle-focus !default;
148
+ $mdb-radio-color-on: $brand-primary !default;
149
+
150
+ // Buttons:
151
+ $mdb-btn-font-size-base: 14px !default;
152
+ $mdb-btn-font-size-lg: 16px !default;
153
+ $mdb-btn-font-size-sm: 12px !default;
154
+ $mdb-btn-font-size-xs: 10px !default;
155
+
156
+
157
+ $mdb-btn-background-color: $body-bg; //transparent !default;
158
+ $mdb-btn-background-color-text: $mdb-text-color-primary !default;
159
+
160
+
161
+ $mdl-btn-border-radus: 2px !default;
162
+ //$mdb-btn-primary-color: unquote("rgba(#{$rgb-grey-500}, 0.20)") !default;
163
+
164
+ $mdb-btn-fab-size: 56px !default;
165
+ $mdb-btn-fab-size-mini: 40px !default;
166
+ $mdb-btn-fab-font-size: 24px !default;
167
+
168
+ $mdb-btn-icon-size: 32px !default;
169
+ $mdb-btn-icon-size-mini: 24px !default;
170
+
171
+ /* SHADOWS */
172
+ $mdb-shadow-key-umbra-opacity: 0.2 !default;
173
+ $mdb-shadow-key-penumbra-opacity: 0.14 !default;
174
+ $mdb-shadow-ambient-shadow-opacity: 0.12 !default;