strata-academic 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +116 -0
  3. data/README.md +110 -0
  4. data/_layouts/homepage.html +101 -0
  5. data/_sass/strata-academic.scss +3220 -0
  6. data/assets/css/style.scss +4 -0
  7. data/assets/img/avatar.png +0 -0
  8. data/assets/img/bg.jpg +0 -0
  9. data/assets/img/favicon-dark.png +0 -0
  10. data/assets/img/favicon.png +0 -0
  11. data/assets/js/favicon-switcher.js +64 -0
  12. data/assets/js/scale.fix.js +27 -0
  13. data/assets/original/css/fontawesome-all.min.css +5 -0
  14. data/assets/original/css/images/overlay.png +0 -0
  15. data/assets/original/css/main.css +3221 -0
  16. data/assets/original/js/breakpoints.min.js +2 -0
  17. data/assets/original/js/browser.min.js +2 -0
  18. data/assets/original/js/jquery.min.js +2 -0
  19. data/assets/original/js/jquery.poptrox.min.js +2 -0
  20. data/assets/original/js/main.js +117 -0
  21. data/assets/original/js/util.js +587 -0
  22. data/assets/original/sass/libs/_breakpoints.scss +223 -0
  23. data/assets/original/sass/libs/_functions.scss +90 -0
  24. data/assets/original/sass/libs/_html-grid.scss +149 -0
  25. data/assets/original/sass/libs/_mixins.scss +78 -0
  26. data/assets/original/sass/libs/_vars.scss +59 -0
  27. data/assets/original/sass/libs/_vendor.scss +376 -0
  28. data/assets/original/sass/main.scss +1633 -0
  29. data/assets/original/webfonts/fa-brands-400.eot +0 -0
  30. data/assets/original/webfonts/fa-brands-400.svg +3442 -0
  31. data/assets/original/webfonts/fa-brands-400.ttf +0 -0
  32. data/assets/original/webfonts/fa-brands-400.woff +0 -0
  33. data/assets/original/webfonts/fa-brands-400.woff2 +0 -0
  34. data/assets/original/webfonts/fa-regular-400.eot +0 -0
  35. data/assets/original/webfonts/fa-regular-400.svg +803 -0
  36. data/assets/original/webfonts/fa-regular-400.ttf +0 -0
  37. data/assets/original/webfonts/fa-regular-400.woff +0 -0
  38. data/assets/original/webfonts/fa-regular-400.woff2 +0 -0
  39. data/assets/original/webfonts/fa-solid-900.eot +0 -0
  40. data/assets/original/webfonts/fa-solid-900.svg +4649 -0
  41. data/assets/original/webfonts/fa-solid-900.ttf +0 -0
  42. data/assets/original/webfonts/fa-solid-900.woff +0 -0
  43. data/assets/original/webfonts/fa-solid-900.woff2 +0 -0
  44. metadata +162 -0
