materialize-rails 0.97.5.custom1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/Gemfile +3 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +63 -0
  6. data/Rakefile +1 -0
  7. data/lib/materialize-rails.rb +25 -0
  8. data/lib/materialize-rails/engine.rb +14 -0
  9. data/lib/materialize-rails/version.rb +3 -0
  10. data/materialize-rails.gemspec +25 -0
  11. data/vendor/assets/fonts/materialize/material-design-icons/LICENSE.txt +428 -0
  12. data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.eot +0 -0
  13. data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.svg +769 -0
  14. data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.ttf +0 -0
  15. data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.woff +0 -0
  16. data/vendor/assets/fonts/materialize/material-design-icons/Material-Design-Icons.woff2 +0 -0
  17. data/vendor/assets/fonts/materialize/roboto/Roboto-Bold.eot +0 -0
  18. data/vendor/assets/fonts/materialize/roboto/Roboto-Bold.ttf +0 -0
  19. data/vendor/assets/fonts/materialize/roboto/Roboto-Bold.woff +0 -0
  20. data/vendor/assets/fonts/materialize/roboto/Roboto-Bold.woff2 +0 -0
  21. data/vendor/assets/fonts/materialize/roboto/Roboto-Light.eot +0 -0
  22. data/vendor/assets/fonts/materialize/roboto/Roboto-Light.ttf +0 -0
  23. data/vendor/assets/fonts/materialize/roboto/Roboto-Light.woff +0 -0
  24. data/vendor/assets/fonts/materialize/roboto/Roboto-Light.woff2 +0 -0
  25. data/vendor/assets/fonts/materialize/roboto/Roboto-Medium.eot +0 -0
  26. data/vendor/assets/fonts/materialize/roboto/Roboto-Medium.ttf +0 -0
  27. data/vendor/assets/fonts/materialize/roboto/Roboto-Medium.woff +0 -0
  28. data/vendor/assets/fonts/materialize/roboto/Roboto-Medium.woff2 +0 -0
  29. data/vendor/assets/fonts/materialize/roboto/Roboto-Regular.eot +0 -0
  30. data/vendor/assets/fonts/materialize/roboto/Roboto-Regular.ttf +0 -0
  31. data/vendor/assets/fonts/materialize/roboto/Roboto-Regular.woff +0 -0
  32. data/vendor/assets/fonts/materialize/roboto/Roboto-Regular.woff2 +0 -0
  33. data/vendor/assets/fonts/materialize/roboto/Roboto-Thin.eot +0 -0
  34. data/vendor/assets/fonts/materialize/roboto/Roboto-Thin.ttf +0 -0
  35. data/vendor/assets/fonts/materialize/roboto/Roboto-Thin.woff +0 -0
  36. data/vendor/assets/fonts/materialize/roboto/Roboto-Thin.woff2 +0 -0
  37. data/vendor/assets/javascripts/materialize.js +30 -0
  38. data/vendor/assets/javascripts/materialize/animation.js +9 -0
  39. data/vendor/assets/javascripts/materialize/buttons.js +91 -0
  40. data/vendor/assets/javascripts/materialize/cards.js +29 -0
  41. data/vendor/assets/javascripts/materialize/carousel.js +350 -0
  42. data/vendor/assets/javascripts/materialize/character_counter.js +59 -0
  43. data/vendor/assets/javascripts/materialize/chips.js +9 -0
  44. data/vendor/assets/javascripts/materialize/collapsible.js +137 -0
  45. data/vendor/assets/javascripts/materialize/date_picker/picker.date.js +1430 -0
  46. data/vendor/assets/javascripts/materialize/date_picker/picker.js +1123 -0
  47. data/vendor/assets/javascripts/materialize/dropdown.js +228 -0
  48. data/vendor/assets/javascripts/materialize/forms.js +581 -0
  49. data/vendor/assets/javascripts/materialize/global.js +45 -0
  50. data/vendor/assets/javascripts/materialize/hammer.min.js +1 -0
  51. data/vendor/assets/javascripts/materialize/initial.js +11 -0
  52. data/vendor/assets/javascripts/materialize/jquery.easing.1.3.js +205 -0
  53. data/vendor/assets/javascripts/materialize/jquery.hammer.js +33 -0
  54. data/vendor/assets/javascripts/materialize/leanModal.js +178 -0
  55. data/vendor/assets/javascripts/materialize/materialbox.js +269 -0
  56. data/vendor/assets/javascripts/materialize/parallax.js +58 -0
  57. data/vendor/assets/javascripts/materialize/pushpin.js +62 -0
  58. data/vendor/assets/javascripts/materialize/scrollFire.js +44 -0
  59. data/vendor/assets/javascripts/materialize/scrollspy.js +285 -0
  60. data/vendor/assets/javascripts/materialize/sideNav.js +315 -0
  61. data/vendor/assets/javascripts/materialize/slider.js +321 -0
  62. data/vendor/assets/javascripts/materialize/tabs.js +129 -0
  63. data/vendor/assets/javascripts/materialize/toasts.js +136 -0
  64. data/vendor/assets/javascripts/materialize/tooltip.js +203 -0
  65. data/vendor/assets/javascripts/materialize/transitions.js +154 -0
  66. data/vendor/assets/javascripts/materialize/velocity.min.js +5 -0
  67. data/vendor/assets/javascripts/materialize/waves.js +338 -0
  68. data/vendor/assets/stylesheets/components/_buttons.scss +181 -0
  69. data/vendor/assets/stylesheets/components/_cards.scss +134 -0
  70. data/vendor/assets/stylesheets/components/_carousel.scss +34 -0
  71. data/vendor/assets/stylesheets/components/_chips.scss +27 -0
  72. data/vendor/assets/stylesheets/components/_collapsible.scss +85 -0
  73. data/vendor/assets/stylesheets/components/_color.scss +412 -0
  74. data/vendor/assets/stylesheets/components/_dropdown.scss +57 -0
  75. data/vendor/assets/stylesheets/components/_form.scss +918 -0
  76. data/vendor/assets/stylesheets/components/_global.scss +766 -0
  77. data/vendor/assets/stylesheets/components/_grid.scss +146 -0
  78. data/vendor/assets/stylesheets/components/_icons-material-design.scss +3263 -0
  79. data/vendor/assets/stylesheets/components/_materialbox.scss +42 -0
  80. data/vendor/assets/stylesheets/components/_mixins.scss +5 -0
  81. data/vendor/assets/stylesheets/components/_modal.scss +90 -0
  82. data/vendor/assets/stylesheets/components/_navbar.scss +171 -0
  83. data/vendor/assets/stylesheets/components/_normalize.scss +427 -0
  84. data/vendor/assets/stylesheets/components/_prefixer.scss +384 -0
  85. data/vendor/assets/stylesheets/components/_preloader.scss +334 -0
  86. data/vendor/assets/stylesheets/components/_roboto.scss +49 -0
  87. data/vendor/assets/stylesheets/components/_sideNav.scss +112 -0
  88. data/vendor/assets/stylesheets/components/_slider.scss +92 -0
  89. data/vendor/assets/stylesheets/components/_table_of_contents.scss +33 -0
  90. data/vendor/assets/stylesheets/components/_tabs.scss +56 -0
  91. data/vendor/assets/stylesheets/components/_toast.scss +65 -0
  92. data/vendor/assets/stylesheets/components/_tooltip.scss +33 -0
  93. data/vendor/assets/stylesheets/components/_typography.scss +61 -0
  94. data/vendor/assets/stylesheets/components/_variables.scss +161 -0
  95. data/vendor/assets/stylesheets/components/_waves.scss +173 -0
  96. data/vendor/assets/stylesheets/components/date_picker/_default.date.scss +435 -0
  97. data/vendor/assets/stylesheets/components/date_picker/_default.scss +201 -0
  98. data/vendor/assets/stylesheets/components/date_picker/_default.time.scss +125 -0
  99. data/vendor/assets/stylesheets/materialize.scss +40 -0
  100. metadata +199 -0
