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,29 @@
|
|
|
1
|
+
// Progress bar
|
|
2
|
+
.progress
|
|
3
|
+
background: scale-color($base, $lightness: 90%)
|
|
4
|
+
border-radius: 32px
|
|
5
|
+
height: 12px
|
|
6
|
+
+box-shadow(none)
|
|
7
|
+
+drop-ie-gradient
|
|
8
|
+
|
|
9
|
+
.bar
|
|
10
|
+
background: $firm
|
|
11
|
+
+box-shadow(none !important)
|
|
12
|
+
+drop-ie-gradient
|
|
13
|
+
|
|
14
|
+
.bar-success
|
|
15
|
+
background-color: $success
|
|
16
|
+
+drop-ie-gradient
|
|
17
|
+
|
|
18
|
+
.bar-warning
|
|
19
|
+
background-color: $warning
|
|
20
|
+
+drop-ie-gradient
|
|
21
|
+
|
|
22
|
+
.bar-danger
|
|
23
|
+
background-color: $danger
|
|
24
|
+
+drop-ie-gradient
|
|
25
|
+
|
|
26
|
+
.bar-info
|
|
27
|
+
background-color: $info
|
|
28
|
+
+drop-ie-gradient
|
|
29
|
+
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
// Default DropKick theme
|
|
2
|
+
// You can:
|
|
3
|
+
// 1. Align options by right: add "select-right" class to <select> tag
|
|
4
|
+
// 2. Change <select> width: add "span6" for example ;) (you can use all available Twitter Bootstrap grids)
|
|
5
|
+
|
|
6
|
+
// One container to bind them
|
|
7
|
+
.dk_container
|
|
8
|
+
cursor: pointer
|
|
9
|
+
font-size: 14px
|
|
10
|
+
margin-bottom: 10px
|
|
11
|
+
outline: none
|
|
12
|
+
|
|
13
|
+
// Opens the dropdown and holds the menu label
|
|
14
|
+
.dk_toggle
|
|
15
|
+
background-color: $firm
|
|
16
|
+
color: $inverse
|
|
17
|
+
border-radius: 6px
|
|
18
|
+
overflow: hidden
|
|
19
|
+
padding: 11px 45px 11px 13px
|
|
20
|
+
text-decoration: none
|
|
21
|
+
white-space: nowrap
|
|
22
|
+
+transition(.25s)
|
|
23
|
+
|
|
24
|
+
&:hover,
|
|
25
|
+
&:focus,
|
|
26
|
+
.dk_focus &
|
|
27
|
+
background-color: scale-color($firm, $lightness: 20%)
|
|
28
|
+
color: $inverse
|
|
29
|
+
outline: none
|
|
30
|
+
|
|
31
|
+
&:active
|
|
32
|
+
background-color: scale-color($firm, $lightness: -15%)
|
|
33
|
+
outline: none
|
|
34
|
+
.select-icon
|
|
35
|
+
border-left-color: transparent
|
|
36
|
+
|
|
37
|
+
// Dropdown icon (arrow by default)
|
|
38
|
+
.select-icon
|
|
39
|
+
background: $firm url('../images/select/toggle.png') no-repeat right center
|
|
40
|
+
border-left: 2px solid rgba($base, .15)
|
|
41
|
+
border-radius: 0 6px 6px 0
|
|
42
|
+
height: 100%
|
|
43
|
+
position: absolute
|
|
44
|
+
right: 0
|
|
45
|
+
top: 0
|
|
46
|
+
width: 42px
|
|
47
|
+
+transition(.25s)
|
|
48
|
+
|
|
49
|
+
// Applied whenever the dropdown is open
|
|
50
|
+
.dk_open
|
|
51
|
+
// Dropdown menu is covered by something. Try setting this value higher
|
|
52
|
+
z-index: 10
|
|
53
|
+
|
|
54
|
+
.dk_toggle
|
|
55
|
+
background-color: $firm
|
|
56
|
+
.select-icon
|
|
57
|
+
background-color: scale-color($firm, $lightness: -15%)
|
|
58
|
+
border-left-color: transparent
|
|
59
|
+
|
|
60
|
+
// The outer container of the options
|
|
61
|
+
.dk_options
|
|
62
|
+
padding-top: 14px
|
|
63
|
+
// Dropdown triangle ear
|
|
64
|
+
+dropdown-arrow
|
|
65
|
+
&:before
|
|
66
|
+
left: auto
|
|
67
|
+
right: 12px
|
|
68
|
+
|
|
69
|
+
li
|
|
70
|
+
padding-bottom: 3px
|
|
71
|
+
|
|
72
|
+
a
|
|
73
|
+
border-radius: 3px
|
|
74
|
+
color: $inverse
|
|
75
|
+
display: block
|
|
76
|
+
padding: 5px 9px
|
|
77
|
+
text-decoration: none
|
|
78
|
+
&:hover
|
|
79
|
+
background-color: $firm
|
|
80
|
+
|
|
81
|
+
.dk_option_current a
|
|
82
|
+
background-color: $firm
|
|
83
|
+
|
|
84
|
+
// Inner container for options, this is what makes the scrollbar possible.
|
|
85
|
+
.dk_options_inner
|
|
86
|
+
background-color: $base
|
|
87
|
+
border-radius: 5px
|
|
88
|
+
margin: 0
|
|
89
|
+
max-height: 244px
|
|
90
|
+
padding: 3px 3px 0
|
|
91
|
+
|
|
92
|
+
// Set a max-height on the options inner
|
|
93
|
+
.dk_touch .dk_options
|
|
94
|
+
max-height: 250px
|
|
95
|
+
|
|
96
|
+
//------- End Theme --------
|
|
97
|
+
|
|
98
|
+
//------- Critical to the continued enjoyment of working dropdowns --------
|
|
99
|
+
.dk_container
|
|
100
|
+
display: none
|
|
101
|
+
position: relative
|
|
102
|
+
vertical-align: middle
|
|
103
|
+
|
|
104
|
+
&.dk_shown
|
|
105
|
+
+inline-block
|
|
106
|
+
|
|
107
|
+
// Twitter Bootstrap grids -----------------------
|
|
108
|
+
&[class*="span"]
|
|
109
|
+
float: none
|
|
110
|
+
margin-left: 0
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
.dk_toggle
|
|
114
|
+
display: block
|
|
115
|
+
position: relative
|
|
116
|
+
|
|
117
|
+
.dk_open
|
|
118
|
+
position: relative
|
|
119
|
+
.dk_options
|
|
120
|
+
margin-top: -1px
|
|
121
|
+
opacity: 1
|
|
122
|
+
z-index: 10
|
|
123
|
+
// Opacity fallback for IE
|
|
124
|
+
display: block\9
|
|
125
|
+
.dk_label
|
|
126
|
+
color: inherit
|
|
127
|
+
|
|
128
|
+
.dk_options
|
|
129
|
+
margin-top: -21px
|
|
130
|
+
position: absolute
|
|
131
|
+
left: 0
|
|
132
|
+
opacity: 0
|
|
133
|
+
width: 220px
|
|
134
|
+
z-index: -100
|
|
135
|
+
// Opacity fallback for IE
|
|
136
|
+
display: none\9
|
|
137
|
+
+transition(.3s ease-out)
|
|
138
|
+
|
|
139
|
+
// Align by right
|
|
140
|
+
.select-right &
|
|
141
|
+
left: auto
|
|
142
|
+
right: 0
|
|
143
|
+
|
|
144
|
+
a
|
|
145
|
+
display: block
|
|
146
|
+
|
|
147
|
+
.dk_options_inner
|
|
148
|
+
overflow: auto
|
|
149
|
+
outline: none
|
|
150
|
+
position: relative
|
|
151
|
+
|
|
152
|
+
.dk_touch
|
|
153
|
+
.dk_options
|
|
154
|
+
overflow: hidden
|
|
155
|
+
.dk_options_inner
|
|
156
|
+
max-height: none
|
|
157
|
+
overflow: visible
|
|
158
|
+
|
|
159
|
+
.dk_fouc select
|
|
160
|
+
position: relative
|
|
161
|
+
top: -99999em
|
|
162
|
+
visibility: hidden
|
|
163
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Sharing box include variety of ways to share something
|
|
2
|
+
// By idea this block should have
|
|
3
|
+
$share-color: scale-color($base, $lightness: 92%)
|
|
4
|
+
|
|
5
|
+
.share
|
|
6
|
+
background-color: $share-color
|
|
7
|
+
border-radius: 6px
|
|
8
|
+
position: relative
|
|
9
|
+
+dropdown-arrow($share-color, -9px, 23px)
|
|
10
|
+
|
|
11
|
+
ul
|
|
12
|
+
list-style-type: none
|
|
13
|
+
margin: 0
|
|
14
|
+
padding: 15px
|
|
15
|
+
|
|
16
|
+
li
|
|
17
|
+
padding-top: 11px
|
|
18
|
+
+clearfix
|
|
19
|
+
&:first-child
|
|
20
|
+
padding-top: 0
|
|
21
|
+
|
|
22
|
+
.toggle
|
|
23
|
+
float: right
|
|
24
|
+
margin: 0
|
|
25
|
+
|
|
26
|
+
.btn
|
|
27
|
+
+border-radius(0 0 6px 6px)
|
|
28
|
+
|
|
29
|
+
.share-label
|
|
30
|
+
float: left
|
|
31
|
+
font-size: 15px
|
|
32
|
+
padding-top: 5px
|
|
33
|
+
width: 50%
|
|
34
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.tagsinput
|
|
2
|
+
background: #fff
|
|
3
|
+
border: 2px solid $firm
|
|
4
|
+
border-radius: 6px
|
|
5
|
+
height: 100px
|
|
6
|
+
padding: 6px 1px 1px 6px
|
|
7
|
+
overflow-y: auto
|
|
8
|
+
text-align: left
|
|
9
|
+
|
|
10
|
+
.tag
|
|
11
|
+
border-radius: 4px
|
|
12
|
+
background: $firm
|
|
13
|
+
color: $inverse
|
|
14
|
+
cursor: pointer
|
|
15
|
+
margin-right: 5px
|
|
16
|
+
margin-bottom: 5px
|
|
17
|
+
overflow: hidden
|
|
18
|
+
padding: 6px 13px 6px 19px
|
|
19
|
+
position: relative
|
|
20
|
+
vertical-align: middle
|
|
21
|
+
+inline-block
|
|
22
|
+
+transition(.14s linear)
|
|
23
|
+
&:hover
|
|
24
|
+
background-color: scale-color($firm, $lightness: -15%)
|
|
25
|
+
padding-left: 12px
|
|
26
|
+
padding-right: 20px
|
|
27
|
+
|
|
28
|
+
.tagsinput-remove-link
|
|
29
|
+
color: $inverse
|
|
30
|
+
opacity: 1
|
|
31
|
+
// Opacity fallback for IE
|
|
32
|
+
display: block\9
|
|
33
|
+
|
|
34
|
+
input
|
|
35
|
+
background: transparent
|
|
36
|
+
border: none
|
|
37
|
+
color: $base
|
|
38
|
+
font-family: $base-font-family
|
|
39
|
+
font-size: $base-font-size
|
|
40
|
+
margin: 0px
|
|
41
|
+
padding: 0 0 0 5px
|
|
42
|
+
outline: 0
|
|
43
|
+
margin-right: 5px
|
|
44
|
+
margin-bottom: 5px
|
|
45
|
+
width: 12px
|
|
46
|
+
|
|
47
|
+
.tagsinput-remove-link
|
|
48
|
+
bottom: 0
|
|
49
|
+
color: $inverse
|
|
50
|
+
cursor: pointer
|
|
51
|
+
font-size: 12px
|
|
52
|
+
opacity: 0
|
|
53
|
+
padding: 9px 7px 3px 0
|
|
54
|
+
position: absolute
|
|
55
|
+
right: 0
|
|
56
|
+
text-align: right
|
|
57
|
+
text-decoration: none
|
|
58
|
+
top: 0
|
|
59
|
+
width: 100%
|
|
60
|
+
z-index: 2
|
|
61
|
+
// Opacity fallback for IE
|
|
62
|
+
display: none\9
|
|
63
|
+
|
|
64
|
+
&:before
|
|
65
|
+
color: $inverse
|
|
66
|
+
|
|
67
|
+
.tagsinput-add-container
|
|
68
|
+
vertical-align: middle
|
|
69
|
+
+inline-block
|
|
70
|
+
|
|
71
|
+
.tagsinput-add
|
|
72
|
+
background-color: scale-color(desaturate($base, 15%), $lightness: 67%)
|
|
73
|
+
border-radius: 3px
|
|
74
|
+
color: $inverse
|
|
75
|
+
cursor: pointer
|
|
76
|
+
margin-bottom: 5px
|
|
77
|
+
padding: 6px 9px
|
|
78
|
+
+inline-block
|
|
79
|
+
+transition(.25s)
|
|
80
|
+
&:hover
|
|
81
|
+
background-color: $firm
|
|
82
|
+
|
|
83
|
+
.tags_clear
|
|
84
|
+
clear: both
|
|
85
|
+
width: 100%
|
|
86
|
+
height: 0px
|
|
87
|
+
|
|
88
|
+
.not_valid
|
|
89
|
+
background: #FBD8DB !important
|
|
90
|
+
color: #90111A !important
|
|
91
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Tile module
|
|
2
|
+
.tile
|
|
3
|
+
background-color: scale-color($base, $lightness: 92%)
|
|
4
|
+
border-radius: 6px
|
|
5
|
+
padding: 14px
|
|
6
|
+
position: relative
|
|
7
|
+
text-align: center
|
|
8
|
+
|
|
9
|
+
&.tile-hot
|
|
10
|
+
&:before
|
|
11
|
+
background: url('../images/tile/ribbon.png') 0 0 no-repeat
|
|
12
|
+
background-size: 82px 82px
|
|
13
|
+
content: ''
|
|
14
|
+
height: 82px
|
|
15
|
+
position: absolute
|
|
16
|
+
right: -4px
|
|
17
|
+
top: -4px
|
|
18
|
+
width: 82px
|
|
19
|
+
|
|
20
|
+
p
|
|
21
|
+
font-size: 15px
|
|
22
|
+
margin-bottom: 33px
|
|
23
|
+
|
|
24
|
+
.tile-image
|
|
25
|
+
height: 100px
|
|
26
|
+
margin: 31px 0 27px
|
|
27
|
+
vertical-align: bottom
|
|
28
|
+
&.big-illustration
|
|
29
|
+
height: 111px
|
|
30
|
+
margin-top: 20px
|
|
31
|
+
width: 112px
|
|
32
|
+
|
|
33
|
+
.tile-title
|
|
34
|
+
font-size: 20px
|
|
35
|
+
margin: 0
|
|
36
|
+
|
|
37
|
+
@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)
|
|
38
|
+
.tile
|
|
39
|
+
&.tile-hot
|
|
40
|
+
&:before
|
|
41
|
+
background-image: url('../images/tile/ribbon-2x.png')
|
|
42
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// Todo list
|
|
2
|
+
.todo
|
|
3
|
+
background-color: scale-color($base, $lightness: -15%)
|
|
4
|
+
border-radius: 8px 8px 6px 6px
|
|
5
|
+
color: scale-color($base, $lightness: 33%)
|
|
6
|
+
margin-bottom: 20px
|
|
7
|
+
|
|
8
|
+
ul
|
|
9
|
+
margin: 0
|
|
10
|
+
list-style-type: none
|
|
11
|
+
|
|
12
|
+
li
|
|
13
|
+
background: $base url('../images/todo/todo.png') 92% center no-repeat
|
|
14
|
+
background-size: 20px 20px
|
|
15
|
+
cursor: pointer
|
|
16
|
+
margin-top: 2px
|
|
17
|
+
padding: 18px 42px 17px 25px
|
|
18
|
+
position: relative
|
|
19
|
+
+transition(.25s)
|
|
20
|
+
&:first-child
|
|
21
|
+
margin-top: 0
|
|
22
|
+
&:last-child
|
|
23
|
+
border-radius: 0 0 6px 6px
|
|
24
|
+
padding-bottom: 18px
|
|
25
|
+
&.todo-done
|
|
26
|
+
background: transparent url('../images/todo/done.png') 92% center no-repeat
|
|
27
|
+
background-size: 20px 20px
|
|
28
|
+
color: $firm
|
|
29
|
+
|
|
30
|
+
.todo-name
|
|
31
|
+
color: $firm
|
|
32
|
+
|
|
33
|
+
.todo-search
|
|
34
|
+
background: $firm url('../images/todo/search.png') 92% center no-repeat
|
|
35
|
+
background-size: 16px 16px
|
|
36
|
+
border-radius: 6px 6px 0 0
|
|
37
|
+
color: $base
|
|
38
|
+
padding: 19px 25px 20px
|
|
39
|
+
|
|
40
|
+
input.todo-search-field
|
|
41
|
+
background: none
|
|
42
|
+
border: none
|
|
43
|
+
color: $base
|
|
44
|
+
font-size: 19px
|
|
45
|
+
font-weight: 700
|
|
46
|
+
margin: 0
|
|
47
|
+
line-height: 23px
|
|
48
|
+
padding: 5px 0
|
|
49
|
+
text-indent: 0
|
|
50
|
+
+box-shadow(none)
|
|
51
|
+
+placeholder-color($base)
|
|
52
|
+
|
|
53
|
+
.todo-icon
|
|
54
|
+
float: left
|
|
55
|
+
font-size: 24px
|
|
56
|
+
padding: 11px 22px 0 0
|
|
57
|
+
|
|
58
|
+
.todo-content
|
|
59
|
+
padding-top: 1px
|
|
60
|
+
overflow: hidden
|
|
61
|
+
|
|
62
|
+
.todo-name
|
|
63
|
+
color: $inverse
|
|
64
|
+
font-size: 17px
|
|
65
|
+
margin: 1px 0 3px
|
|
66
|
+
|
|
67
|
+
// Serving 2x images
|
|
68
|
+
@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)
|
|
69
|
+
.todo
|
|
70
|
+
li
|
|
71
|
+
background-image: ('../images/todo/todo-2x.png')
|
|
72
|
+
&.todo-done
|
|
73
|
+
background-image: ('../images/todo/done-2x.png')
|
|
74
|
+
|
|
75
|
+
.todo-search
|
|
76
|
+
background-image: ('../images/todo/search-2x.png')
|
|
77
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// Toggle
|
|
2
|
+
.toggle
|
|
3
|
+
background-color: $base
|
|
4
|
+
border-radius: 60px
|
|
5
|
+
color: $inverse
|
|
6
|
+
height: 29px
|
|
7
|
+
margin: 0 12px 12px 0
|
|
8
|
+
overflow: hidden
|
|
9
|
+
+clearfix
|
|
10
|
+
+inline-block
|
|
11
|
+
+transition(.25s)
|
|
12
|
+
|
|
13
|
+
// Common style -----------------------------
|
|
14
|
+
&.toggle-off
|
|
15
|
+
background-color: scale-color(desaturate($base, 15%), $lightness: 75%)
|
|
16
|
+
|
|
17
|
+
.toggle-radio
|
|
18
|
+
background-image: url('../images/toggle/icon-off.png')
|
|
19
|
+
background-position: 0 0
|
|
20
|
+
color: $inverse
|
|
21
|
+
left: 0
|
|
22
|
+
margin-left: .5px
|
|
23
|
+
margin-right: -13px
|
|
24
|
+
z-index: 1
|
|
25
|
+
&:first-child
|
|
26
|
+
left: -120%
|
|
27
|
+
|
|
28
|
+
.toggle-radio
|
|
29
|
+
background: url('../images/toggle/icon-on.png') right top no-repeat
|
|
30
|
+
color: $firm
|
|
31
|
+
display: block
|
|
32
|
+
font-weight: 700
|
|
33
|
+
height: 21px
|
|
34
|
+
left: 120%
|
|
35
|
+
margin-left: -13px
|
|
36
|
+
padding: 5px 32px 3px
|
|
37
|
+
position: relative
|
|
38
|
+
text-align: center
|
|
39
|
+
z-index: 2
|
|
40
|
+
+transition(.25s)
|
|
41
|
+
|
|
42
|
+
&:first-child
|
|
43
|
+
margin-bottom: -29px
|
|
44
|
+
left: 0
|
|
45
|
+
|
|
46
|
+
input
|
|
47
|
+
display: none
|
|
48
|
+
position: absolute
|
|
49
|
+
outline: none !important
|
|
50
|
+
// Radios in IE should be always visible in order to work
|
|
51
|
+
display: block\9
|
|
52
|
+
+opacity(0.01)
|
|
53
|
+
|
|
54
|
+
// Iconic style -----------------------------
|
|
55
|
+
&.toggle-icon
|
|
56
|
+
border-radius: 6px 7px 7px 6px
|
|
57
|
+
|
|
58
|
+
&.toggle-off
|
|
59
|
+
border-radius: 7px 6px 6px 7px
|
|
60
|
+
.toggle-radio
|
|
61
|
+
background-image: url('../images/toggle/block-off.png')
|
|
62
|
+
background-position: 0 0
|
|
63
|
+
|
|
64
|
+
.toggle-radio
|
|
65
|
+
background-image: url('../images/toggle/block-on.png')
|
|
66
|
+
background-position: 62px 0
|
|
67
|
+
border-radius: 6px
|
|
68
|
+
min-width: 27px
|
|
69
|
+
text-align: right
|
|
70
|
+
|
|
71
|
+
&:first-child
|
|
72
|
+
text-align: left
|
|
73
|
+
|
|
74
|
+
// Serving 2x images
|
|
75
|
+
@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)
|
|
76
|
+
.toggle
|
|
77
|
+
&.toggle-off
|
|
78
|
+
.toggle-radio
|
|
79
|
+
background-image: url('../images/toggle/icon-off-2x.png')
|
|
80
|
+
background-size: 30px 29px
|
|
81
|
+
|
|
82
|
+
.toggle-radio
|
|
83
|
+
background-image: url('../images/toggle/icon-on-2x.png')
|
|
84
|
+
background-size: 30px 29px
|
|
85
|
+
|