hashup 0.0.5
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.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +45 -0
- data/Rakefile +5 -0
- data/bin/hashup +4 -0
- data/hashup.gemspec +28 -0
- data/lib/hashup.rb +14 -0
- data/lib/hashup/configuration.rb +26 -0
- data/lib/hashup/generator.rb +103 -0
- data/lib/hashup/post.rb +22 -0
- data/lib/hashup/site.rb +74 -0
- data/lib/hashup/templates/config.yml +8 -0
- data/lib/hashup/templates/contents/_pages/about.ma +7 -0
- data/lib/hashup/templates/contents/_posts/markascend.ma +54 -0
- data/lib/hashup/templates/contents/data.yml +9 -0
- data/lib/hashup/templates/themes/_layout/_footer.slim +11 -0
- data/lib/hashup/templates/themes/_layout/_header.slim +12 -0
- data/lib/hashup/templates/themes/_layout/_layout.slim +5 -0
- data/lib/hashup/templates/themes/_layout/_nav.slim +7 -0
- data/lib/hashup/templates/themes/assets/flat-ui/_config.sass +16 -0
- data/lib/hashup/templates/themes/assets/flat-ui/_icon-font-24.sass +91 -0
- data/lib/hashup/templates/themes/assets/flat-ui/_icon-font.sass +91 -0
- data/lib/hashup/templates/themes/assets/flat-ui/_mixins.sass +96 -0
- data/lib/hashup/templates/themes/assets/flat-ui/_spaces.sass +129 -0
- data/lib/hashup/templates/themes/assets/flat-ui/flat-ui.sass +39 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_btn.sass +73 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_checkbox-and-radio.sass +86 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_demo.sass +228 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_footer.sass +57 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_input.sass +66 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_login.sass +95 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_navbar.sass +152 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_pager.sass +56 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_pagination.sass +75 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_palette.sass +88 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_progress.sass +29 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_select.sass +163 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_share.sass +34 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_tagsinput.sass +91 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_tile.sass +42 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_todo.sass +77 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_toggle.sass +85 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_tooltip.sass +45 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_type.sass +43 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_ui-slider.sass +44 -0
- data/lib/hashup/templates/themes/assets/flat-ui/modules/_video.sass +358 -0
- data/lib/hashup/templates/themes/index.slim +9 -0
- data/lib/hashup/templates/themes/post.slim +3 -0
- data/lib/hashup/templates/themes/static/css/bootstrap.css +6039 -0
- data/lib/hashup/templates/themes/static/css/custom.css +11 -0
- data/lib/hashup/templates/themes/static/css/flat-ui.css +2533 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.dev.svg +112 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.eot +0 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.svg +112 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.ttf +0 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-16.woff +0 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.dev.svg +111 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.eot +0 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.svg +111 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.ttf +0 -0
- data/lib/hashup/templates/themes/static/fonts/Flat-UI-Icons-24.woff +0 -0
- data/lib/hashup/templates/themes/static/images/checkbox-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/checkbox.png +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser-author.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser-pic-1.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser-pic-2.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser-pic-3.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser-pic-4.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser-pic-5.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser-pic-6.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/demo/browser.png +0 -0
- data/lib/hashup/templates/themes/static/images/demo/html-icon.png +0 -0
- data/lib/hashup/templates/themes/static/images/demo/logo-mask-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/demo/logo-mask.png +0 -0
- data/lib/hashup/templates/themes/static/images/demo/video.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/favicon.ico +0 -0
- data/lib/hashup/templates/themes/static/images/footer/logo.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/bag.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/book.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/calendar.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/clipboard.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/colors.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/compass.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/gift.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/infinity.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/mail.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/map.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/paper.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/retina.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/share.png +0 -0
- data/lib/hashup/templates/themes/static/images/illustrations/time.png +0 -0
- data/lib/hashup/templates/themes/static/images/login/icon.png +0 -0
- data/lib/hashup/templates/themes/static/images/login/imac-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/login/imac.png +0 -0
- data/lib/hashup/templates/themes/static/images/pager/next.png +0 -0
- data/lib/hashup/templates/themes/static/images/pager/previous.png +0 -0
- data/lib/hashup/templates/themes/static/images/radio-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/radio.png +0 -0
- data/lib/hashup/templates/themes/static/images/select/toggle.png +0 -0
- data/lib/hashup/templates/themes/static/images/tile/ribbon-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/tile/ribbon.png +0 -0
- data/lib/hashup/templates/themes/static/images/todo/done-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/todo/done.png +0 -0
- data/lib/hashup/templates/themes/static/images/todo/search-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/todo/search.png +0 -0
- data/lib/hashup/templates/themes/static/images/todo/todo-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/todo/todo.png +0 -0
- data/lib/hashup/templates/themes/static/images/toggle/block-off.png +0 -0
- data/lib/hashup/templates/themes/static/images/toggle/block-on.png +0 -0
- data/lib/hashup/templates/themes/static/images/toggle/icon-off-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/toggle/icon-off.png +0 -0
- data/lib/hashup/templates/themes/static/images/toggle/icon-on-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/toggle/icon-on.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/fullscreen-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/fullscreen.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/pause-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/pause.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/play-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/play.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/poster.jpg +0 -0
- data/lib/hashup/templates/themes/static/images/video/volume-full-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/volume-full.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/volume-off-2x.png +0 -0
- data/lib/hashup/templates/themes/static/images/video/volume-off.png +0 -0
- data/lib/hashup/templates/themes/static/js/application.js +51 -0
- data/lib/hashup/templates/themes/static/js/bootstrap-tooltip.js +353 -0
- data/lib/hashup/templates/themes/static/js/custom_checkbox_and_radio.js +53 -0
- data/lib/hashup/templates/themes/static/js/custom_radio.js +28 -0
- data/lib/hashup/templates/themes/static/js/html5shiv.js +8 -0
- data/lib/hashup/templates/themes/static/js/icon-font-ie7.js +44 -0
- data/lib/hashup/templates/themes/static/js/jquery-1.8.2.min.js +2 -0
- data/lib/hashup/templates/themes/static/js/jquery-ui-1.10.0.custom.min.js +6 -0
- data/lib/hashup/templates/themes/static/js/jquery.dropkick-1.0.0.js +400 -0
- data/lib/hashup/templates/themes/static/js/jquery.placeholder.js +157 -0
- data/lib/hashup/templates/themes/static/js/jquery.tagsinput.js +354 -0
- data/lib/hashup/templates/themes/static/js/lte-ie7-24.js +44 -0
- data/lib/hashup/templates/themes/static/pygments-css/README.rst +27 -0
- data/lib/hashup/templates/themes/static/pygments-css/autumn.css +58 -0
- data/lib/hashup/templates/themes/static/pygments-css/borland.css +46 -0
- data/lib/hashup/templates/themes/static/pygments-css/bw.css +34 -0
- data/lib/hashup/templates/themes/static/pygments-css/colorful.css +61 -0
- data/lib/hashup/templates/themes/static/pygments-css/default.css +62 -0
- data/lib/hashup/templates/themes/static/pygments-css/emacs.css +61 -0
- data/lib/hashup/templates/themes/static/pygments-css/friendly.css +61 -0
- data/lib/hashup/templates/themes/static/pygments-css/fruity.css +69 -0
- data/lib/hashup/templates/themes/static/pygments-css/github.css +61 -0
- data/lib/hashup/templates/themes/static/pygments-css/manni.css +61 -0
- data/lib/hashup/templates/themes/static/pygments-css/monokai.css +59 -0
- data/lib/hashup/templates/themes/static/pygments-css/murphy.css +61 -0
- data/lib/hashup/templates/themes/static/pygments-css/native.css +69 -0
- data/lib/hashup/templates/themes/static/pygments-css/pastie.css +60 -0
- data/lib/hashup/templates/themes/static/pygments-css/perldoc.css +58 -0
- data/lib/hashup/templates/themes/static/pygments-css/tango.css +69 -0
- data/lib/hashup/templates/themes/static/pygments-css/trac.css +59 -0
- data/lib/hashup/templates/themes/static/pygments-css/vim.css +69 -0
- data/lib/hashup/templates/themes/static/pygments-css/vs.css +33 -0
- data/lib/hashup/templates/themes/static/pygments-css/zenburn.css +1 -0
- data/lib/hashup/templates/themes/stylesheets/style.css +0 -0
- data/lib/hashup/version.rb +3 -0
- data/spec/generator_spec.rb +11 -0
- data/spec/hashup_spec.rb +12 -0
- data/spec/spec_helper.rb +9 -0
- metadata +310 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Tooltip on hover
|
|
2
|
+
.tooltip
|
|
3
|
+
font-size: 13px
|
|
4
|
+
|
|
5
|
+
&.in
|
|
6
|
+
+opacity(1)
|
|
7
|
+
|
|
8
|
+
&.top
|
|
9
|
+
padding-bottom: 9px
|
|
10
|
+
.tooltip-arrow
|
|
11
|
+
border-top-color: $base
|
|
12
|
+
border-width: 9px 9px 0
|
|
13
|
+
bottom: 0
|
|
14
|
+
margin-left: -9px
|
|
15
|
+
|
|
16
|
+
&.right
|
|
17
|
+
.tooltip-arrow
|
|
18
|
+
border-right-color: $base
|
|
19
|
+
border-width: 9px 9px 9px 0
|
|
20
|
+
margin-top: -9px
|
|
21
|
+
left: -3px
|
|
22
|
+
|
|
23
|
+
&.bottom
|
|
24
|
+
padding-top: 8px
|
|
25
|
+
.tooltip-arrow
|
|
26
|
+
border-bottom-color: $base
|
|
27
|
+
border-width: 0 9px 9px
|
|
28
|
+
margin-left: -9px
|
|
29
|
+
top: -1px
|
|
30
|
+
|
|
31
|
+
&.left
|
|
32
|
+
.tooltip-arrow
|
|
33
|
+
border-right-color: $base
|
|
34
|
+
border-width: 9px 9px 9px 0
|
|
35
|
+
margin-top: -3px
|
|
36
|
+
top: -3px
|
|
37
|
+
|
|
38
|
+
.tooltip-inner
|
|
39
|
+
background-color: $base
|
|
40
|
+
line-height: 18px
|
|
41
|
+
padding: 12px 12px
|
|
42
|
+
text-align: center
|
|
43
|
+
width: 183px
|
|
44
|
+
+border-radius(6px)
|
|
45
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Typography
|
|
2
|
+
body
|
|
3
|
+
color: $base
|
|
4
|
+
font: #{$base-font-size}/#{1.231} 'Lato', sans-serif
|
|
5
|
+
|
|
6
|
+
a
|
|
7
|
+
color: $firm
|
|
8
|
+
text-decoration: underline
|
|
9
|
+
+transition(.25s)
|
|
10
|
+
&:hover
|
|
11
|
+
color: $success
|
|
12
|
+
text-decoration: none
|
|
13
|
+
|
|
14
|
+
h1
|
|
15
|
+
font-size: 32px
|
|
16
|
+
font-weight: 900
|
|
17
|
+
|
|
18
|
+
h2
|
|
19
|
+
font-size: 26px
|
|
20
|
+
font-weight: 700
|
|
21
|
+
margin-bottom: 2px
|
|
22
|
+
|
|
23
|
+
h3
|
|
24
|
+
font-size: 24px
|
|
25
|
+
font-weight: 700
|
|
26
|
+
margin-bottom: 4px
|
|
27
|
+
margin-top: 2px
|
|
28
|
+
|
|
29
|
+
h4
|
|
30
|
+
font-size: 18px
|
|
31
|
+
font-weight: 500
|
|
32
|
+
margin-top: 4px
|
|
33
|
+
|
|
34
|
+
h5
|
|
35
|
+
font-size: 16px
|
|
36
|
+
font-weight: 500
|
|
37
|
+
text-transform: uppercase
|
|
38
|
+
|
|
39
|
+
h6
|
|
40
|
+
font-size: 13px
|
|
41
|
+
font-weight: 500
|
|
42
|
+
text-transform: uppercase
|
|
43
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// jQuery UI Slider
|
|
2
|
+
.ui-slider
|
|
3
|
+
@extend .progress
|
|
4
|
+
margin-bottom: 20px
|
|
5
|
+
position: relative
|
|
6
|
+
|
|
7
|
+
.ui-slider-handle
|
|
8
|
+
background-color: scale-color($firm, $lightness: -15%)
|
|
9
|
+
border-radius: 50%
|
|
10
|
+
cursor: pointer
|
|
11
|
+
height: 18px
|
|
12
|
+
margin-left: -9px
|
|
13
|
+
position: absolute
|
|
14
|
+
top: -3px
|
|
15
|
+
width: 18px
|
|
16
|
+
z-index: 2
|
|
17
|
+
+transition(background .25s)
|
|
18
|
+
|
|
19
|
+
&[style*='100']
|
|
20
|
+
margin-left: -15px
|
|
21
|
+
|
|
22
|
+
&:hover,
|
|
23
|
+
&:focus
|
|
24
|
+
background-color: scale-color($firm, $lightness: 20%)
|
|
25
|
+
outline: none
|
|
26
|
+
&:active
|
|
27
|
+
background-color: scale-color($firm, $lightness: -15%)
|
|
28
|
+
|
|
29
|
+
.ui-slider-range
|
|
30
|
+
background-color: $firm
|
|
31
|
+
border-radius: 30px 0 0 30px
|
|
32
|
+
display: block
|
|
33
|
+
height: 100%
|
|
34
|
+
position: absolute
|
|
35
|
+
z-index: 1
|
|
36
|
+
|
|
37
|
+
.ui-slider-segment
|
|
38
|
+
background-color: scale-color(desaturate($base, 15%), $lightness: 80%)
|
|
39
|
+
border-radius: 50%
|
|
40
|
+
float: left
|
|
41
|
+
height: 6px
|
|
42
|
+
margin: 3px -6px 0 25%
|
|
43
|
+
width: 6px
|
|
44
|
+
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
// Styling JS Video plugin
|
|
2
|
+
$controls-color: scale-color($base, $lightness: -15%)
|
|
3
|
+
|
|
4
|
+
.video-js
|
|
5
|
+
background-color: $base
|
|
6
|
+
border-radius: 6px 6px 0 0
|
|
7
|
+
// Otherwise you won't see controls in Fullscreen mode
|
|
8
|
+
margin-top: -95px
|
|
9
|
+
position: relative
|
|
10
|
+
padding: 0
|
|
11
|
+
font-size: 10px
|
|
12
|
+
vertical-align: middle
|
|
13
|
+
.vjs-tech
|
|
14
|
+
border-radius: 6px 6px 0 0
|
|
15
|
+
position: absolute
|
|
16
|
+
top: 0
|
|
17
|
+
left: 0
|
|
18
|
+
width: 100%
|
|
19
|
+
height: 100%
|
|
20
|
+
&:-moz-full-screen
|
|
21
|
+
position: absolute
|
|
22
|
+
|
|
23
|
+
body.vjs-full-window
|
|
24
|
+
padding: 0
|
|
25
|
+
margin: 0
|
|
26
|
+
height: 100%
|
|
27
|
+
overflow-y: auto
|
|
28
|
+
|
|
29
|
+
.video-js
|
|
30
|
+
&.vjs-fullscreen
|
|
31
|
+
position: fixed
|
|
32
|
+
overflow: hidden
|
|
33
|
+
z-index: 1000
|
|
34
|
+
left: 0
|
|
35
|
+
top: 0
|
|
36
|
+
bottom: 0
|
|
37
|
+
right: 0
|
|
38
|
+
width: 100%!important
|
|
39
|
+
height: 100%!important
|
|
40
|
+
_position: absolute
|
|
41
|
+
&:-webkit-full-screen
|
|
42
|
+
width: 100%!important
|
|
43
|
+
height: 100%!important
|
|
44
|
+
|
|
45
|
+
.vjs-poster
|
|
46
|
+
margin: 0 auto
|
|
47
|
+
padding: 0
|
|
48
|
+
cursor: pointer
|
|
49
|
+
position: relative
|
|
50
|
+
width: 100%
|
|
51
|
+
max-height: 100%
|
|
52
|
+
|
|
53
|
+
.video-js
|
|
54
|
+
.vjs-text-track-display
|
|
55
|
+
text-align: center
|
|
56
|
+
position: absolute
|
|
57
|
+
bottom: 4em
|
|
58
|
+
left: 1em
|
|
59
|
+
right: 1em
|
|
60
|
+
font-family: $base-font-family
|
|
61
|
+
.vjs-text-track
|
|
62
|
+
display: none
|
|
63
|
+
color: #fff
|
|
64
|
+
font-size: 1.4em
|
|
65
|
+
text-align: center
|
|
66
|
+
margin-bottom: .1em
|
|
67
|
+
background: #000
|
|
68
|
+
background: rgba(0, 0, 0, 0.5)
|
|
69
|
+
.vjs-subtitles
|
|
70
|
+
color: #fff
|
|
71
|
+
.vjs-captions
|
|
72
|
+
color: #fc6
|
|
73
|
+
|
|
74
|
+
.vjs-tt-cue
|
|
75
|
+
display: block
|
|
76
|
+
|
|
77
|
+
.vjs-fade-in
|
|
78
|
+
visibility: visible!important
|
|
79
|
+
opacity: 1!important
|
|
80
|
+
+transition((visibility 0s linear 0s, opacity .3s linear))
|
|
81
|
+
|
|
82
|
+
.vjs-fade-out
|
|
83
|
+
visibility: hidden!important
|
|
84
|
+
opacity: 0!important
|
|
85
|
+
+transition((visibility 0s linear 1.5s, opacity 1.5s linear))
|
|
86
|
+
|
|
87
|
+
.vjs-controls
|
|
88
|
+
border-radius: 0 0 6px 6px
|
|
89
|
+
position: absolute
|
|
90
|
+
bottom: -47px
|
|
91
|
+
left: 0
|
|
92
|
+
right: 0
|
|
93
|
+
margin: 0
|
|
94
|
+
padding: 0
|
|
95
|
+
height: 47px
|
|
96
|
+
color: $inverse
|
|
97
|
+
background: $controls-color
|
|
98
|
+
&.vjs-fade-out
|
|
99
|
+
visibility: visible!important
|
|
100
|
+
opacity: 1!important
|
|
101
|
+
|
|
102
|
+
// Video player control general style
|
|
103
|
+
.vjs-control
|
|
104
|
+
background-position: center center
|
|
105
|
+
background-repeat: no-repeat
|
|
106
|
+
position: relative
|
|
107
|
+
float: left
|
|
108
|
+
text-align: center
|
|
109
|
+
margin: 0
|
|
110
|
+
padding: 0
|
|
111
|
+
height: 18px
|
|
112
|
+
width: 18px
|
|
113
|
+
&:focus
|
|
114
|
+
outline: 0
|
|
115
|
+
div
|
|
116
|
+
background-position: center center
|
|
117
|
+
background-repeat: no-repeat
|
|
118
|
+
|
|
119
|
+
// Control tooltip
|
|
120
|
+
.vjs-control-text
|
|
121
|
+
border: 0
|
|
122
|
+
clip: rect(0 0 0 0)
|
|
123
|
+
height: 1px
|
|
124
|
+
margin: -1px
|
|
125
|
+
overflow: hidden
|
|
126
|
+
padding: 0
|
|
127
|
+
position: absolute
|
|
128
|
+
width: 1px
|
|
129
|
+
|
|
130
|
+
.vjs-play-control
|
|
131
|
+
cursor: pointer!important
|
|
132
|
+
height: 47px
|
|
133
|
+
left: 0
|
|
134
|
+
position: absolute
|
|
135
|
+
top: 0
|
|
136
|
+
width: 58px
|
|
137
|
+
|
|
138
|
+
.vjs-paused .vjs-play-control
|
|
139
|
+
background: url('../images/video/play.png') center -31px no-repeat
|
|
140
|
+
background-size: 16px 64px
|
|
141
|
+
&:hover
|
|
142
|
+
div
|
|
143
|
+
opacity: 0
|
|
144
|
+
div
|
|
145
|
+
background: url('../images/video/play.png') center 15px no-repeat
|
|
146
|
+
background-size: 16px 64px
|
|
147
|
+
height: 47px
|
|
148
|
+
+transition(opacity .25s)
|
|
149
|
+
|
|
150
|
+
.vjs-playing .vjs-play-control
|
|
151
|
+
background: url('../images/video/pause.png') center -31px no-repeat
|
|
152
|
+
background-size: 15px 64px
|
|
153
|
+
&:hover
|
|
154
|
+
div
|
|
155
|
+
opacity: 0
|
|
156
|
+
|
|
157
|
+
div
|
|
158
|
+
background: url('../images/video/pause.png') center 15px no-repeat
|
|
159
|
+
background-size: 15px 64px
|
|
160
|
+
height: 47px
|
|
161
|
+
+transition(opacity .25s)
|
|
162
|
+
|
|
163
|
+
.vjs-rewind-control
|
|
164
|
+
width: 5em
|
|
165
|
+
cursor: pointer!important
|
|
166
|
+
div
|
|
167
|
+
width: 19px
|
|
168
|
+
height: 16px
|
|
169
|
+
background: url('video-js.png')
|
|
170
|
+
margin: .5em auto 0
|
|
171
|
+
|
|
172
|
+
.vjs-mute-control
|
|
173
|
+
background: url('../images/video/volume-full.png') center -48px no-repeat
|
|
174
|
+
background-size: 16px 64px
|
|
175
|
+
cursor: pointer!important
|
|
176
|
+
position: absolute
|
|
177
|
+
right: 51px
|
|
178
|
+
top: 14px
|
|
179
|
+
|
|
180
|
+
&:hover,
|
|
181
|
+
&:focus
|
|
182
|
+
div
|
|
183
|
+
opacity: 0
|
|
184
|
+
|
|
185
|
+
// Muted state
|
|
186
|
+
&.vjs-vol-0
|
|
187
|
+
&,
|
|
188
|
+
div
|
|
189
|
+
background-image: url('../images/video/volume-off.png')
|
|
190
|
+
|
|
191
|
+
div
|
|
192
|
+
background: $controls-color url('../images/video/volume-full.png') no-repeat center 2px
|
|
193
|
+
background-size: 16px 64px
|
|
194
|
+
height: 18px
|
|
195
|
+
+transition(opacity .25s)
|
|
196
|
+
|
|
197
|
+
.vjs-volume-control,
|
|
198
|
+
.vjs-volume-level,
|
|
199
|
+
.vjs-volume-handle,
|
|
200
|
+
.vjs-volume-bar
|
|
201
|
+
display: none
|
|
202
|
+
|
|
203
|
+
.vjs-progress-control
|
|
204
|
+
border-radius: 32px
|
|
205
|
+
position: absolute
|
|
206
|
+
left: 60px
|
|
207
|
+
right: 180px
|
|
208
|
+
height: 12px
|
|
209
|
+
width: auto
|
|
210
|
+
top: 18px
|
|
211
|
+
background: scale-color($base, $lightness: 93%)
|
|
212
|
+
|
|
213
|
+
.vjs-progress-holder
|
|
214
|
+
position: relative
|
|
215
|
+
cursor: pointer!important
|
|
216
|
+
padding: 0
|
|
217
|
+
margin: 0
|
|
218
|
+
height: 12px
|
|
219
|
+
|
|
220
|
+
.vjs-play-progress, .vjs-load-progress
|
|
221
|
+
border-radius: 32px
|
|
222
|
+
position: absolute
|
|
223
|
+
display: block
|
|
224
|
+
height: 12px
|
|
225
|
+
margin: 0
|
|
226
|
+
padding: 0
|
|
227
|
+
left: 0
|
|
228
|
+
top: 0
|
|
229
|
+
|
|
230
|
+
.vjs-play-progress
|
|
231
|
+
background: $firm
|
|
232
|
+
left: -1px
|
|
233
|
+
|
|
234
|
+
.vjs-load-progress
|
|
235
|
+
background: scale-color(desaturate($base, 15%), $lightness: 80%)
|
|
236
|
+
border-radius: 32px 0 0 32px
|
|
237
|
+
&[style*='100%'],
|
|
238
|
+
&[style*='99%']
|
|
239
|
+
border-radius: 32px
|
|
240
|
+
|
|
241
|
+
.vjs-seek-handle
|
|
242
|
+
background-color: scale-color($firm, $lightness: -15%)
|
|
243
|
+
border-radius: 50%
|
|
244
|
+
position: absolute
|
|
245
|
+
width: 18px
|
|
246
|
+
height: 18px
|
|
247
|
+
margin: -3px 0 0 1px
|
|
248
|
+
left: 0
|
|
249
|
+
top: 0
|
|
250
|
+
+transition(background-color .25s)
|
|
251
|
+
|
|
252
|
+
&[style*='95.']
|
|
253
|
+
margin-left: 3px
|
|
254
|
+
|
|
255
|
+
&[style='left: 0%;']
|
|
256
|
+
margin-left: -2px
|
|
257
|
+
|
|
258
|
+
&:hover,
|
|
259
|
+
&:focus
|
|
260
|
+
background-color: scale-color($firm, $lightness: -25%)
|
|
261
|
+
&:active
|
|
262
|
+
background-color: scale-color($firm, $lightness: -33%)
|
|
263
|
+
|
|
264
|
+
// Player time controls
|
|
265
|
+
.vjs-time-controls
|
|
266
|
+
position: absolute
|
|
267
|
+
height: 20px
|
|
268
|
+
width: 50px
|
|
269
|
+
top: 16px
|
|
270
|
+
font: 300 13px $base-font-family
|
|
271
|
+
|
|
272
|
+
.vjs-current-time
|
|
273
|
+
right: 128px
|
|
274
|
+
text-align: right
|
|
275
|
+
|
|
276
|
+
.vjs-duration
|
|
277
|
+
color: scale-color(desaturate($base, 15%), $lightness: 25%)
|
|
278
|
+
right: 69px
|
|
279
|
+
text-align: left
|
|
280
|
+
|
|
281
|
+
.vjs-remaining-time
|
|
282
|
+
display: none
|
|
283
|
+
|
|
284
|
+
.vjs-time-divider
|
|
285
|
+
color: scale-color(desaturate($base, 15%), $lightness: 25%)
|
|
286
|
+
font-size: 14px
|
|
287
|
+
position: absolute
|
|
288
|
+
right: 121px
|
|
289
|
+
top: 15px
|
|
290
|
+
|
|
291
|
+
.vjs-secondary-controls
|
|
292
|
+
float: right
|
|
293
|
+
|
|
294
|
+
.vjs-fullscreen-control
|
|
295
|
+
background-image: url('../images/video/fullscreen.png')
|
|
296
|
+
background-position: center -47px
|
|
297
|
+
background-size: 15px 64px
|
|
298
|
+
cursor: pointer!important
|
|
299
|
+
position: absolute
|
|
300
|
+
right: 17px
|
|
301
|
+
top: 13px
|
|
302
|
+
|
|
303
|
+
&:hover,
|
|
304
|
+
&:focus
|
|
305
|
+
div
|
|
306
|
+
opacity: 0
|
|
307
|
+
|
|
308
|
+
div
|
|
309
|
+
height: 18px
|
|
310
|
+
background: url('../images/video/fullscreen.png') no-repeat center 2px
|
|
311
|
+
background-size: 15px 64px
|
|
312
|
+
+transition(opacity .25s)
|
|
313
|
+
|
|
314
|
+
// Subtitles menu. Hide for no need by design.
|
|
315
|
+
.vjs-menu-button
|
|
316
|
+
display: none !important
|
|
317
|
+
|
|
318
|
+
// Video preloader
|
|
319
|
+
=sharp-keyframes
|
|
320
|
+
0%
|
|
321
|
+
background: #e74c3c
|
|
322
|
+
border-radius: 10px
|
|
323
|
+
+transform(rotate(0deg))
|
|
324
|
+
|
|
325
|
+
50%
|
|
326
|
+
background: #ebedee
|
|
327
|
+
border-radius: 0
|
|
328
|
+
+transform(rotate(180deg))
|
|
329
|
+
|
|
330
|
+
100%
|
|
331
|
+
background: #e74c3c
|
|
332
|
+
border-radius: 10px
|
|
333
|
+
+transform(rotate(360deg))
|
|
334
|
+
|
|
335
|
+
@-webkit-keyframes sharp
|
|
336
|
+
+sharp-keyframes
|
|
337
|
+
|
|
338
|
+
@-moz-keyframes sharp
|
|
339
|
+
+sharp-keyframes
|
|
340
|
+
|
|
341
|
+
@-o-keyframes sharp
|
|
342
|
+
+sharp-keyframes
|
|
343
|
+
|
|
344
|
+
@keyframes sharp
|
|
345
|
+
+sharp-keyframes
|
|
346
|
+
|
|
347
|
+
.vjs-loading-spinner
|
|
348
|
+
background: #ebedee
|
|
349
|
+
border-radius: 10px
|
|
350
|
+
display: none
|
|
351
|
+
height: 16px
|
|
352
|
+
left: 50%
|
|
353
|
+
margin: -8px 0 0 -8px
|
|
354
|
+
position: absolute
|
|
355
|
+
top: 50%
|
|
356
|
+
width: 16px
|
|
357
|
+
+animation(sharp 2s ease infinite)
|
|
358
|
+
|