dr-jekylls-materials 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/_includes/footer.html +36 -0
- data/_includes/header.html +21 -0
- data/_includes/icon-github.html +1 -0
- data/_layouts/default.html +15 -0
- data/_layouts/home.html +20 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +91 -0
- data/_sass/components/_buttons.scss +281 -0
- data/_sass/components/_cards.scss +187 -0
- data/_sass/components/_carousel.scss +85 -0
- data/_sass/components/_chips.scss +83 -0
- data/_sass/components/_collapsible.scss +90 -0
- data/_sass/components/_color.scss +412 -0
- data/_sass/components/_dropdown.scss +65 -0
- data/_sass/components/_global.scss +800 -0
- data/_sass/components/_grid.scss +147 -0
- data/_sass/components/_icons-material-design.scss +5 -0
- data/_sass/components/_materialbox.scss +42 -0
- data/_sass/components/_mixins.scss +5 -0
- data/_sass/components/_modal.scss +90 -0
- data/_sass/components/_navbar.scss +190 -0
- data/_sass/components/_normalize.scss +424 -0
- data/_sass/components/_prefixer.scss +384 -0
- data/_sass/components/_preloader.scss +334 -0
- data/_sass/components/_roboto.scss +49 -0
- data/_sass/components/_sideNav.scss +208 -0
- data/_sass/components/_slider.scss +92 -0
- data/_sass/components/_table_of_contents.scss +33 -0
- data/_sass/components/_tabs.scss +99 -0
- data/_sass/components/_toast.scss +65 -0
- data/_sass/components/_tooltip.scss +32 -0
- data/_sass/components/_typography.scss +61 -0
- data/_sass/components/_variables.scss +314 -0
- data/_sass/components/_waves.scss +177 -0
- data/_sass/components/date_picker/_default.date.scss +435 -0
- data/_sass/components/date_picker/_default.scss +201 -0
- data/_sass/components/date_picker/_default.time.scss +125 -0
- data/_sass/components/forms/_checkboxes.scss +220 -0
- data/_sass/components/forms/_file-input.scss +38 -0
- data/_sass/components/forms/_forms.scss +22 -0
- data/_sass/components/forms/_input-fields.scss +286 -0
- data/_sass/components/forms/_radio-buttons.scss +117 -0
- data/_sass/components/forms/_range.scss +159 -0
- data/_sass/components/forms/_select.scss +121 -0
- data/_sass/components/forms/_switches.scss +78 -0
- metadata +134 -0
@@ -0,0 +1,78 @@
|
|
1
|
+
/* Switch
|
2
|
+
========================================================================== */
|
3
|
+
|
4
|
+
.switch,
|
5
|
+
.switch * {
|
6
|
+
-webkit-user-select: none;
|
7
|
+
-moz-user-select: none;
|
8
|
+
-khtml-user-select: none;
|
9
|
+
-ms-user-select: none;
|
10
|
+
}
|
11
|
+
|
12
|
+
.switch label {
|
13
|
+
cursor: pointer;
|
14
|
+
}
|
15
|
+
|
16
|
+
.switch label input[type=checkbox] {
|
17
|
+
opacity: 0;
|
18
|
+
width: 0;
|
19
|
+
height: 0;
|
20
|
+
|
21
|
+
&:checked + .lever {
|
22
|
+
background-color: $switch-checked-lever-bg;
|
23
|
+
|
24
|
+
&:after {
|
25
|
+
background-color: $switch-bg-color;
|
26
|
+
left: 24px;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.switch label .lever {
|
32
|
+
content: "";
|
33
|
+
display: inline-block;
|
34
|
+
position: relative;
|
35
|
+
width: 40px;
|
36
|
+
height: 15px;
|
37
|
+
background-color: $switch-unchecked-lever-bg;
|
38
|
+
border-radius: $switch-radius;
|
39
|
+
margin-right: 10px;
|
40
|
+
transition: background 0.3s ease;
|
41
|
+
vertical-align: middle;
|
42
|
+
margin: 0 16px;
|
43
|
+
|
44
|
+
&:after {
|
45
|
+
content: "";
|
46
|
+
position: absolute;
|
47
|
+
display: inline-block;
|
48
|
+
width: 21px;
|
49
|
+
height: 21px;
|
50
|
+
background-color: $switch-unchecked-bg;
|
51
|
+
border-radius: 21px;
|
52
|
+
box-shadow: 0 1px 3px 1px rgba(0,0,0,.4);
|
53
|
+
left: -5px;
|
54
|
+
top: -3px;
|
55
|
+
transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
// Switch active style
|
60
|
+
input[type=checkbox]:checked:not(:disabled) ~ .lever:active::after,
|
61
|
+
input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::after {
|
62
|
+
box-shadow: 0 1px 3px 1px rgba(0,0,0,.4), 0 0 0 15px transparentize($switch-bg-color, .9);
|
63
|
+
}
|
64
|
+
|
65
|
+
input[type=checkbox]:not(:disabled) ~ .lever:active:after,
|
66
|
+
input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::after {
|
67
|
+
box-shadow: 0 1px 3px 1px rgba(0,0,0,.4), 0 0 0 15px rgba(0, 0, 0, .08);
|
68
|
+
}
|
69
|
+
|
70
|
+
// Disabled Styles
|
71
|
+
.switch input[type=checkbox][disabled] + .lever {
|
72
|
+
cursor: default;
|
73
|
+
}
|
74
|
+
|
75
|
+
.switch label input[type=checkbox][disabled] + .lever:after,
|
76
|
+
.switch label input[type=checkbox][disabled]:checked + .lever:after {
|
77
|
+
background-color: $input-disabled-solid-color;
|
78
|
+
}
|
metadata
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dr-jekylls-materials
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- DougW
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-22 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: '3.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.3'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.12'
|
55
|
+
description: Jekyll theme based on the wonderful and amazing materializecss
|
56
|
+
email: dworsham@library.ucla.edu
|
57
|
+
executables: []
|
58
|
+
extensions: []
|
59
|
+
extra_rdoc_files: []
|
60
|
+
files:
|
61
|
+
- LICENSE.txt
|
62
|
+
- README.md
|
63
|
+
- _includes/footer.html
|
64
|
+
- _includes/header.html
|
65
|
+
- _includes/icon-github.html
|
66
|
+
- _layouts/default.html
|
67
|
+
- _layouts/home.html
|
68
|
+
- _layouts/page.html
|
69
|
+
- _layouts/post.html
|
70
|
+
- _sass/components/_buttons.scss
|
71
|
+
- _sass/components/_cards.scss
|
72
|
+
- _sass/components/_carousel.scss
|
73
|
+
- _sass/components/_chips.scss
|
74
|
+
- _sass/components/_collapsible.scss
|
75
|
+
- _sass/components/_color.scss
|
76
|
+
- _sass/components/_dropdown.scss
|
77
|
+
- _sass/components/_global.scss
|
78
|
+
- _sass/components/_grid.scss
|
79
|
+
- _sass/components/_icons-material-design.scss
|
80
|
+
- _sass/components/_materialbox.scss
|
81
|
+
- _sass/components/_mixins.scss
|
82
|
+
- _sass/components/_modal.scss
|
83
|
+
- _sass/components/_navbar.scss
|
84
|
+
- _sass/components/_normalize.scss
|
85
|
+
- _sass/components/_prefixer.scss
|
86
|
+
- _sass/components/_preloader.scss
|
87
|
+
- _sass/components/_roboto.scss
|
88
|
+
- _sass/components/_sideNav.scss
|
89
|
+
- _sass/components/_slider.scss
|
90
|
+
- _sass/components/_table_of_contents.scss
|
91
|
+
- _sass/components/_tabs.scss
|
92
|
+
- _sass/components/_toast.scss
|
93
|
+
- _sass/components/_tooltip.scss
|
94
|
+
- _sass/components/_typography.scss
|
95
|
+
- _sass/components/_variables.scss
|
96
|
+
- _sass/components/_waves.scss
|
97
|
+
- _sass/components/date_picker/_default.date.scss
|
98
|
+
- _sass/components/date_picker/_default.scss
|
99
|
+
- _sass/components/date_picker/_default.time.scss
|
100
|
+
- _sass/components/forms/_checkboxes.scss
|
101
|
+
- _sass/components/forms/_file-input.scss
|
102
|
+
- _sass/components/forms/_forms.scss
|
103
|
+
- _sass/components/forms/_input-fields.scss
|
104
|
+
- _sass/components/forms/_radio-buttons.scss
|
105
|
+
- _sass/components/forms/_range.scss
|
106
|
+
- _sass/components/forms/_select.scss
|
107
|
+
- _sass/components/forms/_switches.scss
|
108
|
+
homepage: https://github.com/dmcwo/dr-jekylls-materials
|
109
|
+
licenses:
|
110
|
+
- MIT
|
111
|
+
metadata:
|
112
|
+
plugin_type: theme
|
113
|
+
post_install_message:
|
114
|
+
rdoc_options: []
|
115
|
+
require_paths:
|
116
|
+
- lib
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
requirements: []
|
128
|
+
rubyforge_project:
|
129
|
+
rubygems_version: 2.0.14.1
|
130
|
+
signing_key:
|
131
|
+
specification_version: 4
|
132
|
+
summary: My first jekyll theme! Just bringing the amazingness of materialize to a
|
133
|
+
jekyll theme
|
134
|
+
test_files: []
|