jekyll-dlp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +40 -0
  4. data/_data/footer_links.yml +4 -0
  5. data/_data/homepage.yml +42 -0
  6. data/_data/nav.yml +4 -0
  7. data/_includes/css.html +3 -0
  8. data/_includes/footer.html +12 -0
  9. data/_includes/js.html +1 -0
  10. data/_includes/meta.html +27 -0
  11. data/_includes/nav.html +18 -0
  12. data/_layouts/blank.html +16 -0
  13. data/_layouts/default.html +28 -0
  14. data/_layouts/home.html +85 -0
  15. data/_sass/materialize/LICENSE +21 -0
  16. data/_sass/materialize/components/_badges.scss +55 -0
  17. data/_sass/materialize/components/_buttons.scss +322 -0
  18. data/_sass/materialize/components/_cards.scss +195 -0
  19. data/_sass/materialize/components/_carousel.scss +90 -0
  20. data/_sass/materialize/components/_chips.scss +90 -0
  21. data/_sass/materialize/components/_collapsible.scss +91 -0
  22. data/_sass/materialize/components/_color-classes.scss +32 -0
  23. data/_sass/materialize/components/_color-variables.scss +370 -0
  24. data/_sass/materialize/components/_datepicker.scss +191 -0
  25. data/_sass/materialize/components/_dropdown.scss +85 -0
  26. data/_sass/materialize/components/_global.scss +769 -0
  27. data/_sass/materialize/components/_grid.scss +156 -0
  28. data/_sass/materialize/components/_icons-material-design.scss +5 -0
  29. data/_sass/materialize/components/_materialbox.scss +43 -0
  30. data/_sass/materialize/components/_modal.scss +94 -0
  31. data/_sass/materialize/components/_navbar.scss +208 -0
  32. data/_sass/materialize/components/_normalize.scss +447 -0
  33. data/_sass/materialize/components/_preloader.scss +334 -0
  34. data/_sass/materialize/components/_pulse.scss +34 -0
  35. data/_sass/materialize/components/_sidenav.scss +216 -0
  36. data/_sass/materialize/components/_slider.scss +92 -0
  37. data/_sass/materialize/components/_table_of_contents.scss +33 -0
  38. data/_sass/materialize/components/_tabs.scss +99 -0
  39. data/_sass/materialize/components/_tapTarget.scss +103 -0
  40. data/_sass/materialize/components/_timepicker.scss +183 -0
  41. data/_sass/materialize/components/_toast.scss +58 -0
  42. data/_sass/materialize/components/_tooltip.scss +32 -0
  43. data/_sass/materialize/components/_transitions.scss +13 -0
  44. data/_sass/materialize/components/_typography.scss +60 -0
  45. data/_sass/materialize/components/_variables.scss +349 -0
  46. data/_sass/materialize/components/_waves.scss +114 -0
  47. data/_sass/materialize/components/forms/_checkboxes.scss +200 -0
  48. data/_sass/materialize/components/forms/_file-input.scss +44 -0
  49. data/_sass/materialize/components/forms/_forms.scss +22 -0
  50. data/_sass/materialize/components/forms/_input-fields.scss +354 -0
  51. data/_sass/materialize/components/forms/_radio-buttons.scss +115 -0
  52. data/_sass/materialize/components/forms/_range.scss +161 -0
  53. data/_sass/materialize/components/forms/_select.scss +180 -0
  54. data/_sass/materialize/components/forms/_switches.scss +89 -0
  55. data/assets/css/main.css +65 -0
  56. data/assets/css/materialize.scss +44 -0
  57. metadata +140 -0
