materialize-sass 0.95.2 → 0.95.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/javascripts/materialize.js +5692 -5641
- data/app/assets/stylesheets/materialize/components/_cards.scss +151 -150
- data/app/assets/stylesheets/materialize/components/_form.scss +700 -698
- data/app/assets/stylesheets/materialize/components/_global.scss +707 -632
- data/app/assets/stylesheets/materialize/components/_grid.scss +119 -119
- data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +2247 -2247
- data/app/assets/stylesheets/materialize/components/_navbar.scss +154 -134
- data/app/assets/stylesheets/materialize/components/_preloader.scss +338 -320
- data/app/assets/stylesheets/materialize/components/_slider.scss +92 -91
- data/app/assets/stylesheets/materialize/components/_variables.scss +135 -132
- data/app/assets/stylesheets/materialize/components/_waves.scss +168 -167
- data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +462 -431
- data/lib/materialize-sass/version.rb +6 -6
- data/materialize-sass.gemspec +27 -27
- metadata +9 -17
@@ -1,91 +1,92 @@
|
|
1
|
-
.slider {
|
2
|
-
position: relative;
|
3
|
-
height: 440px;
|
4
|
-
width: 100%;
|
5
|
-
|
6
|
-
// Fullscreen slider
|
7
|
-
&.fullscreen {
|
8
|
-
height: 100%;
|
9
|
-
width: 100%;
|
10
|
-
position: absolute;
|
11
|
-
top: 0;
|
12
|
-
left: 0;
|
13
|
-
right: 0;
|
14
|
-
bottom: 0;
|
15
|
-
|
16
|
-
ul.slides {
|
17
|
-
height: 100%;
|
18
|
-
}
|
19
|
-
|
20
|
-
ul.indicators {
|
21
|
-
z-index: 2;
|
22
|
-
bottom: 30px;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
ul.slides {
|
27
|
-
background-color: color('grey', 'base');
|
28
|
-
margin: 0;
|
29
|
-
height: 400px;
|
30
|
-
|
31
|
-
li {
|
32
|
-
@include opacity(0);
|
33
|
-
position: absolute;
|
34
|
-
top: 0;
|
35
|
-
left: 0;
|
36
|
-
z-index: 1;
|
37
|
-
width: 100%;
|
38
|
-
height: inherit;
|
39
|
-
overflow: hidden;
|
40
|
-
|
41
|
-
img {
|
42
|
-
height: 100%;
|
43
|
-
width: 100%;
|
44
|
-
background-size: cover;
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
@include
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
1
|
+
.slider {
|
2
|
+
position: relative;
|
3
|
+
height: 440px;
|
4
|
+
width: 100%;
|
5
|
+
|
6
|
+
// Fullscreen slider
|
7
|
+
&.fullscreen {
|
8
|
+
height: 100%;
|
9
|
+
width: 100%;
|
10
|
+
position: absolute;
|
11
|
+
top: 0;
|
12
|
+
left: 0;
|
13
|
+
right: 0;
|
14
|
+
bottom: 0;
|
15
|
+
|
16
|
+
ul.slides {
|
17
|
+
height: 100%;
|
18
|
+
}
|
19
|
+
|
20
|
+
ul.indicators {
|
21
|
+
z-index: 2;
|
22
|
+
bottom: 30px;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
ul.slides {
|
27
|
+
background-color: color('grey', 'base');
|
28
|
+
margin: 0;
|
29
|
+
height: 400px;
|
30
|
+
|
31
|
+
li {
|
32
|
+
@include opacity(0);
|
33
|
+
position: absolute;
|
34
|
+
top: 0;
|
35
|
+
left: 0;
|
36
|
+
z-index: 1;
|
37
|
+
width: 100%;
|
38
|
+
height: inherit;
|
39
|
+
overflow: hidden;
|
40
|
+
|
41
|
+
img {
|
42
|
+
height: 100%;
|
43
|
+
width: 100%;
|
44
|
+
background-size: cover;
|
45
|
+
background-position: center;
|
46
|
+
}
|
47
|
+
|
48
|
+
.caption {
|
49
|
+
color: #fff;
|
50
|
+
position: absolute;
|
51
|
+
top: 15%;
|
52
|
+
left: 15%;
|
53
|
+
width: 70%;
|
54
|
+
@include opacity(0);
|
55
|
+
|
56
|
+
p { color: color('grey', 'lighten-2'); }
|
57
|
+
}
|
58
|
+
|
59
|
+
&.active {
|
60
|
+
z-index: 2;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
|
66
|
+
ul.indicators {
|
67
|
+
position: absolute;
|
68
|
+
text-align: center;
|
69
|
+
left: 0;
|
70
|
+
right: 0;
|
71
|
+
bottom: 0;
|
72
|
+
margin: 0;
|
73
|
+
|
74
|
+
li.indicator-item {
|
75
|
+
display: inline-block;
|
76
|
+
position: relative;
|
77
|
+
cursor: pointer;
|
78
|
+
height: 16px;
|
79
|
+
width: 16px;
|
80
|
+
margin: 0 12px;
|
81
|
+
background-color: color('grey', 'lighten-2');
|
82
|
+
|
83
|
+
@include transition(background-color .3s);
|
84
|
+
@include border-radius(50%);
|
85
|
+
|
86
|
+
&.active {
|
87
|
+
background-color: color('green', 'base');
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
}
|
@@ -1,132 +1,135 @@
|
|
1
|
-
/*** Colors ***/
|
2
|
-
$primary-color: color("materialize-red", "lighten-2") !default;
|
3
|
-
$primary-color-light: false !default;
|
4
|
-
$primary-color-dark: false !default;
|
5
|
-
@if not $primary-color-light {
|
6
|
-
$primary-color-light: lighten($primary-color, 15%);
|
7
|
-
}
|
8
|
-
@if not $primary-color-dark {
|
9
|
-
$primary-color-dark: darken($primary-color, 15%);
|
10
|
-
}
|
11
|
-
|
12
|
-
$secondary-color: color("teal", "lighten-1") !default;
|
13
|
-
$success-color: color("green", "base") !default;
|
14
|
-
$error-color: color("red", "base") !default;
|
15
|
-
$link-color: color("light-blue", "darken-1") !default;
|
16
|
-
|
17
|
-
/*** Badges ***/
|
18
|
-
$badge-bg-color: $secondary-color;
|
19
|
-
|
20
|
-
/*** Buttons ***/
|
21
|
-
$button-bg-color-disabled: #DFDFDF !default;
|
22
|
-
$button-color: $secondary-color !default;
|
23
|
-
$button-color-disabled: #9F9F9F !default;
|
24
|
-
$button-color-flat: #343434 !default;
|
25
|
-
$button-color-raised: #FFF !default;
|
26
|
-
$button-floating-size: 37px !default;
|
27
|
-
$button-height: 36px !default;
|
28
|
-
$button-font-size-shared: 1.3rem !default;
|
29
|
-
$button-line-height: 36px !default;
|
30
|
-
|
31
|
-
|
32
|
-
/*** Cards ***/
|
33
|
-
$card-padding: 20px !default;
|
34
|
-
$card-bg-color: #fff !default;
|
35
|
-
|
36
|
-
/*** Collapsible ***/
|
37
|
-
$collapsible-height: 3rem !default;
|
38
|
-
$collapsible-header-color: #fff !default;
|
39
|
-
$collapsible-border-color: #ddd !default;
|
40
|
-
|
41
|
-
|
42
|
-
/*** Dropdown ***/
|
43
|
-
$dropdown-color: $secondary-color;
|
44
|
-
|
45
|
-
/*** Fonts ***/
|
46
|
-
$roboto-font-path: "roboto/" !default;
|
47
|
-
$icons-font-path: "material-design-icons/" !default;
|
48
|
-
|
49
|
-
/*** Forms ***/
|
50
|
-
// Text Inputs + Textarea
|
51
|
-
$input-border-color: color("grey", "base") !default;
|
52
|
-
$input-error-color: $error-color !default;
|
53
|
-
$input-success-color: $success-color !default;
|
54
|
-
$input-focus-color: $secondary-color !default;
|
55
|
-
$label-font-size: .8rem !default;
|
56
|
-
$input-disabled-color: rgba(0,0,0, .26) !default;
|
57
|
-
|
58
|
-
|
59
|
-
// Radio Buttons
|
60
|
-
$radio-fill-color: $secondary-color !default;
|
61
|
-
$radio-empty-color: #5a5a5a !default;
|
62
|
-
|
63
|
-
/*** Global ***/
|
64
|
-
// Media Query Ranges
|
65
|
-
$small-screen-up: 601px !default;
|
66
|
-
$medium-screen-up: 993px !default;
|
67
|
-
$large-screen-up: 1201px !default;
|
68
|
-
$small-screen: 600px !default;
|
69
|
-
$medium-screen: 992px !default;
|
70
|
-
$large-screen: 1200px !default;
|
71
|
-
|
72
|
-
$medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
|
73
|
-
$large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
|
74
|
-
$small-and-down: "only screen and (max-width : #{$small-screen})" !default;
|
75
|
-
$medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
|
76
|
-
$medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
|
77
|
-
|
78
|
-
// Grid Variables
|
79
|
-
$num-cols: 12 !default;
|
80
|
-
$gutter-width: 1.5rem !default;
|
81
|
-
$element-top-margin: $gutter-width/3 !default;
|
82
|
-
$element-bottom-margin: ($gutter-width*2)/3 !default;
|
83
|
-
|
84
|
-
/*** Navbar ***/
|
85
|
-
$navbar-height: 64px !default;
|
86
|
-
$navbar-height-mobile: 56px !default;
|
87
|
-
|
88
|
-
|
89
|
-
/*** SideNav ***/
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
/*** Tabs ***/
|
94
|
-
$tabs-underline-color: $primary-color-light;
|
95
|
-
$tabs-text-color: $primary-color;
|
96
|
-
|
97
|
-
/*** Tables ***/
|
98
|
-
$table-border-color: #d0d0d0;
|
99
|
-
$table-striped-color: #f2f2f2;
|
100
|
-
|
101
|
-
/*** Toasts ***/
|
102
|
-
$toast-height: 48px !default;
|
103
|
-
$toast-color: #323232 !default;
|
104
|
-
$toast-text-color: #fff !default;
|
105
|
-
|
106
|
-
/*** Typography ***/
|
107
|
-
$off-black: rgba(0, 0, 0, 0.87) !default;
|
108
|
-
// Header Styles
|
109
|
-
$h1-fontsize: 4.2rem !default;
|
110
|
-
$h2-fontsize: 3.56rem !default;
|
111
|
-
$h3-fontsize: 2.92rem !default;
|
112
|
-
$h4-fontsize: 2.28rem !default;
|
113
|
-
$h5-fontsize: 1.64rem !default;
|
114
|
-
$h6-fontsize: 1rem !default;
|
115
|
-
|
116
|
-
// Footer
|
117
|
-
$footer-bg-color: $primary-color;
|
118
|
-
|
119
|
-
// Flowtext
|
120
|
-
$range : $large-screen - $small-screen !default;
|
121
|
-
$intervals: 20 !default;
|
122
|
-
$interval-size: $range / $intervals !default;
|
123
|
-
|
124
|
-
/*** Collections ***/
|
125
|
-
$collection-border-color: #e0e0e0 !default;
|
126
|
-
$collection-bg-color: #
|
127
|
-
$collection-
|
128
|
-
$collection-active-color:
|
129
|
-
$collection-
|
130
|
-
|
131
|
-
|
132
|
-
$
|
1
|
+
/*** Colors ***/
|
2
|
+
$primary-color: color("materialize-red", "lighten-2") !default;
|
3
|
+
$primary-color-light: false !default;
|
4
|
+
$primary-color-dark: false !default;
|
5
|
+
@if not $primary-color-light {
|
6
|
+
$primary-color-light: lighten($primary-color, 15%);
|
7
|
+
}
|
8
|
+
@if not $primary-color-dark {
|
9
|
+
$primary-color-dark: darken($primary-color, 15%);
|
10
|
+
}
|
11
|
+
|
12
|
+
$secondary-color: color("teal", "lighten-1") !default;
|
13
|
+
$success-color: color("green", "base") !default;
|
14
|
+
$error-color: color("red", "base") !default;
|
15
|
+
$link-color: color("light-blue", "darken-1") !default;
|
16
|
+
|
17
|
+
/*** Badges ***/
|
18
|
+
$badge-bg-color: $secondary-color;
|
19
|
+
|
20
|
+
/*** Buttons ***/
|
21
|
+
$button-bg-color-disabled: #DFDFDF !default;
|
22
|
+
$button-color: $secondary-color !default;
|
23
|
+
$button-color-disabled: #9F9F9F !default;
|
24
|
+
$button-color-flat: #343434 !default;
|
25
|
+
$button-color-raised: #FFF !default;
|
26
|
+
$button-floating-size: 37px !default;
|
27
|
+
$button-height: 36px !default;
|
28
|
+
$button-font-size-shared: 1.3rem !default;
|
29
|
+
$button-line-height: 36px !default;
|
30
|
+
|
31
|
+
|
32
|
+
/*** Cards ***/
|
33
|
+
$card-padding: 20px !default;
|
34
|
+
$card-bg-color: #fff !default;
|
35
|
+
|
36
|
+
/*** Collapsible ***/
|
37
|
+
$collapsible-height: 3rem !default;
|
38
|
+
$collapsible-header-color: #fff !default;
|
39
|
+
$collapsible-border-color: #ddd !default;
|
40
|
+
|
41
|
+
|
42
|
+
/*** Dropdown ***/
|
43
|
+
$dropdown-color: $secondary-color;
|
44
|
+
|
45
|
+
/*** Fonts ***/
|
46
|
+
$roboto-font-path: "roboto/" !default;
|
47
|
+
$icons-font-path: "material-design-icons/" !default;
|
48
|
+
|
49
|
+
/*** Forms ***/
|
50
|
+
// Text Inputs + Textarea
|
51
|
+
$input-border-color: color("grey", "base") !default;
|
52
|
+
$input-error-color: $error-color !default;
|
53
|
+
$input-success-color: $success-color !default;
|
54
|
+
$input-focus-color: $secondary-color !default;
|
55
|
+
$label-font-size: .8rem !default;
|
56
|
+
$input-disabled-color: rgba(0,0,0, .26) !default;
|
57
|
+
|
58
|
+
|
59
|
+
// Radio Buttons
|
60
|
+
$radio-fill-color: $secondary-color !default;
|
61
|
+
$radio-empty-color: #5a5a5a !default;
|
62
|
+
|
63
|
+
/*** Global ***/
|
64
|
+
// Media Query Ranges
|
65
|
+
$small-screen-up: 601px !default;
|
66
|
+
$medium-screen-up: 993px !default;
|
67
|
+
$large-screen-up: 1201px !default;
|
68
|
+
$small-screen: 600px !default;
|
69
|
+
$medium-screen: 992px !default;
|
70
|
+
$large-screen: 1200px !default;
|
71
|
+
|
72
|
+
$medium-and-up: "only screen and (min-width : #{$small-screen-up})" !default;
|
73
|
+
$large-and-up: "only screen and (min-width : #{$medium-screen-up})" !default;
|
74
|
+
$small-and-down: "only screen and (max-width : #{$small-screen})" !default;
|
75
|
+
$medium-and-down: "only screen and (max-width : #{$medium-screen})" !default;
|
76
|
+
$medium-only: "only screen and (min-width : #{$small-screen-up}) and (max-width : #{$medium-screen})" !default;
|
77
|
+
|
78
|
+
// Grid Variables
|
79
|
+
$num-cols: 12 !default;
|
80
|
+
$gutter-width: 1.5rem !default;
|
81
|
+
$element-top-margin: $gutter-width/3 !default;
|
82
|
+
$element-bottom-margin: ($gutter-width*2)/3 !default;
|
83
|
+
|
84
|
+
/*** Navbar ***/
|
85
|
+
$navbar-height: 64px !default;
|
86
|
+
$navbar-height-mobile: 56px !default;
|
87
|
+
|
88
|
+
|
89
|
+
/*** SideNav ***/
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
/*** Tabs ***/
|
94
|
+
$tabs-underline-color: $primary-color-light;
|
95
|
+
$tabs-text-color: $primary-color;
|
96
|
+
|
97
|
+
/*** Tables ***/
|
98
|
+
$table-border-color: #d0d0d0;
|
99
|
+
$table-striped-color: #f2f2f2;
|
100
|
+
|
101
|
+
/*** Toasts ***/
|
102
|
+
$toast-height: 48px !default;
|
103
|
+
$toast-color: #323232 !default;
|
104
|
+
$toast-text-color: #fff !default;
|
105
|
+
|
106
|
+
/*** Typography ***/
|
107
|
+
$off-black: rgba(0, 0, 0, 0.87) !default;
|
108
|
+
// Header Styles
|
109
|
+
$h1-fontsize: 4.2rem !default;
|
110
|
+
$h2-fontsize: 3.56rem !default;
|
111
|
+
$h3-fontsize: 2.92rem !default;
|
112
|
+
$h4-fontsize: 2.28rem !default;
|
113
|
+
$h5-fontsize: 1.64rem !default;
|
114
|
+
$h6-fontsize: 1rem !default;
|
115
|
+
|
116
|
+
// Footer
|
117
|
+
$footer-bg-color: $primary-color;
|
118
|
+
|
119
|
+
// Flowtext
|
120
|
+
$range : $large-screen - $small-screen !default;
|
121
|
+
$intervals: 20 !default;
|
122
|
+
$interval-size: $range / $intervals !default;
|
123
|
+
|
124
|
+
/*** Collections ***/
|
125
|
+
$collection-border-color: #e0e0e0 !default;
|
126
|
+
$collection-bg-color: #999 !default;
|
127
|
+
$collection-item-color: #fff !default;
|
128
|
+
$collection-active-bg-color: $secondary-color !default;
|
129
|
+
$collection-active-color: lighten($secondary-color, 55%) !default;
|
130
|
+
$collection-hover-bg-color: #ddd !default;
|
131
|
+
$collection-header-color: #fff !default;
|
132
|
+
// $collection-hover-bg-color: rgba(0,0,0,.08) !default;
|
133
|
+
|
134
|
+
/* Progress Bar */
|
135
|
+
$progress-bar-color: $secondary-color;
|
@@ -1,167 +1,168 @@
|
|
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
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
margin-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
//
|
51
|
-
// background: -
|
52
|
-
// background: -
|
53
|
-
// background: radial-gradient($gradient);
|
54
|
-
|
55
|
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
transition-property: transform, opacity;
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
}
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
// .waves-button
|
100
|
-
// .waves-button:
|
101
|
-
// .waves-button
|
102
|
-
//
|
103
|
-
//
|
104
|
-
//
|
105
|
-
//
|
106
|
-
//
|
107
|
-
//
|
108
|
-
//
|
109
|
-
//
|
110
|
-
//
|
111
|
-
//
|
112
|
-
// text-
|
113
|
-
//
|
114
|
-
//
|
115
|
-
|
116
|
-
|
117
|
-
//
|
118
|
-
//
|
119
|
-
//
|
120
|
-
|
121
|
-
|
122
|
-
//
|
123
|
-
//
|
124
|
-
//
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
//
|
132
|
-
//
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
}
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
//
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
//
|
158
|
-
//
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
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
|
+
vertical-align: middle;
|
36
|
+
z-index: 1;
|
37
|
+
will-change: opacity, transform;
|
38
|
+
@include transition(all .3s ease-out);
|
39
|
+
|
40
|
+
.waves-ripple {
|
41
|
+
position: absolute;
|
42
|
+
border-radius: 50%;
|
43
|
+
width: 20px;
|
44
|
+
height: 20px;
|
45
|
+
margin-top:-10px;
|
46
|
+
margin-left:-10px;
|
47
|
+
opacity: 0;
|
48
|
+
|
49
|
+
background: rgba(0,0,0,0.2);
|
50
|
+
// $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%;
|
51
|
+
// background: -webkit-radial-gradient($gradient);
|
52
|
+
// background: -o-radial-gradient($gradient);
|
53
|
+
// background: -moz-radial-gradient($gradient);
|
54
|
+
// background: radial-gradient($gradient);
|
55
|
+
@include transition(all 0.7s ease-out);
|
56
|
+
-webkit-transition-property: -webkit-transform, opacity;
|
57
|
+
-moz-transition-property: -moz-transform, opacity;
|
58
|
+
-o-transition-property: -o-transform, opacity;
|
59
|
+
transition-property: transform, opacity;
|
60
|
+
@include transform(scale(0));
|
61
|
+
pointer-events: none;
|
62
|
+
}
|
63
|
+
|
64
|
+
// Waves Colors
|
65
|
+
&.waves-light .waves-ripple {
|
66
|
+
background-color: rgba(255, 255, 255, 0.45);
|
67
|
+
}
|
68
|
+
|
69
|
+
&.waves-red .waves-ripple {
|
70
|
+
background-color: rgba(244, 67, 54, .70);
|
71
|
+
}
|
72
|
+
&.waves-yellow .waves-ripple {
|
73
|
+
background-color: rgba(255, 235, 59, .70);
|
74
|
+
}
|
75
|
+
&.waves-orange .waves-ripple {
|
76
|
+
background-color: rgba(255, 152, 0, .70);
|
77
|
+
}
|
78
|
+
&.waves-purple .waves-ripple {
|
79
|
+
background-color: rgba(156, 39, 176, 0.70);
|
80
|
+
}
|
81
|
+
&.waves-green .waves-ripple {
|
82
|
+
background-color: rgba(76, 175, 80, 0.70);
|
83
|
+
}
|
84
|
+
&.waves-teal .waves-ripple {
|
85
|
+
background-color: rgba(0, 150, 136, 0.70);
|
86
|
+
}
|
87
|
+
|
88
|
+
}
|
89
|
+
|
90
|
+
.waves-notransition {
|
91
|
+
@include transition(none #{"!important"});
|
92
|
+
}
|
93
|
+
|
94
|
+
.waves-circle {
|
95
|
+
@include transform(translateZ(0));
|
96
|
+
-webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
|
97
|
+
}
|
98
|
+
|
99
|
+
// .waves-button,
|
100
|
+
// .waves-button:hover,
|
101
|
+
// .waves-button:visited,
|
102
|
+
// .waves-button-input {
|
103
|
+
// white-space: nowrap;
|
104
|
+
// vertical-align: middle;
|
105
|
+
// cursor: pointer;
|
106
|
+
// border: none;
|
107
|
+
// outline: none;
|
108
|
+
// color: inherit;
|
109
|
+
// background-color: rgba(0, 0, 0, 0);
|
110
|
+
// font-size: 1em;
|
111
|
+
// line-height:1em;
|
112
|
+
// text-align: center;
|
113
|
+
// text-decoration: none;
|
114
|
+
// z-index: 1;
|
115
|
+
// }
|
116
|
+
|
117
|
+
// .waves-button {
|
118
|
+
// padding: 0.85em 1.1em;
|
119
|
+
// border-radius: 0.2em;
|
120
|
+
// }
|
121
|
+
|
122
|
+
// .waves-button-input {
|
123
|
+
// margin: 0;
|
124
|
+
// padding: 0.85em 1.1em;
|
125
|
+
// }
|
126
|
+
|
127
|
+
.waves-input-wrapper {
|
128
|
+
border-radius: 0.2em;
|
129
|
+
vertical-align: bottom;
|
130
|
+
|
131
|
+
// &.waves-button {
|
132
|
+
// padding: 0;
|
133
|
+
// }
|
134
|
+
|
135
|
+
.waves-button-input {
|
136
|
+
position: relative;
|
137
|
+
top: 0;
|
138
|
+
left: 0;
|
139
|
+
z-index: 1;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
.waves-circle {
|
144
|
+
text-align: center;
|
145
|
+
width: 2.5em;
|
146
|
+
height: 2.5em;
|
147
|
+
line-height: 2.5em;
|
148
|
+
border-radius: 50%;
|
149
|
+
-webkit-mask-image: none;
|
150
|
+
}
|
151
|
+
|
152
|
+
// .waves-float {
|
153
|
+
// -webkit-mask-image: none;
|
154
|
+
// @include box-shadow(0px 1px 1.5px 1px rgba(0, 0, 0, 0.12));
|
155
|
+
|
156
|
+
// &:active {
|
157
|
+
// @include box-shadow(0px 8px 20px 1px rgba(0, 0, 0, 0.30));
|
158
|
+
// }
|
159
|
+
// }
|
160
|
+
|
161
|
+
.waves-block {
|
162
|
+
display: block;
|
163
|
+
}
|
164
|
+
|
165
|
+
/* Firefox Bug: link not triggered */
|
166
|
+
a.waves-effect .waves-ripple {
|
167
|
+
z-index: -1;
|
168
|
+
}
|