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.
@@ -1,632 +1,707 @@
1
- @charset "UTF-8";
2
-
3
-
4
- //Default styles
5
-
6
- html {
7
- box-sizing: border-box;
8
- }
9
- *, *:before, *:after {
10
- box-sizing: inherit;
11
- }
12
-
13
- body {
14
- // display: flex;
15
- // min-height: 100vh;
16
- // flex-direction: column;
17
- }
18
-
19
- main {
20
- // flex: 1 0 auto;
21
- }
22
-
23
- ul {
24
- list-style-type: none;
25
- }
26
-
27
- a {
28
- color: $link-color;
29
- text-decoration: none;
30
- }
31
-
32
-
33
- // Positioning
34
- .valign-wrapper {
35
- @include flexbox();
36
- @include align(center);
37
- @include justify-content(center);
38
-
39
- .valign {
40
- display: block;
41
- }
42
- }
43
-
44
-
45
- ul {
46
- padding: 0;
47
- li {
48
- list-style-type: none;
49
- }
50
- }
51
-
52
- // classic clearfix
53
- .clearfix {
54
- clear: both;
55
- }
56
-
57
-
58
- // Z-levels
59
-
60
- .z-depth-1{
61
- @include box-shadow-2(0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12));
62
- }
63
- .z-depth-1-half{
64
- @include box-shadow-2(0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15));
65
- }
66
- .z-depth-2{
67
- @include box-shadow-2(0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19));
68
- }
69
- .z-depth-3{
70
- @include box-shadow-2(0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19));
71
- }
72
- .z-depth-4{
73
- @include box-shadow-2(0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21));
74
- }
75
- .z-depth-5{
76
- @include box-shadow-2(0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22));
77
- }
78
-
79
- // Dividers
80
-
81
- .divider {
82
- height: 1px;
83
- overflow: hidden;
84
- background-color: color("grey", "lighten-2");
85
- }
86
-
87
-
88
- // Blockquote
89
-
90
- blockquote {
91
- margin: 20px 0;
92
- padding-left: 1.5rem;
93
- border-left: 5px solid color("red", "lighten-3");
94
- }
95
-
96
- // Icon Styles
97
-
98
- i {
99
- line-height: inherit;
100
-
101
- &.left {
102
- float: left;
103
- margin-right: 15px;
104
- }
105
- &.right {
106
- float: right;
107
- margin-left: 15px;
108
- }
109
- &.tiny {
110
- font-size: 1rem;
111
- }
112
- &.small {
113
- font-size: 2rem;
114
- }
115
- &.medium {
116
- font-size: 4rem;
117
- }
118
- &.large {
119
- font-size: 6rem;
120
- }
121
- }
122
-
123
- // Images
124
- img.responsive-img,
125
- video.responsive-video {
126
- max-width: 100%;
127
- height: auto;
128
- }
129
-
130
-
131
-
132
-
133
- // parallax
134
- .parallax-container {
135
- position: relative;
136
- overflow: hidden;
137
- height: 500px;
138
- }
139
-
140
- .parallax {
141
- position: absolute;
142
- top: 0;
143
- left: 0;
144
- right: 0;
145
- bottom: 0;
146
- z-index: -1;
147
-
148
- img {
149
- display: none;
150
- position: absolute;
151
- bottom: 0;
152
- width: 100%;
153
- }
154
- }
155
- @media #{$medium-and-down} {
156
- .parallax-container {
157
- height: auto;
158
- }
159
- .parallax {
160
- position: relative;
161
- width: 100%;
162
-
163
- img {
164
- position: relative;
165
- }
166
- }
167
- }
168
-
169
-
170
- // Pushpin
171
- .pin-top, .pin-bottom {
172
- position: relative;
173
- }
174
- .pinned {
175
- position: fixed !important;
176
- }
177
-
178
- /*********************
179
- Transition Classes
180
- **********************/
181
-
182
- ul.staggered-list li {
183
- @include opacity(0);
184
- }
185
-
186
- .fade-in {
187
- @include opacity(0);
188
- transform-origin: 0 50%;
189
- }
190
-
191
-
192
- /*********************
193
- Media Query Classes
194
- **********************/
195
- .hide-on-small-only, .hide-on-small-and-down {
196
- @media #{$small-and-down} {
197
- display: none !important;
198
- }
199
- }
200
- .hide-on-med-and-down {
201
- @media #{$medium-and-down} {
202
- display: none !important;
203
- }
204
- }
205
- .hide-on-med-and-up {
206
- @media #{$medium-and-up} {
207
- display: none !important;
208
- }
209
- }
210
- .hide-on-med-only {
211
- @media only screen and (min-width: $small-screen) and (max-width: $medium-screen) {
212
- display: none !important;
213
- }
214
- }
215
- .hide-on-large-only {
216
- @media #{$large-and-up} {
217
- display: none !important;
218
- }
219
- }
220
- .show-on-large {
221
- @media #{$large-and-up} {
222
- display: initial !important;
223
- }
224
- }
225
- .show-on-medium {
226
- @media only screen and (min-width: $small-screen) and (max-width: $medium-screen) {
227
- display: initial !important;
228
- }
229
- }
230
- .show-on-small {
231
- @media #{$small-and-down} {
232
- display: initial !important;
233
- }
234
- }
235
- .show-on-medium-and-up {
236
- @media #{$medium-and-up} {
237
- display: initial !important;
238
- }
239
- }
240
- .show-on-medium-and-down {
241
- @media #{$medium-and-down} {
242
- display: initial !important;
243
- }
244
- }
245
-
246
-
247
- // Center text on mobile
248
- .center-on-small-only {
249
- @media #{$small-and-down} {
250
- text-align: center;
251
- }
252
- }
253
-
254
- // Footer
255
- footer.page-footer {
256
- margin-top: 20px;
257
- padding-top: 20px;
258
- background-color: $footer-bg-color;
259
-
260
- .footer-copyright {
261
- overflow: hidden;
262
- height: 50px;
263
- line-height: 50px;
264
- color: rgba(255,255,255,.8);
265
- background-color: rgba(51,51,51,.08);;
266
- @extend .light;
267
- }
268
- }
269
-
270
- // Tables
271
- table, th, td {
272
- border: none;
273
- }
274
-
275
- table {
276
- width:100%;
277
- display: table;
278
-
279
- &.bordered tr {
280
- border-bottom: 1px solid $table-border-color;
281
- }
282
-
283
- &.striped {
284
- tbody tr:nth-child(odd) {
285
- background-color: $table-striped-color;
286
- }
287
- }
288
-
289
- &.hoverable {
290
-
291
- tbody tr {
292
- @include transition(background-color .25s ease);
293
- &:hover {
294
- background-color: $table-striped-color;
295
- }
296
- }
297
- }
298
-
299
- &.centered {
300
- thead tr th, tbody tr td {
301
- text-align: center;
302
-
303
- }
304
- }
305
-
306
- }
307
-
308
- thead {
309
- border-bottom: 1px solid $table-border-color;
310
- }
311
-
312
- td, th{
313
- padding: 15px 5px;
314
- display: table-cell;
315
- text-align: left;
316
- vertical-align: middle;
317
- border-radius: 2px;
318
- }
319
-
320
- // Responsive Table
321
- @media #{$medium-and-down} {
322
-
323
- table.responsive-table {
324
- width: 100%;
325
- border-collapse: collapse;
326
- border-spacing: 0;
327
- display: block;
328
- position: relative;
329
-
330
- th,
331
- td {
332
- margin: 0;
333
- vertical-align: top;
334
- }
335
-
336
- th { text-align: left; }
337
- thead {
338
- display: block;
339
- float: left;
340
-
341
- tr {
342
- display: block;
343
- padding: 0 10px 0 0;
344
- }
345
- }
346
- tbody {
347
- display: block;
348
- width: auto;
349
- position: relative;
350
- overflow-x: auto;
351
- white-space: nowrap;
352
-
353
- tr {
354
- display: inline-block;
355
- vertical-align: top;
356
- }
357
- }
358
- th {
359
- display: block;
360
- text-align: right;
361
- }
362
- td {
363
- display: block;
364
- min-height: 1.25em;
365
- text-align: left;
366
- }
367
- tr { padding: 0 10px; }
368
-
369
- /* sort out borders */
370
- thead {
371
- border: 0;
372
- border-right: 1px solid $table-border-color;
373
- }
374
-
375
- &.bordered {
376
- th { border-bottom: 0; border-left: 0; }
377
- td { border-left: 0; border-right: 0; border-bottom: 0; }
378
- tr { border: 0; }
379
- tbody tr { border-right: 1px solid $table-border-color; }
380
- }
381
-
382
- }
383
-
384
- }
385
-
386
-
387
- // Collections
388
- .collection {
389
- background-color: $collection-bg-color;
390
- margin: $element-top-margin 0 $element-bottom-margin 0;
391
- border: 1px solid $collection-border-color;
392
- border-radius: 2px;
393
-
394
- .collection-item {
395
- line-height: 1.5rem;
396
- padding: 10px 20px;
397
- margin: 0px;
398
- border-bottom: 1px solid $collection-border-color;
399
- &:last-child {
400
- border-bottom: none;
401
- }
402
-
403
- &.active {
404
- background-color: $collection-active-bg-color;
405
- color: $collection-active-color;
406
- }
407
- }
408
- a.collection-item{
409
- display: block;
410
- @include transition(.25s);
411
- color: $secondary-color;
412
- &:not(.active) {
413
- &:hover {
414
- background-color: $collection-hover-bg-color;
415
- }
416
- }
417
- }
418
-
419
- &.with-header {
420
- .collection-header {
421
- border-bottom: 1px solid $collection-border-color;
422
- padding: 10px 20px;
423
- }
424
- .collection-item {
425
- padding-left: 30px;
426
- }
427
- }
428
-
429
-
430
-
431
- //Pagination
432
- &.pagination {
433
- display: inline-block;
434
-
435
- ul{
436
- background-color: transparent;
437
- font-size: 0;
438
- display: inline-block;
439
- }
440
- li {
441
- display: inline;
442
- font-weight: 500;
443
- margin: 0px;
444
- padding: 0px;
445
- font-size: 1rem;
446
-
447
- a {
448
- padding: 0px 5px;
449
- }
450
- &.active {
451
- background-color: color('light-blue', 'base');
452
- color: #FFF;
453
- }
454
- &:hover {
455
- background-color: color('light-blue', 'lighten-5');
456
- }
457
- }
458
- }
459
-
460
- }
461
- // Made less specific to allow easier overriding
462
- .secondary-content {
463
- float: right;
464
- color: $secondary-color;
465
- }
466
-
467
-
468
- // Badges
469
- span.badge {
470
- min-width: 3rem;
471
- padding: 0 6px;
472
- text-align: center;
473
- font-size: 1rem;
474
- line-height: inherit;
475
- color: color('grey', 'darken-1');
476
- float: right;
477
- @include box-sizing(border-box);
478
-
479
- &.new {
480
- font-weight: 300;
481
- font-size: 0.8rem;
482
- color: #fff;
483
- background-color: $badge-bg-color;
484
- @include border-radius(2px);
485
- }
486
- &.new:after {
487
- content: " new";
488
- }
489
- }
490
-
491
- // Responsive Videos
492
- .video-container {
493
- position: relative;
494
- padding-bottom: 56.25%;
495
- padding-top: 30px;
496
- height: 0;
497
- overflow: hidden;
498
-
499
- iframe, object, embed {
500
- position: absolute;
501
- top: 0;
502
- left: 0;
503
- width: 100%;
504
- height: 100%;
505
- }
506
- }
507
-
508
- // Progress Bar
509
- .progress {
510
- position: relative;
511
- height: 4px;
512
- display: block;
513
- width: 100%;
514
- background-color: lighten($progress-bar-color, 40%);
515
- @include border-radius(2px);
516
- margin: $element-top-margin 0 $element-bottom-margin 0;
517
- overflow: hidden;
518
- .determinate {
519
- position: absolute;
520
- background-color: inherit;
521
- top: 0;
522
- bottom: 0;
523
- background-color: $progress-bar-color;
524
- @include transition(width .3s linear);
525
- }
526
- .indeterminate {
527
- background-color: $progress-bar-color;
528
- &:before {
529
- content: '';
530
- position: absolute;
531
- background-color: inherit;
532
- top: 0;
533
- left:0;
534
- bottom: 0;
535
- will-change: left, right;
536
- // Custom bezier
537
- @include animation(indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite);
538
-
539
- }
540
- &:after {
541
- content: '';
542
- position: absolute;
543
- background-color: inherit;
544
- top: 0;
545
- left:0;
546
- bottom: 0;
547
- will-change: left, right;
548
- // Custom bezier
549
- @include animation(indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite);
550
- @include animation-delay(1.15s);
551
- }
552
- }
553
- }
554
- @include keyframes(indeterminate) {
555
- 0% {
556
- left: -35%;
557
- right:100%;
558
- }
559
- 60% {
560
- left: 100%;
561
- right: -90%;
562
- }
563
- 100% {
564
- left: 100%;
565
- right: -90%;
566
- }
567
- }
568
-
569
- @include keyframes(indeterminate-short) {
570
- 0% {
571
- left: -200%;
572
- right: 100%;
573
- }
574
- 60% {
575
- left: 107%;
576
- right: -8%;
577
- }
578
- 100% {
579
- left: 107%;
580
- right: -8%;
581
- }
582
- }
583
-
584
-
585
- /*******************
586
- Utility Classes
587
- *******************/
588
-
589
- // Text Align
590
- .left-align {
591
- text-align: left;
592
- }
593
- .right-align {
594
- text-align: right
595
- }
596
- .center, .center-align {
597
- text-align: center;
598
- }
599
-
600
- .left {
601
- float: left !important;
602
- }
603
- .right {
604
- float: right !important;
605
- }
606
-
607
- // No Text Select
608
- .no-select {
609
- -webkit-touch-callout: none;
610
- -webkit-user-select: none;
611
- -khtml-user-select: none;
612
- -moz-user-select: none;
613
- -ms-user-select: none;
614
- user-select: none;
615
- }
616
-
617
- // Circle
618
- .circle {
619
- @include border-radius(50%);
620
- }
621
-
622
- .center-block {
623
- display: block;
624
- margin-left: auto;
625
- margin-right: auto;
626
- }
627
-
628
- .truncate {
629
- white-space: nowrap;
630
- overflow: hidden;
631
- text-overflow: ellipsis;
632
- }
1
+ @charset "UTF-8";
2
+
3
+
4
+ //Default styles
5
+
6
+ html {
7
+ box-sizing: border-box;
8
+ }
9
+ *, *:before, *:after {
10
+ box-sizing: inherit;
11
+ }
12
+
13
+ body {
14
+ // display: flex;
15
+ // min-height: 100vh;
16
+ // flex-direction: column;
17
+ }
18
+
19
+ main {
20
+ // flex: 1 0 auto;
21
+ }
22
+
23
+ ul {
24
+ list-style-type: none;
25
+ }
26
+
27
+ a {
28
+ color: $link-color;
29
+ text-decoration: none;
30
+ -webkit-tap-highlight-color: transparent;
31
+ }
32
+
33
+
34
+ // Positioning
35
+ .valign-wrapper {
36
+ @include flexbox();
37
+ @include align(center);
38
+ align-items: center;
39
+ // @include justify-content(center);
40
+
41
+ .valign {
42
+ display: block;
43
+ }
44
+ }
45
+
46
+
47
+ ul {
48
+ padding: 0;
49
+ li {
50
+ list-style-type: none;
51
+ }
52
+ }
53
+
54
+ // classic clearfix
55
+ .clearfix {
56
+ clear: both;
57
+ }
58
+
59
+
60
+ // Z-levels
61
+
62
+ .z-depth-1{
63
+ @include box-shadow-2(0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12));
64
+ }
65
+ .z-depth-1-half{
66
+ @include box-shadow-2(0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15));
67
+ }
68
+ .z-depth-2{
69
+ @include box-shadow-2(0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19));
70
+ }
71
+ .z-depth-3{
72
+ @include box-shadow-2(0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19));
73
+ }
74
+ .z-depth-4{
75
+ @include box-shadow-2(0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21));
76
+ }
77
+ .z-depth-5{
78
+ @include box-shadow-2(0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22));
79
+ }
80
+
81
+ // Dividers
82
+
83
+ .divider {
84
+ height: 1px;
85
+ overflow: hidden;
86
+ background-color: color("grey", "lighten-2");
87
+ }
88
+
89
+
90
+ // Blockquote
91
+
92
+ blockquote {
93
+ margin: 20px 0;
94
+ padding-left: 1.5rem;
95
+ border-left: 5px solid color("red", "lighten-3");
96
+ }
97
+
98
+ // Icon Styles
99
+
100
+ i {
101
+ line-height: inherit;
102
+
103
+ &.left {
104
+ float: left;
105
+ margin-right: 15px;
106
+ }
107
+ &.right {
108
+ float: right;
109
+ margin-left: 15px;
110
+ }
111
+ &.tiny {
112
+ font-size: 1rem;
113
+ }
114
+ &.small {
115
+ font-size: 2rem;
116
+ }
117
+ &.medium {
118
+ font-size: 4rem;
119
+ }
120
+ &.large {
121
+ font-size: 6rem;
122
+ }
123
+ }
124
+
125
+ // Images
126
+ img.responsive-img,
127
+ video.responsive-video {
128
+ max-width: 100%;
129
+ height: auto;
130
+ }
131
+
132
+
133
+
134
+
135
+ // parallax
136
+ .parallax-container {
137
+ position: relative;
138
+ overflow: hidden;
139
+ height: 500px;
140
+ }
141
+
142
+ .parallax {
143
+ position: absolute;
144
+ top: 0;
145
+ left: 0;
146
+ right: 0;
147
+ bottom: 0;
148
+ z-index: -1;
149
+
150
+ img {
151
+ display: none;
152
+ position: absolute;
153
+ bottom: 0;
154
+ width: 100%;
155
+ min-height: 100%;
156
+ background-position: center;
157
+ }
158
+ }
159
+ @media #{$medium-and-down} {
160
+ .parallax-container {
161
+ height: auto;
162
+ }
163
+ .parallax {
164
+ position: relative;
165
+ width: 100%;
166
+
167
+ img {
168
+ position: relative;
169
+ }
170
+ }
171
+ }
172
+
173
+
174
+ // Pushpin
175
+ .pin-top, .pin-bottom {
176
+ position: relative;
177
+ }
178
+ .pinned {
179
+ position: fixed !important;
180
+ }
181
+
182
+ /*********************
183
+ Transition Classes
184
+ **********************/
185
+
186
+ ul.staggered-list li {
187
+ @include opacity(0);
188
+ }
189
+
190
+ .fade-in {
191
+ @include opacity(0);
192
+ transform-origin: 0 50%;
193
+ }
194
+
195
+
196
+ /*********************
197
+ Media Query Classes
198
+ **********************/
199
+ .hide-on-small-only, .hide-on-small-and-down {
200
+ @media #{$small-and-down} {
201
+ display: none !important;
202
+ }
203
+ }
204
+ .hide-on-med-and-down {
205
+ @media #{$medium-and-down} {
206
+ display: none !important;
207
+ }
208
+ }
209
+ .hide-on-med-and-up {
210
+ @media #{$medium-and-up} {
211
+ display: none !important;
212
+ }
213
+ }
214
+ .hide-on-med-only {
215
+ @media only screen and (min-width: $small-screen) and (max-width: $medium-screen) {
216
+ display: none !important;
217
+ }
218
+ }
219
+ .hide-on-large-only {
220
+ @media #{$large-and-up} {
221
+ display: none !important;
222
+ }
223
+ }
224
+ .show-on-large {
225
+ @media #{$large-and-up} {
226
+ display: initial !important;
227
+ }
228
+ }
229
+ .show-on-medium {
230
+ @media only screen and (min-width: $small-screen) and (max-width: $medium-screen) {
231
+ display: initial !important;
232
+ }
233
+ }
234
+ .show-on-small {
235
+ @media #{$small-and-down} {
236
+ display: initial !important;
237
+ }
238
+ }
239
+ .show-on-medium-and-up {
240
+ @media #{$medium-and-up} {
241
+ display: initial !important;
242
+ }
243
+ }
244
+ .show-on-medium-and-down {
245
+ @media #{$medium-and-down} {
246
+ display: initial !important;
247
+ }
248
+ }
249
+
250
+
251
+ // Center text on mobile
252
+ .center-on-small-only {
253
+ @media #{$small-and-down} {
254
+ text-align: center;
255
+ }
256
+ }
257
+
258
+ // Footer
259
+ footer.page-footer {
260
+ margin-top: 20px;
261
+ padding-top: 20px;
262
+ background-color: $footer-bg-color;
263
+
264
+ .footer-copyright {
265
+ overflow: hidden;
266
+ height: 50px;
267
+ line-height: 50px;
268
+ color: rgba(255,255,255,.8);
269
+ background-color: rgba(51,51,51,.08);;
270
+ @extend .light;
271
+ }
272
+ }
273
+
274
+ // Tables
275
+ table, th, td {
276
+ border: none;
277
+ }
278
+
279
+ table {
280
+ width:100%;
281
+ display: table;
282
+
283
+ &.bordered tr {
284
+ border-bottom: 1px solid $table-border-color;
285
+ }
286
+
287
+ &.striped {
288
+ tbody tr:nth-child(odd) {
289
+ background-color: $table-striped-color;
290
+ }
291
+ }
292
+
293
+ &.hoverable {
294
+
295
+ tbody tr {
296
+ @include transition(background-color .25s ease);
297
+ &:hover {
298
+ background-color: $table-striped-color;
299
+ }
300
+ }
301
+ }
302
+
303
+ &.centered {
304
+ thead tr th, tbody tr td {
305
+ text-align: center;
306
+
307
+ }
308
+ }
309
+
310
+ }
311
+
312
+ thead {
313
+ border-bottom: 1px solid $table-border-color;
314
+ }
315
+
316
+ td, th {
317
+ padding: 15px 5px;
318
+ display: table-cell;
319
+ text-align: left;
320
+ vertical-align: middle;
321
+ border-radius: 2px;
322
+ -webkit-border-radius: 2px;
323
+ -moz-border-radius: 2px;
324
+ border-radius: 2px;
325
+ background-clip: padding-box;
326
+ }
327
+
328
+ // Responsive Table
329
+ @media #{$medium-and-down} {
330
+
331
+ table.responsive-table {
332
+ width: 100%;
333
+ border-collapse: collapse;
334
+ border-spacing: 0;
335
+ display: block;
336
+ position: relative;
337
+
338
+ th,
339
+ td {
340
+ margin: 0;
341
+ vertical-align: top;
342
+ }
343
+
344
+ th { text-align: left; }
345
+ thead {
346
+ display: block;
347
+ float: left;
348
+
349
+ tr {
350
+ display: block;
351
+ padding: 0 10px 0 0;
352
+ }
353
+ }
354
+ tbody {
355
+ display: block;
356
+ width: auto;
357
+ position: relative;
358
+ overflow-x: auto;
359
+ white-space: nowrap;
360
+
361
+ tr {
362
+ display: inline-block;
363
+ vertical-align: top;
364
+ }
365
+ }
366
+ th {
367
+ display: block;
368
+ text-align: right;
369
+ }
370
+ td {
371
+ display: block;
372
+ min-height: 1.25em;
373
+ text-align: left;
374
+ }
375
+ tr { padding: 0 10px; }
376
+
377
+ /* sort out borders */
378
+ thead {
379
+ border: 0;
380
+ border-right: 1px solid $table-border-color;
381
+ }
382
+
383
+ &.bordered {
384
+ th { border-bottom: 0; border-left: 0; }
385
+ td { border-left: 0; border-right: 0; border-bottom: 0; }
386
+ tr { border: 0; }
387
+ tbody tr { border-right: 1px solid $table-border-color; }
388
+ }
389
+
390
+ }
391
+
392
+ }
393
+
394
+
395
+ // Collections
396
+ .collection {
397
+ background-color: $collection-bg-color;
398
+ margin: $element-top-margin 0 $element-bottom-margin 0;
399
+ border: 1px solid $collection-border-color;
400
+ border-radius: 2px;
401
+ -webkit-border-radius: 2px;
402
+ -moz-border-radius: 2px;
403
+ background-clip: padding-box;
404
+ overflow: hidden;
405
+
406
+ .collection-item {
407
+ background-color: $collection-item-color;
408
+ line-height: 1.5rem;
409
+ padding: 10px 20px;
410
+ margin: 0px;
411
+ border-bottom: 1px solid $collection-border-color;
412
+ &.avatar {
413
+ height: 84px;
414
+ padding-left: 72px;
415
+ position: relative;
416
+ .circle {
417
+ position: absolute;
418
+ width: 42px;
419
+ height: 42px;
420
+ overflow: hidden;
421
+ left: 15px;
422
+ display: inline-block;
423
+ vertical-align: middle;
424
+ }
425
+ i.circle {
426
+ font-size: 18px;
427
+ line-height: 42px;
428
+ color: #fff;
429
+ background-color: #999;
430
+ text-align: center;
431
+ }
432
+ .title {
433
+ font-size: 16px;
434
+ }
435
+ p {
436
+ margin: 0;
437
+ }
438
+ .secondary-content {
439
+ position: absolute;
440
+ top: 16px;
441
+ right: 16px;
442
+ }
443
+ }
444
+ &:last-child {
445
+ border-bottom: none;
446
+ }
447
+
448
+ &.active {
449
+ background-color: $collection-active-bg-color;
450
+ color: $collection-active-color;
451
+ }
452
+ }
453
+ a.collection-item{
454
+ display: block;
455
+ @include transition(.25s);
456
+ color: $secondary-color;
457
+ &:not(.active) {
458
+ &:hover {
459
+ background-color: $collection-hover-bg-color;
460
+ }
461
+ }
462
+ }
463
+
464
+ &.with-header {
465
+ .collection-header {
466
+ background-color: $collection-header-color;
467
+ border-bottom: 1px solid $collection-border-color;
468
+ padding: 10px 20px;
469
+ }
470
+ .collection-item {
471
+ padding-left: 30px;
472
+ }
473
+ }
474
+
475
+
476
+
477
+ //Pagination
478
+ // &.pagination {
479
+ // display: inline-block;
480
+
481
+ // ul{
482
+ // background-color: transparent;
483
+ // font-size: 0;
484
+ // display: inline-block;
485
+ // }
486
+ // li {
487
+ // // display: inline;
488
+ // // font-weight: 500;
489
+ // // margin: 0px;
490
+ // // padding: 0px;
491
+ // // font-size: 1rem;
492
+
493
+ // font-size: 1.2rem;
494
+ // float: left;
495
+ // width: 30px;
496
+ // height: 30px;
497
+ // margin: 0 10px;
498
+ // -webkit-border-radius: 2px;
499
+ // -moz-border-radius: 2px;
500
+ // border-radius: 2px;
501
+ // background-clip: padding-box;
502
+ // text-align: center;
503
+
504
+ // a {
505
+ // color: #444;
506
+ // }
507
+ // &.active a {
508
+ // color: #fff;
509
+ // }
510
+ // &.active {
511
+ // background-color: #ee6e73;
512
+ // }
513
+ // &.disabled a {
514
+ // color: #999;
515
+ // }
516
+ // i {
517
+ // font-size: 2rem;
518
+ // line-height: 1.8rem;
519
+ // }
520
+ // }
521
+
522
+ // a {
523
+ // padding: 0px 5px;
524
+ // }
525
+ // &.active {
526
+ // background-color: color('light-blue', 'base');
527
+ // color: #FFF;
528
+ // }
529
+ // &:hover {
530
+ // background-color: color('light-blue', 'lighten-5');
531
+ // }
532
+ // }
533
+ // }
534
+ }
535
+
536
+ // Made less specific to allow easier overriding
537
+ .secondary-content {
538
+ float: right;
539
+ color: $secondary-color;
540
+ }
541
+
542
+
543
+ // Badges
544
+ span.badge {
545
+ min-width: 3rem;
546
+ padding: 0 6px;
547
+ text-align: center;
548
+ font-size: 1rem;
549
+ line-height: inherit;
550
+ color: color('grey', 'darken-1');
551
+ float: right;
552
+ @include box-sizing(border-box);
553
+
554
+ &.new {
555
+ font-weight: 300;
556
+ font-size: 0.8rem;
557
+ color: #fff;
558
+ background-color: $badge-bg-color;
559
+ @include border-radius(2px);
560
+ }
561
+ &.new:after {
562
+ content: " new";
563
+ }
564
+ }
565
+
566
+ // Responsive Videos
567
+ .video-container {
568
+ position: relative;
569
+ padding-bottom: 56.25%;
570
+ padding-top: 30px;
571
+ height: 0;
572
+ overflow: hidden;
573
+
574
+ iframe, object, embed {
575
+ position: absolute;
576
+ top: 0;
577
+ left: 0;
578
+ width: 100%;
579
+ height: 100%;
580
+ }
581
+ }
582
+
583
+ // Progress Bar
584
+ .progress {
585
+ position: relative;
586
+ height: 4px;
587
+ display: block;
588
+ width: 100%;
589
+ background-color: lighten($progress-bar-color, 40%);
590
+ @include border-radius(2px);
591
+ margin: $element-top-margin 0 $element-bottom-margin 0;
592
+ overflow: hidden;
593
+ .determinate {
594
+ position: absolute;
595
+ background-color: inherit;
596
+ top: 0;
597
+ bottom: 0;
598
+ background-color: $progress-bar-color;
599
+ @include transition(width .3s linear);
600
+ }
601
+ .indeterminate {
602
+ background-color: $progress-bar-color;
603
+ &:before {
604
+ content: '';
605
+ position: absolute;
606
+ background-color: inherit;
607
+ top: 0;
608
+ left:0;
609
+ bottom: 0;
610
+ will-change: left, right;
611
+ // Custom bezier
612
+ @include animation(indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite);
613
+
614
+ }
615
+ &:after {
616
+ content: '';
617
+ position: absolute;
618
+ background-color: inherit;
619
+ top: 0;
620
+ left:0;
621
+ bottom: 0;
622
+ will-change: left, right;
623
+ // Custom bezier
624
+ @include animation(indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite);
625
+ @include animation-delay(1.15s);
626
+ }
627
+ }
628
+ }
629
+ @include keyframes(indeterminate) {
630
+ 0% {
631
+ left: -35%;
632
+ right:100%;
633
+ }
634
+ 60% {
635
+ left: 100%;
636
+ right: -90%;
637
+ }
638
+ 100% {
639
+ left: 100%;
640
+ right: -90%;
641
+ }
642
+ }
643
+
644
+ @include keyframes(indeterminate-short) {
645
+ 0% {
646
+ left: -200%;
647
+ right: 100%;
648
+ }
649
+ 60% {
650
+ left: 107%;
651
+ right: -8%;
652
+ }
653
+ 100% {
654
+ left: 107%;
655
+ right: -8%;
656
+ }
657
+ }
658
+
659
+
660
+ /*******************
661
+ Utility Classes
662
+ *******************/
663
+
664
+ // Text Align
665
+ .left-align {
666
+ text-align: left;
667
+ }
668
+ .right-align {
669
+ text-align: right
670
+ }
671
+ .center, .center-align {
672
+ text-align: center;
673
+ }
674
+
675
+ .left {
676
+ float: left !important;
677
+ }
678
+ .right {
679
+ float: right !important;
680
+ }
681
+
682
+ // No Text Select
683
+ .no-select {
684
+ -webkit-touch-callout: none;
685
+ -webkit-user-select: none;
686
+ -khtml-user-select: none;
687
+ -moz-user-select: none;
688
+ -ms-user-select: none;
689
+ user-select: none;
690
+ }
691
+
692
+ // Circle
693
+ .circle {
694
+ @include border-radius(50%);
695
+ }
696
+
697
+ .center-block {
698
+ display: block;
699
+ margin-left: auto;
700
+ margin-right: auto;
701
+ }
702
+
703
+ .truncate {
704
+ white-space: nowrap;
705
+ overflow: hidden;
706
+ text-overflow: ellipsis;
707
+ }