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,39 @@
|
|
|
1
|
+
// Flat UI main stylesheet that aggregates all modules
|
|
2
|
+
|
|
3
|
+
// Loading custom fonts
|
|
4
|
+
@import url('http://fonts.googleapis.com/css?family=Lato:400,700,900,400italic')
|
|
5
|
+
@import 'icon-font'
|
|
6
|
+
@import 'icon-font-24'
|
|
7
|
+
|
|
8
|
+
// Loading config with variables (changing them leads to changing a color scheme)
|
|
9
|
+
@import 'config'
|
|
10
|
+
|
|
11
|
+
// Utility mixins for greater good
|
|
12
|
+
@import 'mixins'
|
|
13
|
+
|
|
14
|
+
// Modules
|
|
15
|
+
@import 'modules/type'
|
|
16
|
+
@import 'modules/btn'
|
|
17
|
+
@import 'modules/demo'
|
|
18
|
+
@import 'modules/navbar'
|
|
19
|
+
@import 'modules/select'
|
|
20
|
+
@import 'modules/input'
|
|
21
|
+
@import 'modules/checkbox-and-radio'
|
|
22
|
+
@import 'modules/toggle'
|
|
23
|
+
@import 'modules/tagsinput'
|
|
24
|
+
@import 'modules/progress'
|
|
25
|
+
@import 'modules/ui-slider'
|
|
26
|
+
@import 'modules/pager'
|
|
27
|
+
@import 'modules/pagination'
|
|
28
|
+
@import 'modules/share'
|
|
29
|
+
@import 'modules/tooltip'
|
|
30
|
+
@import 'modules/palette'
|
|
31
|
+
@import 'modules/tile'
|
|
32
|
+
@import 'modules/todo'
|
|
33
|
+
@import 'modules/footer'
|
|
34
|
+
@import 'modules/video'
|
|
35
|
+
@import 'modules/login'
|
|
36
|
+
|
|
37
|
+
// Spaces
|
|
38
|
+
@import 'spaces'
|
|
39
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
=button-states($color)
|
|
2
|
+
background-color: $color
|
|
3
|
+
&:hover,
|
|
4
|
+
&:focus
|
|
5
|
+
background-color: scale-color($color, $lightness: 20%)
|
|
6
|
+
&:active,
|
|
7
|
+
&.active
|
|
8
|
+
background-color: scale-color($color, $lightness: -15%)
|
|
9
|
+
|
|
10
|
+
// Buttons -----------------------
|
|
11
|
+
.btn
|
|
12
|
+
border: none
|
|
13
|
+
background: $base
|
|
14
|
+
color: $inverse
|
|
15
|
+
font-size: 16.5px
|
|
16
|
+
text-decoration: none
|
|
17
|
+
text-shadow: none
|
|
18
|
+
+box-shadow(none)
|
|
19
|
+
+transition(.25s)
|
|
20
|
+
|
|
21
|
+
&:hover,
|
|
22
|
+
&:focus
|
|
23
|
+
background-color: scale-color($base, $lightness: 20%)
|
|
24
|
+
color: $inverse
|
|
25
|
+
+transition(.25s)
|
|
26
|
+
|
|
27
|
+
&:active,
|
|
28
|
+
&.active
|
|
29
|
+
background-color: scale-color($base, $lightness: -15%)
|
|
30
|
+
color: rgba($inverse, .75)
|
|
31
|
+
+box-shadow(none)
|
|
32
|
+
|
|
33
|
+
&.disabled,
|
|
34
|
+
&[disabled]
|
|
35
|
+
background-color: $gray
|
|
36
|
+
color: $inverse
|
|
37
|
+
|
|
38
|
+
// Sizes -----------------------
|
|
39
|
+
&.btn-large
|
|
40
|
+
padding-bottom: 12px
|
|
41
|
+
padding-top: 13px
|
|
42
|
+
|
|
43
|
+
// Colors -----------------------
|
|
44
|
+
&.btn-primary
|
|
45
|
+
+button-states($firm)
|
|
46
|
+
|
|
47
|
+
&.btn-info
|
|
48
|
+
+button-states($info)
|
|
49
|
+
|
|
50
|
+
&.btn-danger
|
|
51
|
+
+button-states($danger)
|
|
52
|
+
|
|
53
|
+
&.btn-success
|
|
54
|
+
+button-states($success)
|
|
55
|
+
|
|
56
|
+
&.btn-warning
|
|
57
|
+
+button-states($warning)
|
|
58
|
+
|
|
59
|
+
// Button with icon inside
|
|
60
|
+
.btn-toolbar &
|
|
61
|
+
font-size: 18px
|
|
62
|
+
padding: 10px 14px 9px
|
|
63
|
+
|
|
64
|
+
&:first-child
|
|
65
|
+
+border-radius(6px 0 0 6px)
|
|
66
|
+
|
|
67
|
+
&:last-child
|
|
68
|
+
+border-radius(0 6px 6px 0)
|
|
69
|
+
|
|
70
|
+
.btn-toolbar
|
|
71
|
+
.btn.active
|
|
72
|
+
color: $inverse
|
|
73
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// Checkbox & Radio
|
|
2
|
+
.checkbox,
|
|
3
|
+
.radio
|
|
4
|
+
margin-bottom: 12px
|
|
5
|
+
padding-left: 32px
|
|
6
|
+
position: relative
|
|
7
|
+
+transition(.25s)
|
|
8
|
+
|
|
9
|
+
&:hover
|
|
10
|
+
color: $firm
|
|
11
|
+
|
|
12
|
+
input
|
|
13
|
+
outline: none !important
|
|
14
|
+
+opacity(0)
|
|
15
|
+
|
|
16
|
+
&.checked
|
|
17
|
+
.icon
|
|
18
|
+
background-position: -60px -30px
|
|
19
|
+
opacity: 1
|
|
20
|
+
display: block\9
|
|
21
|
+
|
|
22
|
+
.icon-to-fade
|
|
23
|
+
opacity: 0
|
|
24
|
+
display: none\9
|
|
25
|
+
|
|
26
|
+
// Disabled state
|
|
27
|
+
&.disabled
|
|
28
|
+
color: scale-color($gray, $lightness: 62%)
|
|
29
|
+
cursor: default
|
|
30
|
+
|
|
31
|
+
.icon
|
|
32
|
+
opacity: 0
|
|
33
|
+
display: none\9
|
|
34
|
+
|
|
35
|
+
.icon-to-fade
|
|
36
|
+
background-position: -30px -60px
|
|
37
|
+
opacity: 1
|
|
38
|
+
display: block\9
|
|
39
|
+
|
|
40
|
+
&.checked
|
|
41
|
+
.icon
|
|
42
|
+
background-position: 0 -90px
|
|
43
|
+
opacity: 1
|
|
44
|
+
display: block\9
|
|
45
|
+
|
|
46
|
+
.icon-to-fade
|
|
47
|
+
opacity: 0
|
|
48
|
+
display: none\9
|
|
49
|
+
|
|
50
|
+
// Icon
|
|
51
|
+
.icon,
|
|
52
|
+
.icon-to-fade
|
|
53
|
+
background: url('../images/checkbox.png') -90px 0 no-repeat
|
|
54
|
+
display: block
|
|
55
|
+
height: 20px
|
|
56
|
+
left: 0
|
|
57
|
+
opacity: 1
|
|
58
|
+
position: absolute
|
|
59
|
+
top: -1px
|
|
60
|
+
width: 20px
|
|
61
|
+
+transition(opacity .1s linear)
|
|
62
|
+
|
|
63
|
+
.icon
|
|
64
|
+
opacity: 0
|
|
65
|
+
top: 0
|
|
66
|
+
z-index: 2
|
|
67
|
+
display: none\9
|
|
68
|
+
|
|
69
|
+
// Radio
|
|
70
|
+
.radio
|
|
71
|
+
.icon,
|
|
72
|
+
.icon-to-fade
|
|
73
|
+
background-image: url('../images/radio.png')
|
|
74
|
+
|
|
75
|
+
// Serving 2x images
|
|
76
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 2)
|
|
77
|
+
.checkbox
|
|
78
|
+
.icon
|
|
79
|
+
background-image: url('../images/checkbox-2x.png')
|
|
80
|
+
background-size: 110px 110px
|
|
81
|
+
|
|
82
|
+
.radio
|
|
83
|
+
.icon
|
|
84
|
+
background-image: url('../images/radio-2x.png')
|
|
85
|
+
background-size: 110px 110px
|
|
86
|
+
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
// For demo purposes only
|
|
2
|
+
.demo-headline
|
|
3
|
+
padding: 73px 0 110px
|
|
4
|
+
text-align: center
|
|
5
|
+
|
|
6
|
+
.demo-logo
|
|
7
|
+
font-size: 90px
|
|
8
|
+
font-weight: 900
|
|
9
|
+
letter-spacing: -2px
|
|
10
|
+
line-height: 100px
|
|
11
|
+
|
|
12
|
+
.logo
|
|
13
|
+
background: url('../images/demo/logo-mask.png') center 0 no-repeat
|
|
14
|
+
background-size: 256px 186px
|
|
15
|
+
height: 186px
|
|
16
|
+
margin: 0 auto 26px
|
|
17
|
+
overflow: hidden
|
|
18
|
+
text-indent: -9999em
|
|
19
|
+
width: 256px
|
|
20
|
+
|
|
21
|
+
small
|
|
22
|
+
color: rgba($base, .3)
|
|
23
|
+
display: block
|
|
24
|
+
font-size: 22px
|
|
25
|
+
font-weight: 700
|
|
26
|
+
letter-spacing: -1px
|
|
27
|
+
padding-top: 5px
|
|
28
|
+
|
|
29
|
+
// Panels delimiter
|
|
30
|
+
.demo-row
|
|
31
|
+
margin-bottom: 20px
|
|
32
|
+
|
|
33
|
+
.demo-panel-title
|
|
34
|
+
margin-bottom: 20px
|
|
35
|
+
padding-top: 20px
|
|
36
|
+
|
|
37
|
+
small
|
|
38
|
+
color: scale-color(desaturate($base, 25%), $lightness: 66%)
|
|
39
|
+
font-size: inherit
|
|
40
|
+
font-weight: 400
|
|
41
|
+
|
|
42
|
+
// Shift blocks to fit design
|
|
43
|
+
.demo-navigation
|
|
44
|
+
margin-bottom: -4px
|
|
45
|
+
margin-top: -10px
|
|
46
|
+
|
|
47
|
+
.demo-pager
|
|
48
|
+
margin-top: -10px
|
|
49
|
+
|
|
50
|
+
.demo-tooltips
|
|
51
|
+
height: 126px
|
|
52
|
+
|
|
53
|
+
// Needed just for the demo. Don't use it in producion ;)
|
|
54
|
+
.tooltip
|
|
55
|
+
left: -8px !important
|
|
56
|
+
position: relative !important
|
|
57
|
+
top: -8px !important
|
|
58
|
+
|
|
59
|
+
.demo-headings
|
|
60
|
+
margin-bottom: 12px
|
|
61
|
+
|
|
62
|
+
.demo-tiles
|
|
63
|
+
margin-bottom: 46px
|
|
64
|
+
|
|
65
|
+
.demo-icons
|
|
66
|
+
margin-bottom: 115px
|
|
67
|
+
|
|
68
|
+
.demo-icons-24
|
|
69
|
+
font-size: 24px
|
|
70
|
+
margin-bottom: 38px
|
|
71
|
+
position: relative
|
|
72
|
+
span
|
|
73
|
+
margin: 0 0 0 18px
|
|
74
|
+
&:first-child
|
|
75
|
+
margin-left: 0
|
|
76
|
+
|
|
77
|
+
.demo-icons-16
|
|
78
|
+
font-size: 16px
|
|
79
|
+
margin: 0 0 38px 5px
|
|
80
|
+
position: relative
|
|
81
|
+
span
|
|
82
|
+
margin: 0 0 0 28px
|
|
83
|
+
&:first-child
|
|
84
|
+
margin-left: 0
|
|
85
|
+
|
|
86
|
+
.demo-icons-tooltip
|
|
87
|
+
bottom: 0
|
|
88
|
+
color: scale-color($base, $lightness: 70%)
|
|
89
|
+
font-size: 12px
|
|
90
|
+
left: 100%
|
|
91
|
+
margin-left: 0 !important
|
|
92
|
+
position: absolute
|
|
93
|
+
width: 80px
|
|
94
|
+
|
|
95
|
+
.demo-illustrations
|
|
96
|
+
margin-bottom: 45px
|
|
97
|
+
|
|
98
|
+
img
|
|
99
|
+
height: 100px
|
|
100
|
+
margin-left: 35px
|
|
101
|
+
width: 100px
|
|
102
|
+
vertical-align: bottom
|
|
103
|
+
|
|
104
|
+
&:first-child
|
|
105
|
+
margin-left: 0
|
|
106
|
+
|
|
107
|
+
&.big-illustration
|
|
108
|
+
height: 111px
|
|
109
|
+
width: 112px
|
|
110
|
+
|
|
111
|
+
&.big-retina-illustration
|
|
112
|
+
height: 104px
|
|
113
|
+
margin-right: -24px
|
|
114
|
+
width: 117px
|
|
115
|
+
|
|
116
|
+
&.big-illustration-pusher
|
|
117
|
+
margin-right: 12px
|
|
118
|
+
|
|
119
|
+
.demo-samples
|
|
120
|
+
margin-bottom: 46px
|
|
121
|
+
|
|
122
|
+
.demo-video
|
|
123
|
+
border-radius: 6px
|
|
124
|
+
padding-top: 95px
|
|
125
|
+
|
|
126
|
+
.demo-download-section
|
|
127
|
+
float: none
|
|
128
|
+
margin: 0 auto
|
|
129
|
+
padding: 60px 0 90px 20px
|
|
130
|
+
text-align: center
|
|
131
|
+
|
|
132
|
+
[class*='fui-']
|
|
133
|
+
margin: 3px 0 -3px
|
|
134
|
+
|
|
135
|
+
.demo-download
|
|
136
|
+
background-color: scale-color($base, $lightness: 90%)
|
|
137
|
+
border-radius: 50%
|
|
138
|
+
height: 120px
|
|
139
|
+
margin: 0 auto 32px
|
|
140
|
+
padding: 40px 28px 30px 32px
|
|
141
|
+
text-align: center
|
|
142
|
+
width: 130px
|
|
143
|
+
|
|
144
|
+
img
|
|
145
|
+
height: 104px
|
|
146
|
+
width: 82px
|
|
147
|
+
|
|
148
|
+
.demo-download-text
|
|
149
|
+
font-size: 15px
|
|
150
|
+
padding: 20px 0
|
|
151
|
+
text-align: center
|
|
152
|
+
|
|
153
|
+
.demo-text-box
|
|
154
|
+
a:hover
|
|
155
|
+
color: $firm
|
|
156
|
+
|
|
157
|
+
.demo-browser
|
|
158
|
+
background: scale-color($base, $lightness: -15%) url('../images/demo/browser.png') 0 0 no-repeat
|
|
159
|
+
background-size: 659px 42px
|
|
160
|
+
border-radius: 0 0 6px 6px
|
|
161
|
+
color: $inverse
|
|
162
|
+
margin: 0 41px 140px 0
|
|
163
|
+
padding-top: 42px
|
|
164
|
+
|
|
165
|
+
.demo-browser-side
|
|
166
|
+
float: left
|
|
167
|
+
padding: 22px 20px
|
|
168
|
+
width: 111px
|
|
169
|
+
|
|
170
|
+
> h5
|
|
171
|
+
margin-bottom: 3px
|
|
172
|
+
text-transform: none
|
|
173
|
+
|
|
174
|
+
> h6
|
|
175
|
+
font-size: 11px
|
|
176
|
+
font-weight: 300
|
|
177
|
+
line-height: 18px
|
|
178
|
+
margin-top: 3px
|
|
179
|
+
text-transform: none
|
|
180
|
+
|
|
181
|
+
.demo-browser-author
|
|
182
|
+
background: url('../images/demo/browser-author.jpg') center center no-repeat
|
|
183
|
+
border: 3px solid $inverse
|
|
184
|
+
display: block
|
|
185
|
+
height: 84px
|
|
186
|
+
margin: 0 auto
|
|
187
|
+
width: 84px
|
|
188
|
+
+border-radius(50%)
|
|
189
|
+
|
|
190
|
+
.demo-browser-action
|
|
191
|
+
padding: 30px 0 12px
|
|
192
|
+
|
|
193
|
+
> .btn
|
|
194
|
+
padding: 9px 0 10px 11px
|
|
195
|
+
text-align: left
|
|
196
|
+
+border-radius(3px)
|
|
197
|
+
|
|
198
|
+
&:before
|
|
199
|
+
color: $inverse
|
|
200
|
+
content: '\e004'
|
|
201
|
+
font-size: 16px
|
|
202
|
+
font-family: 'Flat-UI-Icons-16'
|
|
203
|
+
font-weight: 300
|
|
204
|
+
margin-right: 12px
|
|
205
|
+
position: relative
|
|
206
|
+
top: 1px
|
|
207
|
+
-webkit-font-smoothing: antialiased
|
|
208
|
+
|
|
209
|
+
.demo-browser-content
|
|
210
|
+
background-color: $base
|
|
211
|
+
border-radius: 0 0 6px
|
|
212
|
+
overflow: hidden
|
|
213
|
+
padding: 21px 0 0 20px
|
|
214
|
+
|
|
215
|
+
> img
|
|
216
|
+
border: 6px solid $inverse
|
|
217
|
+
float: left
|
|
218
|
+
margin: 0 15px 20px 0
|
|
219
|
+
width: 134px
|
|
220
|
+
|
|
221
|
+
// Serving 2x images
|
|
222
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 2)
|
|
223
|
+
.logo
|
|
224
|
+
background-image: url('../images/demo/logo-mask-2x.png')
|
|
225
|
+
|
|
226
|
+
.demo-browser
|
|
227
|
+
background-image: url('../images/demo/browser-2x.png')
|
|
228
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// Footer
|
|
2
|
+
footer
|
|
3
|
+
background-color: desaturate(scale-color($base, $lightness: 91%), 15%)
|
|
4
|
+
color: desaturate(scale-color($base, $lightness: 66%), 22%)
|
|
5
|
+
font-size: 15px
|
|
6
|
+
padding: 0
|
|
7
|
+
|
|
8
|
+
a
|
|
9
|
+
color: desaturate(scale-color($base, $lightness: 50%), 25%)
|
|
10
|
+
font-weight: 700
|
|
11
|
+
|
|
12
|
+
p
|
|
13
|
+
font-size: 15px
|
|
14
|
+
line-height: 20px
|
|
15
|
+
|
|
16
|
+
.footer-title
|
|
17
|
+
margin: 0 0 22px
|
|
18
|
+
padding-top: 21px
|
|
19
|
+
|
|
20
|
+
.footer-brand
|
|
21
|
+
display: block
|
|
22
|
+
margin-bottom: 26px
|
|
23
|
+
width: 220px
|
|
24
|
+
|
|
25
|
+
img
|
|
26
|
+
width: 216px
|
|
27
|
+
|
|
28
|
+
// Footer banner
|
|
29
|
+
.footer-banner
|
|
30
|
+
background-color: $firm
|
|
31
|
+
color: scale-color(desaturate($firm, 15%), $lightness: 80%)
|
|
32
|
+
margin-left: 42px
|
|
33
|
+
min-height: 286px
|
|
34
|
+
padding: 0 30px 30px
|
|
35
|
+
|
|
36
|
+
.footer-title
|
|
37
|
+
color: $inverse
|
|
38
|
+
|
|
39
|
+
a
|
|
40
|
+
color: scale-color(desaturate($firm, 15%), $lightness: 80%)
|
|
41
|
+
text-decoration: underline
|
|
42
|
+
&:hover
|
|
43
|
+
text-decoration: none
|
|
44
|
+
|
|
45
|
+
ul
|
|
46
|
+
list-style-type: none
|
|
47
|
+
margin: 0 0 26px
|
|
48
|
+
|
|
49
|
+
li
|
|
50
|
+
border-top: 1px solid scale-color($firm, $lightness: 4%)
|
|
51
|
+
line-height: 19px
|
|
52
|
+
padding: 6px 0
|
|
53
|
+
&:first-child
|
|
54
|
+
border-top: none
|
|
55
|
+
padding-top: 1px
|
|
56
|
+
|
|
57
|
+
|