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
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c77894f83b1163c260da6ef873bc01f2135949bb
|
4
|
+
data.tar.gz: 25536594cac0313a9fc0a711fc26b73210ca5f6a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7cb40cbe27c75d05a84eb06a758d76cd1c47d3ab5822af873781b82f0b4736bc70a15643d86afb393a43b9dcea227aeccb4bb6f26ed63c395a66f8f2a2b5e641
|
7
|
+
data.tar.gz: b0756a0a89a999c49710910b9e188a0c0deb8a42f8719d6a7bb07d99e95fd9bc33fffd9a3f52f9e1935c664ca153b81932273a4756bdff5ea967aec09bac636a
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 DougW
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# dr-jekylls-materials
|
2
|
+
|
3
|
+
> Into this wilde Abyss, The Womb of nature and perhaps her Grave, Of neither Sea, nor Shore, nor Air, nor Fire, But all these in their pregnant causes mixt Confus’dly, and which thus must ever fight, Unless th’ Almighty Maker them ordain His dark materials to create more Worlds ....
|
4
|
+
> — Paradise Lost, Book 2, lines 910–920
|
5
|
+
|
6
|
+
> “You start a question, and it's like starting a stone. You sit quietly on the top of a hill; and away the stone goes, starting others...”
|
7
|
+
> ― Robert Louis Stevenson, The Strange Case of Dr. Jekyll and Mr. Hyde
|
8
|
+
|
9
|
+
[Materialize](http://materializecss.com/) is amazing. [Jekyll](https://jekyllrb.com), amazing, too. The two together? Doubly amazing. This theme attempts to bring some materialized magic to jekyll.
|
10
|
+
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
Add this line to your Jekyll site's Gemfile:
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
gem "dr-jekylls-materials"
|
17
|
+
```
|
18
|
+
|
19
|
+
And add this line to your Jekyll site's `_config.yml`:
|
20
|
+
|
21
|
+
```yaml
|
22
|
+
theme: dr-jekylls-materials
|
23
|
+
```
|
24
|
+
|
25
|
+
And then execute:
|
26
|
+
|
27
|
+
$ bundle
|
28
|
+
|
29
|
+
Or install it yourself as:
|
30
|
+
|
31
|
+
$ gem install dr-jekylls-materials
|
32
|
+
|
33
|
+
|
34
|
+
## Contributing
|
35
|
+
|
36
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/dmcwo/dr-jekylls-materials. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<footer class="page-footer">
|
2
|
+
<div class="container">
|
3
|
+
<div class="row">
|
4
|
+
<div class="col l6 s12">
|
5
|
+
<h5 class="white-text"> {{ site.title }} </h5>
|
6
|
+
<p class="grey-text text-lighten-4"> {{ site.description }} </p>
|
7
|
+
</div>
|
8
|
+
<div class="col l4 offset-l2 s12">
|
9
|
+
<h5 class="white-text">Links</h5>
|
10
|
+
<ul>
|
11
|
+
<li><a class="grey-text text-lighten-3" href="#!">Link 1</a></li>
|
12
|
+
<li><a class="grey-text text-lighten-3" href="#!">Link 2</a></li>
|
13
|
+
</ul>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
<div class="footer-copyright">
|
18
|
+
<div class="container">
|
19
|
+
© 2014 Copyright {{ site.name }} | All rights reserved.
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</footer>
|
23
|
+
|
24
|
+
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
25
|
+
|
26
|
+
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.min.js"></script> -->
|
27
|
+
|
28
|
+
<script type="text/javascript" src="{{ "/assets/js/materialize.js" | prepend: site.baseurl }}"></script>
|
29
|
+
|
30
|
+
{% if page.specialjsfeatures == true %}
|
31
|
+
|
32
|
+
<script type="text/javascript" src="{{ "/assets/js/materialize-readies.js" | prepend: site.baseurl }}"></script>
|
33
|
+
|
34
|
+
{% endif %}
|
35
|
+
|
36
|
+
</body></html>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
<!-- this gets the stylesheet from the cloud
|
8
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/css/materialize.min.css">
|
9
|
+
-->
|
10
|
+
<!--Materialize-->
|
11
|
+
<!--Import Google Icon Font-->
|
12
|
+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
13
|
+
|
14
|
+
<!-- styles -->
|
15
|
+
<link rel="stylesheet" href="{{ "/assets/css/materialize.css" | prepend: site.baseurl }}">
|
16
|
+
<link rel="stylesheet" href="{{ "/assets/css/site.css" | prepend: site.baseurl }}">
|
17
|
+
|
18
|
+
|
19
|
+
</head>
|
20
|
+
|
21
|
+
<body>
|
@@ -0,0 +1 @@
|
|
1
|
+
<em>icon</em>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% include header.html %}
|
2
|
+
|
3
|
+
<nav>
|
4
|
+
<div class="nav-wrapper">
|
5
|
+
<div class="container">
|
6
|
+
<a href="{{ site.baseurl }}/" class="brand-logo"> {{ site.title }} </a>
|
7
|
+
</div>
|
8
|
+
</div>
|
9
|
+
</nav>
|
10
|
+
|
11
|
+
<div class="container">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
|
15
|
+
{% include footer.html %}
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
{% for post in site.posts %}
|
5
|
+
<div class="row">
|
6
|
+
<div class="col s12 m6">
|
7
|
+
<div class="card">
|
8
|
+
<div class="card-content">
|
9
|
+
<span class="card-title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></span>
|
10
|
+
<p>{{ post.excerpt }}</p>
|
11
|
+
</div>
|
12
|
+
<div class="card-action">
|
13
|
+
<a href="{{ post.url | prepend: site.baseurl }}">
|
14
|
+
Read More
|
15
|
+
</a>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
{% endfor %}
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<h1 class="postTitle">{{ page.title }}</h1>
|
5
|
+
<!-- <p class="meta">{{ page.date | date: '%B %d, %Y' }} | <span class="time">{{ page.content | number_of_words | divided_by:180 }}</span> Minute Read</p> -->
|
6
|
+
{{ content }}
|
7
|
+
|
8
|
+
<!-- *** -->
|
9
|
+
<!-- POST NAVIGATION with cards-->
|
10
|
+
<!-- *** -->
|
11
|
+
|
12
|
+
<hr>
|
13
|
+
|
14
|
+
<div class="row">
|
15
|
+
{% if page.previous.url %}
|
16
|
+
<!-- Card 1 -->
|
17
|
+
<div class="col s6">
|
18
|
+
<div class="card blue darken-4 hoverable">
|
19
|
+
<a href="{{ page.previous.url | prepend: site.baseurl }}">
|
20
|
+
<div class="card-content white-text">
|
21
|
+
<!--<span class="card-title waves-effect"><a href="{{ page.previous.url | prepend: site.baseurl }}"><i class="material-icons">chevron_left</i> {{ page.previous.title }}</a></span>-->
|
22
|
+
<i class="material-icons">chevron_left</i> {{ page.previous.title }}
|
23
|
+
<!--<p>I am a very simple card. I am good at containing small bits of information.
|
24
|
+
I am convenient because I require little markup to use effectively.</p>-->
|
25
|
+
</div>
|
26
|
+
</a>
|
27
|
+
<!--
|
28
|
+
<div class="card-action">
|
29
|
+
<a href="#">This is a link</a>
|
30
|
+
<a href="#">This is a link</a>
|
31
|
+
</div>
|
32
|
+
-->
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
{% endif %}
|
36
|
+
|
37
|
+
|
38
|
+
{% if page.next.url %}
|
39
|
+
<!-- Card 2 -->
|
40
|
+
<div class="col s6">
|
41
|
+
<div class="card blue darken-4 hoverable">
|
42
|
+
<a href="{{ page.next.url | prepend: site.baseurl }}">
|
43
|
+
<div class="card-content white-text">
|
44
|
+
<!--<span class="card-title waves-effect"><a href="{{ page.next.url | prepend: site.baseurl }}">{{ page.next.title }} <i class="material-icons">chevron_right</i></a></span>-->
|
45
|
+
{{ page.next.title }} <i class="material-icons">chevron_right</i>
|
46
|
+
</div>
|
47
|
+
</a>
|
48
|
+
<!--
|
49
|
+
<div class="card-action">
|
50
|
+
<a href="#">This is a link</a>
|
51
|
+
<a href="#">This is a link</a>
|
52
|
+
</div>
|
53
|
+
-->
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
{% endif %}
|
57
|
+
|
58
|
+
</div>
|
59
|
+
|
60
|
+
<!--
|
61
|
+
<div>
|
62
|
+
|
63
|
+
<ul class="pagination paginationcenter valign-wrapper center-align" style="margin-left: auto; margin-right: auto;">
|
64
|
+
{% if page.previous.url %}
|
65
|
+
<li class="waves-effect valign"><a href="{{ page.previous.url | prepend: site.baseurl }}"><i class="material-icons">chevron_left</i> {{ page.previous.title }}</a></li>
|
66
|
+
{% endif %}
|
67
|
+
|
68
|
+
{% if page.next.url %}
|
69
|
+
<li class="waves-effect" style="float: right;"><a href="{{ page.next.url | prepend: site.baseurl }}">{{ page.next.title }} <i class="material-icons">chevron_right</i></a></li>
|
70
|
+
{% endif %}
|
71
|
+
|
72
|
+
</ul>
|
73
|
+
</div>
|
74
|
+
-->
|
75
|
+
|
76
|
+
<!--
|
77
|
+
{% if page.previous.url %}
|
78
|
+
<a class="prev{% if page.previous.image %} image{% endif %}" href="{{ page.previous.url | prepend: site.baseurl }}"><span>« {{ page.previous.title }}</span>
|
79
|
+
{% if page.previous.image %}
|
80
|
+
<img src="{{ '/assets/img/' | prepend: site.baseurl | append: page.previous.image }}" alt="">
|
81
|
+
{% endif %}
|
82
|
+
</a>
|
83
|
+
{% endif %}
|
84
|
+
{% if page.next.url %}
|
85
|
+
<a class="next{% if page.next.image %} image{% endif %}" href="{{ page.next.url | prepend: site.baseurl }}"><span>{{ page.next.title }} »</span>
|
86
|
+
{% if page.next.image %}
|
87
|
+
<img src="{{ '/assets/img/' | prepend: site.baseurl | append: page.next.image }}" alt="">
|
88
|
+
{% endif %}
|
89
|
+
</a>
|
90
|
+
{% endif %}
|
91
|
+
-->
|
@@ -0,0 +1,281 @@
|
|
1
|
+
// shared styles
|
2
|
+
.btn,
|
3
|
+
.btn-flat {
|
4
|
+
border: $button-border;
|
5
|
+
border-radius: $button-radius;
|
6
|
+
display: inline-block;
|
7
|
+
height: $button-height;
|
8
|
+
line-height: $button-height;
|
9
|
+
padding: $button-padding;
|
10
|
+
text-transform: uppercase;
|
11
|
+
vertical-align: middle;
|
12
|
+
// Gets rid of tap active state
|
13
|
+
-webkit-tap-highlight-color: transparent;
|
14
|
+
}
|
15
|
+
|
16
|
+
// Disabled shared style
|
17
|
+
.btn.disabled,
|
18
|
+
.btn-floating.disabled,
|
19
|
+
.btn-large.disabled,
|
20
|
+
.btn-flat.disabled,
|
21
|
+
.btn:disabled,
|
22
|
+
.btn-floating:disabled,
|
23
|
+
.btn-large:disabled,
|
24
|
+
.btn-flat:disabled,
|
25
|
+
.btn[disabled],
|
26
|
+
.btn-floating[disabled],
|
27
|
+
.btn-large[disabled],
|
28
|
+
.btn-flat[disabled] {
|
29
|
+
pointer-events: none;
|
30
|
+
background-color: $button-disabled-background !important;
|
31
|
+
box-shadow: none;
|
32
|
+
color: $button-disabled-color !important;
|
33
|
+
cursor: default;
|
34
|
+
|
35
|
+
&:hover {
|
36
|
+
background-color: $button-disabled-background !important;
|
37
|
+
color: $button-disabled-color !important;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
// Shared icon styles
|
42
|
+
.btn,
|
43
|
+
.btn-floating,
|
44
|
+
.btn-large,
|
45
|
+
.btn-flat {
|
46
|
+
|
47
|
+
outline: 0;
|
48
|
+
|
49
|
+
i {
|
50
|
+
font-size: $button-font-size;
|
51
|
+
line-height: inherit;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
// Shared focus button style
|
56
|
+
.btn,
|
57
|
+
.btn-floating {
|
58
|
+
&:focus {
|
59
|
+
background-color: darken($button-raised-background, 10%);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
// Raised Button
|
64
|
+
.btn {
|
65
|
+
text-decoration: none;
|
66
|
+
color: $button-raised-color;
|
67
|
+
background-color: $button-raised-background;
|
68
|
+
text-align: center;
|
69
|
+
letter-spacing: .5px;
|
70
|
+
@extend .z-depth-1;
|
71
|
+
transition: .2s ease-out;
|
72
|
+
cursor: pointer;
|
73
|
+
|
74
|
+
&:hover {
|
75
|
+
background-color: $button-raised-background-hover;
|
76
|
+
@extend .z-depth-1-half;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
// Floating button
|
81
|
+
.btn-floating {
|
82
|
+
display: inline-block;
|
83
|
+
color: $button-floating-color;
|
84
|
+
position: relative;
|
85
|
+
overflow: hidden;
|
86
|
+
z-index: 1;
|
87
|
+
width: $button-floating-size;
|
88
|
+
height: $button-floating-size;
|
89
|
+
line-height: $button-floating-size;
|
90
|
+
padding: 0;
|
91
|
+
background-color: $button-floating-background;
|
92
|
+
border-radius: $button-floating-radius;
|
93
|
+
@extend .z-depth-1;
|
94
|
+
transition: .3s;
|
95
|
+
cursor: pointer;
|
96
|
+
vertical-align: middle;
|
97
|
+
|
98
|
+
i {
|
99
|
+
width: inherit;
|
100
|
+
display: inline-block;
|
101
|
+
text-align: center;
|
102
|
+
color: $button-floating-color;
|
103
|
+
font-size: $button-large-icon-font-size;
|
104
|
+
line-height: $button-floating-size;
|
105
|
+
}
|
106
|
+
|
107
|
+
&:hover {
|
108
|
+
background-color: $button-floating-background-hover;
|
109
|
+
@extend .z-depth-1-half;
|
110
|
+
}
|
111
|
+
|
112
|
+
&:before {
|
113
|
+
border-radius: 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
&.btn-large {
|
117
|
+
width: $button-floating-large-size;
|
118
|
+
height: $button-floating-large-size;
|
119
|
+
i {
|
120
|
+
line-height: $button-floating-large-size;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
// button fix
|
126
|
+
button.btn-floating {
|
127
|
+
border: $button-border;
|
128
|
+
}
|
129
|
+
|
130
|
+
// Fixed Action Button
|
131
|
+
.fixed-action-btn {
|
132
|
+
&.active {
|
133
|
+
ul {
|
134
|
+
visibility: visible;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
&.horizontal {
|
139
|
+
padding: 0 0 0 15px;
|
140
|
+
|
141
|
+
ul {
|
142
|
+
text-align: right;
|
143
|
+
right: 64px;
|
144
|
+
top: 50%;
|
145
|
+
transform: translateY(-50%);
|
146
|
+
height: 100%;
|
147
|
+
left: auto;
|
148
|
+
width: 500px; /*width 100% only goes to width of button container */
|
149
|
+
|
150
|
+
li {
|
151
|
+
display: inline-block;
|
152
|
+
margin: 15px 15px 0 0;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
&.toolbar {
|
158
|
+
&.active {
|
159
|
+
& > a i {
|
160
|
+
opacity: 0;
|
161
|
+
}
|
162
|
+
}
|
163
|
+
|
164
|
+
padding: 0;
|
165
|
+
height: $button-floating-large-size;
|
166
|
+
|
167
|
+
ul {
|
168
|
+
display: flex;
|
169
|
+
top: 0;
|
170
|
+
bottom: 0;
|
171
|
+
|
172
|
+
li {
|
173
|
+
flex: 1;
|
174
|
+
display: inline-block;
|
175
|
+
margin: 0;
|
176
|
+
height: 100%;
|
177
|
+
transition: none;
|
178
|
+
|
179
|
+
a {
|
180
|
+
display: block;
|
181
|
+
overflow: hidden;
|
182
|
+
position: relative;
|
183
|
+
width: 100%;
|
184
|
+
height: 100%;
|
185
|
+
background-color: transparent;
|
186
|
+
box-shadow: none;
|
187
|
+
color: #fff;
|
188
|
+
line-height: $button-floating-large-size;
|
189
|
+
z-index: 1;
|
190
|
+
|
191
|
+
i {
|
192
|
+
line-height: inherit;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
position: fixed;
|
200
|
+
right: 23px;
|
201
|
+
bottom: 23px;
|
202
|
+
padding-top: 15px;
|
203
|
+
margin-bottom: 0;
|
204
|
+
z-index: 998;
|
205
|
+
|
206
|
+
ul {
|
207
|
+
left: 0;
|
208
|
+
right: 0;
|
209
|
+
text-align: center;
|
210
|
+
position: absolute;
|
211
|
+
bottom: 64px;
|
212
|
+
margin: 0;
|
213
|
+
visibility: hidden;
|
214
|
+
|
215
|
+
li {
|
216
|
+
margin-bottom: 15px;
|
217
|
+
}
|
218
|
+
|
219
|
+
a.btn-floating {
|
220
|
+
opacity: 0;
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
224
|
+
.fab-backdrop {
|
225
|
+
position: absolute;
|
226
|
+
top: 0;
|
227
|
+
left: 0;
|
228
|
+
z-index: -1;
|
229
|
+
width: $button-floating-size;
|
230
|
+
height: $button-floating-size;
|
231
|
+
background-color: $button-floating-background;
|
232
|
+
border-radius: $button-floating-radius;
|
233
|
+
transform: scale(0);
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
// Flat button
|
238
|
+
.btn-flat {
|
239
|
+
box-shadow: none;
|
240
|
+
background-color: transparent;
|
241
|
+
color: $button-flat-color;
|
242
|
+
cursor: pointer;
|
243
|
+
transition: background-color .2s;
|
244
|
+
|
245
|
+
&:focus,
|
246
|
+
&:active {
|
247
|
+
background-color: transparent;
|
248
|
+
}
|
249
|
+
|
250
|
+
&:focus,
|
251
|
+
&:hover {
|
252
|
+
background-color: rgba(0,0,0,.1);
|
253
|
+
box-shadow: none;
|
254
|
+
}
|
255
|
+
|
256
|
+
&:active {
|
257
|
+
background-color: rgba(0,0,0,.2);
|
258
|
+
}
|
259
|
+
|
260
|
+
&.disabled {
|
261
|
+
background-color: transparent !important;
|
262
|
+
color: $button-flat-disabled-color !important;
|
263
|
+
cursor: default;
|
264
|
+
}
|
265
|
+
}
|
266
|
+
|
267
|
+
// Large button
|
268
|
+
.btn-large {
|
269
|
+
@extend .btn;
|
270
|
+
height: $button-large-height;
|
271
|
+
line-height: $button-large-height;
|
272
|
+
|
273
|
+
i {
|
274
|
+
font-size: $button-large-icon-font-size;
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
// Block button
|
279
|
+
.btn-block {
|
280
|
+
display: block;
|
281
|
+
}
|