materialize-sass 0.97.8 → 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 +1 -0
- data/README.md +34 -32
- data/Rakefile +38 -21
- 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/{app/assets → assets}/javascripts/materialize-sprockets.js +12 -13
- data/assets/javascripts/materialize.js +12374 -0
- data/assets/stylesheets/materialize/components/_badges.scss +55 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_buttons.scss +99 -58
- data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +14 -6
- data/{app/assets → assets}/stylesheets/materialize/components/_carousel.scss +12 -7
- data/{app/assets → assets}/stylesheets/materialize/components/_chips.scss +13 -6
- data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +16 -15
- 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} +2 -44
- data/assets/stylesheets/materialize/components/_datepicker.scss +191 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_dropdown.scss +35 -15
- data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +96 -125
- data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +45 -36
- data/{app/assets → assets}/stylesheets/materialize/components/_icons-material-design.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +13 -12
- data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +7 -3
- data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +29 -11
- data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +2 -2
- data/assets/stylesheets/materialize/components/_pulse.scss +34 -0
- data/{app/assets/stylesheets/materialize/components/_sideNav.scss → assets/stylesheets/materialize/components/_sidenav.scss} +47 -47
- data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +5 -5
- data/{app/assets → assets}/stylesheets/materialize/components/_tabs.scss +10 -10
- 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 +7 -14
- data/{app/assets → assets}/stylesheets/materialize/components/_tooltip.scss +3 -3
- data/assets/stylesheets/materialize/components/_transitions.scss +13 -0
- data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +8 -9
- data/{app/assets → assets}/stylesheets/materialize/components/_variables.scss +65 -29
- data/assets/stylesheets/materialize/components/_waves.scss +114 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_checkboxes.scss +26 -46
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_file-input.scss +6 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_forms.scss +0 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_input-fields.scss +131 -63
- data/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +115 -0
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_range.scss +35 -33
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_select.scss +88 -19
- data/{app/assets → assets}/stylesheets/materialize/components/forms/_switches.scss +32 -21
- data/assets/stylesheets/materialize/extras/nouislider.css +406 -0
- data/{app/assets → assets}/stylesheets/materialize.scss +10 -9
- data/lib/materialize-sass/engine.rb +9 -7
- 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 -119
- data/app/assets/fonts/roboto/Roboto-Bold.eot +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.eot +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.eot +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.eot +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.eot +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 -267
- data/app/assets/javascripts/materialize/cards.js +0 -26
- data/app/assets/javascripts/materialize/carousel.js +0 -454
- data/app/assets/javascripts/materialize/character_counter.js +0 -72
- data/app/assets/javascripts/materialize/chips.js +0 -289
- data/app/assets/javascripts/materialize/collapsible.js +0 -160
- 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 -265
- data/app/assets/javascripts/materialize/extras/nouislider.js +0 -1666
- data/app/assets/javascripts/materialize/extras/nouislider.min.js +0 -1
- data/app/assets/javascripts/materialize/forms.js +0 -682
- data/app/assets/javascripts/materialize/global.js +0 -98
- data/app/assets/javascripts/materialize/hammer.min.js +0 -1
- data/app/assets/javascripts/materialize/init.js +0 -174
- data/app/assets/javascripts/materialize/initial.js +0 -11
- 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/materialbox.js +0 -269
- data/app/assets/javascripts/materialize/modal.js +0 -184
- 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 -71
- data/app/assets/javascripts/materialize/scrollFire.js +0 -48
- data/app/assets/javascripts/materialize/scrollspy.js +0 -284
- data/app/assets/javascripts/materialize/sideNav.js +0 -370
- data/app/assets/javascripts/materialize/slider.js +0 -321
- data/app/assets/javascripts/materialize/tabs.js +0 -164
- data/app/assets/javascripts/materialize/toasts.js +0 -137
- data/app/assets/javascripts/materialize/tooltip.js +0 -236
- data/app/assets/javascripts/materialize/transitions.js +0 -169
- data/app/assets/javascripts/materialize/velocity.min.js +0 -5
- data/app/assets/javascripts/materialize.js +0 -5
- data/app/assets/stylesheets/materialize/components/_mixins.scss +0 -5
- data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -424
- data/app/assets/stylesheets/materialize/components/_prefixer.scss +0 -384
- data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -49
- data/app/assets/stylesheets/materialize/components/_waves.scss +0 -177
- 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
- data/app/assets/stylesheets/materialize/components/forms/_radio-buttons.scss +0 -117
- data/app/assets/stylesheets/materialize/extras/nouislider.css +0 -259
@@ -0,0 +1,191 @@
|
|
1
|
+
/* Modal */
|
2
|
+
.datepicker-modal {
|
3
|
+
max-width: 325px;
|
4
|
+
min-width: 300px;
|
5
|
+
max-height: none;
|
6
|
+
}
|
7
|
+
|
8
|
+
.datepicker-container.modal-content {
|
9
|
+
display: flex;
|
10
|
+
flex-direction: column;
|
11
|
+
padding: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
.datepicker-controls {
|
15
|
+
display: flex;
|
16
|
+
justify-content: space-between;
|
17
|
+
width: 280px;
|
18
|
+
margin: 0 auto;
|
19
|
+
|
20
|
+
.selects-container {
|
21
|
+
display: flex;
|
22
|
+
}
|
23
|
+
|
24
|
+
.select-wrapper {
|
25
|
+
input {
|
26
|
+
&:focus {
|
27
|
+
border-bottom: none;
|
28
|
+
}
|
29
|
+
border-bottom: none;
|
30
|
+
text-align: center;
|
31
|
+
margin: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
.caret {
|
35
|
+
display: none;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.select-year input {
|
40
|
+
width: 50px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.select-month input {
|
44
|
+
width: 80px;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.month-prev, .month-next {
|
49
|
+
margin-top: 4px;
|
50
|
+
cursor: pointer;
|
51
|
+
background-color: transparent;
|
52
|
+
border: none;
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
/* Date Display */
|
57
|
+
.datepicker-date-display {
|
58
|
+
flex: 1 auto;
|
59
|
+
background-color: $secondary-color;
|
60
|
+
color: #fff;
|
61
|
+
padding: 20px 22px;
|
62
|
+
font-weight: 500;
|
63
|
+
|
64
|
+
.year-text {
|
65
|
+
display: block;
|
66
|
+
font-size: 1.5rem;
|
67
|
+
line-height: 25px;
|
68
|
+
color: $datepicker-year;
|
69
|
+
}
|
70
|
+
|
71
|
+
.date-text {
|
72
|
+
display: block;
|
73
|
+
font-size: 2.8rem;
|
74
|
+
line-height: 47px;
|
75
|
+
font-weight: 500;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
/* Calendar */
|
81
|
+
.datepicker-calendar-container {
|
82
|
+
flex: 2.5 auto;
|
83
|
+
}
|
84
|
+
|
85
|
+
.datepicker-table {
|
86
|
+
width: 280px;
|
87
|
+
font-size: 1rem;
|
88
|
+
margin: 0 auto;
|
89
|
+
|
90
|
+
thead {
|
91
|
+
border-bottom: none;
|
92
|
+
}
|
93
|
+
|
94
|
+
th {
|
95
|
+
padding: 10px 5px;
|
96
|
+
text-align: center;
|
97
|
+
}
|
98
|
+
|
99
|
+
tr {
|
100
|
+
border: none;
|
101
|
+
}
|
102
|
+
|
103
|
+
abbr {
|
104
|
+
text-decoration: none;
|
105
|
+
color: $datepicker-calendar-header-color;
|
106
|
+
}
|
107
|
+
|
108
|
+
td {
|
109
|
+
&.is-today {
|
110
|
+
color: $secondary-color;
|
111
|
+
}
|
112
|
+
|
113
|
+
&.is-selected {
|
114
|
+
background-color: $secondary-color;
|
115
|
+
color: #fff;
|
116
|
+
}
|
117
|
+
|
118
|
+
&.is-outside-current-month,
|
119
|
+
&.is-disabled {
|
120
|
+
color: $datepicker-disabled-day-color;
|
121
|
+
pointer-events: none;
|
122
|
+
}
|
123
|
+
|
124
|
+
border-radius: 50%;
|
125
|
+
padding: 0;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
.datepicker-day-button {
|
130
|
+
&:focus {
|
131
|
+
background-color: $datepicker-day-focus;
|
132
|
+
}
|
133
|
+
|
134
|
+
background-color: transparent;
|
135
|
+
border: none;
|
136
|
+
line-height: 38px;
|
137
|
+
display: block;
|
138
|
+
width: 100%;
|
139
|
+
border-radius: 50%;
|
140
|
+
padding: 0 5px;
|
141
|
+
cursor: pointer;
|
142
|
+
color: inherit;
|
143
|
+
}
|
144
|
+
|
145
|
+
|
146
|
+
/* Footer */
|
147
|
+
.datepicker-footer {
|
148
|
+
width: 280px;
|
149
|
+
margin: 0 auto;
|
150
|
+
padding-bottom: 5px;
|
151
|
+
display: flex;
|
152
|
+
justify-content: space-between;
|
153
|
+
}
|
154
|
+
|
155
|
+
.datepicker-cancel,
|
156
|
+
.datepicker-clear,
|
157
|
+
.datepicker-today,
|
158
|
+
.datepicker-done {
|
159
|
+
color: $secondary-color;
|
160
|
+
padding: 0 1rem;
|
161
|
+
}
|
162
|
+
|
163
|
+
.datepicker-clear {
|
164
|
+
color: $error-color;
|
165
|
+
}
|
166
|
+
|
167
|
+
|
168
|
+
/* Media Queries */
|
169
|
+
@media #{$medium-and-up} {
|
170
|
+
.datepicker-modal {
|
171
|
+
max-width: 625px;
|
172
|
+
}
|
173
|
+
|
174
|
+
.datepicker-container.modal-content {
|
175
|
+
flex-direction: row;
|
176
|
+
}
|
177
|
+
|
178
|
+
.datepicker-date-display {
|
179
|
+
flex: 0 1 270px;
|
180
|
+
}
|
181
|
+
|
182
|
+
.datepicker-controls,
|
183
|
+
.datepicker-table,
|
184
|
+
.datepicker-footer {
|
185
|
+
width: 320px;
|
186
|
+
}
|
187
|
+
|
188
|
+
.datepicker-day-button {
|
189
|
+
line-height: 44px;
|
190
|
+
}
|
191
|
+
}
|
@@ -1,32 +1,30 @@
|
|
1
1
|
.dropdown-content {
|
2
|
+
&:focus {
|
3
|
+
outline: 0;
|
4
|
+
}
|
5
|
+
|
6
|
+
|
2
7
|
@extend .z-depth-1;
|
3
8
|
background-color: $dropdown-bg-color;
|
4
9
|
margin: 0;
|
5
10
|
display: none;
|
6
11
|
min-width: 100px;
|
7
|
-
max-height: 650px;
|
8
12
|
overflow-y: auto;
|
9
13
|
opacity: 0;
|
10
14
|
position: absolute;
|
11
|
-
|
12
|
-
|
15
|
+
left: 0;
|
16
|
+
top: 0;
|
17
|
+
z-index: 9999; // TODO: Check if this doesn't break other things
|
18
|
+
transform-origin: 0 0;
|
13
19
|
|
14
|
-
li {
|
15
|
-
clear: both;
|
16
|
-
color: $off-black;
|
17
|
-
cursor: pointer;
|
18
|
-
min-height: $dropdown-item-height;
|
19
|
-
line-height: 1.5rem;
|
20
|
-
width: 100%;
|
21
|
-
text-align: left;
|
22
|
-
text-transform: none;
|
23
20
|
|
24
|
-
|
21
|
+
li {
|
22
|
+
&:hover, &.active {
|
25
23
|
background-color: $dropdown-hover-bg-color;
|
26
24
|
}
|
27
25
|
|
28
|
-
|
29
|
-
|
26
|
+
&:focus {
|
27
|
+
outline: none;
|
30
28
|
}
|
31
29
|
|
32
30
|
&.divider {
|
@@ -52,7 +50,25 @@
|
|
52
50
|
& > a > i {
|
53
51
|
height: inherit;
|
54
52
|
line-height: inherit;
|
53
|
+
float: left;
|
54
|
+
margin: 0 24px 0 0;
|
55
|
+
width: 24px;
|
55
56
|
}
|
57
|
+
|
58
|
+
|
59
|
+
clear: both;
|
60
|
+
color: $off-black;
|
61
|
+
cursor: pointer;
|
62
|
+
min-height: $dropdown-item-height;
|
63
|
+
line-height: 1.5rem;
|
64
|
+
width: 100%;
|
65
|
+
text-align: left;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
body.keyboard-focused {
|
70
|
+
.dropdown-content li:focus {
|
71
|
+
background-color: darken($dropdown-hover-bg-color, 8%);
|
56
72
|
}
|
57
73
|
}
|
58
74
|
|
@@ -61,5 +77,9 @@
|
|
61
77
|
top: 1px;
|
62
78
|
left: 0;
|
63
79
|
height: 18px;
|
80
|
+
transform: none;
|
64
81
|
}
|
65
82
|
|
83
|
+
.dropdown-trigger {
|
84
|
+
cursor: pointer;
|
85
|
+
}
|
@@ -17,12 +17,20 @@ main {
|
|
17
17
|
// flex: 1 0 auto;
|
18
18
|
}
|
19
19
|
|
20
|
+
button,
|
21
|
+
input,
|
22
|
+
optgroup,
|
23
|
+
select,
|
24
|
+
textarea {
|
25
|
+
font-family: $font-stack;
|
26
|
+
}
|
27
|
+
|
20
28
|
ul {
|
21
29
|
&:not(.browser-default) {
|
22
30
|
padding-left: 0;
|
23
31
|
list-style-type: none;
|
24
32
|
|
25
|
-
li {
|
33
|
+
& > li {
|
26
34
|
list-style-type: none;
|
27
35
|
}
|
28
36
|
}
|
@@ -41,10 +49,6 @@ a {
|
|
41
49
|
.valign-wrapper {
|
42
50
|
display: flex;
|
43
51
|
align-items: center;
|
44
|
-
|
45
|
-
.valign {
|
46
|
-
display: block;
|
47
|
-
}
|
48
52
|
}
|
49
53
|
|
50
54
|
|
@@ -58,33 +62,51 @@ a {
|
|
58
62
|
.z-depth-0 {
|
59
63
|
box-shadow: none !important;
|
60
64
|
}
|
65
|
+
|
66
|
+
/* 2dp elevation modified*/
|
61
67
|
.z-depth-1 {
|
62
|
-
box-shadow: 0 2px 2px 0 rgba(0,
|
68
|
+
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),
|
69
|
+
0 3px 1px -2px rgba(0,0,0,0.12),
|
70
|
+
0 1px 5px 0 rgba(0,0,0,0.2);
|
63
71
|
}
|
64
72
|
.z-depth-1-half {
|
65
73
|
box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
|
66
74
|
}
|
75
|
+
|
76
|
+
/* 6dp elevation modified*/
|
67
77
|
.z-depth-2 {
|
68
|
-
box-shadow: 0 4px 5px 0 rgba(0,
|
78
|
+
box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14),
|
79
|
+
0 1px 10px 0 rgba(0,0,0,0.12),
|
80
|
+
0 2px 4px -1px rgba(0,0,0,0.3);
|
69
81
|
}
|
82
|
+
|
83
|
+
/* 12dp elevation modified*/
|
70
84
|
.z-depth-3 {
|
71
|
-
box-shadow: 0
|
85
|
+
box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14),
|
86
|
+
0 3px 14px 2px rgba(0,0,0,0.12),
|
87
|
+
0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
72
88
|
}
|
89
|
+
|
90
|
+
/* 16dp elevation */
|
73
91
|
.z-depth-4 {
|
74
|
-
box-shadow: 0
|
92
|
+
box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),
|
93
|
+
0 6px 30px 5px rgba(0,0,0,0.12),
|
94
|
+
0 8px 10px -7px rgba(0,0,0,0.2);
|
75
95
|
}
|
96
|
+
|
97
|
+
/* 24dp elevation */
|
76
98
|
.z-depth-5 {
|
77
|
-
box-shadow: 0
|
99
|
+
box-shadow: 0 24px 38px 3px rgba(0,0,0,0.14),
|
100
|
+
0 9px 46px 8px rgba(0,0,0,0.12),
|
101
|
+
0 11px 15px -7px rgba(0,0,0,0.2);
|
78
102
|
}
|
79
103
|
|
80
104
|
.hoverable {
|
81
105
|
transition: box-shadow .25s;
|
82
|
-
box-shadow: 0;
|
83
|
-
}
|
84
106
|
|
85
|
-
|
86
|
-
|
87
|
-
|
107
|
+
&:hover {
|
108
|
+
box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
109
|
+
}
|
88
110
|
}
|
89
111
|
|
90
112
|
// Dividers
|
@@ -197,6 +219,7 @@ video.responsive-video {
|
|
197
219
|
|
198
220
|
// Breadcrumbs
|
199
221
|
.breadcrumb {
|
222
|
+
display: inline-block;
|
200
223
|
font-size: 18px;
|
201
224
|
color: rgba(255,255,255, .7);
|
202
225
|
|
@@ -219,6 +242,7 @@ video.responsive-video {
|
|
219
242
|
font-size: 25px;
|
220
243
|
margin: 0 10px 0 8px;
|
221
244
|
-webkit-font-smoothing: antialiased;
|
245
|
+
float: left;
|
222
246
|
}
|
223
247
|
|
224
248
|
&:first-child:before {
|
@@ -230,32 +254,30 @@ video.responsive-video {
|
|
230
254
|
}
|
231
255
|
}
|
232
256
|
|
233
|
-
|
234
257
|
// Parallax
|
235
258
|
.parallax-container {
|
236
259
|
position: relative;
|
237
260
|
overflow: hidden;
|
238
261
|
height: 500px;
|
239
|
-
}
|
240
|
-
|
241
|
-
.parallax {
|
242
|
-
position: absolute;
|
243
|
-
top: 0;
|
244
|
-
left: 0;
|
245
|
-
right: 0;
|
246
|
-
bottom: 0;
|
247
|
-
z-index: -1;
|
248
262
|
|
249
|
-
|
250
|
-
display: none;
|
263
|
+
.parallax {
|
251
264
|
position: absolute;
|
252
|
-
|
265
|
+
top: 0;
|
266
|
+
left: 0;
|
267
|
+
right: 0;
|
253
268
|
bottom: 0;
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
269
|
+
z-index: -1;
|
270
|
+
|
271
|
+
img {
|
272
|
+
opacity: 0;
|
273
|
+
position: absolute;
|
274
|
+
left: 50%;
|
275
|
+
bottom: 0;
|
276
|
+
min-width: 100%;
|
277
|
+
min-height: 100%;
|
278
|
+
transform: translate3d(0,0,0);
|
279
|
+
transform: translateX(-50%);
|
280
|
+
}
|
259
281
|
}
|
260
282
|
}
|
261
283
|
|
@@ -309,6 +331,16 @@ ul.staggered-list li {
|
|
309
331
|
display: none !important;
|
310
332
|
}
|
311
333
|
}
|
334
|
+
.hide-on-extra-large-only {
|
335
|
+
@media #{$extra-large-and-up} {
|
336
|
+
display: none !important;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
.show-on-extra-large {
|
340
|
+
@media #{$extra-large-and-up} {
|
341
|
+
display: block !important;
|
342
|
+
}
|
343
|
+
}
|
312
344
|
.show-on-large {
|
313
345
|
@media #{$large-and-up} {
|
314
346
|
display: block !important;
|
@@ -344,18 +376,20 @@ ul.staggered-list li {
|
|
344
376
|
}
|
345
377
|
|
346
378
|
// Footer
|
347
|
-
|
348
|
-
margin-top: 20px;
|
379
|
+
.page-footer {
|
349
380
|
padding-top: 20px;
|
381
|
+
color: $footer-font-color;
|
350
382
|
background-color: $footer-bg-color;
|
351
383
|
|
352
384
|
.footer-copyright {
|
353
385
|
overflow: hidden;
|
354
|
-
height: 50px;
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
386
|
+
min-height: 50px;
|
387
|
+
display: flex;
|
388
|
+
align-items: center;
|
389
|
+
justify-content: space-between;
|
390
|
+
padding: 10px 0px;
|
391
|
+
color: $footer-copyright-font-color;
|
392
|
+
background-color: $footer-copyright-bg-color;
|
359
393
|
}
|
360
394
|
}
|
361
395
|
|
@@ -367,19 +401,22 @@ table, th, td {
|
|
367
401
|
table {
|
368
402
|
width:100%;
|
369
403
|
display: table;
|
404
|
+
border-collapse: collapse;
|
405
|
+
border-spacing: 0;
|
370
406
|
|
371
|
-
&.
|
372
|
-
|
373
|
-
|
374
|
-
}
|
375
|
-
|
376
|
-
&.striped > tbody {
|
377
|
-
> tr:nth-child(odd) {
|
378
|
-
background-color: $table-striped-color;
|
407
|
+
&.striped {
|
408
|
+
tr {
|
409
|
+
border-bottom: none;
|
379
410
|
}
|
380
411
|
|
381
|
-
>
|
382
|
-
|
412
|
+
> tbody {
|
413
|
+
> tr:nth-child(odd) {
|
414
|
+
background-color: $table-striped-color;
|
415
|
+
}
|
416
|
+
|
417
|
+
> tr > td {
|
418
|
+
border-radius: 0;
|
419
|
+
}
|
383
420
|
}
|
384
421
|
}
|
385
422
|
|
@@ -395,10 +432,9 @@ table {
|
|
395
432
|
text-align: center;
|
396
433
|
}
|
397
434
|
}
|
398
|
-
|
399
435
|
}
|
400
436
|
|
401
|
-
|
437
|
+
tr {
|
402
438
|
border-bottom: 1px solid $table-border-color;
|
403
439
|
}
|
404
440
|
|
@@ -465,21 +501,16 @@ td, th{
|
|
465
501
|
min-height: 1.25em;
|
466
502
|
text-align: left;
|
467
503
|
}
|
468
|
-
tr {
|
504
|
+
tr {
|
505
|
+
border-bottom: none;
|
506
|
+
padding: 0 10px;
|
507
|
+
}
|
469
508
|
|
470
509
|
/* sort out borders */
|
471
510
|
thead {
|
472
511
|
border: 0;
|
473
512
|
border-right: 1px solid $table-border-color;
|
474
513
|
}
|
475
|
-
|
476
|
-
&.bordered {
|
477
|
-
th { border-bottom: 0; border-left: 0; }
|
478
|
-
td { border-left: 0; border-right: 0; border-bottom: 0; }
|
479
|
-
tr { border: 0; }
|
480
|
-
tbody tr { border-right: 1px solid $table-border-color; }
|
481
|
-
}
|
482
|
-
|
483
514
|
}
|
484
515
|
|
485
516
|
}
|
@@ -495,7 +526,7 @@ td, th{
|
|
495
526
|
|
496
527
|
.collection-item {
|
497
528
|
background-color: $collection-bg-color;
|
498
|
-
line-height:
|
529
|
+
line-height: $collection-line-height;
|
499
530
|
padding: 10px 20px;
|
500
531
|
margin: 0;
|
501
532
|
border-bottom: 1px solid $collection-border-color;
|
@@ -506,7 +537,9 @@ td, th{
|
|
506
537
|
padding-left: 72px;
|
507
538
|
position: relative;
|
508
539
|
|
509
|
-
.
|
540
|
+
// Don't style circles inside preloader classes.
|
541
|
+
&:not(.circle-clipper) > .circle,
|
542
|
+
:not(.circle-clipper) > .circle {
|
510
543
|
position: absolute;
|
511
544
|
width: 42px;
|
512
545
|
height: 42px;
|
@@ -592,63 +625,6 @@ td, th{
|
|
592
625
|
|
593
626
|
|
594
627
|
|
595
|
-
// Badges
|
596
|
-
span.badge {
|
597
|
-
min-width: 3rem;
|
598
|
-
padding: 0 6px;
|
599
|
-
margin-left: 14px;
|
600
|
-
text-align: center;
|
601
|
-
font-size: 1rem;
|
602
|
-
line-height: inherit;
|
603
|
-
color: color('grey', 'darken-1');
|
604
|
-
float: right;
|
605
|
-
box-sizing: border-box;
|
606
|
-
|
607
|
-
&.new {
|
608
|
-
font-weight: 300;
|
609
|
-
font-size: 0.8rem;
|
610
|
-
color: #fff;
|
611
|
-
background-color: $badge-bg-color;
|
612
|
-
border-radius: 2px;
|
613
|
-
}
|
614
|
-
&.new:after {
|
615
|
-
content: " new";
|
616
|
-
}
|
617
|
-
|
618
|
-
&[data-badge-caption]::after {
|
619
|
-
content: " " attr(data-badge-caption);
|
620
|
-
}
|
621
|
-
}
|
622
|
-
nav ul a span.badge {
|
623
|
-
display: inline-block;
|
624
|
-
float: none;
|
625
|
-
margin-left: 4px;
|
626
|
-
line-height: 22px;
|
627
|
-
height: 22px;
|
628
|
-
}
|
629
|
-
.side-nav span.badge.new,
|
630
|
-
.collapsible span.badge.new {
|
631
|
-
&::before {
|
632
|
-
content: '';
|
633
|
-
position: absolute;
|
634
|
-
top: 10px;
|
635
|
-
right: 0;
|
636
|
-
bottom: 10px;
|
637
|
-
left: 0;
|
638
|
-
background-color: $badge-bg-color;
|
639
|
-
border-radius: 2px;
|
640
|
-
z-index: -1;
|
641
|
-
}
|
642
|
-
|
643
|
-
position: relative;
|
644
|
-
background-color: transparent;
|
645
|
-
}
|
646
|
-
.collapsible span.badge.new {
|
647
|
-
z-index: 1;
|
648
|
-
}
|
649
|
-
|
650
|
-
|
651
|
-
|
652
628
|
// Responsive Videos
|
653
629
|
.video-container {
|
654
630
|
position: relative;
|
@@ -770,11 +746,6 @@ nav ul a span.badge {
|
|
770
746
|
|
771
747
|
// No Text Select
|
772
748
|
.no-select {
|
773
|
-
-webkit-touch-callout: none;
|
774
|
-
-webkit-user-select: none;
|
775
|
-
-khtml-user-select: none;
|
776
|
-
-moz-user-select: none;
|
777
|
-
-ms-user-select: none;
|
778
749
|
user-select: none;
|
779
750
|
}
|
780
751
|
|