@@ -0,0 +1,1633 @@
1
+ @import 'libs/vars';
2
+ @import 'libs/functions';
3
+ @import 'libs/mixins';
4
+ @import 'libs/vendor';
5
+ @import 'libs/breakpoints';
6
+ @import 'libs/html-grid';
7
+ @import url('fontawesome-all.min.css');
8
+ @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic");
9
+
10
+ /*
11
+ Strata by HTML5 UP
12
+ html5up.net | @ajlkn
13
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
14
+ */
15
+
16
+ $size-header-width: 35%;
17
+ $size-header-pad: 4em;
18
+
19
+ // Breakpoints.
20
+
21
+ @include breakpoints((
22
+ xlarge: ( 1281px, 1800px ),
23
+ large: ( 981px, 1280px ),
24
+ medium: ( 737px, 980px ),
25
+ small: ( 481px, 736px ),
26
+ xsmall: ( null, 480px ),
27
+ ));
28
+
29
+ // Reset.
30
+ // Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
31
+
32
+ html, body, div, span, applet, object,
33
+ iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
34
+ pre, a, abbr, acronym, address, big, cite,
35
+ code, del, dfn, em, img, ins, kbd, q, s, samp,
36
+ small, strike, strong, sub, sup, tt, var, b,
37
+ u, i, center, dl, dt, dd, ol, ul, li, fieldset,
38
+ form, label, legend, table, caption, tbody,
39
+ tfoot, thead, tr, th, td, article, aside,
40
+ canvas, details, embed, figure, figcaption,
41
+ footer, header, hgroup, menu, nav, output, ruby,
42
+ section, summary, time, mark, audio, video {
43
+ margin: 0;
44
+ padding: 0;
45
+ border: 0;
46
+ font-size: 100%;
47
+ font: inherit;
48
+ vertical-align: baseline;
49
+ }
50
+
51
+ article, aside, details, figcaption, figure,
52
+ footer, header, hgroup, menu, nav, section {
53
+ display: block;
54
+ }
55
+
56
+ body {
57
+ line-height: 1;
58
+ }
59
+
60
+ ol, ul {
61
+ list-style:none;
62
+ }
63
+
64
+ blockquote, q {
65
+ quotes: none;
66
+
67
+ &:before,
68
+ &:after {
69
+ content: '';
70
+ content: none;
71
+ }
72
+ }
73
+
74
+ table {
75
+ border-collapse: collapse;
76
+ border-spacing: 0;
77
+ }
78
+
79
+ body {
80
+ -webkit-text-size-adjust: none;
81
+ }
82
+
83
+ mark {
84
+ background-color: transparent;
85
+ color: inherit;
86
+ }
87
+
88
+ input::-moz-focus-inner {
89
+ border: 0;
90
+ padding: 0;
91
+ }
92
+
93
+ input, select, textarea {
94
+ -moz-appearance: none;
95
+ -webkit-appearance: none;
96
+ -ms-appearance: none;
97
+ appearance: none;
98
+ }
99
+
100
+ /* Basic */
101
+
102
+ // Set box model to border-box.
103
+ // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
104
+ html {
105
+ box-sizing: border-box;
106
+ }
107
+
108
+ *, *:before, *:after {
109
+ box-sizing: inherit;
110
+ }
111
+
112
+ body {
113
+ background: _palette(bg);
114
+
115
+ // Stops initial animations until page loads.
116
+ &.is-preload {
117
+ *, *:before, *:after {
118
+ @include vendor('animation', 'none !important');
119
+ @include vendor('transition', 'none !important');
120
+ }
121
+ }
122
+
123
+ }
124
+
125
+ body, input, select, textarea {
126
+ color: _palette(fg);
127
+ font-family: _font(family);
128
+ font-size: 16pt;
129
+ font-weight: _font(weight);
130
+ line-height: 1.75em;
131
+ }
132
+
133
+ a {
134
+ @include vendor('transition', ('color #{_duration(transition)} ease-in-out', 'border-color #{_duration(transition)} ease-in-out'));
135
+ border-bottom: dotted 1px;
136
+ color: _palette(accent1, bg);
137
+ text-decoration: none;
138
+
139
+ &:hover {
140
+ border-bottom-color: transparent;
141
+ color: _palette(accent1, bg) !important;
142
+ text-decoration: none;
143
+ }
144
+ }
145
+
146
+ strong, b {
147
+ color: _palette(fg-bold);
148
+ font-weight: _font(weight-bold);
149
+ }
150
+
151
+ em, i {
152
+ font-style: italic;
153
+ }
154
+
155
+ p {
156
+ margin: 0 0 _size(element-margin) 0;
157
+ }
158
+
159
+ h1, h2, h3, h4, h5, h6 {
160
+ color: _palette(fg-bold);
161
+ font-weight: _font(weight-bold);
162
+ line-height: 1em;
163
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
164
+
165
+ a {
166
+ color: inherit;
167
+ text-decoration: none;
168
+ }
169
+ }
170
+
171
+ h1 {
172
+ font-size: 2em;
173
+ line-height: 1.5em;
174
+ }
175
+
176
+ h2 {
177
+ font-size: 1.5em;
178
+ line-height: 1.5em;
179
+ }
180
+
181
+ h3 {
182
+ font-size: 1.25em;
183
+ line-height: 1.5em;
184
+ }
185
+
186
+ h4 {
187
+ font-size: 1.1em;
188
+ line-height: 1.5em;
189
+ }
190
+
191
+ h5 {
192
+ font-size: 0.9em;
193
+ line-height: 1.5em;
194
+ }
195
+
196
+ h6 {
197
+ font-size: 0.7em;
198
+ line-height: 1.5em;
199
+ }
200
+
201
+ sub {
202
+ font-size: 0.8em;
203
+ position: relative;
204
+ top: 0.5em;
205
+ }
206
+
207
+ sup {
208
+ font-size: 0.8em;
209
+ position: relative;
210
+ top: -0.5em;
211
+ }
212
+
213
+ hr {
214
+ border: 0;
215
+ border-bottom: solid 2px _palette(border);
216
+
217
+ // This is the *only* instance where we need to rely on margin collapse.
218
+ margin: _size(element-margin) 0;
219
+
220
+ &.major {
221
+ margin: (_size(element-margin) * 1.5) 0;
222
+ }
223
+ }
224
+
225
+ blockquote {
226
+ border-left: solid 6px _palette(border);
227
+ font-style: italic;
228
+ margin: 0 0 _size(element-margin) 0;
229
+ padding: 0.5em 0 0.5em 1.5em;
230
+ }
231
+
232
+ code {
233
+ background: _palette(border-bg);
234
+ border-radius: _size(border-radius);
235
+ border: solid 2px _palette(border);
236
+ font-family: _font(family-fixed);
237
+ font-size: 0.9em;
238
+ margin: 0 0.25em;
239
+ padding: 0.25em 0.65em;
240
+ }
241
+
242
+ pre {
243
+ -webkit-overflow-scrolling: touch;
244
+ font-family: _font(family-fixed);
245
+ font-size: 0.9em;
246
+ margin: 0 0 _size(element-margin) 0;
247
+
248
+ code {
249
+ display: block;
250
+ line-height: 1.75em;
251
+ padding: 1em 1.5em;
252
+ overflow-x: auto;
253
+ }
254
+ }
255
+
256
+ .align-left {
257
+ text-align: left;
258
+ }
259
+
260
+ .align-center {
261
+ text-align: center;
262
+ }
263
+
264
+ .align-right {
265
+ text-align: right;
266
+ }
267
+
268
+ /* Container */
269
+
270
+ .container {
271
+ margin: 0 auto;
272
+ max-width: calc(100% - #{_size(element-margin) * 2});
273
+ width: _size(container-width);
274
+
275
+ &.xsmall {
276
+ width: (_size(container-width) * 0.25);
277
+ }
278
+
279
+ &.small {
280
+ width: (_size(container-width) * 0.5);
281
+ }
282
+
283
+ &.medium {
284
+ width: (_size(container-width) * 0.75);
285
+ }
286
+
287
+ &.large {
288
+ width: (_size(container-width) * 1.25);
289
+ }
290
+
291
+ &.xlarge {
292
+ width: (_size(container-width) * 1.5);
293
+ }
294
+
295
+ &.max {
296
+ width: 100%;
297
+ }
298
+
299
+ @include breakpoint('<=medium') {
300
+ width: 100% !important;
301
+ max-width: 100% !important;
302
+ }
303
+
304
+ @include breakpoint('<=xsmall') {
305
+ max-width: calc(100% - #{_size(element-margin) * 1.5});
306
+ }
307
+ }
308
+
309
+ /* Row */
310
+
311
+ .row {
312
+ @include html-grid(2.5em);
313
+
314
+ @include breakpoint('<=xlarge') {
315
+ @include html-grid(2.5em, 'xlarge');
316
+ }
317
+
318
+ @include breakpoint('<=large') {
319
+ @include html-grid(2em, 'large');
320
+ }
321
+
322
+ @include breakpoint('<=medium') {
323
+ @include html-grid(2em, 'medium');
324
+ }
325
+
326
+ @include breakpoint('<=small') {
327
+ @include html-grid(1.5em, 'small');
328
+ }
329
+
330
+ @include breakpoint('<=xsmall') {
331
+ @include html-grid(1.5em, 'xsmall');
332
+ }
333
+ }
334
+
335
+ /* Section/Article */
336
+
337
+ section, article {
338
+ &.special {
339
+ text-align: center;
340
+ }
341
+ }
342
+
343
+ header {
344
+ p {
345
+ color: _palette(fg-light);
346
+ position: relative;
347
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
348
+ }
349
+
350
+ h2 + p {
351
+ font-size: 1.25em;
352
+ margin-top: (_size(element-margin) * -0.5);
353
+ line-height: 1.5em;
354
+ }
355
+
356
+ h3 + p {
357
+ font-size: 1.1em;
358
+ margin-top: (_size(element-margin) * -0.4);
359
+ line-height: 1.5em;
360
+ }
361
+
362
+ h4 + p,
363
+ h5 + p,
364
+ h6 + p {
365
+ font-size: 0.9em;
366
+ margin-top: (_size(element-margin) * -0.3);
367
+ line-height: 1.5em;
368
+ }
369
+
370
+ &.major {
371
+ h2 {
372
+ font-size: 2em;
373
+ }
374
+ }
375
+ }
376
+
377
+ /* Form */
378
+
379
+ form {
380
+ margin: 0 0 _size(element-margin) 0;
381
+ }
382
+
383
+ label {
384
+ color: _palette(fg-bold);
385
+ display: block;
386
+ font-size: 0.9em;
387
+ font-weight: _font(weight-bold);
388
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
389
+ }
390
+
391
+ input[type="text"],
392
+ input[type="password"],
393
+ input[type="email"],
394
+ select,
395
+ textarea {
396
+ @include vendor('appearance', 'none');
397
+ background: _palette(border-bg);
398
+ border-radius: _size(border-radius);
399
+ border: solid 2px transparent;
400
+ color: inherit;
401
+ display: block;
402
+ outline: 0;
403
+ padding: 0 0.75em;
404
+ text-decoration: none;
405
+ width: 100%;
406
+
407
+ &:invalid {
408
+ box-shadow: none;
409
+ }
410
+
411
+ &:focus {
412
+ border-color: _palette(accent1, bg);
413
+ }
414
+ }
415
+
416
+ select {
417
+ background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border2)}' /></svg>");
418
+ background-size: 1.25rem;
419
+ background-repeat: no-repeat;
420
+ background-position: calc(100% - 1rem) center;
421
+ height: _size(element-height);
422
+ padding-right: _size(element-height);
423
+ text-overflow: ellipsis;
424
+
425
+ option {
426
+ color: _palette(fg-bold);
427
+ background: _palette(bg);
428
+ }
429
+
430
+ &:focus {
431
+ &::-ms-value {
432
+ background-color: transparent;
433
+ }
434
+ }
435
+
436
+ &::-ms-expand {
437
+ display: none;
438
+ }
439
+ }
440
+
441
+ input[type="text"],
442
+ input[type="password"],
443
+ input[type="email"],
444
+ select {
445
+ height: _size(element-height);
446
+ }
447
+
448
+ textarea {
449
+ padding: 0.75em;
450
+ }
451
+
452
+ input[type="checkbox"],
453
+ input[type="radio"] {
454
+ @include vendor('appearance', 'none');
455
+ display: block;
456
+ float: left;
457
+ margin-right: -2em;
458
+ opacity: 0;
459
+ width: 1em;
460
+ z-index: -1;
461
+
462
+ & + label {
463
+ @include icon(false, solid);
464
+ color: _palette(fg);
465
+ cursor: pointer;
466
+ display: inline-block;
467
+ font-size: 1em;
468
+ font-weight: _font(weight);
469
+ padding-left: (_size(element-height) * 0.6) + 0.75em;
470
+ padding-right: 0.75em;
471
+ position: relative;
472
+
473
+ &:before {
474
+ background: _palette(border-bg);
475
+ border-radius: _size(border-radius);
476
+ border: solid 2px transparent;
477
+ content: '';
478
+ display: inline-block;
479
+ font-size: 0.8em;
480
+ height: (_size(element-height) * 0.75);
481
+ left: 0;
482
+ line-height: (_size(element-height) * 0.675);
483
+ position: absolute;
484
+ text-align: center;
485
+ top: 0;
486
+ width: (_size(element-height) * 0.75);
487
+ }
488
+ }
489
+
490
+ &:checked + label {
491
+ &:before {
492
+ background: _palette(fg-bold);
493
+ border-color: _palette(fg-bold);
494
+ color: _palette(bg);
495
+ content: '\f00c';
496
+ }
497
+ }
498
+
499
+ &:focus + label {
500
+ &:before {
501
+ border-color: _palette(accent1, bg);
502
+ }
503
+ }
504
+ }
505
+
506
+ input[type="checkbox"] {
507
+ & + label {
508
+ &:before {
509
+ border-radius: _size(border-radius);
510
+ }
511
+ }
512
+ }
513
+
514
+ input[type="radio"] {
515
+ & + label {
516
+ &:before {
517
+ border-radius: 100%;
518
+ }
519
+ }
520
+ }
521
+
522
+ ::-webkit-input-placeholder {
523
+ color: _palette(fg-light) !important;
524
+ opacity: 1.0;
525
+ }
526
+
527
+ :-moz-placeholder {
528
+ color: _palette(fg-light) !important;
529
+ opacity: 1.0;
530
+ }
531
+
532
+ ::-moz-placeholder {
533
+ color: _palette(fg-light) !important;
534
+ opacity: 1.0;
535
+ }
536
+
537
+ :-ms-input-placeholder {
538
+ color: _palette(fg-light) !important;
539
+ opacity: 1.0;
540
+ }
541
+
542
+ /* Box */
543
+
544
+ .box {
545
+ border-radius: _size(border-radius);
546
+ border: solid 2px _palette(border);
547
+ margin-bottom: _size(element-margin);
548
+ padding: 1.5em;
549
+
550
+ > :last-child,
551
+ > :last-child > :last-child,
552
+ > :last-child > :last-child > :last-child {
553
+ margin-bottom: 0;
554
+ }
555
+
556
+ &.alt {
557
+ border: 0;
558
+ border-radius: 0;
559
+ padding: 0;
560
+ }
561
+ }
562
+
563
+ /* Icon */
564
+
565
+ .icon {
566
+ @include icon;
567
+ border-bottom: none;
568
+ position: relative;
569
+
570
+ > .label {
571
+ display: none;
572
+ }
573
+
574
+ &:before {
575
+ line-height: inherit;
576
+ }
577
+
578
+ &.solid {
579
+ &:before {
580
+ font-weight: 900;
581
+ }
582
+ }
583
+
584
+ &.brands {
585
+ &:before {
586
+ font-family: 'Font Awesome 5 Brands';
587
+ }
588
+ }
589
+ }
590
+
591
+ /* Image */
592
+
593
+ .image {
594
+ border-radius: _size(border-radius);
595
+ border: 0;
596
+ display: inline-block;
597
+ position: relative;
598
+
599
+ &:before {
600
+ @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
601
+ background: url('images/overlay.png');
602
+ border-radius: _size(border-radius);
603
+ content: '';
604
+ display: block;
605
+ height: 100%;
606
+ left: 0;
607
+ opacity: 0.5;
608
+ position: absolute;
609
+ top: 0;
610
+ width: 100%;
611
+ }
612
+
613
+ &.thumb {
614
+ text-align: center;
615
+
616
+ &:after {
617
+ @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
618
+ border-radius: _size(border-radius);
619
+ border: solid 3px rgba(255,255,255,0.5);
620
+ color: #fff;
621
+ content: 'View';
622
+ display: inline-block;
623
+ font-size: 0.8em;
624
+ font-weight: _font(weight-bold);
625
+ left: 50%;
626
+ line-height: 2.25em;
627
+ margin: -1.25em 0 0 -3em;
628
+ opacity: 0;
629
+ padding: 0 1.5em;
630
+ position: absolute;
631
+ text-align: center;
632
+ text-decoration: none;
633
+ top: 50%;
634
+ white-space: nowrap;
635
+ }
636
+
637
+ &:hover {
638
+ &:after {
639
+ opacity: 1.0;
640
+ }
641
+
642
+ &:before {
643
+ background: url('images/overlay.png'), url('images/overlay.png');
644
+ opacity: 1.0;
645
+ }
646
+ }
647
+ }
648
+
649
+ img {
650
+ border-radius: _size(border-radius);
651
+ display: block;
652
+ }
653
+
654
+ &.left {
655
+ float: left;
656
+ margin: 0 1.5em 1em 0;
657
+ top: 0.25em;
658
+ }
659
+
660
+ &.right {
661
+ float: right;
662
+ margin: 0 0 1em 1.5em;
663
+ top: 0.25em;
664
+ }
665
+
666
+ &.left,
667
+ &.right {
668
+ max-width: 40%;
669
+
670
+ img {
671
+ width: 100%;
672
+ }
673
+ }
674
+
675
+ &.fit {
676
+ display: block;
677
+ margin: 0 0 _size(element-margin) 0;
678
+ width: 100%;
679
+
680
+ img {
681
+ width: 100%;
682
+ }
683
+ }
684
+
685
+ &.avatar {
686
+ border-radius: 100%;
687
+
688
+ &:before {
689
+ display: none;
690
+ }
691
+
692
+ img {
693
+ border-radius: 100%;
694
+ width: 100%;
695
+ }
696
+ }
697
+ }
698
+
699
+ /* List */
700
+
701
+ ol {
702
+ list-style: decimal;
703
+ margin: 0 0 _size(element-margin) 0;
704
+ padding-left: 1.25em;
705
+
706
+ li {
707
+ padding-left: 0.25em;
708
+ }
709
+ }
710
+
711
+ ul {
712
+ list-style: disc;
713
+ margin: 0 0 _size(element-margin) 0;
714
+ padding-left: 1em;
715
+
716
+ li {
717
+ padding-left: 0.5em;
718
+ }
719
+
720
+ &.alt {
721
+ list-style: none;
722
+ padding-left: 0;
723
+
724
+ li {
725
+ border-top: solid 2px _palette(border);
726
+ padding: 0.5em 0;
727
+
728
+ &:first-child {
729
+ border-top: 0;
730
+ padding-top: 0;
731
+ }
732
+ }
733
+ }
734
+ }
735
+
736
+ dl {
737
+ margin: 0 0 _size(element-margin) 0;
738
+ }
739
+
740
+ /* Icons */
741
+
742
+ ul.icons {
743
+ cursor: default;
744
+ list-style: none;
745
+ padding-left: 0;
746
+
747
+ li {
748
+ display: inline-block;
749
+ padding: 0 1em 0 0;
750
+
751
+ &:last-child {
752
+ padding-right: 0;
753
+ }
754
+
755
+ .icon {
756
+ &:before {
757
+ font-size: 1.5em;
758
+ }
759
+ }
760
+ }
761
+ }
762
+
763
+ /* Labeled Icons */
764
+
765
+ ul.labeled-icons {
766
+ list-style: none;
767
+ padding: 0;
768
+
769
+ li {
770
+ line-height: 1.75em;
771
+ margin: 1.5em 0 0 0;
772
+ padding-left: 2.25em;
773
+ position: relative;
774
+
775
+ &:first-child {
776
+ margin-top: 0;
777
+ }
778
+
779
+ a {
780
+ color: inherit;
781
+ }
782
+
783
+ h3 {
784
+ color: _palette(fg-light);
785
+ left: 0;
786
+ position: absolute;
787
+ text-align: center;
788
+ top: 0;
789
+ width: 1em;
790
+ }
791
+ }
792
+ }
793
+
794
+ /* Actions */
795
+
796
+ ul.actions {
797
+ @include vendor('display', 'flex');
798
+ cursor: default;
799
+ list-style: none;
800
+ margin-left: (_size(element-margin) * -0.5);
801
+ padding-left: 0;
802
+
803
+ li {
804
+ padding: 0 0 0 (_size(element-margin) * 0.5);
805
+ vertical-align: middle;
806
+ }
807
+
808
+ &.special {
809
+ @include vendor('justify-content', 'center');
810
+ width: 100%;
811
+ margin-left: 0;
812
+
813
+ li {
814
+ &:first-child {
815
+ padding-left: 0;
816
+ }
817
+ }
818
+ }
819
+
820
+ &.stacked {
821
+ @include vendor('flex-direction', 'column');
822
+ margin-left: 0;
823
+
824
+ li {
825
+ padding: (_size(element-margin) * 0.65) 0 0 0;
826
+
827
+ &:first-child {
828
+ padding-top: 0;
829
+ }
830
+ }
831
+ }
832
+
833
+ &.fit {
834
+ width: calc(100% + #{_size(element-margin) * 0.5});
835
+
836
+ li {
837
+ @include vendor('flex-grow', '1');
838
+ @include vendor('flex-shrink', '1');
839
+ width: 100%;
840
+
841
+ > * {
842
+ width: 100%;
843
+ }
844
+ }
845
+
846
+ &.stacked {
847
+ width: 100%;
848
+ }
849
+ }
850
+
851
+ @include breakpoint('<=xsmall') {
852
+ &:not(.fixed) {
853
+ @include vendor('flex-direction', 'column');
854
+ margin-left: 0;
855
+ width: 100% !important;
856
+
857
+ li {
858
+ @include vendor('flex-grow', '1');
859
+ @include vendor('flex-shrink', '1');
860
+ padding: (_size(element-margin) * 0.5) 0 0 0;
861
+ text-align: center;
862
+ width: 100%;
863
+
864
+ > * {
865
+ width: 100%;
866
+ }
867
+
868
+ &:first-child {
869
+ padding-top: 0;
870
+ }
871
+
872
+ input[type="submit"],
873
+ input[type="reset"],
874
+ input[type="button"],
875
+ button,
876
+ .button {
877
+ width: 100%;
878
+
879
+ &.icon {
880
+ &:before {
881
+ margin-left: -0.5em;
882
+ }
883
+ }
884
+ }
885
+ }
886
+ }
887
+ }
888
+ }
889
+
890
+ /* Table */
891
+
892
+ .table-wrapper {
893
+ -webkit-overflow-scrolling: touch;
894
+ overflow-x: auto;
895
+ }
896
+
897
+ table {
898
+ margin: 0 0 _size(element-margin) 0;
899
+ width: 100%;
900
+
901
+ tbody {
902
+ tr {
903
+ border: solid 1px _palette(border);
904
+ border-left: 0;
905
+ border-right: 0;
906
+
907
+ &:nth-child(2n + 1) {
908
+ background-color: _palette(border-bg);
909
+ }
910
+ }
911
+ }
912
+
913
+ td {
914
+ padding: 0.75em 0.75em;
915
+ }
916
+
917
+ th {
918
+ color: _palette(fg-bold);
919
+ font-size: 0.9em;
920
+ font-weight: _font(weight-bold);
921
+ padding: 0 0.75em 0.75em 0.75em;
922
+ text-align: left;
923
+ }
924
+
925
+ thead {
926
+ border-bottom: solid 2px _palette(border);
927
+ }
928
+
929
+ tfoot {
930
+ border-top: solid 2px _palette(border);
931
+ }
932
+
933
+ &.alt {
934
+ border-collapse: separate;
935
+
936
+ tbody {
937
+ tr {
938
+ td {
939
+ border: solid 2px _palette(border);
940
+ border-left-width: 0;
941
+ border-top-width: 0;
942
+
943
+ &:first-child {
944
+ border-left-width: 2px;
945
+ }
946
+ }
947
+
948
+ &:first-child {
949
+ td {
950
+ border-top-width: 2px;
951
+ }
952
+ }
953
+ }
954
+ }
955
+
956
+ thead {
957
+ border-bottom: 0;
958
+ }
959
+
960
+ tfoot {
961
+ border-top: 0;
962
+ }
963
+ }
964
+ }
965
+
966
+ /* Button */
967
+
968
+ input[type="submit"],
969
+ input[type="reset"],
970
+ input[type="button"],
971
+ .button {
972
+ @include vendor('appearance', 'none');
973
+ @include vendor('transition', ('background-color #{_duration(transition)} ease-in-out', 'color #{_duration(transition)} ease-in-out', 'border-color #{_duration(transition)} ease-in-out'));
974
+ background-color: transparent;
975
+ border-radius: _size(border-radius);
976
+ border: solid 3px _palette(border);
977
+ color: _palette(fg-bold) !important;
978
+ cursor: pointer;
979
+ display: inline-block;
980
+ font-weight: _font(weight-bold);
981
+ height: 3.15em;
982
+ height: calc(2.75em + 6px);
983
+ line-height: 2.75em;
984
+ min-width: 10em;
985
+ padding: 0 1.5em;
986
+ text-align: center;
987
+ text-decoration: none;
988
+ white-space: nowrap;
989
+
990
+ &:hover {
991
+ border-color: _palette(accent1, bg);
992
+ color: _palette(accent1, bg) !important;
993
+ }
994
+
995
+ &:active {
996
+ background-color: transparentize(_palette(accent1, bg), 0.9);
997
+ border-color: _palette(accent1, bg);
998
+ color: _palette(accent1, bg) !important;
999
+ }
1000
+
1001
+ &.icon {
1002
+ padding-left: 1.35em;
1003
+
1004
+ &:before {
1005
+ margin-right: 0.5em;
1006
+ }
1007
+ }
1008
+
1009
+ &.fit {
1010
+ min-width: 0;
1011
+ width: 100%;
1012
+ }
1013
+
1014
+ &.small {
1015
+ font-size: 0.8em;
1016
+ }
1017
+
1018
+ &.large {
1019
+ font-size: 1.35em;
1020
+ }
1021
+
1022
+ &.primary {
1023
+ background-color: _palette(accent1, bg);
1024
+ border-color: _palette(accent1, bg);
1025
+ color: _palette(accent1, fg-bold) !important;
1026
+
1027
+ &:hover {
1028
+ background-color: lighten(_palette(accent1, bg), 5);
1029
+ border-color: lighten(_palette(accent1, bg), 5);
1030
+ }
1031
+
1032
+ &:active {
1033
+ background-color: darken(_palette(accent1, bg), 5);
1034
+ border-color: darken(_palette(accent1, bg), 5);
1035
+ }
1036
+ }
1037
+
1038
+ &.disabled,
1039
+ &:disabled {
1040
+ background-color: _palette(border2-bg) !important;
1041
+ border-color: _palette(border2-bg) !important;
1042
+ color: _palette(fg-light) !important;
1043
+ cursor: default;
1044
+ }
1045
+ }
1046
+
1047
+ /* Work Item */
1048
+
1049
+ .work-item {
1050
+ margin: 0 0 _size(element-margin) 0;
1051
+
1052
+ .image {
1053
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
1054
+ }
1055
+
1056
+ h3 {
1057
+ font-size: 1em;
1058
+ margin: 0 0 (_size(element-margin) * 0.25) 0;
1059
+ }
1060
+
1061
+ p {
1062
+ font-size: 0.8em;
1063
+ line-height: 1.5em;
1064
+ margin: 0;
1065
+ }
1066
+ }
1067
+
1068
+ /* Header */
1069
+
1070
+ #header {
1071
+ @include vendor('display', 'flex');
1072
+ @include vendor('flex-direction', 'column');
1073
+ @include vendor('align-items', 'flex-end');
1074
+ @include vendor('justify-content', 'space-between');
1075
+ background-color: _palette(accent2, bg);
1076
+ background-attachment: scroll, scroll;
1077
+ background-image: url('images/overlay.png'), url('../../images/bg.jpg');
1078
+ background-position: top left, top left;
1079
+ background-repeat: repeat, no-repeat;
1080
+ background-size: auto, 150%;
1081
+ color: _palette(accent2, fg);
1082
+ height: 100%;
1083
+ left: 0;
1084
+ padding: ($size-header-pad * 2) $size-header-pad;
1085
+ position: fixed;
1086
+ text-align: right;
1087
+ top: 0;
1088
+ width: $size-header-width;
1089
+
1090
+ > * {
1091
+ @include vendor('flex-shrink', '0');
1092
+ width: 100%;
1093
+ }
1094
+
1095
+ > .inner {
1096
+ @include vendor('flex-grow', '1');
1097
+ margin: 0 0 ($size-header-pad * 0.5) 0;
1098
+ }
1099
+
1100
+ strong, b {
1101
+ color: _palette(accent2, fg-bold);
1102
+ }
1103
+
1104
+ h2, h3, h4, h5, h6 {
1105
+ color: _palette(accent2, fg-bold);
1106
+ }
1107
+
1108
+ h1 {
1109
+ color: _palette(accent2, fg);
1110
+ font-size: 1.35em;
1111
+ line-height: 1.75em;
1112
+ margin: 0;
1113
+ }
1114
+
1115
+ .image.avatar {
1116
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
1117
+ width: 6.25em;
1118
+ }
1119
+ }
1120
+
1121
+ /* Footer */
1122
+
1123
+ #footer {
1124
+ .icons {
1125
+ margin: (_size(element-margin) * 0.5) 0 0 0;
1126
+
1127
+ a {
1128
+ color: _palette(accent2, fg-light);
1129
+ }
1130
+ }
1131
+
1132
+ .copyright {
1133
+ color: _palette(accent2, fg-light);
1134
+ font-size: 0.8em;
1135
+ list-style: none;
1136
+ margin: (_size(element-margin) * 0.5) 0 0 0;
1137
+ padding: 0;
1138
+
1139
+ li {
1140
+ border-left: solid 1px _palette(accent2, border);
1141
+ display: inline-block;
1142
+ line-height: 1em;
1143
+ margin-left: 0.75em;
1144
+ padding-left: 0.75em;
1145
+
1146
+ &:first-child {
1147
+ border-left: 0;
1148
+ margin-left: 0;
1149
+ padding-left: 0;
1150
+ }
1151
+
1152
+ a {
1153
+ color: inherit;
1154
+ }
1155
+ }
1156
+ }
1157
+ }
1158
+
1159
+ /* Main */
1160
+
1161
+ #main {
1162
+ margin-left: $size-header-width;
1163
+ max-width: 50em + $size-header-pad;
1164
+ padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad;
1165
+ width: calc(100% - #{$size-header-width});
1166
+
1167
+ > section {
1168
+ border-top: solid 2px _palette(border);
1169
+ margin: $size-header-pad 0 0 0;
1170
+ padding: $size-header-pad 0 0 0;
1171
+
1172
+ &:first-child {
1173
+ border-top: 0;
1174
+ margin-top: 0;
1175
+ padding-top: 0;
1176
+ }
1177
+ }
1178
+ }
1179
+
1180
+ /* Poptrox */
1181
+
1182
+ @include keyframes('spin') {
1183
+ 0% { @include vendor('transform', 'rotate(0deg)'); }
1184
+ 100% { @include vendor('transform', 'rotate(360deg)'); }
1185
+ };
1186
+
1187
+ .poptrox-popup {
1188
+ @include vendor('box-sizing', 'content-box');
1189
+ -webkit-tap-highlight-color: rgba(255,255,255,0);
1190
+ background: #fff;
1191
+ border-radius: _size(border-radius);
1192
+ box-shadow: 0 0.1em 0.15em 0 rgba(0,0,0,0.15);
1193
+ overflow: hidden;
1194
+ padding-bottom: 3em;
1195
+
1196
+ .loader {
1197
+ @include icon(false, solid);
1198
+ @include vendor('animation', 'spin 1s linear infinite');
1199
+ font-size: 1.5em;
1200
+ height: 1em;
1201
+ left: 50%;
1202
+ line-height: 1em;
1203
+ margin: -0.5em 0 0 -0.5em;
1204
+ position: absolute;
1205
+ top: 50%;
1206
+ width: 1em;
1207
+
1208
+ &:before {
1209
+ content: '\f1ce';
1210
+ }
1211
+ }
1212
+
1213
+ .caption {
1214
+ background: #fff;
1215
+ bottom: 0;
1216
+ cursor: default;
1217
+ font-size: 0.9em;
1218
+ height: 3em;
1219
+ left: 0;
1220
+ line-height: 2.8em;
1221
+ position: absolute;
1222
+ text-align: center;
1223
+ width: 100%;
1224
+ z-index: 1;
1225
+ }
1226
+
1227
+ .nav-next,
1228
+ .nav-previous {
1229
+ @include icon(false, solid);
1230
+ @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
1231
+ -webkit-tap-highlight-color: rgba(255,255,255,0);
1232
+ background: rgba(0,0,0,0.01);
1233
+ cursor: pointer;
1234
+ height: 100%;
1235
+ opacity: 0;
1236
+ position: absolute;
1237
+ top: 0;
1238
+ width: 50%;
1239
+
1240
+ &:before {
1241
+ color: #fff;
1242
+ font-size: 2.5em;
1243
+ height: 1em;
1244
+ line-height: 1em;
1245
+ margin-top: -0.75em;
1246
+ position: absolute;
1247
+ text-align: center;
1248
+ top: 50%;
1249
+ width: 1.5em;
1250
+ }
1251
+ }
1252
+
1253
+ .nav-next {
1254
+ right: 0;
1255
+
1256
+ &:before {
1257
+ content: '\f105';
1258
+ right: 0;
1259
+ }
1260
+ }
1261
+
1262
+ .nav-previous {
1263
+ left: 0;
1264
+
1265
+ &:before {
1266
+ content: '\f104';
1267
+ left: 0;
1268
+ }
1269
+ }
1270
+
1271
+ .closer {
1272
+ @include icon(false, solid);
1273
+ @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
1274
+ -webkit-tap-highlight-color: rgba(255,255,255,0);
1275
+ color: #fff;
1276
+ height: 4em;
1277
+ line-height: 4em;
1278
+ opacity: 0;
1279
+ position: absolute;
1280
+ right: 0;
1281
+ text-align: center;
1282
+ top: 0;
1283
+ width: 4em;
1284
+ z-index: 2;
1285
+
1286
+ &:before {
1287
+ @include vendor('box-sizing', 'content-box');
1288
+ border-radius: 100%;
1289
+ border: solid 3px rgba(255,255,255,0.5);
1290
+ content: '\f00d';
1291
+ display: block;
1292
+ font-size: 1em;
1293
+ height: 1.75em;
1294
+ left: 50%;
1295
+ line-height: 1.75em;
1296
+ margin: -0.875em 0 0 -0.875em;
1297
+ position: absolute;
1298
+ top: 50%;
1299
+ width: 1.75em;
1300
+ }
1301
+ }
1302
+
1303
+ &:hover {
1304
+ .nav-next,
1305
+ .nav-previous {
1306
+ opacity: 0.5;
1307
+
1308
+ &:hover {
1309
+ opacity: 1.0;
1310
+ }
1311
+ }
1312
+
1313
+ .closer {
1314
+ opacity: 0.5;
1315
+
1316
+ &:hover {
1317
+ opacity: 1.0;
1318
+ }
1319
+ }
1320
+ }
1321
+ }
1322
+
1323
+ /* Touch */
1324
+
1325
+ body.is-touch {
1326
+
1327
+ .image {
1328
+ &.thumb {
1329
+ &:before {
1330
+ opacity: 0.5 !important;
1331
+ }
1332
+
1333
+ &:after {
1334
+ display: none !important;
1335
+ }
1336
+ }
1337
+ }
1338
+
1339
+ #header {
1340
+ background-attachment: scroll;
1341
+ background-size: auto, cover;
1342
+ }
1343
+
1344
+ .poptrox-popup {
1345
+ .nav-next,
1346
+ .nav-previous,
1347
+ .closer {
1348
+ opacity: 1.0 !important;
1349
+ }
1350
+ }
1351
+
1352
+ }
1353
+
1354
+ /* XLarge */
1355
+
1356
+ @include breakpoint('<=xlarge') {
1357
+
1358
+ /* Basic */
1359
+
1360
+ body, input, select, textarea {
1361
+ font-size: 12pt;
1362
+ }
1363
+
1364
+ }
1365
+
1366
+ /* Large */
1367
+
1368
+ @include breakpoint('<=large') {
1369
+
1370
+ $size-header-width: 30%;
1371
+ $size-header-pad: 3em;
1372
+
1373
+ /* Header */
1374
+
1375
+ #header {
1376
+ padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad;
1377
+ width: $size-header-width;
1378
+
1379
+ h1 {
1380
+ font-size: 1.25em;
1381
+
1382
+ br {
1383
+ display: none;
1384
+ }
1385
+ }
1386
+
1387
+ > .inner {
1388
+ margin-bottom: 0;
1389
+ }
1390
+ }
1391
+
1392
+ /* Footer */
1393
+
1394
+ #footer {
1395
+ .copyright {
1396
+ li {
1397
+ border-left-width: 0;
1398
+ display: block;
1399
+ line-height: 2.25em;
1400
+ margin-left: 0;
1401
+ padding-left: 0;
1402
+ }
1403
+ }
1404
+ }
1405
+
1406
+ /* Main */
1407
+
1408
+ #main {
1409
+ margin-left: $size-header-width;
1410
+ max-width: none;
1411
+ padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad;
1412
+ width: calc(100% - #{$size-header-width});
1413
+ }
1414
+
1415
+ }
1416
+
1417
+ /* Medium */
1418
+
1419
+ @include breakpoint('<=medium') {
1420
+
1421
+ $size-header-pad: 4em;
1422
+
1423
+ /* Basic */
1424
+
1425
+ h1, h2, h3, h4, h5, h6 {
1426
+ br {
1427
+ display: none;
1428
+ }
1429
+ }
1430
+
1431
+ /* List */
1432
+
1433
+ ul {
1434
+ &.icons {
1435
+ li {
1436
+ .icon {
1437
+ font-size: 1.25em;
1438
+ }
1439
+ }
1440
+ }
1441
+ }
1442
+
1443
+ /* Header */
1444
+
1445
+ #header {
1446
+ background-attachment: scroll;
1447
+ background-position: top left, center center;
1448
+ background-size: auto, cover;
1449
+ left: auto;
1450
+ padding: ($size-header-pad * 1.5) $size-header-pad;
1451
+ position: relative;
1452
+ text-align: center;
1453
+ top: auto;
1454
+ width: 100%;
1455
+ display: block;
1456
+
1457
+ h1 {
1458
+ font-size: 1.75em;
1459
+
1460
+ br {
1461
+ display: inline;
1462
+ }
1463
+ }
1464
+ }
1465
+
1466
+ /* Footer */
1467
+
1468
+ #footer {
1469
+ background-attachment: scroll;
1470
+ background-color: _palette(accent2, bg);
1471
+ background-image: url('images/overlay.png'), url('../../images/bg.jpg');
1472
+ background-position: top left, bottom center;
1473
+ background-repeat: repeat, no-repeat;
1474
+ background-size: auto, cover;
1475
+ bottom: auto;
1476
+ left: auto;
1477
+ padding: $size-header-pad $size-header-pad ($size-header-pad * 1.5) $size-header-pad;
1478
+ position: relative;
1479
+ text-align: center;
1480
+ width: 100%;
1481
+
1482
+ .icons {
1483
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
1484
+ }
1485
+
1486
+ .copyright {
1487
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
1488
+
1489
+ li {
1490
+ border-left-width: 1px;
1491
+ display: inline-block;
1492
+ line-height: 1em;
1493
+ margin-left: 0.75em;
1494
+ padding-left: 0.75em;
1495
+ }
1496
+ }
1497
+ }
1498
+
1499
+ /* Main */
1500
+
1501
+ #main {
1502
+ margin: 0;
1503
+ padding: ($size-header-pad * 1.5) $size-header-pad;
1504
+ width: 100%;
1505
+ }
1506
+
1507
+ }
1508
+
1509
+ /* Small */
1510
+
1511
+ @include breakpoint('<=small') {
1512
+
1513
+ $size-header-pad: 1.5em;
1514
+
1515
+ /* Basic */
1516
+
1517
+ h1 {
1518
+ font-size: 1.5em;
1519
+ }
1520
+
1521
+ h2 {
1522
+ font-size: 1.2em;
1523
+ }
1524
+
1525
+ h3 {
1526
+ font-size: 1em;
1527
+ }
1528
+
1529
+ /* Section/Article */
1530
+
1531
+ section, article {
1532
+ &.special {
1533
+ text-align: center;
1534
+ }
1535
+ }
1536
+
1537
+ header {
1538
+ &.major {
1539
+ h2 {
1540
+ font-size: 1.35em;
1541
+ }
1542
+ }
1543
+ }
1544
+
1545
+ /* List */
1546
+
1547
+ ul {
1548
+ &.labeled-icons {
1549
+ li {
1550
+ padding-left: 2em;
1551
+
1552
+ h3 {
1553
+ line-height: 1.75em;
1554
+ }
1555
+ }
1556
+ }
1557
+ }
1558
+
1559
+ /* Header */
1560
+
1561
+ #header {
1562
+ padding: ($size-header-pad * 1.5) $size-header-pad;
1563
+
1564
+ h1 {
1565
+ font-size: 1.35em;
1566
+ }
1567
+ }
1568
+
1569
+ /* Footer */
1570
+
1571
+ #footer {
1572
+ padding: ($size-header-pad * 1.5) $size-header-pad;
1573
+ }
1574
+
1575
+ /* Main */
1576
+
1577
+ #main {
1578
+ padding: ($size-header-pad * 1.5) $size-header-pad (($size-header-pad * 1.5) - _size(element-margin)) $size-header-pad;
1579
+
1580
+ > section {
1581
+ margin: ($size-header-pad * 1.5) 0 0 0;
1582
+ padding: ($size-header-pad * 1.5) 0 0 0;
1583
+ }
1584
+ }
1585
+
1586
+ /* Poptrox */
1587
+
1588
+ .poptrox-popup {
1589
+ border-radius: 0;
1590
+
1591
+ .nav-next,
1592
+ .nav-previous {
1593
+ &:before {
1594
+ margin-top: -1em;
1595
+ }
1596
+ }
1597
+ }
1598
+
1599
+ }
1600
+
1601
+ /* XSmall */
1602
+
1603
+ @include breakpoint('<=xsmall') {
1604
+
1605
+ $size-header-pad: 1.5em;
1606
+
1607
+ /* Header */
1608
+
1609
+ #header {
1610
+ padding: ($size-header-pad * 3) $size-header-pad;
1611
+
1612
+ h1 {
1613
+ br {
1614
+ display: none;
1615
+ }
1616
+ }
1617
+ }
1618
+
1619
+ /* Footer */
1620
+
1621
+ #footer {
1622
+ .copyright {
1623
+ li {
1624
+ border-left-width: 0;
1625
+ display: block;
1626
+ line-height: 2.25em;
1627
+ margin-left: 0;
1628
+ padding-left: 0;
1629
+ }
1630
+ }
1631
+ }
1632
+
1633
+ }