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,212 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
$BASE-PICKER
|
3
|
+
========================================================================== */
|
4
|
+
/**
|
5
|
+
* Note: the root picker element should *NOT* be styled more than what's here.
|
6
|
+
*/
|
7
|
+
.picker {
|
8
|
+
font-size: 16px;
|
9
|
+
text-align: left;
|
10
|
+
line-height: 1.2;
|
11
|
+
color: #000000;
|
12
|
+
position: absolute;
|
13
|
+
z-index: 10000;
|
14
|
+
-webkit-user-select: none;
|
15
|
+
-moz-user-select: none;
|
16
|
+
-ms-user-select: none;
|
17
|
+
user-select: none;
|
18
|
+
outline: none;
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* The picker input element.
|
22
|
+
*/
|
23
|
+
.picker__input {
|
24
|
+
cursor: default;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* When the picker is opened, the input element is "activated".
|
28
|
+
*/
|
29
|
+
.picker__input.picker__input--active {
|
30
|
+
border-color: #0089ec;
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* The holder is the only "scrollable" top-level container element.
|
34
|
+
*/
|
35
|
+
.picker__holder {
|
36
|
+
width: 100%;
|
37
|
+
overflow-y: auto;
|
38
|
+
-webkit-overflow-scrolling: touch;
|
39
|
+
}
|
40
|
+
|
41
|
+
/*!
|
42
|
+
* Default mobile-first, responsive styling for pickadate.js
|
43
|
+
* Demo: http://amsul.github.io/pickadate.js
|
44
|
+
*/
|
45
|
+
/**
|
46
|
+
* Note: the root picker element should *NOT* be styled more than what's here.
|
47
|
+
*/
|
48
|
+
/**
|
49
|
+
* Make the holder and frame fullscreen.
|
50
|
+
*/
|
51
|
+
.picker__holder,
|
52
|
+
.picker__frame {
|
53
|
+
bottom: 0;
|
54
|
+
left: 0;
|
55
|
+
right: 0;
|
56
|
+
top: 100%;
|
57
|
+
}
|
58
|
+
/**
|
59
|
+
* The holder should overlay the entire screen.
|
60
|
+
*/
|
61
|
+
.picker__holder {
|
62
|
+
position: fixed;
|
63
|
+
-webkit-transition: background 0.15s ease-out, top 0s 0.15s;
|
64
|
+
-moz-transition: background 0.15s ease-out, top 0s 0.15s;
|
65
|
+
transition: background 0.15s ease-out, top 0s 0.15s;
|
66
|
+
-webkit-backface-visibility: hidden;
|
67
|
+
}
|
68
|
+
/**
|
69
|
+
* The frame that bounds the box contents of the picker.
|
70
|
+
*/
|
71
|
+
.picker__frame {
|
72
|
+
position: absolute;
|
73
|
+
margin: 0 auto;
|
74
|
+
min-width: 256px;
|
75
|
+
|
76
|
+
// picker width
|
77
|
+
width: 300px;
|
78
|
+
max-height: 350px;
|
79
|
+
|
80
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
81
|
+
filter: alpha(opacity=0);
|
82
|
+
-moz-opacity: 0;
|
83
|
+
opacity: 0;
|
84
|
+
-webkit-transition: all 0.15s ease-out;
|
85
|
+
-moz-transition: all 0.15s ease-out;
|
86
|
+
transition: all 0.15s ease-out;
|
87
|
+
}
|
88
|
+
@media (min-height: 28.875em) {
|
89
|
+
.picker__frame {
|
90
|
+
overflow: visible;
|
91
|
+
top: auto;
|
92
|
+
bottom: -100%;
|
93
|
+
max-height: 80%;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
@media (min-height: 40.125em) {
|
97
|
+
.picker__frame {
|
98
|
+
margin-bottom: 7.5%;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
/**
|
102
|
+
* The wrapper sets the stage to vertically align the box contents.
|
103
|
+
*/
|
104
|
+
.picker__wrap {
|
105
|
+
display: table;
|
106
|
+
width: 100%;
|
107
|
+
height: 100%;
|
108
|
+
}
|
109
|
+
@media (min-height: 28.875em) {
|
110
|
+
.picker__wrap {
|
111
|
+
display: block;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
/**
|
115
|
+
* The box contains all the picker contents.
|
116
|
+
*/
|
117
|
+
.picker__box {
|
118
|
+
background: #ffffff;
|
119
|
+
display: table-cell;
|
120
|
+
vertical-align: middle;
|
121
|
+
}
|
122
|
+
//@media (min-height: 26.5em) {
|
123
|
+
// .picker__box {
|
124
|
+
//// font-size: 1.25em;
|
125
|
+
// }
|
126
|
+
//}
|
127
|
+
@media (min-height: 28.875em) {
|
128
|
+
.picker__box {
|
129
|
+
display: block;
|
130
|
+
|
131
|
+
// picker header font-size
|
132
|
+
// font-size: 1rem;
|
133
|
+
|
134
|
+
border: 1px solid #777777;
|
135
|
+
border-top-color: #898989;
|
136
|
+
border-bottom-width: 0;
|
137
|
+
-webkit-border-radius: 5px 5px 0 0;
|
138
|
+
-moz-border-radius: 5px 5px 0 0;
|
139
|
+
border-radius: 5px 5px 0 0;
|
140
|
+
-webkit-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
141
|
+
-moz-box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
142
|
+
box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
//@media (min-height: 40.125em) {
|
146
|
+
// .picker__box {
|
147
|
+
// font-size: 1.1rem;
|
148
|
+
// border-bottom-width: 1px;
|
149
|
+
// -webkit-border-radius: 5px;
|
150
|
+
// -moz-border-radius: 5px;
|
151
|
+
// border-radius: 5px;
|
152
|
+
// }
|
153
|
+
//}
|
154
|
+
/**
|
155
|
+
* When the picker opens...
|
156
|
+
*/
|
157
|
+
.picker--opened .picker__holder {
|
158
|
+
top: 0;
|
159
|
+
background: transparent;
|
160
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#1E000000,endColorstr=#1E000000)";
|
161
|
+
zoom: 1;
|
162
|
+
background: rgba(0, 0, 0, 0.32);
|
163
|
+
-webkit-transition: background 0.15s ease-out;
|
164
|
+
-moz-transition: background 0.15s ease-out;
|
165
|
+
transition: background 0.15s ease-out;
|
166
|
+
}
|
167
|
+
.picker--opened .picker__frame {
|
168
|
+
top: 0;
|
169
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
170
|
+
filter: alpha(opacity=100);
|
171
|
+
-moz-opacity: 1;
|
172
|
+
opacity: 1;
|
173
|
+
}
|
174
|
+
@media (min-height: 35.875em) {
|
175
|
+
.picker--opened .picker__frame {
|
176
|
+
top: 10%;
|
177
|
+
bottom: auto;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
/**
|
181
|
+
* For `large` screens, transform into an inline picker.
|
182
|
+
*/
|
183
|
+
|
184
|
+
/* ==========================================================================
|
185
|
+
CUSTOM MATERIALIZE STYLES
|
186
|
+
========================================================================== */
|
187
|
+
|
188
|
+
.picker__input.picker__input--active {
|
189
|
+
border-color: color("blue", "lighten-5");
|
190
|
+
}
|
191
|
+
|
192
|
+
.picker__frame {
|
193
|
+
margin: 0 auto;
|
194
|
+
max-width: 325px;
|
195
|
+
}
|
196
|
+
|
197
|
+
@media (min-height: 38.875em) {
|
198
|
+
.picker--opened .picker__frame {
|
199
|
+
top: 10%;
|
200
|
+
bottom: auto;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
@media only screen and (min-width: 601px) {
|
205
|
+
.picker__box {
|
206
|
+
display:flex;
|
207
|
+
}
|
208
|
+
.picker__frame {
|
209
|
+
width: 80%;
|
210
|
+
max-width:600px;
|
211
|
+
}
|
212
|
+
}
|
@@ -0,0 +1,267 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
$BASE-TIME-PICKER
|
3
|
+
========================================================================== */
|
4
|
+
/**
|
5
|
+
* The list of times.
|
6
|
+
*/
|
7
|
+
.picker__list {
|
8
|
+
list-style: none;
|
9
|
+
padding: 0.75em 0 4.2em;
|
10
|
+
margin: 0;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* The times on the clock.
|
14
|
+
*/
|
15
|
+
.picker__list-item {
|
16
|
+
border-bottom: 1px solid #ddd;
|
17
|
+
border-top: 1px solid #ddd;
|
18
|
+
margin-bottom: -1px;
|
19
|
+
position: relative;
|
20
|
+
background: #fff;
|
21
|
+
padding: .75em 1.25em;
|
22
|
+
}
|
23
|
+
@media (min-height: 46.75em) {
|
24
|
+
.picker__list-item {
|
25
|
+
padding: .5em 1em;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
/* Hovered time */
|
29
|
+
.picker__list-item:hover {
|
30
|
+
cursor: pointer;
|
31
|
+
color: #000;
|
32
|
+
background: #b1dcfb;
|
33
|
+
border-color: #0089ec;
|
34
|
+
z-index: 10;
|
35
|
+
}
|
36
|
+
/* Highlighted and hovered/focused time */
|
37
|
+
.picker__list-item--highlighted {
|
38
|
+
border-color: #0089ec;
|
39
|
+
z-index: 10;
|
40
|
+
}
|
41
|
+
.picker__list-item--highlighted:hover,
|
42
|
+
.picker--focused .picker__list-item--highlighted {
|
43
|
+
cursor: pointer;
|
44
|
+
color: #000;
|
45
|
+
background: #b1dcfb;
|
46
|
+
}
|
47
|
+
/* Selected and hovered/focused time */
|
48
|
+
.picker__list-item--selected,
|
49
|
+
.picker__list-item--selected:hover,
|
50
|
+
.picker--focused .picker__list-item--selected {
|
51
|
+
background: #0089ec;
|
52
|
+
color: #fff;
|
53
|
+
z-index: 10;
|
54
|
+
}
|
55
|
+
/* Disabled time */
|
56
|
+
.picker__list-item--disabled,
|
57
|
+
.picker__list-item--disabled:hover,
|
58
|
+
.picker--focused .picker__list-item--disabled {
|
59
|
+
background: #f5f5f5;
|
60
|
+
border-color: #f5f5f5;
|
61
|
+
color: #ddd;
|
62
|
+
cursor: default;
|
63
|
+
border-color: #ddd;
|
64
|
+
z-index: auto;
|
65
|
+
}
|
66
|
+
/**
|
67
|
+
* The clear button
|
68
|
+
*/
|
69
|
+
.picker--time .picker__button--clear {
|
70
|
+
display: block;
|
71
|
+
width: 80%;
|
72
|
+
margin: 1em auto 0;
|
73
|
+
padding: 1em 1.25em;
|
74
|
+
background: none;
|
75
|
+
border: 0;
|
76
|
+
font-weight: 500;
|
77
|
+
font-size: .67em;
|
78
|
+
text-align: center;
|
79
|
+
text-transform: uppercase;
|
80
|
+
color: $timepicker-clock-color;
|
81
|
+
}
|
82
|
+
.picker--time .picker__button--clear:hover,
|
83
|
+
.picker--time .picker__button--clear:focus {
|
84
|
+
color: #000;
|
85
|
+
background: #b1dcfb;
|
86
|
+
background: #ee2200;
|
87
|
+
border-color: #ee2200;
|
88
|
+
cursor: pointer;
|
89
|
+
color: #fff;
|
90
|
+
outline: none;
|
91
|
+
}
|
92
|
+
.picker--time .picker__button--clear:before {
|
93
|
+
top: -0.25em;
|
94
|
+
color: $timepicker-clock-color;
|
95
|
+
font-size: 1.25em;
|
96
|
+
font-weight: bold;
|
97
|
+
}
|
98
|
+
.picker--time .picker__button--clear:hover:before,
|
99
|
+
.picker--time .picker__button--clear:focus:before {
|
100
|
+
color: #fff;
|
101
|
+
}
|
102
|
+
|
103
|
+
/* ==========================================================================
|
104
|
+
$DEFAULT-TIME-PICKER
|
105
|
+
========================================================================== */
|
106
|
+
/**
|
107
|
+
* The frame the bounds the time picker.
|
108
|
+
*/
|
109
|
+
.picker--time .picker__frame {
|
110
|
+
min-width: 256px;
|
111
|
+
max-width: 320px;
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* The picker box.
|
115
|
+
*/
|
116
|
+
.picker--time .picker__box {
|
117
|
+
font-size: 1em;
|
118
|
+
background: #f2f2f2;
|
119
|
+
padding: 0;
|
120
|
+
}
|
121
|
+
@media (min-height: 40.125em) {
|
122
|
+
.picker--time .picker__box {
|
123
|
+
margin-bottom: 5em;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
/* ==========================================================================
|
128
|
+
$DEFAULT-TIME-PICKER
|
129
|
+
========================================================================== */
|
130
|
+
.clockpicker-display {
|
131
|
+
font-size: 4rem;
|
132
|
+
font-weight: bold;
|
133
|
+
text-align: center;
|
134
|
+
color: rgba(255, 255, 255, 0.6);
|
135
|
+
font-weight: 400;
|
136
|
+
clear: both;
|
137
|
+
position: relative;
|
138
|
+
}
|
139
|
+
|
140
|
+
.clockpicker-span-am-pm {
|
141
|
+
font-size: 1.3rem;
|
142
|
+
position: absolute;
|
143
|
+
right: 1rem;
|
144
|
+
bottom: 0.3rem;
|
145
|
+
line-height: 2rem;
|
146
|
+
font-weight: 500;
|
147
|
+
}
|
148
|
+
@media only screen and (min-width: 601px) {
|
149
|
+
.clockpicker-display {
|
150
|
+
top: 32%;
|
151
|
+
}
|
152
|
+
.clockpicker-span-am-pm {
|
153
|
+
position: relative;
|
154
|
+
right: auto;
|
155
|
+
bottom: auto;
|
156
|
+
text-align: center;
|
157
|
+
margin-top: 1.2rem;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
|
162
|
+
.text-primary{
|
163
|
+
color: rgba(255, 255, 255, 1)
|
164
|
+
}
|
165
|
+
.clockpicker-span-hours {
|
166
|
+
margin-right: 3px;
|
167
|
+
}
|
168
|
+
.clockpicker-span-minutes {
|
169
|
+
margin-left: 3px;
|
170
|
+
}
|
171
|
+
|
172
|
+
.clockpicker-span-hours,
|
173
|
+
.clockpicker-span-minutes,
|
174
|
+
.clockpicker-span-am-pm div {
|
175
|
+
cursor: pointer;
|
176
|
+
}
|
177
|
+
.clockpicker-moving {
|
178
|
+
cursor: move;
|
179
|
+
}
|
180
|
+
.clockpicker-plate {
|
181
|
+
background-color: $timepicker-clock-plate-bg;
|
182
|
+
border-radius: 50%;
|
183
|
+
width: 270px;
|
184
|
+
height: 270px;
|
185
|
+
overflow: visible;
|
186
|
+
position: relative;
|
187
|
+
margin: auto;
|
188
|
+
margin-top: 25px;
|
189
|
+
margin-bottom: 5px;
|
190
|
+
user-select: none;
|
191
|
+
}
|
192
|
+
.clockpicker-canvas,
|
193
|
+
.clockpicker-dial {
|
194
|
+
width: 270px;
|
195
|
+
height: 270px;
|
196
|
+
position: absolute;
|
197
|
+
left: -1px;
|
198
|
+
top: -1px;
|
199
|
+
}
|
200
|
+
.clockpicker-minutes {
|
201
|
+
visibility: hidden;
|
202
|
+
}
|
203
|
+
.clockpicker-tick {
|
204
|
+
border-radius: 50%;
|
205
|
+
color: $timepicker-clock-color;
|
206
|
+
line-height: 40px;
|
207
|
+
text-align: center;
|
208
|
+
width: 40px;
|
209
|
+
height: 40px;
|
210
|
+
position: absolute;
|
211
|
+
cursor: pointer;
|
212
|
+
}
|
213
|
+
.clockpicker-tick.active,
|
214
|
+
.clockpicker-tick:hover {
|
215
|
+
background-color: transparentize($secondary-color, .75);
|
216
|
+
}
|
217
|
+
.clockpicker-dial {
|
218
|
+
-webkit-transition: -webkit-transform 350ms, opacity 350ms;
|
219
|
+
-moz-transition: -moz-transform 350ms, opacity 350ms;
|
220
|
+
-ms-transition: -ms-transform 350ms, opacity 350ms;
|
221
|
+
-o-transition: -o-transform 350ms, opacity 350ms;
|
222
|
+
transition: transform 350ms, opacity 350ms;
|
223
|
+
}
|
224
|
+
.clockpicker-dial-out {
|
225
|
+
opacity: 0;
|
226
|
+
}
|
227
|
+
.clockpicker-hours.clockpicker-dial-out {
|
228
|
+
-webkit-transform: scale(1.2, 1.2);
|
229
|
+
-moz-transform: scale(1.2, 1.2);
|
230
|
+
-ms-transform: scale(1.2, 1.2);
|
231
|
+
-o-transform: scale(1.2, 1.2);
|
232
|
+
transform: scale(1.2, 1.2);
|
233
|
+
}
|
234
|
+
.clockpicker-minutes.clockpicker-dial-out {
|
235
|
+
-webkit-transform: scale(.8, .8);
|
236
|
+
-moz-transform: scale(.8, .8);
|
237
|
+
-ms-transform: scale(.8, .8);
|
238
|
+
-o-transform: scale(.8, .8);
|
239
|
+
transform: scale(.8, .8);
|
240
|
+
}
|
241
|
+
.clockpicker-canvas {
|
242
|
+
-webkit-transition: opacity 175ms;
|
243
|
+
-moz-transition: opacity 175ms;
|
244
|
+
-ms-transition: opacity 175ms;
|
245
|
+
-o-transition: opacity 175ms;
|
246
|
+
transition: opacity 175ms;
|
247
|
+
}
|
248
|
+
.clockpicker-canvas-out {
|
249
|
+
opacity: 0.25;
|
250
|
+
}
|
251
|
+
.clockpicker-canvas-bearing {
|
252
|
+
stroke: none;
|
253
|
+
fill: $secondary-color;
|
254
|
+
}
|
255
|
+
.clockpicker-canvas-bg {
|
256
|
+
stroke: none;
|
257
|
+
fill: $secondary-color;
|
258
|
+
}
|
259
|
+
.clockpicker-canvas-bg-trans {
|
260
|
+
fill: $secondary-color;
|
261
|
+
}
|
262
|
+
.clockpicker-canvas line {
|
263
|
+
stroke: $secondary-color;
|
264
|
+
stroke-width: 4;
|
265
|
+
stroke-linecap: round;
|
266
|
+
/*shape-rendering: crispEdges;*/
|
267
|
+
}
|