jekyll-theme-anc 0.1.2
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 +1 -0
- data/_includes/disqus.html +42 -0
- data/_includes/facebook_share_btn.html +1 -0
- data/_includes/footer.html +79 -0
- data/_includes/go2top.html +22 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +50 -0
- data/_includes/header.html +13 -0
- data/_includes/jspdf.html +41 -0
- data/_includes/nav.html +25 -0
- data/_includes/pageloginpoper.html +59 -0
- data/_includes/post-categories.html +8 -0
- data/_includes/post_seo.html +59 -0
- data/_includes/youtube_video.html +11 -0
- data/_layouts/blog.html +33 -0
- data/_layouts/default.html +151 -0
- data/_layouts/home.html +26 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +83 -0
- data/_sass/anc.scss +9 -0
- data/_sass/anc/_base.scss +144 -0
- data/_sass/anc/_layout.scss +0 -0
- data/_sass/anc/_materialize.scss +38 -0
- data/_sass/anc/_syntax-highlighting.scss +78 -0
- data/_sass/anc/components/_variables.scss +343 -0
- data/_sass/materialize-css/components/_badges.scss +47 -0
- data/_sass/materialize-css/components/_buttons.scss +291 -0
- data/_sass/materialize-css/components/_cards.scss +196 -0
- data/_sass/materialize-css/components/_carousel.scss +90 -0
- data/_sass/materialize-css/components/_chips.scss +89 -0
- data/_sass/materialize-css/components/_collapsible.scss +84 -0
- data/_sass/materialize-css/components/_color.scss +412 -0
- data/_sass/materialize-css/components/_dropdown.scss +68 -0
- data/_sass/materialize-css/components/_global.scss +734 -0
- data/_sass/materialize-css/components/_grid.scss +156 -0
- data/_sass/materialize-css/components/_icons-material-design.scss +5 -0
- data/_sass/materialize-css/components/_materialbox.scss +43 -0
- data/_sass/materialize-css/components/_modal.scss +90 -0
- data/_sass/materialize-css/components/_navbar.scss +208 -0
- data/_sass/materialize-css/components/_normalize.scss +424 -0
- data/_sass/materialize-css/components/_preloader.scss +334 -0
- data/_sass/materialize-css/components/_pulse.scss +34 -0
- data/_sass/materialize-css/components/_roboto.scss +39 -0
- data/_sass/materialize-css/components/_sideNav.scss +214 -0
- data/_sass/materialize-css/components/_slider.scss +92 -0
- data/_sass/materialize-css/components/_table_of_contents.scss +33 -0
- data/_sass/materialize-css/components/_tabs.scss +93 -0
- data/_sass/materialize-css/components/_tapTarget.scss +103 -0
- data/_sass/materialize-css/components/_toast.scss +59 -0
- data/_sass/materialize-css/components/_tooltip.scss +31 -0
- data/_sass/materialize-css/components/_transitions.scss +13 -0
- data/_sass/materialize-css/components/_typography.scss +61 -0
- data/_sass/materialize-css/components/_variables.scss +343 -0
- data/_sass/materialize-css/components/_waves.scss +114 -0
- data/_sass/materialize-css/components/date_picker/_default.date.scss +456 -0
- data/_sass/materialize-css/components/date_picker/_default.scss +212 -0
- data/_sass/materialize-css/components/date_picker/_default.time.scss +267 -0
- data/_sass/materialize-css/components/forms/_checkboxes.scss +210 -0
- data/_sass/materialize-css/components/forms/_file-input.scss +44 -0
- data/_sass/materialize-css/components/forms/_forms.scss +22 -0
- data/_sass/materialize-css/components/forms/_input-fields.scss +333 -0
- data/_sass/materialize-css/components/forms/_radio-buttons.scss +115 -0
- data/_sass/materialize-css/components/forms/_range.scss +160 -0
- data/_sass/materialize-css/components/forms/_select.scss +182 -0
- data/_sass/materialize-css/components/forms/_switches.scss +89 -0
- data/_sass/materialize-css/materialize.scss +42 -0
- data/_sass/materialize/components/_badges.scss +47 -0
- data/_sass/materialize/components/_buttons.scss +291 -0
- data/_sass/materialize/components/_cards.scss +196 -0
- data/_sass/materialize/components/_carousel.scss +90 -0
- data/_sass/materialize/components/_chips.scss +89 -0
- data/_sass/materialize/components/_collapsible.scss +84 -0
- data/_sass/materialize/components/_color.scss +412 -0
- data/_sass/materialize/components/_dropdown.scss +68 -0
- data/_sass/materialize/components/_global.scss +734 -0
- data/_sass/materialize/components/_grid.scss +156 -0
- data/_sass/materialize/components/_icons-material-design.scss +5 -0
- data/_sass/materialize/components/_materialbox.scss +43 -0
- data/_sass/materialize/components/_modal.scss +90 -0
- data/_sass/materialize/components/_navbar.scss +208 -0
- data/_sass/materialize/components/_normalize.scss +424 -0
- data/_sass/materialize/components/_preloader.scss +334 -0
- data/_sass/materialize/components/_pulse.scss +34 -0
- data/_sass/materialize/components/_roboto.scss +39 -0
- data/_sass/materialize/components/_sideNav.scss +214 -0
- data/_sass/materialize/components/_slider.scss +92 -0
- data/_sass/materialize/components/_table_of_contents.scss +33 -0
- data/_sass/materialize/components/_tabs.scss +93 -0
- data/_sass/materialize/components/_tapTarget.scss +103 -0
- data/_sass/materialize/components/_toast.scss +59 -0
- data/_sass/materialize/components/_tooltip.scss +31 -0
- data/_sass/materialize/components/_transitions.scss +13 -0
- data/_sass/materialize/components/_typography.scss +61 -0
- data/_sass/materialize/components/_variables.scss +343 -0
- data/_sass/materialize/components/_waves.scss +114 -0
- data/_sass/materialize/components/date_picker/_default.date.scss +456 -0
- data/_sass/materialize/components/date_picker/_default.scss +212 -0
- data/_sass/materialize/components/date_picker/_default.time.scss +267 -0
- data/_sass/materialize/components/forms/_checkboxes.scss +210 -0
- data/_sass/materialize/components/forms/_file-input.scss +44 -0
- data/_sass/materialize/components/forms/_forms.scss +22 -0
- data/_sass/materialize/components/forms/_input-fields.scss +333 -0
- data/_sass/materialize/components/forms/_radio-buttons.scss +115 -0
- data/_sass/materialize/components/forms/_range.scss +160 -0
- data/_sass/materialize/components/forms/_select.scss +182 -0
- data/_sass/materialize/components/forms/_switches.scss +89 -0
- data/_sass/materialize/materialize.scss +42 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/assets/images/close.png +0 -0
- data/assets/images/loader.gif +0 -0
- data/assets/img/icons/facebook-square.png +0 -0
- data/assets/img/icons/github-square.png +0 -0
- data/assets/img/icons/twitter-square.png +0 -0
- data/assets/img/icons/youtube-square.png +0 -0
- data/assets/img/jubayed11.37-16.jpg +0 -0
- data/assets/img/parallax1.jpg +0 -0
- data/assets/img/sample-1.jpg +0 -0
- data/assets/js/custom_script.js +200 -0
- data/assets/js/highlight.pack.js +2 -0
- data/assets/js/materialize.min.js +6 -0
- data/assets/js/mode/apl/apl.js +174 -0
- data/assets/js/mode/asciiarmor/asciiarmor.js +74 -0
- data/assets/js/mode/asn.1/asn.1.js +204 -0
- data/assets/js/mode/asterisk/asterisk.js +196 -0
- data/assets/js/mode/brainfuck/brainfuck.js +85 -0
- data/assets/js/mode/clike/clike.js +789 -0
- data/assets/js/mode/clojure/clojure.js +306 -0
- data/assets/js/mode/cmake/cmake.js +97 -0
- data/assets/js/mode/cobol/cobol.js +255 -0
- data/assets/js/mode/coffeescript/coffeescript.js +359 -0
- data/assets/js/mode/commonlisp/commonlisp.js +124 -0
- data/assets/js/mode/crystal/crystal.js +433 -0
- data/assets/js/mode/css/css.js +831 -0
- data/assets/js/mode/cypher/cypher.js +150 -0
- data/assets/js/mode/d/d.js +218 -0
- data/assets/js/mode/dart/dart.js +157 -0
- data/assets/js/mode/diff/diff.js +47 -0
- data/assets/js/mode/django/django.js +356 -0
- data/assets/js/mode/dockerfile/dockerfile.js +79 -0
- data/assets/js/mode/dtd/dtd.js +142 -0
- data/assets/js/mode/dylan/dylan.js +352 -0
- data/assets/js/mode/ebnf/ebnf.js +195 -0
- data/assets/js/mode/ecl/ecl.js +206 -0
- data/assets/js/mode/eiffel/eiffel.js +160 -0
- data/assets/js/mode/elm/elm.js +205 -0
- data/assets/js/mode/erlang/erlang.js +619 -0
- data/assets/js/mode/factor/factor.js +85 -0
- data/assets/js/mode/fcl/fcl.js +173 -0
- data/assets/js/mode/forth/forth.js +180 -0
- data/assets/js/mode/fortran/fortran.js +188 -0
- data/assets/js/mode/gas/gas.js +345 -0
- data/assets/js/mode/gfm/gfm.js +129 -0
- data/assets/js/mode/gherkin/gherkin.js +178 -0
- data/assets/js/mode/go/go.js +187 -0
- data/assets/js/mode/groovy/groovy.js +230 -0
- data/assets/js/mode/haml/haml.js +161 -0
- data/assets/js/mode/handlebars/handlebars.js +62 -0
- data/assets/js/mode/haskell-literate/haskell-literate.js +43 -0
- data/assets/js/mode/haskell/haskell.js +267 -0
- data/assets/js/mode/haxe/haxe.js +515 -0
- data/assets/js/mode/htmlembedded/htmlembedded.js +28 -0
- data/assets/js/mode/htmlmixed/htmlmixed.js +152 -0
- data/assets/js/mode/http/http.js +113 -0
- data/assets/js/mode/idl/idl.js +290 -0
- data/assets/js/mode/javascript/javascript.js +838 -0
- data/assets/js/mode/jinja2/jinja2.js +142 -0
- data/assets/js/mode/jsx/jsx.js +148 -0
- data/assets/js/mode/julia/julia.js +418 -0
- data/assets/js/mode/livescript/livescript.js +280 -0
- data/assets/js/mode/lua/lua.js +159 -0
- data/assets/js/mode/markdown/markdown.js +859 -0
- data/assets/js/mode/mathematica/mathematica.js +176 -0
- data/assets/js/mode/mbox/mbox.js +129 -0
- data/assets/js/mode/meta.js +215 -0
- data/assets/js/mode/mirc/mirc.js +193 -0
- data/assets/js/mode/mllike/mllike.js +208 -0
- data/assets/js/mode/modelica/modelica.js +245 -0
- data/assets/js/mode/mscgen/mscgen.js +175 -0
- data/assets/js/mode/mumps/mumps.js +148 -0
- data/assets/js/mode/nginx/nginx.js +178 -0
- data/assets/js/mode/nsis/nsis.js +95 -0
- data/assets/js/mode/ntriples/ntriples.js +195 -0
- data/assets/js/mode/octave/octave.js +139 -0
- data/assets/js/mode/oz/oz.js +252 -0
- data/assets/js/mode/pascal/pascal.js +109 -0
- data/assets/js/mode/pegjs/pegjs.js +114 -0
- data/assets/js/mode/perl/perl.js +837 -0
- data/assets/js/mode/php/php.js +234 -0
- data/assets/js/mode/pig/pig.js +178 -0
- data/assets/js/mode/powershell/powershell.js +398 -0
- data/assets/js/mode/properties/properties.js +78 -0
- data/assets/js/mode/protobuf/protobuf.js +68 -0
- data/assets/js/mode/pug/pug.js +591 -0
- data/assets/js/mode/puppet/puppet.js +220 -0
- data/assets/js/mode/python/python.js +334 -0
- data/assets/js/mode/q/q.js +139 -0
- data/assets/js/mode/r/r.js +183 -0
- data/assets/js/mode/rpm/changes/index.html +66 -0
- data/assets/js/mode/rpm/rpm.js +109 -0
- data/assets/js/mode/rst/rst.js +557 -0
- data/assets/js/mode/ruby/ruby.js +295 -0
- data/assets/js/mode/rust/rust.js +72 -0
- data/assets/js/mode/sas/sas.js +303 -0
- data/assets/js/mode/sass/sass.js +454 -0
- data/assets/js/mode/scheme/scheme.js +249 -0
- data/assets/js/mode/shell/shell.js +142 -0
- data/assets/js/mode/sieve/sieve.js +193 -0
- data/assets/js/mode/slim/slim.js +575 -0
- data/assets/js/mode/smalltalk/smalltalk.js +168 -0
- data/assets/js/mode/smarty/smarty.js +225 -0
- data/assets/js/mode/solr/solr.js +104 -0
- data/assets/js/mode/soy/soy.js +342 -0
- data/assets/js/mode/sparql/sparql.js +180 -0
- data/assets/js/mode/spreadsheet/spreadsheet.js +112 -0
- data/assets/js/mode/sql/sql.js +475 -0
- data/assets/js/mode/stex/stex.js +251 -0
- data/assets/js/mode/stylus/stylus.js +771 -0
- data/assets/js/mode/swift/swift.js +210 -0
- data/assets/js/mode/tcl/tcl.js +139 -0
- data/assets/js/mode/textile/textile.js +469 -0
- data/assets/js/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/assets/js/mode/tiddlywiki/tiddlywiki.js +308 -0
- data/assets/js/mode/tiki/tiki.css +26 -0
- data/assets/js/mode/tiki/tiki.js +312 -0
- data/assets/js/mode/toml/toml.js +88 -0
- data/assets/js/mode/tornado/tornado.js +68 -0
- data/assets/js/mode/troff/troff.js +84 -0
- data/assets/js/mode/ttcn-cfg/ttcn-cfg.js +214 -0
- data/assets/js/mode/ttcn/ttcn.js +283 -0
- data/assets/js/mode/turtle/turtle.js +162 -0
- data/assets/js/mode/twig/twig.js +141 -0
- data/assets/js/mode/vb/vb.js +275 -0
- data/assets/js/mode/vbscript/vbscript.js +350 -0
- data/assets/js/mode/velocity/velocity.js +201 -0
- data/assets/js/mode/verilog/verilog.js +675 -0
- data/assets/js/mode/vhdl/vhdl.js +189 -0
- data/assets/js/mode/vue/vue.js +70 -0
- data/assets/js/mode/webidl/webidl.js +195 -0
- data/assets/js/mode/xml/xml.js +394 -0
- data/assets/js/mode/xquery/xquery.js +448 -0
- data/assets/js/mode/yacas/yacas.js +204 -0
- data/assets/js/mode/yaml-frontmatter/yaml-frontmatter.js +68 -0
- data/assets/js/mode/yaml/yaml.js +118 -0
- data/assets/js/mode/z80/z80.js +116 -0
- data/assets/main.scss +5 -0
- metadata +347 -0
@@ -0,0 +1,156 @@
|
|
1
|
+
.container {
|
2
|
+
margin: 0 auto;
|
3
|
+
max-width: 1280px;
|
4
|
+
width: 90%;
|
5
|
+
}
|
6
|
+
@media #{$medium-and-up} {
|
7
|
+
.container {
|
8
|
+
width: 85%;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
@media #{$large-and-up} {
|
12
|
+
.container {
|
13
|
+
width: 70%;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
.container .row {
|
17
|
+
margin-left: (-1 * $gutter-width / 2);
|
18
|
+
margin-right: (-1 * $gutter-width / 2);
|
19
|
+
}
|
20
|
+
|
21
|
+
.section {
|
22
|
+
padding-top: 1rem;
|
23
|
+
padding-bottom: 1rem;
|
24
|
+
|
25
|
+
&.no-pad {
|
26
|
+
padding: 0;
|
27
|
+
}
|
28
|
+
&.no-pad-bot {
|
29
|
+
padding-bottom: 0;
|
30
|
+
}
|
31
|
+
&.no-pad-top {
|
32
|
+
padding-top: 0;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
// Mixins to eliminate code repitition
|
38
|
+
@mixin reset-offset {
|
39
|
+
margin-left: auto;
|
40
|
+
left: auto;
|
41
|
+
right: auto;
|
42
|
+
}
|
43
|
+
@mixin grid-classes($size, $i, $perc) {
|
44
|
+
&.offset-#{$size}#{$i} {
|
45
|
+
margin-left: $perc;
|
46
|
+
}
|
47
|
+
&.pull-#{$size}#{$i} {
|
48
|
+
right: $perc;
|
49
|
+
}
|
50
|
+
&.push-#{$size}#{$i} {
|
51
|
+
left: $perc;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
.row {
|
57
|
+
margin-left: auto;
|
58
|
+
margin-right: auto;
|
59
|
+
margin-bottom: 20px;
|
60
|
+
|
61
|
+
// Clear floating children
|
62
|
+
&:after {
|
63
|
+
content: "";
|
64
|
+
display: table;
|
65
|
+
clear: both;
|
66
|
+
}
|
67
|
+
|
68
|
+
.col {
|
69
|
+
float: left;
|
70
|
+
box-sizing: border-box;
|
71
|
+
padding: 0 $gutter-width / 2;
|
72
|
+
min-height: 1px;
|
73
|
+
|
74
|
+
&[class*="push-"],
|
75
|
+
&[class*="pull-"] {
|
76
|
+
position: relative;
|
77
|
+
}
|
78
|
+
|
79
|
+
$i: 1;
|
80
|
+
@while $i <= $num-cols {
|
81
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
82
|
+
&.s#{$i} {
|
83
|
+
width: $perc;
|
84
|
+
@include reset-offset;
|
85
|
+
}
|
86
|
+
$i: $i + 1;
|
87
|
+
}
|
88
|
+
|
89
|
+
$i: 1;
|
90
|
+
@while $i <= $num-cols {
|
91
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
92
|
+
@include grid-classes("s", $i, $perc);
|
93
|
+
$i: $i + 1;
|
94
|
+
}
|
95
|
+
|
96
|
+
@media #{$medium-and-up} {
|
97
|
+
|
98
|
+
$i: 1;
|
99
|
+
@while $i <= $num-cols {
|
100
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
101
|
+
&.m#{$i} {
|
102
|
+
width: $perc;
|
103
|
+
@include reset-offset;
|
104
|
+
}
|
105
|
+
$i: $i + 1
|
106
|
+
}
|
107
|
+
|
108
|
+
$i: 1;
|
109
|
+
@while $i <= $num-cols {
|
110
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
111
|
+
@include grid-classes("m", $i, $perc);
|
112
|
+
$i: $i + 1;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
@media #{$large-and-up} {
|
117
|
+
|
118
|
+
$i: 1;
|
119
|
+
@while $i <= $num-cols {
|
120
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
121
|
+
&.l#{$i} {
|
122
|
+
width: $perc;
|
123
|
+
@include reset-offset;
|
124
|
+
}
|
125
|
+
$i: $i + 1;
|
126
|
+
}
|
127
|
+
|
128
|
+
$i: 1;
|
129
|
+
@while $i <= $num-cols {
|
130
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
131
|
+
@include grid-classes("l", $i, $perc);
|
132
|
+
$i: $i + 1;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
@media #{$extra-large-and-up} {
|
137
|
+
|
138
|
+
$i: 1;
|
139
|
+
@while $i <= $num-cols {
|
140
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
141
|
+
&.xl#{$i} {
|
142
|
+
width: $perc;
|
143
|
+
@include reset-offset;
|
144
|
+
}
|
145
|
+
$i: $i + 1;
|
146
|
+
}
|
147
|
+
|
148
|
+
$i: 1;
|
149
|
+
@while $i <= $num-cols {
|
150
|
+
$perc: unquote((100 / ($num-cols / $i)) + "%");
|
151
|
+
@include grid-classes("xl", $i, $perc);
|
152
|
+
$i: $i + 1;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
.materialboxed {
|
2
|
+
&:hover {
|
3
|
+
&:not(.active) {
|
4
|
+
opacity: .8;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
|
8
|
+
display: block;
|
9
|
+
cursor: zoom-in;
|
10
|
+
position: relative;
|
11
|
+
transition: opacity .4s;
|
12
|
+
-webkit-backface-visibility: hidden;
|
13
|
+
|
14
|
+
&.active {
|
15
|
+
cursor: zoom-out;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
#materialbox-overlay {
|
20
|
+
position:fixed;
|
21
|
+
top: 0;
|
22
|
+
right: 0;
|
23
|
+
bottom: 0;
|
24
|
+
left: 0;
|
25
|
+
background-color: #292929;
|
26
|
+
z-index: 1000;
|
27
|
+
will-change: opacity;
|
28
|
+
}
|
29
|
+
|
30
|
+
.materialbox-caption {
|
31
|
+
position: fixed;
|
32
|
+
display: none;
|
33
|
+
color: #fff;
|
34
|
+
line-height: 50px;
|
35
|
+
bottom: 0;
|
36
|
+
left: 0;
|
37
|
+
width: 100%;
|
38
|
+
text-align: center;
|
39
|
+
padding: 0% 15%;
|
40
|
+
height: 50px;
|
41
|
+
z-index: 1000;
|
42
|
+
-webkit-font-smoothing: antialiased;
|
43
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
.modal {
|
2
|
+
@extend .z-depth-4;
|
3
|
+
|
4
|
+
display: none;
|
5
|
+
position: fixed;
|
6
|
+
left: 0;
|
7
|
+
right: 0;
|
8
|
+
background-color: #fafafa;
|
9
|
+
padding: 0;
|
10
|
+
max-height: 70%;
|
11
|
+
width: 55%;
|
12
|
+
margin: auto;
|
13
|
+
overflow-y: auto;
|
14
|
+
|
15
|
+
border-radius: 2px;
|
16
|
+
will-change: top, opacity;
|
17
|
+
|
18
|
+
@media #{$medium-and-down} {
|
19
|
+
width: 80%;
|
20
|
+
}
|
21
|
+
|
22
|
+
h1,h2,h3,h4 {
|
23
|
+
margin-top: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
.modal-content {
|
27
|
+
padding: 24px;
|
28
|
+
}
|
29
|
+
.modal-close {
|
30
|
+
cursor: pointer;
|
31
|
+
}
|
32
|
+
|
33
|
+
.modal-footer {
|
34
|
+
border-radius: 0 0 2px 2px;
|
35
|
+
background-color: #fafafa;
|
36
|
+
padding: 4px 6px;
|
37
|
+
height: 56px;
|
38
|
+
width: 100%;
|
39
|
+
text-align: right;
|
40
|
+
|
41
|
+
.btn, .btn-flat {
|
42
|
+
margin: 6px 0;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
.modal-overlay {
|
47
|
+
position: fixed;
|
48
|
+
z-index: 999;
|
49
|
+
top: -25%;
|
50
|
+
left: 0;
|
51
|
+
bottom: 0;
|
52
|
+
right: 0;
|
53
|
+
height: 125%;
|
54
|
+
width: 100%;
|
55
|
+
background: #000;
|
56
|
+
display: none;
|
57
|
+
|
58
|
+
will-change: opacity;
|
59
|
+
}
|
60
|
+
|
61
|
+
// Modal with fixed action footer
|
62
|
+
.modal.modal-fixed-footer {
|
63
|
+
padding: 0;
|
64
|
+
height: 70%;
|
65
|
+
|
66
|
+
.modal-content {
|
67
|
+
position: absolute;
|
68
|
+
height: calc(100% - 56px);
|
69
|
+
max-height: 100%;
|
70
|
+
width: 100%;
|
71
|
+
overflow-y: auto;
|
72
|
+
}
|
73
|
+
|
74
|
+
.modal-footer {
|
75
|
+
border-top: 1px solid rgba(0,0,0,.1);
|
76
|
+
position: absolute;
|
77
|
+
bottom: 0;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
// Modal Bottom Sheet Style
|
82
|
+
.modal.bottom-sheet {
|
83
|
+
top: auto;
|
84
|
+
bottom: -100%;
|
85
|
+
margin: 0;
|
86
|
+
width: 100%;
|
87
|
+
max-height: 45%;
|
88
|
+
border-radius: 0;
|
89
|
+
will-change: bottom, opacity;
|
90
|
+
}
|
@@ -0,0 +1,208 @@
|
|
1
|
+
nav {
|
2
|
+
&.nav-extended {
|
3
|
+
height: auto;
|
4
|
+
|
5
|
+
.nav-wrapper {
|
6
|
+
min-height: $navbar-height-mobile;
|
7
|
+
height: auto;
|
8
|
+
}
|
9
|
+
|
10
|
+
.nav-content {
|
11
|
+
position: relative;
|
12
|
+
line-height: normal;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
color: $navbar-font-color;
|
17
|
+
@extend .z-depth-1;
|
18
|
+
background-color: $primary-color;
|
19
|
+
width: 100%;
|
20
|
+
height: $navbar-height-mobile;
|
21
|
+
line-height: $navbar-line-height-mobile;
|
22
|
+
|
23
|
+
a { color: $navbar-font-color; }
|
24
|
+
|
25
|
+
i,
|
26
|
+
[class^="mdi-"], [class*="mdi-"],
|
27
|
+
i.material-icons {
|
28
|
+
display: block;
|
29
|
+
font-size: 24px;
|
30
|
+
height: $navbar-height-mobile;
|
31
|
+
line-height: $navbar-line-height-mobile;
|
32
|
+
}
|
33
|
+
|
34
|
+
.nav-wrapper {
|
35
|
+
position: relative;
|
36
|
+
height: 100%;
|
37
|
+
}
|
38
|
+
|
39
|
+
@media #{$large-and-up} {
|
40
|
+
a.button-collapse { display: none; }
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
// Collapse button
|
45
|
+
.button-collapse {
|
46
|
+
float: left;
|
47
|
+
position: relative;
|
48
|
+
z-index: 1;
|
49
|
+
height: $navbar-height-mobile;
|
50
|
+
margin: 0 18px;
|
51
|
+
|
52
|
+
i {
|
53
|
+
height: $navbar-height-mobile;
|
54
|
+
line-height: $navbar-line-height-mobile;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
// Logo
|
60
|
+
.brand-logo {
|
61
|
+
position: absolute;
|
62
|
+
color: $navbar-font-color;
|
63
|
+
display: inline-block;
|
64
|
+
font-size: $navbar-brand-font-size;
|
65
|
+
padding: 0;
|
66
|
+
|
67
|
+
&.center {
|
68
|
+
left: 50%;
|
69
|
+
transform: translateX(-50%);
|
70
|
+
}
|
71
|
+
|
72
|
+
@media #{$medium-and-down} {
|
73
|
+
left: 50%;
|
74
|
+
transform: translateX(-50%);
|
75
|
+
|
76
|
+
&.left, &.right {
|
77
|
+
padding: 0;
|
78
|
+
transform: none;
|
79
|
+
}
|
80
|
+
|
81
|
+
&.left { left: 0.5rem; }
|
82
|
+
&.right {
|
83
|
+
right: 0.5rem;
|
84
|
+
left: auto;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
&.right {
|
89
|
+
right: 0.5rem;
|
90
|
+
padding: 0;
|
91
|
+
}
|
92
|
+
|
93
|
+
i,
|
94
|
+
[class^="mdi-"], [class*="mdi-"],
|
95
|
+
i.material-icons {
|
96
|
+
float: left;
|
97
|
+
margin-right: 15px;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
// Title
|
103
|
+
.nav-title {
|
104
|
+
display: inline-block;
|
105
|
+
font-size: 32px;
|
106
|
+
padding: 28px 0;
|
107
|
+
}
|
108
|
+
|
109
|
+
|
110
|
+
// Navbar Links
|
111
|
+
ul {
|
112
|
+
margin: 0;
|
113
|
+
|
114
|
+
li {
|
115
|
+
transition: background-color .3s;
|
116
|
+
float: left;
|
117
|
+
padding: 0;
|
118
|
+
|
119
|
+
&.active {
|
120
|
+
background-color: rgba(0,0,0,.1);
|
121
|
+
}
|
122
|
+
}
|
123
|
+
a {
|
124
|
+
transition: background-color .3s;
|
125
|
+
font-size: $navbar-font-size;
|
126
|
+
color: $navbar-font-color;
|
127
|
+
display: block;
|
128
|
+
padding: 0 15px;
|
129
|
+
cursor: pointer;
|
130
|
+
|
131
|
+
&.btn, &.btn-large, &.btn-flat, &.btn-floating {
|
132
|
+
margin-top: -2px;
|
133
|
+
margin-left: 15px;
|
134
|
+
margin-right: 15px;
|
135
|
+
|
136
|
+
& > .material-icons {
|
137
|
+
height: inherit;
|
138
|
+
line-height: inherit;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
&:hover {
|
143
|
+
background-color: rgba(0,0,0,.1);
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
&.left {
|
148
|
+
float: left;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
// Navbar Search Form
|
153
|
+
form {
|
154
|
+
height: 100%;
|
155
|
+
}
|
156
|
+
|
157
|
+
.input-field {
|
158
|
+
margin: 0;
|
159
|
+
height: 100%;
|
160
|
+
|
161
|
+
input {
|
162
|
+
height: 100%;
|
163
|
+
font-size: 1.2rem;
|
164
|
+
border: none;
|
165
|
+
padding-left: 2rem;
|
166
|
+
|
167
|
+
&:focus, &[type=text]:valid, &[type=password]:valid,
|
168
|
+
&[type=email]:valid, &[type=url]:valid, &[type=date]:valid {
|
169
|
+
border: none;
|
170
|
+
box-shadow: none;
|
171
|
+
}
|
172
|
+
}
|
173
|
+
|
174
|
+
label {
|
175
|
+
top: 0;
|
176
|
+
left: 0;
|
177
|
+
|
178
|
+
i {
|
179
|
+
color: rgba(255,255,255,.7);
|
180
|
+
transition: color .3s;
|
181
|
+
}
|
182
|
+
&.active i { color: $navbar-font-color; }
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
// Fixed Navbar
|
188
|
+
.navbar-fixed {
|
189
|
+
position: relative;
|
190
|
+
height: $navbar-height-mobile;
|
191
|
+
z-index: 997;
|
192
|
+
|
193
|
+
nav {
|
194
|
+
position: fixed;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
@media #{$medium-and-up} {
|
198
|
+
nav.nav-extended .nav-wrapper {
|
199
|
+
min-height: $navbar-height;
|
200
|
+
}
|
201
|
+
nav, nav .nav-wrapper i, nav a.button-collapse, nav a.button-collapse i {
|
202
|
+
height: $navbar-height;
|
203
|
+
line-height: $navbar-line-height;
|
204
|
+
}
|
205
|
+
.navbar-fixed {
|
206
|
+
height: $navbar-height;
|
207
|
+
}
|
208
|
+
}
|