@@ -0,0 +1,180 @@
1
+ /* Select Field
2
+ ========================================================================== */
3
+
4
+ select { display: none; }
5
+ select.browser-default { display: block; }
6
+
7
+ select {
8
+ background-color: $select-background;
9
+ width: 100%;
10
+ padding: $select-padding;
11
+ border: $select-border;
12
+ border-radius: $select-radius;
13
+ height: $input-height;
14
+ }
15
+
16
+ .select-label {
17
+ position: absolute;
18
+ }
19
+
20
+ .select-wrapper {
21
+ &.valid .helper-text[data-success],
22
+ &.invalid ~ .helper-text[data-error] {
23
+ @extend %hidden-text;
24
+ }
25
+
26
+ &.valid {
27
+ & > input.select-dropdown {
28
+ @extend %valid-input-style;
29
+ }
30
+
31
+ & ~ .helper-text:after {
32
+ @extend %custom-success-message;
33
+ }
34
+ }
35
+
36
+ &.invalid {
37
+ & > input.select-dropdown,
38
+ & > input.select-dropdown:focus {
39
+ @extend %invalid-input-style;
40
+ }
41
+
42
+ & ~ .helper-text:after {
43
+ @extend %custom-error-message;
44
+ }
45
+ }
46
+
47
+ &.valid + label,
48
+ &.invalid + label {
49
+ width: 100%;
50
+ pointer-events: none;
51
+ }
52
+
53
+ & + label:after {
54
+ @extend %input-after-style;
55
+ }
56
+
57
+ position: relative;
58
+
59
+ input.select-dropdown {
60
+ &:focus {
61
+ border-bottom: 1px solid $input-focus-color;
62
+ }
63
+ position: relative;
64
+ cursor: pointer;
65
+ background-color: transparent;
66
+ border: none;
67
+ border-bottom: $input-border;
68
+ outline: none;
69
+ height: $input-height;
70
+ line-height: $input-height;
71
+ width: 100%;
72
+ font-size: $input-font-size;
73
+ margin: $input-margin;
74
+ padding: 0;
75
+ display: block;
76
+ user-select:none;
77
+ z-index: 1;
78
+ }
79
+
80
+ .caret {
81
+ position: absolute;
82
+ right: 0;
83
+ top: 0;
84
+ bottom: 0;
85
+ margin: auto 0;
86
+ z-index: 0;
87
+ fill: rgba(0,0,0,.87);
88
+ }
89
+
90
+ & + label {
91
+ position: absolute;
92
+ top: -26px;
93
+ font-size: $label-font-size;
94
+ }
95
+ }
96
+
97
+ // Disabled styles
98
+ select:disabled {
99
+ color: $input-disabled-color;
100
+ }
101
+
102
+ .select-wrapper.disabled {
103
+ + label {
104
+ color: $input-disabled-color;
105
+ }
106
+ .caret {
107
+ fill: $input-disabled-color;
108
+ }
109
+ }
110
+
111
+ .select-wrapper input.select-dropdown:disabled {
112
+ color: $input-disabled-color;
113
+ cursor: default;
114
+ user-select: none;
115
+ }
116
+
117
+ .select-wrapper i {
118
+ color: $select-disabled-color;
119
+ }
120
+
121
+ .select-dropdown li.disabled,
122
+ .select-dropdown li.disabled > span,
123
+ .select-dropdown li.optgroup {
124
+ color: $select-disabled-color;
125
+ background-color: transparent;
126
+ }
127
+
128
+ body.keyboard-focused {
129
+ .select-dropdown.dropdown-content li:focus {
130
+ background-color: $select-option-focus;
131
+ }
132
+ }
133
+
134
+ .select-dropdown.dropdown-content {
135
+ li {
136
+ &:hover {
137
+ background-color: $select-option-hover;
138
+ }
139
+
140
+ &.selected {
141
+ background-color: $select-option-selected;
142
+ }
143
+ }
144
+ }
145
+
146
+ // Prefix Icons
147
+ .prefix ~ .select-wrapper {
148
+ margin-left: 3rem;
149
+ width: 92%;
150
+ width: calc(100% - 3rem);
151
+ }
152
+
153
+ .prefix ~ label { margin-left: 3rem; }
154
+
155
+ // Icons
156
+ .select-dropdown li {
157
+ img {
158
+ height: $dropdown-item-height - 10;
159
+ width: $dropdown-item-height - 10;
160
+ margin: 5px 15px;
161
+ float: right;
162
+ }
163
+ }
164
+
165
+ // Optgroup styles
166
+ .select-dropdown li.optgroup {
167
+ border-top: 1px solid $dropdown-hover-bg-color;
168
+
169
+ &.selected > span {
170
+ color: rgba(0, 0, 0, .7);
171
+ }
172
+
173
+ & > span {
174
+ color: rgba(0, 0, 0, .4);
175
+ }
176
+
177
+ & ~ li.optgroup-option {
178
+ padding-left: 1rem;
179
+ }
180
+ }
@@ -0,0 +1,89 @@
1
+ /* Switch
2
+ ========================================================================== */
3
+
4
+ .switch,
5
+ .switch * {
6
+ -webkit-tap-highlight-color: transparent;
7
+ user-select: none;
8
+ }
9
+
10
+ .switch label {
11
+ cursor: pointer;
12
+ }
13
+
14
+ .switch label input[type=checkbox] {
15
+ opacity: 0;
16
+ width: 0;
17
+ height: 0;
18
+
19
+ &:checked + .lever {
20
+ background-color: $switch-checked-lever-bg;
21
+
22
+ &:before, &:after {
23
+ left: 18px;
24
+ }
25
+
26
+ &:after {
27
+ background-color: $switch-bg-color;
28
+ }
29
+ }
30
+ }
31
+
32
+ .switch label .lever {
33
+ content: "";
34
+ display: inline-block;
35
+ position: relative;
36
+ width: 36px;
37
+ height: 14px;
38
+ background-color: $switch-unchecked-lever-bg;
39
+ border-radius: $switch-radius;
40
+ margin-right: 10px;
41
+ transition: background 0.3s ease;
42
+ vertical-align: middle;
43
+ margin: 0 16px;
44
+
45
+ &:before, &:after {
46
+ content: "";
47
+ position: absolute;
48
+ display: inline-block;
49
+ width: 20px;
50
+ height: 20px;
51
+ border-radius: 50%;
52
+ left: 0;
53
+ top: -3px;
54
+ transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;
55
+ }
56
+
57
+ &:before {
58
+ background-color: transparentize($switch-bg-color, .85);
59
+ }
60
+
61
+ &:after {
62
+ background-color: $switch-unchecked-bg;
63
+ box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
64
+ }
65
+ }
66
+
67
+ // Switch active style
68
+ input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,
69
+ input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before {
70
+ transform: scale(2.4);
71
+ background-color: transparentize($switch-bg-color, .85);
72
+ }
73
+
74
+ input[type=checkbox]:not(:disabled) ~ .lever:active:before,
75
+ input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before {
76
+ transform: scale(2.4);
77
+ background-color: rgba(0,0,0,.08);
78
+ }
79
+
80
+ // Disabled Styles
81
+ .switch input[type=checkbox][disabled] + .lever {
82
+ cursor: default;
83
+ background-color: rgba(0,0,0,.12);
84
+ }
85
+
86
+ .switch label input[type=checkbox][disabled] + .lever:after,
87
+ .switch label input[type=checkbox][disabled]:checked + .lever:after {
88
+ background-color: $input-disabled-solid-color;
89
+ }
@@ -0,0 +1,65 @@
1
+ .brand-logo img {
2
+ padding-top: .1em;
3
+ height: 1.9em;
4
+ }
5
+
6
+ h1, h2, h3, h4, h5, h6, .brand-logo, .card-title {
7
+ font-family: "roboto slab";
8
+ }
9
+
10
+ p {
11
+ font-size: 1.15rem;
12
+ }
13
+
14
+ p.big {
15
+ font-size: 1.8rem;
16
+ }
17
+
18
+ .brand-logo {
19
+ font-size: 1.4rem !important;
20
+ text-transform: lowercase;
21
+ }
22
+
23
+ .text-transform-upper {
24
+ text-transform: uppercase;
25
+ }
26
+
27
+ .lh1 {
28
+ line-height: 1rem;
29
+ }
30
+
31
+ .headline-container {
32
+ height: 100%;
33
+ }
34
+
35
+ .headline {
36
+ position: absolute;
37
+ z-index: 1;
38
+ height: 440px;
39
+ color: #fff;
40
+ text-shadow: 0 0 1px #000;
41
+ }
42
+
43
+ .home {
44
+ height: 440px;
45
+ overflow: hidden;
46
+ }
47
+
48
+ .home-image {
49
+ position: absolute;
50
+ overflow: hidden;
51
+ height: 440px;
52
+ }
53
+
54
+ .ptb-2 {
55
+ padding-top: 2rem;
56
+ padding-bottom: 2rem;
57
+ }
58
+
59
+ .position_fixed {
60
+ position: fixed;
61
+ }
62
+
63
+ li ul {
64
+ margin: .5rem;
65
+ }
@@ -0,0 +1,44 @@
1
+ ---
2
+ # Front matter comment to ensure Jekyll properly reads file.
3
+ ---
4
+ @charset "UTF-8";
5
+
6
+ // Color
7
+ @import "materialize/components/color-variables";
8
+ @import "materialize/components/color-classes";
9
+
10
+ // Variables;
11
+ @import "materialize/components/variables";
12
+
13
+ // Reset
14
+ @import "materialize/components/normalize";
15
+
16
+ // materialize/components
17
+ @import "materialize/components/global";
18
+ @import "materialize/components/badges";
19
+ @import "materialize/components/icons-material-design";
20
+ @import "materialize/components/grid";
21
+ @import "materialize/components/navbar";
22
+ @import "materialize/components/typography";
23
+ @import "materialize/components/transitions";
24
+ @import "materialize/components/cards";
25
+ @import "materialize/components/toast";
26
+ @import "materialize/components/tabs";
27
+ @import "materialize/components/tooltip";
28
+ @import "materialize/components/buttons";
29
+ @import "materialize/components/dropdown";
30
+ @import "materialize/components/waves";
31
+ @import "materialize/components/modal";
32
+ @import "materialize/components/collapsible";
33
+ @import "materialize/components/chips";
34
+ @import "materialize/components/materialbox";
35
+ @import "materialize/components/forms/forms";
36
+ @import "materialize/components/table_of_contents";
37
+ @import "materialize/components/sidenav";
38
+ @import "materialize/components/preloader";
39
+ @import "materialize/components/slider";
40
+ @import "materialize/components/carousel";
41
+ @import "materialize/components/tapTarget";
42
+ @import "materialize/components/pulse";
43
+ @import "materialize/components/datepicker";
44
+ @import "materialize/components/timepicker";
metadata ADDED
@@ -0,0 +1,140 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-dlp
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Digital Literacy Project
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-01-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 2.1.4
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 2.1.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ description:
56
+ email:
57
+ - harvarddlp@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _data/footer_links.yml
65
+ - _data/homepage.yml
66
+ - _data/nav.yml
67
+ - _includes/css.html
68
+ - _includes/footer.html
69
+ - _includes/js.html
70
+ - _includes/meta.html
71
+ - _includes/nav.html
72
+ - _layouts/blank.html
73
+ - _layouts/default.html
74
+ - _layouts/home.html
75
+ - _sass/materialize/LICENSE
76
+ - _sass/materialize/components/_badges.scss
77
+ - _sass/materialize/components/_buttons.scss
78
+ - _sass/materialize/components/_cards.scss
79
+ - _sass/materialize/components/_carousel.scss
80
+ - _sass/materialize/components/_chips.scss
81
+ - _sass/materialize/components/_collapsible.scss
82
+ - _sass/materialize/components/_color-classes.scss
83
+ - _sass/materialize/components/_color-variables.scss
84
+ - _sass/materialize/components/_datepicker.scss
85
+ - _sass/materialize/components/_dropdown.scss
86
+ - _sass/materialize/components/_global.scss
87
+ - _sass/materialize/components/_grid.scss
88
+ - _sass/materialize/components/_icons-material-design.scss
89
+ - _sass/materialize/components/_materialbox.scss
90
+ - _sass/materialize/components/_modal.scss
91
+ - _sass/materialize/components/_navbar.scss
92
+ - _sass/materialize/components/_normalize.scss
93
+ - _sass/materialize/components/_preloader.scss
94
+ - _sass/materialize/components/_pulse.scss
95
+ - _sass/materialize/components/_sidenav.scss
96
+ - _sass/materialize/components/_slider.scss
97
+ - _sass/materialize/components/_table_of_contents.scss
98
+ - _sass/materialize/components/_tabs.scss
99
+ - _sass/materialize/components/_tapTarget.scss
100
+ - _sass/materialize/components/_timepicker.scss
101
+ - _sass/materialize/components/_toast.scss
102
+ - _sass/materialize/components/_tooltip.scss
103
+ - _sass/materialize/components/_transitions.scss
104
+ - _sass/materialize/components/_typography.scss
105
+ - _sass/materialize/components/_variables.scss
106
+ - _sass/materialize/components/_waves.scss
107
+ - _sass/materialize/components/forms/_checkboxes.scss
108
+ - _sass/materialize/components/forms/_file-input.scss
109
+ - _sass/materialize/components/forms/_forms.scss
110
+ - _sass/materialize/components/forms/_input-fields.scss
111
+ - _sass/materialize/components/forms/_radio-buttons.scss
112
+ - _sass/materialize/components/forms/_range.scss
113
+ - _sass/materialize/components/forms/_select.scss
114
+ - _sass/materialize/components/forms/_switches.scss
115
+ - assets/css/main.css
116
+ - assets/css/materialize.scss
117
+ homepage: https://github.com/DigitalLiteracyProject/jekyll-dlp
118
+ licenses:
119
+ - MIT
120
+ metadata: {}
121
+ post_install_message:
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ requirements: []
136
+ rubygems_version: 3.0.3
137
+ signing_key:
138
+ specification_version: 4
139
+ summary: A site theme for the Digital Literacy Project.
140
+ test_files: []