@@ -0,0 +1,61 @@
1
+
2
+ a {
3
+ text-decoration: none;
4
+ }
5
+
6
+ html{
7
+ line-height: 1.5;
8
+
9
+ @media only screen and (min-width: 0) {
10
+ font-size: 14px;
11
+ }
12
+
13
+ @media only screen and (min-width: $medium-screen) {
14
+ font-size: 14.5px;
15
+ }
16
+
17
+ @media only screen and (min-width: $large-screen) {
18
+ font-size: 15px;
19
+ }
20
+
21
+ font-family: "Roboto", sans-serif;
22
+ font-weight: normal;
23
+ color: $off-black;
24
+ }
25
+ h1, h2, h3, h4, h5, h6 {
26
+ font-weight: 400;
27
+ line-height: 1.1;
28
+ }
29
+
30
+ // Header Styles
31
+ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
32
+ h1 { font-size: $h1-fontsize; line-height: 110%; margin: ($h1-fontsize / 2) 0 ($h1-fontsize / 2.5) 0;}
33
+ h2 { font-size: $h2-fontsize; line-height: 110%; margin: ($h2-fontsize / 2) 0 ($h2-fontsize / 2.5) 0;}
34
+ h3 { font-size: $h3-fontsize; line-height: 110%; margin: ($h3-fontsize / 2) 0 ($h3-fontsize / 2.5) 0;}
35
+ h4 { font-size: $h4-fontsize; line-height: 110%; margin: ($h4-fontsize / 2) 0 ($h4-fontsize / 2.5) 0;}
36
+ h5 { font-size: $h5-fontsize; line-height: 110%; margin: ($h5-fontsize / 2) 0 ($h5-fontsize / 2.5) 0;}
37
+ h6 { font-size: $h6-fontsize; line-height: 110%; margin: ($h6-fontsize / 2) 0 ($h6-fontsize / 2.5) 0;}
38
+
39
+ // Text Styles
40
+ em { font-style: italic; }
41
+ strong { font-weight: 500; }
42
+ small { font-size: 75%; }
43
+ .light { font-weight: 300; }
44
+ .thin { font-weight: 200; }
45
+
46
+
47
+ .flow-text{
48
+ font-weight: 300;
49
+ $i: 0;
50
+ @while $i <= $intervals {
51
+ @media only screen and (min-width : 360 + ($i * $interval-size)) {
52
+ font-size: 1.2rem * (1 + (.02 * $i));
53
+ }
54
+ $i: $i + 1;
55
+ }
56
+
57
+ // Handle below 360px screen
58
+ @media only screen and (max-width: 360px) {
59
+ font-size: 1.2rem;
60
+ }
61
+ }
@@ -0,0 +1,161 @@
1
+ /*** Colors ***/
2
+ $primary-color: color("materialize-red", "lighten-2") !default;
3
+ $primary-color-light: lighten($primary-color, 15%) !default;
4
+ $primary-color-dark: darken($primary-color, 15%) !default;
5
+
6
+ $secondary-color: color("teal", "lighten-1") !default;
7
+ $success-color: color("green", "base") !default;
8
+ $error-color: color("red", "base") !default;
9
+ $link-color: color("light-blue", "darken-1") !default;
10
+
11
+ /*** Badges ***/
12
+ $badge-bg-color: $secondary-color !default;
13
+
14
+ /*** Buttons ***/
15
+ $button-bg-color-disabled: #DFDFDF !default;
16
+ $button-color: $secondary-color !default;
17
+ $button-color-disabled: #9F9F9F !default;
18
+ $button-color-flat: #343434 !default;
19
+ $button-color-raised: #fff !default;
20
+ $button-floating-size: 37px !default;
21
+ $button-height: 36px !default;
22
+ $button-font-size-shared: 1.3rem !default;
23
+ $button-large-icon-font-size: 1.6rem !default;
24
+ $button-line-height: 36px !default;
25
+
26
+ /*** Cards ***/
27
+ $card-padding: 20px !default;
28
+ $card-bg-color: #fff !default;
29
+ $card-link-color: color("orange", "accent-2") !default;
30
+ $card-link-color-light: lighten($card-link-color, 20%) !default;
31
+
32
+ /*** Collapsible ***/
33
+ $collapsible-height: 3rem !default;
34
+ $collapsible-header-color: #fff !default;
35
+ $collapsible-border-color: #ddd !default;
36
+
37
+ /*** Chips ***/
38
+ $chip-bg-color: #e4e4e4 !default;
39
+
40
+ /*** Date Picker ***/
41
+ $datepicker-weekday-bg: darken($secondary_color, 7%) !default;
42
+ $datepicker-date-bg: $secondary_color !default;
43
+ $datepicker-year: rgba(255, 255, 255, .4) !default;
44
+ $datepicker-focus: rgba(0,0,0, .05) !default;
45
+ $datepicker-selected: $secondary-color !default;
46
+ $datepicker-selected-outfocus: desaturate(lighten($secondary-color, 35%), 15%) !default;
47
+
48
+ /*** Dropdown ***/
49
+ $dropdown-bg-color: #fff !default;
50
+ $dropdown-hover-bg-color: #eee !default;
51
+ $dropdown-color: $secondary-color !default;
52
+ $dropdown-item-height: 50px !default;
53
+
54
+ /*** Fonts ***/
55
+ $roboto-font-path: "materialize/roboto/" !default;
56
+ $icons-font-path: "materialize/material-design-icons/" !default;
57
+
58
+ /*** Forms ***/
59
+ // Text Inputs + Textarea
60
+ $input-border-color: color("grey", "base") !default;
61
+ $input-bg-color: #fff !default;
62
+ $input-error-color: $error-color !default;
63
+ $input-success-color: $success-color !default;
64
+ $input-focus-color: $secondary-color !default;
65
+ $label-font-size: .8rem !default;
66
+ $input-disabled-color: rgba(0,0,0, .26) !default;
67
+ $input-disabled-solid-color: #BDBDBD !default;
68
+
69
+ // Radio Buttons
70
+ $radio-fill-color: $secondary-color !default;
71
+ $radio-empty-color: #5a5a5a !default;
72
+
73
+ // Switches
74
+ $switch-bg-color: $secondary-color !default;
75
+ $switch-checked-lever-bg: desaturate(lighten($secondary-color, 25%), 25%) !default;
76
+ $switch-unchecked-bg: #F1F1F1 !default;
77
+ $switch-unchecked-lever-bg: #818181 !default;
78
+
79
+
80
+ /*** Global ***/
81
+ // Media Query Ranges
82
+ $small-screen-up: 601px !default;
83
+ $medium-screen-up: 993px !default;
84
+ $large-screen-up: 1201px !default;
85
+ $small-screen: 600px !default;
86
+ $medium-screen: 992px !default;
87
+ $large-screen: 1200px !default;
88
+
89
+ $medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
90
+ $large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
91
+ $small-and-down: "only screen and (max-width : #{$small-screen})" !default;
92
+ $medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
93
+ $medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
94
+
95
+ // Grid Variables
96
+ $num-cols: 12 !default;
97
+ $gutter-width: 1.5rem !default;
98
+ $element-top-margin: $gutter-width/3 !default;
99
+ $element-bottom-margin: ($gutter-width*2)/3 !default;
100
+
101
+ /*** Navbar ***/
102
+ $navbar-height: 64px !default;
103
+ $navbar-height-mobile: 56px !default;
104
+ $navbar-font-color: #fff !default;
105
+ $navbar-brand-font-size: 2.1rem !default;
106
+
107
+ /*** SideNav ***/
108
+ $sidenav-bg-color: #fff !default;
109
+ $sidenav-padding-right: 15px !default;
110
+ $sidenav-item-height: 64px !default;
111
+
112
+ /*** Photo Slider ***/
113
+ $slider-bg-color: color('grey', 'base') !default;
114
+ $slider-bg-color-light: color('grey', 'lighten-2') !default;
115
+ $slider-indicator-color: color('green', 'base') !default;
116
+
117
+ /*** Spinners | Loaders ***/
118
+ $spinner-default-color: $secondary-color !default;
119
+
120
+ /*** Tabs ***/
121
+ $tabs-underline-color: $primary-color-light !default;
122
+ $tabs-text-color: $primary-color !default;
123
+ $tabs-bg-color: #fff !default;
124
+
125
+ /*** Tables ***/
126
+ $table-border-color: #d0d0d0 !default;
127
+ $table-striped-color: #f2f2f2 !default;
128
+
129
+ /*** Toasts ***/
130
+ $toast-height: 48px !default;
131
+ $toast-color: #323232 !default;
132
+ $toast-text-color: #fff !default;
133
+
134
+ /*** Typography ***/
135
+ $off-black: rgba(0, 0, 0, 0.87) !default;
136
+ // Header Styles
137
+ $h1-fontsize: 4.2rem !default;
138
+ $h2-fontsize: 3.56rem !default;
139
+ $h3-fontsize: 2.92rem !default;
140
+ $h4-fontsize: 2.28rem !default;
141
+ $h5-fontsize: 1.64rem !default;
142
+ $h6-fontsize: 1rem !default;
143
+
144
+ // Footer
145
+ $footer-bg-color: $primary-color !default;
146
+
147
+ // Flowtext
148
+ $range : $large-screen - $small-screen !default;
149
+ $intervals: 20 !default;
150
+ $interval-size: $range / $intervals !default;
151
+
152
+ /*** Collections ***/
153
+ $collection-border-color: #e0e0e0 !default;
154
+ $collection-bg-color: #fff !default;
155
+ $collection-active-bg-color: $secondary-color !default;
156
+ $collection-active-color: lighten($secondary-color, 55%) !default;
157
+ $collection-hover-bg-color: #ddd !default;
158
+ $collection-link-color: $secondary-color !default;
159
+
160
+ /* Progress Bar */
161
+ $progress-bar-color: $secondary-color !default;
@@ -0,0 +1,173 @@
1
+
2
+ /*!
3
+ * Waves v0.6.0
4
+ * http://fian.my.id/Waves
5
+ *
6
+ * Copyright 2014 Alfiana E. Sibuea and other contributors
7
+ * Released under the MIT license
8
+ * https://github.com/fians/Waves/blob/master/LICENSE
9
+ */
10
+
11
+
12
+ .waves-effect {
13
+ position: relative;
14
+ cursor: pointer;
15
+ display: inline-block;
16
+ overflow: hidden;
17
+ -webkit-user-select: none;
18
+ -moz-user-select: none;
19
+ -ms-user-select: none;
20
+ user-select: none;
21
+ -webkit-tap-highlight-color: transparent;
22
+ // white-space: nowrap;
23
+ // outline: 0;
24
+
25
+ vertical-align: middle;
26
+ // cursor: pointer;
27
+ // border: none;
28
+ // outline: none;
29
+ // color: inherit;
30
+ // background-color: rgba(0, 0, 0, 0);
31
+ // font-size: 1em;
32
+ // line-height:1em;
33
+ // text-align: center;
34
+ // text-decoration: none;
35
+ z-index: 1;
36
+ will-change: opacity, transform;
37
+ transition: all .3s ease-out;
38
+
39
+ .waves-ripple {
40
+ position: absolute;
41
+ border-radius: 50%;
42
+ width: 20px;
43
+ height: 20px;
44
+ margin-top:-10px;
45
+ margin-left:-10px;
46
+ opacity: 0;
47
+
48
+ background: rgba(0,0,0,0.2);
49
+ // $gradient: rgba(0,0,0,0.2) 0,rgba(0,0,0,.3) 40%,rgba(0,0,0,.4) 50%,rgba(0,0,0,.5) 60%,rgba(255,255,255,0) 70%;
50
+ // background: -webkit-radial-gradient($gradient);
51
+ // background: -o-radial-gradient($gradient);
52
+ // background: -moz-radial-gradient($gradient);
53
+ // background: radial-gradient($gradient);
54
+ transition: all 0.7s ease-out;
55
+ transition-property: transform, opacity;
56
+ transform: scale(0);
57
+ pointer-events: none;
58
+ }
59
+
60
+ // Waves Colors
61
+ &.waves-light .waves-ripple {
62
+ background-color: rgba(255, 255, 255, 0.45);
63
+ }
64
+
65
+ &.waves-red .waves-ripple {
66
+ background-color: rgba(244, 67, 54, .70);
67
+ }
68
+ &.waves-yellow .waves-ripple {
69
+ background-color: rgba(255, 235, 59, .70);
70
+ }
71
+ &.waves-orange .waves-ripple {
72
+ background-color: rgba(255, 152, 0, .70);
73
+ }
74
+ &.waves-purple .waves-ripple {
75
+ background-color: rgba(156, 39, 176, 0.70);
76
+ }
77
+ &.waves-green .waves-ripple {
78
+ background-color: rgba(76, 175, 80, 0.70);
79
+ }
80
+ &.waves-teal .waves-ripple {
81
+ background-color: rgba(0, 150, 136, 0.70);
82
+ }
83
+
84
+ // Style input button bug.
85
+ input[type="button"], input[type="reset"], input[type="submit"] {
86
+ border: 0;
87
+ font-style: normal;
88
+ font-size: inherit;
89
+ text-transform: inherit;
90
+ background: none;
91
+ }
92
+
93
+ }
94
+
95
+ .waves-notransition {
96
+ transition: none #{"!important"};
97
+ }
98
+
99
+ .waves-circle {
100
+ transform: translateZ(0);
101
+ -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
102
+ }
103
+
104
+ // .waves-button,
105
+ // .waves-button:hover,
106
+ // .waves-button:visited,
107
+ // .waves-button-input {
108
+ // white-space: nowrap;
109
+ // vertical-align: middle;
110
+ // cursor: pointer;
111
+ // border: none;
112
+ // outline: none;
113
+ // color: inherit;
114
+ // background-color: rgba(0, 0, 0, 0);
115
+ // font-size: 1em;
116
+ // line-height:1em;
117
+ // text-align: center;
118
+ // text-decoration: none;
119
+ // z-index: 1;
120
+ // }
121
+
122
+ // .waves-button {
123
+ // padding: 0.85em 1.1em;
124
+ // border-radius: 0.2em;
125
+ // }
126
+
127
+ // .waves-button-input {
128
+ // margin: 0;
129
+ // padding: 0.85em 1.1em;
130
+ // }
131
+
132
+ .waves-input-wrapper {
133
+ border-radius: 0.2em;
134
+ vertical-align: bottom;
135
+
136
+ // &.waves-button {
137
+ // padding: 0;
138
+ // }
139
+
140
+ .waves-button-input {
141
+ position: relative;
142
+ top: 0;
143
+ left: 0;
144
+ z-index: 1;
145
+ }
146
+ }
147
+
148
+ .waves-circle {
149
+ text-align: center;
150
+ width: 2.5em;
151
+ height: 2.5em;
152
+ line-height: 2.5em;
153
+ border-radius: 50%;
154
+ -webkit-mask-image: none;
155
+ }
156
+
157
+ // .waves-float {
158
+ // -webkit-mask-image: none;
159
+ // @include box-shadow(0px 1px 1.5px 1px rgba(0, 0, 0, 0.12));
160
+
161
+ // &:active {
162
+ // @include box-shadow(0px 8px 20px 1px rgba(0, 0, 0, 0.30));
163
+ // }
164
+ // }
165
+
166
+ .waves-block {
167
+ display: block;
168
+ }
169
+
170
+ /* Firefox Bug: link not triggered */
171
+ a.waves-effect .waves-ripple {
172
+ z-index: -1;
173
+ }
@@ -0,0 +1,435 @@
1
+ /* ==========================================================================
2
+ $BASE-DATE-PICKER
3
+ ========================================================================== */
4
+ /**
5
+ * The picker box.
6
+ */
7
+ .picker__box {
8
+ padding: 0 1em;
9
+ }
10
+ /**
11
+ * The header containing the month and year stuff.
12
+ */
13
+ .picker__header {
14
+ text-align: center;
15
+ position: relative;
16
+ margin-top: .75em;
17
+ }
18
+ /**
19
+ * The month and year labels.
20
+ */
21
+ .picker__month,
22
+ .picker__year {
23
+ // font-weight: 500;
24
+ display: inline-block;
25
+ margin-left: .25em;
26
+ margin-right: .25em;
27
+ }
28
+ /**
29
+ * The month and year selectors.
30
+ */
31
+ .picker__select--month,
32
+ .picker__select--year {
33
+
34
+ height: 2em;
35
+ padding: 0;
36
+ margin-left: .25em;
37
+ margin-right: .25em;
38
+ }
39
+
40
+ // Modified
41
+ .picker__select--month.browser-default {
42
+ display: inline;
43
+ background-color: #FFFFFF;
44
+ width: 40%;
45
+ }
46
+ .picker__select--year.browser-default {
47
+ display: inline;
48
+ background-color: #FFFFFF;
49
+ width: 25%;
50
+ }
51
+ .picker__select--month:focus,
52
+ .picker__select--year:focus {
53
+ border-color: $datepicker-focus;
54
+ }
55
+ /**
56
+ * The month navigation buttons.
57
+ */
58
+ .picker__nav--prev,
59
+ .picker__nav--next {
60
+ position: absolute;
61
+ padding: .5em 1.25em;
62
+ width: 1em;
63
+ height: 1em;
64
+ box-sizing: content-box;
65
+ top: -0.25em;
66
+ }
67
+ //@media (min-width: 24.5em) {
68
+ // .picker__nav--prev,
69
+ // .picker__nav--next {
70
+ // top: -0.33em;
71
+ // }
72
+ //}
73
+ .picker__nav--prev {
74
+ left: -1em;
75
+ padding-right: 1.25em;
76
+ }
77
+ //@media (min-width: 24.5em) {
78
+ // .picker__nav--prev {
79
+ // padding-right: 1.5em;
80
+ // }
81
+ //}
82
+ .picker__nav--next {
83
+ right: -1em;
84
+ padding-left: 1.25em;
85
+ }
86
+ //@media (min-width: 24.5em) {
87
+ // .picker__nav--next {
88
+ // padding-left: 1.5em;
89
+ // }
90
+ //}
91
+
92
+ .picker__nav--disabled,
93
+ .picker__nav--disabled:hover,
94
+ .picker__nav--disabled:before,
95
+ .picker__nav--disabled:before:hover {
96
+ cursor: default;
97
+ background: none;
98
+ border-right-color: #f5f5f5;
99
+ border-left-color: #f5f5f5;
100
+ }
101
+ /**
102
+ * The calendar table of dates
103
+ */
104
+ .picker__table {
105
+ text-align: center;
106
+ border-collapse: collapse;
107
+ border-spacing: 0;
108
+ table-layout: fixed;
109
+ font-size: 1rem;
110
+ width: 100%;
111
+ margin-top: .75em;
112
+ margin-bottom: .5em;
113
+ }
114
+
115
+
116
+
117
+ .picker__table th, .picker__table td {
118
+ text-align: center;
119
+ }
120
+
121
+
122
+
123
+
124
+
125
+
126
+ .picker__table td {
127
+ margin: 0;
128
+ padding: 0;
129
+ }
130
+ /**
131
+ * The weekday labels
132
+ */
133
+ .picker__weekday {
134
+ width: 14.285714286%;
135
+ font-size: .75em;
136
+ padding-bottom: .25em;
137
+ color: #999999;
138
+ font-weight: 500;
139
+ /* Increase the spacing a tad */
140
+ }
141
+ @media (min-height: 33.875em) {
142
+ .picker__weekday {
143
+ padding-bottom: .5em;
144
+ }
145
+ }
146
+ /**
147
+ * The days on the calendar
148
+ */
149
+
150
+ .picker__day--today {
151
+ position: relative;
152
+ color: #595959;
153
+ letter-spacing: -.3;
154
+ padding: .75rem 0;
155
+ font-weight: 400;
156
+ border: 1px solid transparent;
157
+
158
+ }
159
+
160
+ //.picker__day--today:before {
161
+ // content: " ";
162
+ // position: absolute;
163
+ // top: 2px;
164
+ // right: 2px;
165
+ // width: 0;
166
+ // height: 0;
167
+ // border-top: 0.5em solid #0059bc;
168
+ // border-left: .5em solid transparent;
169
+ //}
170
+ .picker__day--disabled:before {
171
+ border-top-color: #aaaaaa;
172
+ }
173
+
174
+
175
+ .picker__day--infocus:hover{
176
+ cursor: pointer;
177
+ color: #000;
178
+ font-weight: 500;
179
+ }
180
+
181
+ .picker__day--outfocus {
182
+ display: none;
183
+ padding: .75rem 0;
184
+ color: #fff;
185
+
186
+ }
187
+ .picker__day--outfocus:hover {
188
+ cursor: pointer;
189
+ color: #dddddd;
190
+ // background: #b1dcfb;
191
+ font-weight: 500;
192
+ }
193
+
194
+
195
+ .picker__day--highlighted {
196
+ // border-color: #0089ec;
197
+ }
198
+ .picker__day--highlighted:hover,
199
+ .picker--focused .picker__day--highlighted {
200
+ cursor: pointer;
201
+ // color: #000000;
202
+ // background: #b1dcfb;
203
+ // font-weight: 500;
204
+ }
205
+ .picker__day--selected,
206
+ .picker__day--selected:hover,
207
+ .picker--focused .picker__day--selected {
208
+
209
+
210
+ // Circle background
211
+ border-radius: 50%;
212
+ transform: scale(.75);
213
+ background: #0089ec;
214
+ color: #ffffff;
215
+ }
216
+ .picker__day--disabled,
217
+ .picker__day--disabled:hover,
218
+ .picker--focused .picker__day--disabled {
219
+ background: #f5f5f5;
220
+ border-color: #f5f5f5;
221
+ color: #dddddd;
222
+ cursor: default;
223
+ }
224
+ .picker__day--highlighted.picker__day--disabled,
225
+ .picker__day--highlighted.picker__day--disabled:hover {
226
+ background: #bbbbbb;
227
+ }
228
+ /**
229
+ * The footer containing the "today", "clear", and "close" buttons.
230
+ */
231
+ .picker__footer {
232
+ text-align: center;
233
+ display: flex;
234
+ align-items: center;
235
+ justify-content: space-between;
236
+ }
237
+ .picker__button--today,
238
+ .picker__button--clear,
239
+ .picker__button--close {
240
+ border: 1px solid #ffffff;
241
+ background: #ffffff;
242
+ font-size: .8em;
243
+ padding: .66em 0;
244
+ font-weight: bold;
245
+ width: 33%;
246
+ display: inline-block;
247
+ vertical-align: bottom;
248
+ }
249
+ .picker__button--today:hover,
250
+ .picker__button--clear:hover,
251
+ .picker__button--close:hover {
252
+ cursor: pointer;
253
+ color: #000000;
254
+ background: #b1dcfb;
255
+ border-bottom-color: #b1dcfb;
256
+ }
257
+ .picker__button--today:focus,
258
+ .picker__button--clear:focus,
259
+ .picker__button--close:focus {
260
+ background: #b1dcfb;
261
+ border-color: $datepicker-focus;
262
+ outline: none;
263
+ }
264
+ .picker__button--today:before,
265
+ .picker__button--clear:before,
266
+ .picker__button--close:before {
267
+ position: relative;
268
+ display: inline-block;
269
+ height: 0;
270
+ }
271
+ .picker__button--today:before,
272
+ .picker__button--clear:before {
273
+ content: " ";
274
+ margin-right: .45em;
275
+ }
276
+ .picker__button--today:before {
277
+ top: -0.05em;
278
+ width: 0;
279
+ border-top: 0.66em solid #0059bc;
280
+ border-left: .66em solid transparent;
281
+ }
282
+ .picker__button--clear:before {
283
+ top: -0.25em;
284
+ width: .66em;
285
+ border-top: 3px solid #ee2200;
286
+ }
287
+ .picker__button--close:before {
288
+ content: "\D7";
289
+ top: -0.1em;
290
+ vertical-align: top;
291
+ font-size: 1.1em;
292
+ margin-right: .35em;
293
+ color: #777777;
294
+ }
295
+ .picker__button--today[disabled],
296
+ .picker__button--today[disabled]:hover {
297
+ background: #f5f5f5;
298
+ border-color: #f5f5f5;
299
+ color: #dddddd;
300
+ cursor: default;
301
+ }
302
+ .picker__button--today[disabled]:before {
303
+ border-top-color: #aaaaaa;
304
+ }
305
+
306
+ /* ==========================================================================
307
+ CUSTOM MATERIALIZE STYLES
308
+ ========================================================================== */
309
+ .picker__box {
310
+ border-radius: 2px;
311
+ overflow: hidden;
312
+ }
313
+
314
+ .picker__date-display {
315
+ text-align: center;
316
+ background-color: $datepicker-date-bg;
317
+ color: #fff;
318
+ padding-bottom: 15px;
319
+ font-weight: 300;
320
+ }
321
+
322
+ .picker__nav--prev:hover,
323
+ .picker__nav--next:hover {
324
+ cursor: pointer;
325
+ color: #000000;
326
+ background: $datepicker-selected-outfocus;
327
+ }
328
+
329
+ .picker__weekday-display {
330
+ background-color: $datepicker-weekday-bg;
331
+ padding: 10px;
332
+ font-weight: 200;
333
+ letter-spacing: .5;
334
+ font-size: 1rem;
335
+ margin-bottom: 15px;
336
+ }
337
+
338
+ .picker__month-display {
339
+ text-transform: uppercase;
340
+ font-size: 2rem;
341
+ }
342
+ .picker__day-display {
343
+
344
+ font-size: 4.5rem;
345
+ font-weight: 400;
346
+ }
347
+ .picker__year-display {
348
+ font-size: 1.8rem;
349
+ color: $datepicker-year;
350
+ }
351
+
352
+ .picker__box {
353
+ padding: 0;
354
+ }
355
+ .picker__calendar-container {
356
+ padding: 0 1rem;
357
+
358
+ thead {
359
+ border: none;
360
+ }
361
+ }
362
+
363
+ // Calendar
364
+ .picker__table {
365
+ margin-top: 0;
366
+ margin-bottom: .5em;
367
+ }
368
+
369
+ .picker__day--infocus {
370
+ color: #595959;
371
+ letter-spacing: -.3;
372
+ padding: .75rem 0;
373
+ font-weight: 400;
374
+ border: 1px solid transparent;
375
+ }
376
+
377
+ //Today style
378
+ .picker__day.picker__day--today {
379
+ color: $datepicker-selected;
380
+ }
381
+
382
+ .picker__day.picker__day--today.picker__day--selected {
383
+ color: #fff;
384
+ }
385
+
386
+ // Table Header
387
+ .picker__weekday {
388
+ font-size: .9rem;
389
+ }
390
+
391
+
392
+ .picker__day--selected,
393
+ .picker__day--selected:hover,
394
+ .picker--focused .picker__day--selected {
395
+ // Circle background
396
+ border-radius: 50%;
397
+ transform: scale(.9);
398
+ background-color: $datepicker-selected;
399
+ &.picker__day--outfocus {
400
+ background-color: $datepicker-selected-outfocus;
401
+ }
402
+ color: #ffffff;
403
+ }
404
+
405
+ .picker__footer {
406
+ text-align: right;
407
+ padding: 5px 10px;
408
+ }
409
+
410
+ // Materialize modified
411
+ .picker__close, .picker__today {
412
+ font-size: 1.1rem;
413
+ padding: 0 1rem;
414
+ color: $datepicker-selected;
415
+ }
416
+
417
+ //month nav buttons
418
+ .picker__nav--prev:before,
419
+ .picker__nav--next:before {
420
+ content: " ";
421
+ border-top: .5em solid transparent;
422
+ border-bottom: .5em solid transparent;
423
+ border-right: 0.75em solid #676767;
424
+ width: 0;
425
+ height: 0;
426
+ display: block;
427
+ margin: 0 auto;
428
+ }
429
+ .picker__nav--next:before {
430
+ border-right: 0;
431
+ border-left: 0.75em solid #676767;
432
+ }
433
+ button.picker__today:focus, button.picker__clear:focus, button.picker__close:focus {
434
+ background-color: $datepicker-selected-outfocus;
435
+ }