materialize-sass 0.97.0 → 1.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitattributes +1 -0
- data/.gitignore +3 -0
- data/README.md +48 -10
- data/Rakefile +129 -1
- data/assets/javascripts/materialize/anime.min.js +417 -0
- data/assets/javascripts/materialize/autocomplete.js +504 -0
- data/assets/javascripts/materialize/buttons.js +409 -0
- data/assets/javascripts/materialize/cards.js +34 -0
- data/assets/javascripts/materialize/carousel.js +797 -0
- data/assets/javascripts/materialize/cash.js +990 -0
- data/assets/javascripts/materialize/characterCounter.js +180 -0
- data/assets/javascripts/materialize/chips.js +564 -0
- data/assets/javascripts/materialize/collapsible.js +337 -0
- data/assets/javascripts/materialize/component.js +57 -0
- data/assets/javascripts/materialize/datepicker.js +935 -0
- data/assets/javascripts/materialize/dropdown.js +659 -0
- data/assets/javascripts/materialize/extras/nouislider.js +2147 -0
- data/assets/javascripts/materialize/extras/nouislider.min.js +1 -0
- data/assets/javascripts/materialize/forms.js +244 -0
- data/assets/javascripts/materialize/global.js +408 -0
- data/assets/javascripts/materialize/materialbox.js +513 -0
- data/assets/javascripts/materialize/modal.js +449 -0
- data/assets/javascripts/materialize/parallax.js +173 -0
- data/assets/javascripts/materialize/pushpin.js +179 -0
- data/assets/javascripts/materialize/range.js +310 -0
- data/assets/javascripts/materialize/scrollspy.js +328 -0
- data/assets/javascripts/materialize/select.js +497 -0
- data/assets/javascripts/materialize/sidenav.js +655 -0
- data/assets/javascripts/materialize/slider.js +424 -0
- data/assets/javascripts/materialize/tabs.js +476 -0
- data/assets/javascripts/materialize/tapTarget.js +364 -0
- data/assets/javascripts/materialize/timepicker.js +647 -0
- data/assets/javascripts/materialize/toasts.js +355 -0
- data/assets/javascripts/materialize/tooltip.js +351 -0
- data/{app/assets → assets}/javascripts/materialize/waves.js +42 -47
- data/assets/javascripts/materialize-sprockets.js +29 -0
- data/assets/javascripts/materialize.js +12374 -0
- data/assets/stylesheets/materialize/components/_badges.scss +55 -0
- data/assets/stylesheets/materialize/components/_buttons.scss +322 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +72 -29
- data/assets/stylesheets/materialize/components/_carousel.scss +90 -0
- data/assets/stylesheets/materialize/components/_chips.scss +90 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +23 -17
- data/assets/stylesheets/materialize/components/_color-classes.scss +32 -0
- data/{app/assets/stylesheets/materialize/components/_color.scss → assets/stylesheets/materialize/components/_color-variables.scss} +22 -64
- data/assets/stylesheets/materialize/components/_datepicker.scss +191 -0
- data/assets/stylesheets/materialize/components/_dropdown.scss +85 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +197 -144
- data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +57 -18
- data/assets/stylesheets/materialize/components/_icons-material-design.scss +5 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +15 -13
- data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +18 -14
- data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +89 -25
- data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +5 -3
- data/assets/stylesheets/materialize/components/_pulse.scss +34 -0
- data/assets/stylesheets/materialize/components/_sidenav.scss +208 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +2 -2
- data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +5 -5
- data/assets/stylesheets/materialize/components/_tabs.scss +99 -0
- data/assets/stylesheets/materialize/components/_tapTarget.scss +103 -0
- data/assets/stylesheets/materialize/components/_timepicker.scss +183 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_toast.scss +17 -22
- data/assets/stylesheets/materialize/components/_tooltip.scss +32 -0
- data/assets/stylesheets/materialize/components/_transitions.scss +13 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +11 -9
- data/assets/stylesheets/materialize/components/_variables.scss +349 -0
- data/assets/stylesheets/materialize/components/_waves.scss +114 -0
- data/assets/stylesheets/materialize/components/forms/_checkboxes.scss +200 -0
- data/assets/stylesheets/materialize/components/forms/_file-input.scss +44 -0
- data/assets/stylesheets/materialize/components/forms/_forms.scss +22 -0
- data/assets/stylesheets/materialize/components/forms/_input-fields.scss +354 -0
- data/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +115 -0
- data/assets/stylesheets/materialize/components/forms/_range.scss +161 -0
- data/assets/stylesheets/materialize/components/forms/_select.scss +190 -0
- data/assets/stylesheets/materialize/components/forms/_switches.scss +89 -0
- data/assets/stylesheets/materialize/extras/nouislider.css +406 -0
- data/{app/assets → assets}/stylesheets/materialize.scss +13 -10
- data/lib/materialize-sass/engine.rb +11 -6
- data/lib/materialize-sass/helpers.rb +38 -0
- data/lib/materialize-sass/version.rb +1 -1
- data/lib/materialize-sass.rb +13 -28
- data/materialize-sass.gemspec +5 -5
- metadata +97 -105
- data/app/assets/fonts/material-design-icons/LICENSE.txt +0 -428
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.eot +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.svg +0 -769
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.ttf +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff +0 -0
- data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/app/assets/javascripts/materialize/animation.js +0 -9
- data/app/assets/javascripts/materialize/buttons.js +0 -61
- data/app/assets/javascripts/materialize/cards.js +0 -27
- data/app/assets/javascripts/materialize/character_counter.js +0 -59
- data/app/assets/javascripts/materialize/collapsible.js +0 -139
- data/app/assets/javascripts/materialize/date_picker/picker.date.js +0 -1430
- data/app/assets/javascripts/materialize/date_picker/picker.js +0 -1123
- data/app/assets/javascripts/materialize/dropdown.js +0 -178
- data/app/assets/javascripts/materialize/forms.js +0 -456
- data/app/assets/javascripts/materialize/global.js +0 -36
- data/app/assets/javascripts/materialize/hammer.min.js +0 -1
- data/app/assets/javascripts/materialize/init.js +0 -136
- data/app/assets/javascripts/materialize/jquery.easing.1.3.js +0 -205
- data/app/assets/javascripts/materialize/jquery.hammer.js +0 -33
- data/app/assets/javascripts/materialize/jquery.timeago.min.js +0 -1
- data/app/assets/javascripts/materialize/leanModal.js +0 -178
- data/app/assets/javascripts/materialize/materialbox.js +0 -249
- data/app/assets/javascripts/materialize/parallax.js +0 -58
- data/app/assets/javascripts/materialize/prism.js +0 -8
- data/app/assets/javascripts/materialize/pushpin.js +0 -62
- data/app/assets/javascripts/materialize/scrollFire.js +0 -44
- data/app/assets/javascripts/materialize/scrollspy.js +0 -284
- data/app/assets/javascripts/materialize/sideNav.js +0 -312
- data/app/assets/javascripts/materialize/slider.js +0 -301
- data/app/assets/javascripts/materialize/tabs.js +0 -136
- data/app/assets/javascripts/materialize/toasts.js +0 -125
- data/app/assets/javascripts/materialize/tooltip.js +0 -166
- data/app/assets/javascripts/materialize/transitions.js +0 -154
- data/app/assets/javascripts/materialize/velocity.min.js +0 -4
- data/app/assets/javascripts/materialize-sprockets.js +0 -27
- data/app/assets/javascripts/materialize.js +0 -6159
- data/app/assets/stylesheets/materialize/components/_buttons.scss +0 -157
- data/app/assets/stylesheets/materialize/components/_dropdown.scss +0 -40
- data/app/assets/stylesheets/materialize/components/_form.scss +0 -886
- data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +0 -3257
- data/app/assets/stylesheets/materialize/components/_mixins.scss +0 -5
- data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -427
- data/app/assets/stylesheets/materialize/components/_prefixer.scss +0 -376
- data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -38
- data/app/assets/stylesheets/materialize/components/_sideNav.scss +0 -111
- data/app/assets/stylesheets/materialize/components/_tabs.scss +0 -47
- data/app/assets/stylesheets/materialize/components/_tooltip.scss +0 -34
- data/app/assets/stylesheets/materialize/components/_variables.scss +0 -152
- data/app/assets/stylesheets/materialize/components/_waves.scss +0 -167
- data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +0 -435
- data/app/assets/stylesheets/materialize/components/date_picker/_default.scss +0 -201
- data/app/assets/stylesheets/materialize/components/date_picker/_default.time.scss +0 -125
@@ -13,14 +13,14 @@
|
|
13
13
|
width: 70%;
|
14
14
|
}
|
15
15
|
}
|
16
|
-
.
|
16
|
+
.col .row {
|
17
17
|
margin-left: (-1 * $gutter-width / 2);
|
18
18
|
margin-right: (-1 * $gutter-width / 2);
|
19
19
|
}
|
20
20
|
|
21
21
|
.section {
|
22
|
-
|
23
|
-
|
22
|
+
padding-top: 1rem;
|
23
|
+
padding-bottom: 1rem;
|
24
24
|
|
25
25
|
&.no-pad {
|
26
26
|
padding: 0;
|
@@ -34,6 +34,25 @@
|
|
34
34
|
}
|
35
35
|
|
36
36
|
|
37
|
+
// Mixins to eliminate code repitition
|
38
|
+
@mixin reset-offset {
|
39
|
+
margin-left: auto;
|
40
|
+
left: auto;
|
41
|
+
right: auto;
|
42
|
+
}
|
43
|
+
@mixin grid-classes($size, $i, $perc) {
|
44
|
+
&.offset-#{$size}#{$i} {
|
45
|
+
margin-left: $perc;
|
46
|
+
}
|
47
|
+
&.pull-#{$size}#{$i} {
|
48
|
+
right: $perc;
|
49
|
+
}
|
50
|
+
&.push-#{$size}#{$i} {
|
51
|
+
left: $perc;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
|
37
56
|
.row {
|
38
57
|
margin-left: auto;
|
39
58
|
margin-right: auto;
|
@@ -48,24 +67,29 @@
|
|
48
67
|
|
49
68
|
.col {
|
50
69
|
float: left;
|
51
|
-
|
70
|
+
box-sizing: border-box;
|
52
71
|
padding: 0 $gutter-width / 2;
|
72
|
+
min-height: 1px;
|
73
|
+
|
74
|
+
&[class*="push-"],
|
75
|
+
&[class*="pull-"] {
|
76
|
+
position: relative;
|
77
|
+
}
|
53
78
|
|
54
79
|
$i: 1;
|
55
80
|
@while $i <= $num-cols {
|
56
81
|
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
57
82
|
&.s#{$i} {
|
58
83
|
width: $perc;
|
59
|
-
|
84
|
+
@include reset-offset;
|
60
85
|
}
|
61
86
|
$i: $i + 1;
|
62
87
|
}
|
88
|
+
|
63
89
|
$i: 1;
|
64
90
|
@while $i <= $num-cols {
|
65
91
|
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
66
|
-
|
67
|
-
margin-left: $perc;
|
68
|
-
}
|
92
|
+
@include grid-classes("s", $i, $perc);
|
69
93
|
$i: $i + 1;
|
70
94
|
}
|
71
95
|
|
@@ -76,19 +100,17 @@
|
|
76
100
|
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
77
101
|
&.m#{$i} {
|
78
102
|
width: $perc;
|
79
|
-
|
103
|
+
@include reset-offset;
|
80
104
|
}
|
81
|
-
$i: $i + 1
|
105
|
+
$i: $i + 1
|
82
106
|
}
|
107
|
+
|
83
108
|
$i: 1;
|
84
109
|
@while $i <= $num-cols {
|
85
110
|
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
86
|
-
|
87
|
-
margin-left: $perc;
|
88
|
-
}
|
111
|
+
@include grid-classes("m", $i, $perc);
|
89
112
|
$i: $i + 1;
|
90
113
|
}
|
91
|
-
|
92
114
|
}
|
93
115
|
|
94
116
|
@media #{$large-and-up} {
|
@@ -98,20 +120,37 @@
|
|
98
120
|
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
99
121
|
&.l#{$i} {
|
100
122
|
width: $perc;
|
101
|
-
|
123
|
+
@include reset-offset;
|
102
124
|
}
|
103
125
|
$i: $i + 1;
|
104
126
|
}
|
127
|
+
|
128
|
+
$i: 1;
|
129
|
+
@while $i <= $num-cols {
|
130
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
131
|
+
@include grid-classes("l", $i, $perc);
|
132
|
+
$i: $i + 1;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
@media #{$extra-large-and-up} {
|
137
|
+
|
105
138
|
$i: 1;
|
106
139
|
@while $i <= $num-cols {
|
107
140
|
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
108
|
-
&.
|
109
|
-
|
141
|
+
&.xl#{$i} {
|
142
|
+
width: $perc;
|
143
|
+
@include reset-offset;
|
110
144
|
}
|
111
145
|
$i: $i + 1;
|
112
146
|
}
|
113
147
|
|
148
|
+
$i: 1;
|
149
|
+
@while $i <= $num-cols {
|
150
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
151
|
+
@include grid-classes("xl", $i, $perc);
|
152
|
+
$i: $i + 1;
|
153
|
+
}
|
114
154
|
}
|
115
|
-
|
116
155
|
}
|
117
156
|
}
|
@@ -1,41 +1,43 @@
|
|
1
1
|
.materialboxed {
|
2
|
-
cursor: zoom-in;
|
3
|
-
position: relative;
|
4
|
-
@include transition(opacity .4s);
|
5
|
-
|
6
2
|
&:hover {
|
7
3
|
&:not(.active) {
|
8
4
|
opacity: .8;
|
9
5
|
}
|
10
|
-
will-change: left, top, width, height;
|
11
6
|
}
|
12
|
-
}
|
13
7
|
|
14
|
-
|
15
|
-
cursor: zoom-
|
8
|
+
display: block;
|
9
|
+
cursor: zoom-in;
|
10
|
+
position: relative;
|
11
|
+
transition: opacity .4s;
|
12
|
+
-webkit-backface-visibility: hidden;
|
13
|
+
|
14
|
+
&.active {
|
15
|
+
cursor: zoom-out;
|
16
|
+
}
|
16
17
|
}
|
17
18
|
|
18
19
|
#materialbox-overlay {
|
19
20
|
position:fixed;
|
20
|
-
top:0;
|
21
|
-
left:0;
|
21
|
+
top: 0;
|
22
22
|
right: 0;
|
23
23
|
bottom: 0;
|
24
|
+
left: 0;
|
24
25
|
background-color: #292929;
|
25
|
-
z-index:
|
26
|
-
|
26
|
+
z-index: 1000;
|
27
27
|
will-change: opacity;
|
28
28
|
}
|
29
|
+
|
29
30
|
.materialbox-caption {
|
30
31
|
position: fixed;
|
31
32
|
display: none;
|
32
33
|
color: #fff;
|
33
34
|
line-height: 50px;
|
34
35
|
bottom: 0;
|
36
|
+
left: 0;
|
35
37
|
width: 100%;
|
36
38
|
text-align: center;
|
37
39
|
padding: 0% 15%;
|
38
40
|
height: 50px;
|
39
41
|
z-index: 1000;
|
40
42
|
-webkit-font-smoothing: antialiased;
|
41
|
-
}
|
43
|
+
}
|
@@ -1,5 +1,9 @@
|
|
1
1
|
.modal {
|
2
|
-
|
2
|
+
&:focus {
|
3
|
+
outline: none;
|
4
|
+
}
|
5
|
+
|
6
|
+
@extend .z-depth-5;
|
3
7
|
|
4
8
|
display: none;
|
5
9
|
position: fixed;
|
@@ -36,26 +40,26 @@
|
|
36
40
|
padding: 4px 6px;
|
37
41
|
height: 56px;
|
38
42
|
width: 100%;
|
43
|
+
text-align: right;
|
39
44
|
|
40
45
|
.btn, .btn-flat {
|
41
|
-
float: right;
|
42
46
|
margin: 6px 0;
|
43
47
|
}
|
44
48
|
}
|
45
49
|
}
|
46
|
-
.
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
50
|
+
.modal-overlay {
|
51
|
+
position: fixed;
|
52
|
+
z-index: 999;
|
53
|
+
top: -25%;
|
54
|
+
left: 0;
|
55
|
+
bottom: 0;
|
56
|
+
right: 0;
|
57
|
+
height: 125%;
|
58
|
+
width: 100%;
|
59
|
+
background: #000;
|
60
|
+
display: none;
|
57
61
|
|
58
|
-
|
62
|
+
will-change: opacity;
|
59
63
|
}
|
60
64
|
|
61
65
|
// Modal with fixed action footer
|
@@ -1,39 +1,57 @@
|
|
1
1
|
nav {
|
2
|
+
&.nav-extended {
|
3
|
+
height: auto;
|
4
|
+
|
5
|
+
.nav-wrapper {
|
6
|
+
min-height: $navbar-height-mobile;
|
7
|
+
height: auto;
|
8
|
+
}
|
9
|
+
|
10
|
+
.nav-content {
|
11
|
+
position: relative;
|
12
|
+
line-height: normal;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
2
16
|
color: $navbar-font-color;
|
3
17
|
@extend .z-depth-1;
|
4
18
|
background-color: $primary-color;
|
5
19
|
width: 100%;
|
6
20
|
height: $navbar-height-mobile;
|
7
|
-
line-height: $navbar-height-mobile;
|
21
|
+
line-height: $navbar-line-height-mobile;
|
8
22
|
|
9
23
|
a { color: $navbar-font-color; }
|
10
24
|
|
25
|
+
i,
|
26
|
+
[class^="mdi-"], [class*="mdi-"],
|
27
|
+
i.material-icons {
|
28
|
+
display: block;
|
29
|
+
font-size: 24px;
|
30
|
+
height: $navbar-height-mobile;
|
31
|
+
line-height: $navbar-line-height-mobile;
|
32
|
+
}
|
33
|
+
|
11
34
|
.nav-wrapper {
|
12
35
|
position: relative;
|
13
36
|
height: 100%;
|
14
|
-
|
15
|
-
i {
|
16
|
-
display: block;
|
17
|
-
font-size: 2rem;
|
18
|
-
}
|
19
37
|
}
|
20
38
|
|
21
39
|
@media #{$large-and-up} {
|
22
|
-
a.
|
40
|
+
a.sidenav-trigger { display: none; }
|
23
41
|
}
|
24
42
|
|
25
43
|
|
26
44
|
// Collapse button
|
27
|
-
.
|
45
|
+
.sidenav-trigger {
|
28
46
|
float: left;
|
29
47
|
position: relative;
|
30
48
|
z-index: 1;
|
31
49
|
height: $navbar-height-mobile;
|
50
|
+
margin: 0 18px;
|
32
51
|
|
33
52
|
i {
|
34
|
-
font-size: 2.7rem;
|
35
53
|
height: $navbar-height-mobile;
|
36
|
-
line-height: $navbar-height-mobile;
|
54
|
+
line-height: $navbar-line-height-mobile;
|
37
55
|
}
|
38
56
|
}
|
39
57
|
|
@@ -45,22 +63,47 @@ nav {
|
|
45
63
|
display: inline-block;
|
46
64
|
font-size: $navbar-brand-font-size;
|
47
65
|
padding: 0;
|
48
|
-
white-space: nowrap;
|
49
66
|
|
50
67
|
&.center {
|
51
68
|
left: 50%;
|
52
|
-
|
69
|
+
transform: translateX(-50%);
|
53
70
|
}
|
54
71
|
|
55
72
|
@media #{$medium-and-down} {
|
56
73
|
left: 50%;
|
57
|
-
|
74
|
+
transform: translateX(-50%);
|
75
|
+
|
76
|
+
&.left, &.right {
|
77
|
+
padding: 0;
|
78
|
+
transform: none;
|
79
|
+
}
|
80
|
+
|
81
|
+
&.left { left: 0.5rem; }
|
82
|
+
&.right {
|
83
|
+
right: 0.5rem;
|
84
|
+
left: auto;
|
85
|
+
}
|
58
86
|
}
|
59
87
|
|
60
88
|
&.right {
|
61
89
|
right: 0.5rem;
|
62
90
|
padding: 0;
|
63
91
|
}
|
92
|
+
|
93
|
+
i,
|
94
|
+
[class^="mdi-"], [class*="mdi-"],
|
95
|
+
i.material-icons {
|
96
|
+
float: left;
|
97
|
+
margin-right: 15px;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
// Title
|
103
|
+
.nav-title {
|
104
|
+
display: inline-block;
|
105
|
+
font-size: 32px;
|
106
|
+
padding: 28px 0;
|
64
107
|
}
|
65
108
|
|
66
109
|
|
@@ -69,19 +112,36 @@ nav {
|
|
69
112
|
margin: 0;
|
70
113
|
|
71
114
|
li {
|
72
|
-
|
115
|
+
transition: background-color .3s;
|
73
116
|
float: left;
|
74
117
|
padding: 0;
|
75
118
|
|
76
|
-
|
119
|
+
&.active {
|
77
120
|
background-color: rgba(0,0,0,.1);
|
78
121
|
}
|
79
122
|
}
|
80
123
|
a {
|
81
|
-
|
124
|
+
transition: background-color .3s;
|
125
|
+
font-size: $navbar-font-size;
|
82
126
|
color: $navbar-font-color;
|
83
127
|
display: block;
|
84
128
|
padding: 0 15px;
|
129
|
+
cursor: pointer;
|
130
|
+
|
131
|
+
&.btn, &.btn-large, &.btn-flat, &.btn-floating {
|
132
|
+
margin-top: -2px;
|
133
|
+
margin-left: 15px;
|
134
|
+
margin-right: 15px;
|
135
|
+
|
136
|
+
& > .material-icons {
|
137
|
+
height: inherit;
|
138
|
+
line-height: inherit;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
&:hover {
|
143
|
+
background-color: rgba(0,0,0,.1);
|
144
|
+
}
|
85
145
|
}
|
86
146
|
|
87
147
|
&.left {
|
@@ -90,8 +150,13 @@ nav {
|
|
90
150
|
}
|
91
151
|
|
92
152
|
// Navbar Search Form
|
153
|
+
form {
|
154
|
+
height: 100%;
|
155
|
+
}
|
156
|
+
|
93
157
|
.input-field {
|
94
158
|
margin: 0;
|
159
|
+
height: 100%;
|
95
160
|
|
96
161
|
input {
|
97
162
|
height: 100%;
|
@@ -105,38 +170,37 @@ nav {
|
|
105
170
|
box-shadow: none;
|
106
171
|
}
|
107
172
|
}
|
173
|
+
|
108
174
|
label {
|
109
175
|
top: 0;
|
110
176
|
left: 0;
|
111
177
|
|
112
178
|
i {
|
113
179
|
color: rgba(255,255,255,.7);
|
114
|
-
|
180
|
+
transition: color .3s;
|
115
181
|
}
|
116
182
|
&.active i { color: $navbar-font-color; }
|
117
|
-
&.active {
|
118
|
-
@include transform(translateY(0));
|
119
|
-
}
|
120
183
|
}
|
121
|
-
|
122
184
|
}
|
123
|
-
|
124
185
|
}
|
125
186
|
|
126
187
|
// Fixed Navbar
|
127
188
|
.navbar-fixed {
|
128
189
|
position: relative;
|
129
190
|
height: $navbar-height-mobile;
|
130
|
-
z-index:
|
191
|
+
z-index: 997;
|
131
192
|
|
132
193
|
nav {
|
133
194
|
position: fixed;
|
134
195
|
}
|
135
196
|
}
|
136
197
|
@media #{$medium-and-up} {
|
137
|
-
nav
|
198
|
+
nav.nav-extended .nav-wrapper {
|
199
|
+
min-height: $navbar-height;
|
200
|
+
}
|
201
|
+
nav, nav .nav-wrapper i, nav a.sidenav-trigger, nav a.sidenav-trigger i {
|
138
202
|
height: $navbar-height;
|
139
|
-
line-height: $navbar-height;
|
203
|
+
line-height: $navbar-line-height;
|
140
204
|
}
|
141
205
|
.navbar-fixed {
|
142
206
|
height: $navbar-height;
|