dante-editor 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5df180cc7b05573d27375f1d68407eae113faafa
4
- data.tar.gz: 0c20ba63a6873253fe41dee4b53ddbde40668793
3
+ metadata.gz: 71ee7534d221e83a36f0c8732f05bf4dc01900c4
4
+ data.tar.gz: a59f2be827882d5d796b5e7fd842cf2d3063b869
5
5
  SHA512:
6
- metadata.gz: 7027a936bf5598765a5dc0f23ca29b9e8f024cb659f19efcfdb31c64418d3bbce8cb2545c167f7ac276f4ca77b84bda88e318bd3dd5c3a947a6a0b6ba4c90e3d
7
- data.tar.gz: 6c4b90531e4971941b527324bf7b339d100aaf50a472c6827bbe0ea37272d8e4185fa196aa361d3c69220d51a1a004307227150717e375986806ba4fef05db1d
6
+ metadata.gz: f22ce041959c03deb02ed99f01b81dc7d9c76c178cec77b15f90b4990fd820f37e63487a4b838bb35edb7b78db5cb9b0a5b34d1278d0b9c41fce010a8c710a80
7
+ data.tar.gz: ce7b6b46893e0f92484fff5904ddbe987039923b82210cac54e4c7475b14bf33aba7b3321c051b24c1dd3860baccbb4d65603508676756d70c41149e07372346
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dante-editor (0.0.5)
4
+ dante-editor (0.0.6)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/ROADMAP.md CHANGED
@@ -2,11 +2,9 @@
2
2
 
3
3
  + 0.0.6
4
4
  + TODO LIST COMPLETE!
5
- + 0.0.7
6
- + implement Keyboard Shortcuts / word count / typing tricks
7
5
  + 0.1.0
8
- + implement layout changes on embeds & uploads.
6
+ + implement Keyboard Shortcuts / word count / typing tricks
9
7
  + 0.2.0
8
+ + implement layout changes on embeds & uploads.
9
+ + 0.3.0
10
10
  + implement creation of new sections
11
- + 1.0.0
12
- + use Rangy for better selection & range support.
data/TODO.md CHANGED
@@ -14,6 +14,7 @@
14
14
  + handle remove from PRE tag, it set rare span, just remove it
15
15
  + clean node when remove one
16
16
  + don't remove entire graf-image when delete text from caption
17
+ + handle delete from link embeds . when text is empty , remove embed on next del key press.
17
18
 
18
19
  + IMAGES:
19
20
  + upload, show progress, complete
Binary file
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" d="" horiz-adv-x="512" />
10
+ <glyph unicode="&#xe600;" d="M256 759.559v-623.174c0-70.118 47.316-95.291 105.683-55.222l428.634 294.258c58.622 40.244 58.367 105.034 0 145.103l-428.634 294.258c-58.622 40.244-105.683 15.345-105.683-55.222zM320 766.664l426.195-293.488c30.527-20.25 29.832-31 0-51.070l-426.195-295.039v639.598z" />
11
+ <glyph unicode="&#xe601;" d="M294.4 768l0.489 2.446c13.868 69.342 82.599 125.554 152.977 125.554h128.267c70.619 0 139.014-55.74 152.977-125.554l0.489-2.446h166.78c70.483 0 127.62-57.611 127.62-127.489v-449.022c0-70.41-57.249-127.489-127.62-127.489h-768.76c-70.483 0-127.62 57.611-127.62 127.489v449.022c0 70.41 57.249 127.489 127.62 127.489h166.78zM347.123 704h-218.685c-35.641 0-64.438-28.583-64.438-63.843v-448.314c0-35.279 28.85-63.843 64.438-63.843h767.124c35.641 0 64.438 28.583 64.438 63.843v448.314c0 35.279-28.85 63.843-64.438 63.843h-218.816l-13.864 65.375c-7.263 34.25-41.874 62.625-77.145 62.625h-147.627c-35.433 0-69.805-28.038-77.134-62.625l-13.853-65.375zM320 448c0-105.823 85.961-192 192-192 105.823 0 192 85.961 192 192 0 105.823-85.961 192-192 192-105.823 0-192-85.961-192-192zM384 448c0 70.692 56.815 128 128 128 70.692 0 128-56.815 128-128 0-70.692-56.815-128-128-128-70.692 0-128 56.815-128 128z" />
12
+ <glyph unicode="&#xe602;" d="M544 416v-375.294c0-17.673-14.327-32-32-32s-32 14.327-32 32v375.294h-375.294c-17.673 0-32 14.327-32 32s14.327 32 32 32h375.294v375.294c0 17.673 14.327 32 32 32s32-14.327 32-32v-375.294h375.294c17.673 0 32-14.327 32-32s-14.327-32-32-32h-375.294z" />
13
+ <glyph unicode="&#xe603;" d="M882.24 449.498l-235.855 234.241c-12.497 12.411-12.497 32.534 0 44.945s32.758 12.411 45.255 0l253.704-251.968c1.872-1.201 3.645-2.616 5.284-4.244 12.497-12.411 12.497-32.534 0-44.945l-257.992-256.226c-12.497-12.411-32.758-12.411-45.255 0s-12.497 32.534 0 44.945l234.859 233.252zM67.842 461.229c-6.562-12.128-4.719-27.599 5.53-37.848 2.863-2.863 6.133-5.070 9.624-6.621l249.364-249.364c12.497-12.497 32.758-12.497 45.255 0s12.497 32.758 0 45.255l-234.859 234.859 233.863 233.863c12.497 12.497 12.497 32.758 0 45.255s-32.758 12.497-45.255 0l-251.712-251.712c-1.872-1.209-3.645-2.634-5.284-4.273-2.805-2.805-4.981-6.002-6.527-9.414v0 0z" />
14
+ </font></defs></svg>
Binary file
Binary file
@@ -793,9 +793,9 @@ class Dante.Editor extends Dante.View
793
793
  return if !element
794
794
  @tooltip_view.hide()
795
795
  return unless _.isEmpty( $(element).text() )
796
- @position = $(element).offset()
796
+ @positions = $(element).offset()
797
797
  @tooltip_view.render()
798
- @tooltip_view.move(left: @position.left - 60, top: @position.top - 1 )
798
+ @tooltip_view.move(@positions)
799
799
 
800
800
  #mark the current row as selected
801
801
  markAsSelected: (element)->
@@ -42,7 +42,6 @@ class Dante.Editor.PopOver extends Dante.View
42
42
 
43
43
  displayAt: (ev)->
44
44
  @cancelHide()
45
- #debugger
46
45
  target = $(ev.currentTarget)
47
46
  $(@el).find(".popover-inner a").text( target.attr('href') ).attr('href', target.attr("href") )
48
47
  @positionAt(ev)
@@ -10,9 +10,9 @@ class Dante.Editor.Tooltip extends Dante.View
10
10
  initialize: (opts = {})=>
11
11
  @current_editor = opts.editor
12
12
  @buttons = [
13
- {icon: "fa-camera", title: "Add an image", action: "image"},
14
- {icon: "fa-play", title: "Add a video", action: "embed"},
15
- {icon: "fa-code", title: "Add an embed", action: "embed-extract"}
13
+ {icon: "icon-image", title: "Add an image", action: "image"},
14
+ {icon: "icon-video", title: "Add a video", action: "embed"},
15
+ {icon: "icon-embed", title: "Add an embed", action: "embed-extract"}
16
16
  ]
17
17
  #TODO: include section splitter
18
18
  #icon: "fa-minus", title: "Add a new part", action: "hr"
@@ -22,11 +22,11 @@ class Dante.Editor.Tooltip extends Dante.View
22
22
  _.each @buttons, (b)->
23
23
  data_action_value = if b.action_value then "data-action-value='#{b.action_value}'" else ""
24
24
  menu += "<button class='inlineTooltip-button scale' title='#{b.title}' data-action='inline-menu-#{b.action}' #{data_action_value}>
25
- <span class='fa #{b.icon}'></span>
25
+ <span class='tooltip-icon #{b.icon}'></span>
26
26
  </button>"
27
27
 
28
28
  "<button class='inlineTooltip-button control' title='Close Menu' data-action='inline-menu'>
29
- <span class='fa fa-plus'></span>
29
+ <span class='tooltip-icon icon-plus'></span>
30
30
  </button>
31
31
  <div class='inlineTooltip-menu'>
32
32
  #{menu}
@@ -69,15 +69,23 @@ class Dante.Editor.Tooltip extends Dante.View
69
69
 
70
70
  render: ()=>
71
71
  $(@el).html(@template())
72
- $(@el).show()
72
+ $(@el).addClass("is-active")
73
+ @
73
74
 
74
75
  toggleOptions: ()=>
75
76
  utils.log "Toggle Options!!"
76
- $(@el).toggleClass("is-active is-scaled")
77
+ $(@el).toggleClass("is-scaled")
77
78
  return false
78
79
 
79
80
  move: (coords)->
80
- $(@el).offset(coords)
81
+ tooltip = $(@el)
82
+ control_width = tooltip.find(".control").css("width")
83
+ control_spacing = tooltip.find(".inlineTooltip-menu").css("padding-left")
84
+ pull_size = parseInt(control_width.replace(/px/,"")) + parseInt(control_spacing.replace(/px/,""))
85
+ coord_left = coords.left - pull_size
86
+ coord_top = coords.top
87
+
88
+ $(@el).offset(top: coord_top, left: coord_left)
81
89
 
82
90
  handleClick: (ev)->
83
91
  name = $(ev.currentTarget).data('action')
@@ -353,5 +361,4 @@ class Dante.Editor.Tooltip extends Dante.View
353
361
  node.removeClass("is-embedable is-extractable")
354
362
 
355
363
  hide: ()=>
356
- $(@el).hide()
357
364
  $(@el).removeClass("is-active is-scaled")
@@ -1,4 +1,4 @@
1
- //@if $debugger {
1
+ @if $debugger {
2
2
  .debug {
3
3
  .section-inner {
4
4
  .is-selected{
@@ -8,4 +8,4 @@
8
8
  }
9
9
  }
10
10
  }
11
- //}
11
+ }
@@ -1,12 +1,17 @@
1
- @font-face {
2
- font-family: 'dante';
3
- src: font-url('fontello.eot?370dad08');
4
- src: font-url('fontello.eot?370dad08#iefix') format('embedded-opentype'),
5
- font-url('fontello.woff?370dad08') format('woff'),
6
- font-url('fontello.ttf?370dad08') format('truetype'),
7
- font-url('fontello.svg?370dad08#fontello') format('svg');
8
- font-weight: normal;
9
- font-style: normal;
1
+ @mixin font-face($font-family, $file-name, $font-weight: normal, $font-style: normal) {
2
+ @font-face {
3
+ font-family: '#{$font-family}';
4
+ src: font-url('#{$file-name}.eot?370dad08');
5
+ src: font-url('#{$file-name}.eot?370dad08#iefix') format('embedded-opentype'),
6
+ font-url('#{$file-name}.woff?370dad08') format('woff'),
7
+ font-url('#{$file-name}.ttf?370dad08') format('truetype'),
8
+ font-url('#{$file-name}.svg?370dad08##{$file-name}') format('svg');
9
+ font-weight: $font-weight;
10
+ font-style: $font-style;
11
+ }
10
12
  }
11
13
 
14
+ @include font-face(dante, fontello);
15
+ @include font-face(dante-tooltip, dante);
16
+
12
17
  @import url(http://fonts.googleapis.com/css?family=Merriweather:400,700,400italic,700italic|Open+Sans:400,300,800);
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  .graf--h2 {
23
- font-family: $sans;
23
+ font-family: $font-family-sans;
24
24
  font-size: 60px;
25
25
  font-style: normal;
26
26
  font-weight: 700;
@@ -32,7 +32,7 @@
32
32
  padding-top: 0;
33
33
  }
34
34
  .graf--h3 {
35
- font-family: $sans;
35
+ font-family: $font-family-sans;
36
36
  letter-spacing: -0.02em;
37
37
  font-weight: 700;
38
38
  font-style: normal;
@@ -43,7 +43,7 @@
43
43
  margin-bottom: 4px;
44
44
  }
45
45
  .graf--h4 {
46
- font-family: $sans;
46
+ font-family: $font-family-sans;
47
47
  letter-spacing: -0.02em;
48
48
  font-weight: 300;
49
49
  font-style: normal;
@@ -183,6 +183,11 @@
183
183
  padding-top: 0;
184
184
  }
185
185
 
186
+ /*.graf--empty {
187
+ margin-bottom: -7px;
188
+ margin-top: -7px;
189
+ }*/
190
+
186
191
  p[data-align="center"],
187
192
  .graf--h2[data-align="center"],
188
193
  .graf--h3[data-align="center"],
@@ -12,7 +12,6 @@
12
12
  }
13
13
  }
14
14
 
15
-
16
15
  .icon-h2:before { content: "H1"; }
17
16
  .icon-h3:before { content: "H2"; }
18
17
  .icon-h4:before { content: "H3"; }
@@ -29,9 +28,30 @@
29
28
  .icon-createlink:before { content: ""; }
30
29
  .icon-blockquote:before { content: ""; }
31
30
 
32
-
33
31
  .icon-h2:before,
34
32
  .icon-h3:before,
35
33
  .icon-h4:before {
36
34
  font-weight: bold;
37
35
  }
36
+
37
+
38
+ .tooltip-icon {
39
+ &:before {
40
+ font-family: 'dante-tooltip';
41
+ speak: none;
42
+ font-style: normal;
43
+ font-weight: normal;
44
+ font-variant: normal;
45
+ text-transform: none;
46
+ line-height: 1;
47
+
48
+ // Better Font Rendering
49
+ -webkit-font-smoothing: antialiased;
50
+ -moz-osx-font-smoothing: grayscale;
51
+ }
52
+ }
53
+
54
+ .icon-video:before { content: "\e600"; }
55
+ .icon-image:before { content: "\e601"; }
56
+ .icon-plus:before { content: "\e602"; }
57
+ .icon-embed:before { content: "\e603"; }
@@ -73,13 +73,15 @@
73
73
  & {
74
74
  min-width: 20px;
75
75
  display: inline-block;
76
- padding: 0 10px;
76
+ padding-left: 10px;
77
+ padding-right: 10px;
77
78
  overflow: hidden;
78
79
  text-align: center;
79
80
  color: $menu-color;
80
81
  cursor: pointer;
81
82
  font-size: 16px;
82
- line-height: $menu-height - 2;
83
+ line-height: $menu-button-height;
84
+ height: $menu-button-height;
83
85
  -webkit-user-select: none;
84
86
  -moz-user-select: none;
85
87
  -ms-user-select: none;
@@ -74,7 +74,7 @@ h4 .markup--anchor {
74
74
  border-width: 1px;
75
75
  box-sizing: border-box;
76
76
  color: rgba(0, 0, 0, 0.6);
77
- font-family: $sans;
77
+ font-family: $font-family-sans;
78
78
  font-size: 12px;
79
79
  font-style: normal;
80
80
  font-weight: 300;
@@ -105,7 +105,7 @@ h4 .markup--anchor {
105
105
 
106
106
  .graf--mixtapeEmbed {
107
107
  color: rgba(0, 0, 0, 0.6);
108
- font-family: $sans;
108
+ font-family: $font-family-sans;
109
109
  font-size: 12px;
110
110
  font-style: normal;
111
111
  font-weight: 300;
@@ -115,7 +115,7 @@ h4 .markup--anchor {
115
115
  .markup--mixtapeEmbed-strong {
116
116
  color: #000;
117
117
  display: block;
118
- font-family: $sans;
118
+ font-family: $font-family-sans;
119
119
  font-size: 30px;
120
120
  font-style: normal;
121
121
  font-weight: 300;
@@ -147,7 +147,7 @@ h4 .markup--anchor {
147
147
 
148
148
  // .imageCaption {
149
149
  // color: rgba(0, 0, 0, 0.6);
150
- // font-family: $serif;
150
+ // font-family: $font-family-serif;
151
151
  // font-size: 14px;
152
152
  // font-style: italic;
153
153
  // font-weight: 400;
@@ -201,7 +201,7 @@ section.is-backgrounded + section > .section-divider {
201
201
  // }
202
202
 
203
203
  .defaultValue--prompt {
204
- font-family: $sans;
204
+ font-family: $font-family-sans;
205
205
  font-size: 18px;
206
206
  font-style: normal;
207
207
  font-weight: 400;
@@ -3,17 +3,22 @@
3
3
  // BASE
4
4
  position: absolute;
5
5
  z-index: 900;
6
- overflow: hidden;
7
- display: none;
8
- width: 33px;
9
- height: 33px;
6
+ width: $tooltip-size;
7
+ height: $tooltip-size;
10
8
  -webkit-transition: opacity 100ms, width 0 linear 250ms;
11
9
  transition: opacity 100ms, width 0 linear 250ms;
12
10
  padding: 0;
11
+ font-size: 0;
12
+
13
+ opacity: 0;
14
+ pointer-events: none;
13
15
 
14
16
  &.is-active {
15
- display: block;
16
- width: 220px;
17
+ opacity: 1;
18
+ pointer-events: auto;
19
+ }
20
+ &.is-scaled {
21
+ width: $tooltip-size-expanded;
17
22
  -webkit-transition-delay: 0;
18
23
  transition-delay: 0;
19
24
  }
@@ -23,10 +28,10 @@
23
28
  .inlineTooltip-menu {
24
29
  & {
25
30
  display: inline-block;
26
- padding-left: 22px;
31
+ padding-left: $tooltip-menu-spacing;
27
32
  }
28
33
  button {
29
- margin-right: 9px;
34
+ margin-right: $tooltip-button-spacing;
30
35
  }
31
36
  }
32
37
 
@@ -41,7 +46,7 @@
41
46
  padding: 0;
42
47
  vertical-align: bottom;
43
48
  box-sizing: border-box;
44
- border-radius: 999em;
49
+ border-radius: $tooltip-border-radius;
45
50
  cursor: pointer;
46
51
  font-size: 14px;
47
52
  text-decoration: none;
@@ -58,66 +63,67 @@
58
63
  -moz-font-feature-settings: "liga" on;
59
64
  width: $tooltip-size;
60
65
  height: $tooltip-size;
61
- line-height: $tooltip-size - 2;
66
+ line-height: $tooltip-line-height;
62
67
  -webkit-transition: 100ms border-color, 100ms color;
63
68
  transition: 100ms border-color, 100ms color;
64
- background: rgba(0,0,0,0);
65
- border: 1px solid rgba(0,0,0,0.15);
66
- color: rgba(0,0,0,0.44);
69
+ background: rgba($tooltip-color, $tooltip-background-opacity);
70
+ border: $tooltip-border-width solid;
71
+ border-color: rgba($tooltip-color, $tooltip-color-opacity);
72
+ color: rgba($tooltip-color, $tooltip-color-opacity);
67
73
  }
68
74
 
69
75
  &:hover {
70
- border-color: rgba(0,0,0,0.9);
71
- color: rgba(0,0,0,0.9);
76
+ border-color: rgba($tooltip-color, $tooltip-color-opacity-hover);
77
+ color: rgba($tooltip-color, $tooltip-color-opacity-hover);
72
78
  }
73
79
 
74
80
  // SCALE
75
81
  &.scale {
76
82
  & {
77
- -webkit-transform: scale(0);
78
- -ms-transform: scale(0);
79
- transform: scale(0);
80
- -webkit-transition-property: -webkit-transform;
81
- transition-property: transform;
82
- -webkit-transition-duration: 100ms;
83
- transition-duration: 100ms;
83
+ -webkit-transform: scale(0);
84
+ -ms-transform: scale(0);
85
+ transform: scale(0);
86
+ -webkit-transition: -webkit-#{$tooltip-forward-transition}, $tooltip-default-transition;
87
+ transition: $tooltip-forward-transition, $tooltip-default-transition;
84
88
  }
85
89
  .is-scaled & {
86
- -webkit-transform: scale(1);
87
- -ms-transform: scale(1);
88
- transform: scale(1);
89
- -webkit-transition-duration: 200ms;
90
- transition-duration: 200ms;
90
+ -webkit-transform: scale(1);
91
+ -ms-transform: scale(1);
92
+ transform: scale(1);
93
+ -webkit-transition: -webkit-#{$tooltip-backward-transition}, $tooltip-default-transition;
94
+ transition: $tooltip-backward-transition, $tooltip-default-transition;
91
95
  }
92
96
  &:nth-child(2) {
93
97
  -webkit-transition-delay: 30ms;
94
- transition-delay: 30ms;
98
+ transition-delay: 30ms;
95
99
  }
96
100
  &:nth-child(3) {
97
101
  -webkit-transition-delay: 60ms;
98
- transition-delay: 60ms;
102
+ transition-delay: 60ms;
99
103
  }
100
104
  &:nth-child(4) {
101
105
  -webkit-transition-delay: 90ms;
102
- transition-delay: 90ms;
106
+ transition-delay: 90ms;
103
107
  }
104
108
  }
105
109
 
106
110
  // CONTROL
107
111
  &.control {
108
112
  & {
109
- -webkit-transition: -webkit-transform 100ms;
110
- transition: transform 100ms;
113
+ -webkit-transition: -webkit-#{$tooltip-forward-transition}, $tooltip-default-transition;
114
+ transition: $tooltip-forward-transition, $tooltip-default-transition;
111
115
  -webkit-transform: rotate(0);
112
116
  -ms-transform: rotate(0);
113
117
  transform: rotate(0);
114
118
  }
115
- .is-active & {
116
- -webkit-transition: -webkit-transform 250ms;
117
- transition: transform 250ms;
119
+ .is-scaled & {
120
+ -webkit-transition: -webkit-#{$tooltip-backward-transition}, $tooltip-default-transition;
121
+ transition: $tooltip-backward-transition, $tooltip-default-transition;
118
122
  -webkit-transform: rotate(45deg);
119
123
  -ms-transform: rotate(45deg);
120
124
  transform: rotate(45deg);
125
+ border-color: rgba($tooltip-color, $tooltip-color-opacity-hover);
126
+ color: rgba($tooltip-color, $tooltip-color-opacity-hover);
121
127
  }
122
128
  }
123
129
 
@@ -1,30 +1,46 @@
1
- $font-family-sans: 'jaf-bernino-sans', 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
2
- $font-family-serif: 'freight-text-pro', 'Merriweather', Georgia,Cambria, "Times New Roman", Times,serif;
3
- $font-family-mono: Menlo, Monaco, Consolas, "Courier New", "Courier", monospace;
4
-
5
- $font-family-base: $font-family-sans;
6
- $font-size-base: 14px;
7
- $line-height-base: 1.428571429; // 20/14
8
- //$line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
9
-
10
- $active-color: #57AD68;
11
-
12
- $debugger: false;
13
-
14
- $menu-height: 45px;
15
- $menu-tone: #333;
16
- $menu-factor: 5%;
17
- $menu-background: linear-gradient(to bottom, darken($menu-tone,$menu-factor), $menu-tone) repeat scroll 0 0 $menu-tone;
18
- $menu-shadow: 1px 2px 3px -2px #222;
19
- $menu-border-color: darken($menu-tone,$menu-factor);
20
- $menu-border: 1px solid $menu-border-color;
21
- $menu-border-radius: 5px;
22
- $menu-color: #FFFFFF;
23
- $menu-color-active: #1ABF89;
24
- $menu-caret-size: 8px;
25
-
26
- $tooltip-size: 32px;
27
-
28
- // Legacy
29
- $serif: $font-family-serif;
30
- $sans: $font-family-sans;
1
+ $font-family-sans: 'jaf-bernino-sans', 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
2
+ $font-family-serif: 'freight-text-pro', 'Merriweather', Georgia,Cambria, "Times New Roman", Times,serif;
3
+ $font-family-mono: Menlo, Monaco, Consolas, "Courier New", "Courier", monospace;
4
+
5
+ $font-family-base: $font-family-sans;
6
+ $font-size-base: 14px;
7
+ $line-height-base: 1.428571429; // 20/14
8
+
9
+ $active-color: #5BD974;
10
+
11
+ $menu-tone: #333;
12
+ $menu-factor: 5%;
13
+ $menu-background: linear-gradient(to bottom, darken($menu-tone,$menu-factor), $menu-tone) repeat scroll 0 0 $menu-tone;
14
+ $menu-shadow: 1px 2px 3px -2px #222;
15
+ $menu-border-width: 1px;
16
+ $menu-border-color: darken($menu-tone,$menu-factor);
17
+ $menu-border-radius: 5px;
18
+ $menu-border: $menu-border-width solid $menu-border-color;
19
+ $menu-color: #FFFFFF;
20
+ $menu-color-active: $active-color;
21
+ $menu-caret-size: 8px;
22
+
23
+ $menu-height: 45px;
24
+ $menu-button-height: $menu-height - ($menu-border-width * 2);
25
+
26
+ $tooltip-color: black;
27
+ $tooltip-color-opacity: 0.44;
28
+ $tooltip-color-opacity-hover: 0.9;
29
+ $tooltip-background-opacity: 0;
30
+ $tooltip-border-width: 1px;
31
+ $tooltip-border-radius: 999em;
32
+
33
+ $tooltip-button-spacing: 9px;
34
+ $tooltip-menu-spacing: 22px;
35
+
36
+ $tooltip-items: 3;
37
+ $tooltip-size: 32px;
38
+ $tooltip-line-height: $tooltip-size;
39
+
40
+ // Add 1px on expanded tooltip to avoid colapsed buttons in FF
41
+ $tooltip-size-expanded: 1 + ($tooltip-size + $tooltip-menu-spacing) + (($tooltip-size + $tooltip-button-spacing) * $tooltip-items);
42
+ $tooltip-default-transition: 100ms border-color, 100ms color;
43
+ $tooltip-forward-transition: transform 100ms;
44
+ $tooltip-backward-transition: transform 250ms;
45
+
46
+ $debugger: true;
data/bower.json CHANGED
@@ -1,10 +1,48 @@
1
1
  {
2
2
  "name" : "dante",
3
- "version" : "0.0.1",
4
- "main" : "dante.js",
5
- "dependencies" : {
3
+ "description": "Just another Medium editor clone.",
4
+ "homepage": "michelson.github.io/Dante/",
5
+ "version" : "0.0.6",
6
+ "keywords": [
7
+ "css",
8
+ "sass",
9
+ "js",
10
+ "coffeescript",
11
+ "medium",
12
+ "editor",
13
+ "web",
14
+ "wysiwyg"
15
+ ],
16
+ "authors": [
17
+ { "name": "Miguel Michelson", "homepage": "https://github.com/michelson" },
18
+ { "name": "Cristian Ferrari", "homepage": "https://github.com/cristianferrarig" }
19
+ ],
20
+ "main": [
21
+ "app/**/*",
22
+ "source/assets/**/*",
23
+ "build/assets/images/dante/**/*",
24
+ "build/assets/fonts/dante/**/*",
25
+ "build/assets/stylesheets/dante/**/*",
26
+ "build/assets/javascripts/dante/editor.js"
27
+ ],
28
+ "ignore": [
29
+ ".gitignore",
30
+ ".travis.yml",
31
+ ".ruby-version",
32
+ "config.*",
33
+ "dante-editor.gemspec",
34
+ "Gemfile",
35
+ "Gemfile.lock",
36
+ "Procfile",
37
+ "rakefile",
38
+ "ROADMAP.md",
39
+ "TODO.md",
40
+ "lib",
41
+ "source"
42
+ ],
43
+ "dependencies": {
6
44
  "jquery": "*",
7
45
  "underscore" : "*",
8
- "sanitize.js" : "*",
46
+ "sanitize.js" : "*"
9
47
  }
10
- }
48
+ }
data/icons/dante.json ADDED
@@ -0,0 +1,143 @@
1
+ {
2
+ "selection": [
3
+ {
4
+ "order": 4,
5
+ "id": 3,
6
+ "name": "video",
7
+ "prevSize": 16,
8
+ "code": 58880,
9
+ "tempChar": ""
10
+ },
11
+ {
12
+ "order": 3,
13
+ "id": 2,
14
+ "name": "image",
15
+ "prevSize": 16,
16
+ "code": 58881,
17
+ "tempChar": ""
18
+ },
19
+ {
20
+ "order": 2,
21
+ "id": 1,
22
+ "name": "plus",
23
+ "prevSize": 16,
24
+ "code": 58882,
25
+ "tempChar": ""
26
+ },
27
+ {
28
+ "order": 1,
29
+ "id": 0,
30
+ "name": "embed",
31
+ "prevSize": 16,
32
+ "code": 58883,
33
+ "tempChar": ""
34
+ }
35
+ ],
36
+ "metadata": {
37
+ "name": "Untitled Set",
38
+ "importSize": 16,
39
+ "iconsHash": -548828287
40
+ },
41
+ "height": 1024,
42
+ "prevSize": 16,
43
+ "icons": [
44
+ {
45
+ "paths": [
46
+ "M256 200.441v623.174c0 70.118 47.316 95.291 105.683 55.222l428.634-294.258c58.622-40.244 58.367-105.034 0-145.103l-428.634-294.258c-58.622-40.244-105.683-15.345-105.683 55.222zM320 193.336l426.195 293.488c30.527 20.25 29.832 31 0 51.070l-426.195 295.039v-639.598z"
47
+ ],
48
+ "attrs": [
49
+ {
50
+ "visibility": false
51
+ }
52
+ ],
53
+ "grid": 16,
54
+ "tags": [
55
+ "video"
56
+ ],
57
+ "defaultCode": 58880
58
+ },
59
+ {
60
+ "paths": [
61
+ "M294.4 192l0.489-2.446c13.868-69.342 82.599-125.554 152.977-125.554h128.267c70.619 0 139.014 55.74 152.977 125.554l0.489 2.446h166.78c70.483 0 127.62 57.611 127.62 127.489v449.022c0 70.41-57.249 127.489-127.62 127.489h-768.76c-70.483 0-127.62-57.611-127.62-127.489v-449.022c0-70.41 57.249-127.489 127.62-127.489h166.78zM347.123 256h-218.685c-35.641 0-64.438 28.583-64.438 63.843v448.314c0 35.279 28.85 63.843 64.438 63.843h767.124c35.641 0 64.438-28.583 64.438-63.843v-448.314c0-35.279-28.85-63.843-64.438-63.843h-218.816l-13.864-65.375c-7.263-34.25-41.874-62.625-77.145-62.625h-147.627c-35.433 0-69.805 28.038-77.134 62.625l-13.853 65.375zM320 512c0 105.823 85.961 192 192 192 105.823 0 192-85.961 192-192 0-105.823-85.961-192-192-192-105.823 0-192 85.961-192 192zM384 512c0-70.692 56.815-128 128-128 70.692 0 128 56.815 128 128 0 70.692-56.815 128-128 128-70.692 0-128-56.815-128-128z"
62
+ ],
63
+ "attrs": [
64
+ {
65
+ "visibility": false
66
+ }
67
+ ],
68
+ "grid": 16,
69
+ "tags": [
70
+ "image"
71
+ ],
72
+ "defaultCode": 58881
73
+ },
74
+ {
75
+ "paths": [
76
+ "M544 544v375.294c0 17.673-14.327 32-32 32s-32-14.327-32-32v-375.294h-375.294c-17.673 0-32-14.327-32-32s14.327-32 32-32h375.294v-375.294c0-17.673 14.327-32 32-32s32 14.327 32 32v375.294h375.294c17.673 0 32 14.327 32 32s-14.327 32-32 32h-375.294z"
77
+ ],
78
+ "attrs": [
79
+ {
80
+ "visibility": false
81
+ }
82
+ ],
83
+ "grid": 16,
84
+ "tags": [
85
+ "plus"
86
+ ],
87
+ "defaultCode": 58882
88
+ },
89
+ {
90
+ "paths": [
91
+ "M882.24 510.502l-235.855-234.241c-12.497-12.411-12.497-32.534 0-44.945s32.758-12.411 45.255 0l253.704 251.968c1.872 1.201 3.645 2.616 5.284 4.244 12.497 12.411 12.497 32.534 0 44.945l-257.992 256.226c-12.497 12.411-32.758 12.411-45.255 0s-12.497-32.534 0-44.945l234.859-233.252zM67.842 498.771c-6.562 12.128-4.719 27.599 5.53 37.848 2.863 2.863 6.133 5.070 9.624 6.621l249.364 249.364c12.497 12.497 32.758 12.497 45.255 0s12.497-32.758 0-45.255l-234.859-234.859 233.863-233.863c12.497-12.497 12.497-32.758 0-45.255s-32.758-12.497-45.255 0l-251.712 251.712c-1.872 1.209-3.645 2.634-5.284 4.273-2.805 2.805-4.981 6.002-6.527 9.414v0 0z"
92
+ ],
93
+ "attrs": [
94
+ {
95
+ "visibility": false
96
+ }
97
+ ],
98
+ "grid": 16,
99
+ "tags": [
100
+ "embed"
101
+ ],
102
+ "defaultCode": 58883
103
+ }
104
+ ],
105
+ "preferences": {
106
+ "fontPref": {
107
+ "prefix": "icon-",
108
+ "metadata": {
109
+ "fontFamily": "icomoon"
110
+ },
111
+ "showGlyphs": true,
112
+ "metrics": {
113
+ "emSize": 1024,
114
+ "baseline": 6.25,
115
+ "whitespace": 50
116
+ },
117
+ "resetPoint": 58880,
118
+ "showQuickUse": true,
119
+ "quickUsageToken": false,
120
+ "showMetrics": true,
121
+ "showMetadata": false
122
+ },
123
+ "imagePref": {
124
+ "color": 0,
125
+ "height": 32,
126
+ "columns": 16,
127
+ "margin": 16,
128
+ "png": false,
129
+ "sprites": true
130
+ },
131
+ "historySize": 100,
132
+ "showCodes": true,
133
+ "gridSize": 16,
134
+ "showLiga": false,
135
+ "showGrid": true,
136
+ "showGlyphs": true,
137
+ "showQuickUse": true,
138
+ "showQuickUse2": true,
139
+ "showSVGs": true,
140
+ "search": ""
141
+ },
142
+ "IcoMoonType": "icon-set"
143
+ }
data/icons/embed.svg ADDED
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.2 (9961) - http://www.bohemiancoding.com/sketch -->
4
+ <title>code</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Group" sketch:type="MSLayerGroup" transform="translate(-144.000000, -8.000000)">
9
+ <rect id="Rectangle-24" stroke="#979797" sketch:type="MSShapeGroup" x="136" y="0" width="32" height="32" rx="40"></rect>
10
+ <path d="M157.784994,15.9766001 L154.099753,12.3165824 C153.904491,12.1226567 153.904491,11.8082411 154.099753,11.6143154 C154.295015,11.4203897 154.611598,11.4203897 154.80686,11.6143154 L158.77099,15.5513125 C158.800234,15.5700781 158.827937,15.5921813 158.853553,15.6176219 C159.048816,15.8115476 159.048816,16.1259632 158.853553,16.3198889 L154.822425,20.3234269 C154.627162,20.5173525 154.31058,20.5173525 154.115318,20.3234269 C153.920056,20.1295012 153.920056,19.8150855 154.115318,19.6211598 L157.784994,15.9766001 L157.784994,15.9766001 Z M145.060034,15.7933034 C144.957502,15.9827992 144.986306,16.2245417 145.146447,16.3846823 C145.191179,16.4294143 145.242278,16.4638988 145.296826,16.4881358 L149.19314,20.3844492 C149.388402,20.5797114 149.704985,20.5797114 149.900247,20.3844492 C150.095509,20.1891871 150.095509,19.8726046 149.900247,19.6773425 L146.23057,16.0076657 L149.884682,12.3535534 C150.079944,12.1582912 150.079944,11.8417088 149.884682,11.6464466 C149.68942,11.4511845 149.372838,11.4511845 149.177575,11.6464466 L145.244575,15.5794472 C145.215331,15.5983422 145.187627,15.6205976 145.162011,15.6462136 C145.11818,15.6900451 145.084187,15.7399899 145.060034,15.7933034 L145.060034,15.7933034 L145.060034,15.7933034 Z" id="Line" fill="#000000" sketch:type="MSShapeGroup"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
data/icons/image.svg ADDED
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.2 (9961) - http://www.bohemiancoding.com/sketch -->
4
+ <title>camera</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Group" sketch:type="MSLayerGroup" transform="translate(-62.000000, -8.000000)">
9
+ <rect id="Rectangle-23" stroke="#979797" sketch:type="MSShapeGroup" x="54" y="0" width="32" height="32" rx="40"></rect>
10
+ <path d="M66.6,11 L63.9940603,11 C62.8945138,11 62,11.8918564 62,12.992017 L62,20.007983 C62,21.0998238 62.8927712,22 63.9940603,22 L76.0059397,22 C77.1054862,22 78,21.1081436 78,20.007983 L78,12.992017 C78,11.9001762 77.1072288,11 76.0059397,11 L73.4,11 L73.3923564,10.9617818 C73.1741867,9.87093353 72.1055038,9 71.0020869,9 L68.9979131,9 C67.8982606,9 66.8243361,9.87831961 66.6076436,10.9617818 L66.6,11 Z M67.4237976,12 L64.0068455,12 C63.4499488,12 63,12.446616 63,12.9975446 L63,20.0024554 C63,20.5536886 63.4507801,21 64.0068455,21 L75.9931545,21 C76.5500512,21 77,20.553384 77,20.0024554 L77,12.9975446 C77,12.4463114 76.5492199,12 75.9931545,12 L72.5741578,12 L72.3575338,10.9785101 C72.2440449,10.4433532 71.7032593,10 71.1521466,10 L68.8454731,10 C68.2918258,10 67.7547637,10.4380939 67.6402501,10.9785101 L67.4237976,12 Z M67,16 C67,14.3431458 68.3465171,13 70,13 C71.6568542,13 73,14.3465171 73,16 C73,17.6568542 71.6534829,19 70,19 C68.3431458,19 67,17.6534829 67,16 Z M68,16 C68,14.8954305 68.8877296,14 70,14 C71.1045695,14 72,14.8877296 72,16 C72,17.1045695 71.1122704,18 70,18 C68.8954305,18 68,17.1122704 68,16 Z" id="Rectangle-22" fill="#000000" sketch:type="MSShapeGroup"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
data/icons/plus.svg ADDED
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.2 (9961) - http://www.bohemiancoding.com/sketch -->
4
+ <title>more</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Group" sketch:type="MSLayerGroup" transform="translate(-8.000000, -8.000000)">
9
+ <rect id="Rectangle-23" stroke="#979797" sketch:type="MSShapeGroup" x="0" y="0" width="32" height="32" rx="40"></rect>
10
+ <path d="M16.5,16.5 L16.5,22.363961 C16.5,22.6401034 16.2761424,22.863961 16,22.863961 C15.7238576,22.863961 15.5,22.6401034 15.5,22.363961 L15.5,16.5 L9.63603897,16.5 C9.35989659,16.5 9.13603897,16.2761424 9.13603897,16 C9.13603897,15.7238576 9.35989659,15.5 9.63603897,15.5 L15.5,15.5 L15.5,9.63603897 C15.5,9.35989659 15.7238576,9.13603897 16,9.13603897 C16.2761424,9.13603897 16.5,9.35989659 16.5,9.63603897 L16.5,15.5 L22.363961,15.5 C22.6401034,15.5 22.863961,15.7238576 22.863961,16 C22.863961,16.2761424 22.6401034,16.5 22.363961,16.5 L16.5,16.5 L16.5,16.5 Z" id="Line" fill="#000000" sketch:type="MSShapeGroup"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
data/icons/video.svg ADDED
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.2 (9961) - http://www.bohemiancoding.com/sketch -->
4
+ <title>media</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Group" sketch:type="MSLayerGroup" transform="translate(-103.000000, -8.000000)">
9
+ <rect id="Rectangle-23" stroke="#979797" sketch:type="MSShapeGroup" x="95" y="0" width="32" height="32" rx="40"></rect>
10
+ <path d="M107,11.1318944 C107,10.0292777 107.735324,9.64023121 108.651297,10.2690478 L115.348703,14.8668273 C116.260689,15.492907 116.264676,16.5052457 115.348703,17.1340624 L108.651297,21.7318418 C107.739311,22.3579215 107,21.9645938 107,20.8689953 L107,11.1318944 Z M108,11.020874 L114.659302,15.6066284 C115.136292,15.9230347 115.125427,16.0910034 114.659302,16.404602 L108,21.0145874 L108,11.020874 Z" id="Rectangle-20" fill="#000000" sketch:type="MSShapeGroup"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
@@ -1,5 +1,5 @@
1
1
  require "dante-editor/version"
2
2
 
3
3
  module DanteEditor
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
@@ -0,0 +1,51 @@
1
+ $color-brand: #1abf89;
2
+ $gutter: 30px;
3
+
4
+ #header {
5
+ display: block;
6
+ z-index: 500;
7
+ width: 100%;
8
+ font-size: 14px;
9
+ color: rgba(0,0,0,0.3);
10
+ font-family: "jaf-bernino-sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
11
+ letter-spacing: -0.02em;
12
+ font-weight: 400;
13
+ font-style: normal;
14
+ box-sizing: border-box;
15
+ -webkit-transition: 200ms background-color,200ms color;
16
+ transition: 200ms background-color,200ms color;
17
+ position: fixed;
18
+ top: 0;
19
+ height: 65px;
20
+ background: rgba(255,255,255,0.97);
21
+ box-shadow: 0 0 1px rgba(0,0,0,0.15);
22
+ }
23
+
24
+ article {
25
+ margin-top: 140px;
26
+ }
27
+
28
+ .logo {
29
+ & {
30
+ display: inline-block;
31
+ }
32
+ img {
33
+ margin: 22px 14px 22px 20px;
34
+ }
35
+ span {
36
+ vertical-align: top;
37
+ border-left: 1px solid rgba(0,0,0,0.15);
38
+ padding: 5px 14px;
39
+ margin: 20px 0;
40
+ display: inline-block;
41
+ }
42
+ }
43
+
44
+ .github {
45
+ & {
46
+ float: right;
47
+ line-height: 0;
48
+ margin-top: 19px;
49
+ margin-right: 20px;
50
+ }
51
+ }
@@ -2,61 +2,4 @@
2
2
 
3
3
  @import "scaffold";
4
4
  @import "tooltips";
5
-
6
- $color-brand: #1abf89;
7
- $gutter: 30px;
8
-
9
- #header {
10
- display: block;
11
- z-index: 500;
12
- width: 100%;
13
- font-size: 14px;
14
- color: rgba(0,0,0,0.3);
15
- font-family: "jaf-bernino-sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
16
- letter-spacing: -0.02em;
17
- font-weight: 400;
18
- font-style: normal;
19
- box-sizing: border-box;
20
- -webkit-transition: 200ms background-color,200ms color;
21
- transition: 200ms background-color,200ms color;
22
- position: fixed;
23
- top: 0;
24
- height: 65px;
25
- background: rgba(255,255,255,0.97);
26
- box-shadow: 0 0 1px rgba(0,0,0,0.15);
27
- }
28
-
29
- article {
30
- margin-top: 140px;
31
- }
32
-
33
- .logo {
34
- & {
35
- display: inline-block;
36
- }
37
- img {
38
- margin: 22px 14px 22px 20px;
39
- }
40
- span {
41
- vertical-align: top;
42
- border-left: 1px solid rgba(0,0,0,0.15);
43
- padding: 5px 14px;
44
- margin: 20px 0;
45
- display: inline-block;
46
- }
47
- }
48
-
49
- .github {
50
- & {
51
- float: right;
52
- font-size: 32px;
53
- color: $color-brand;
54
- line-height: 0;
55
- margin-top: 19px;
56
- margin-right: 24px;
57
- }
58
- i {
59
- position: relative;
60
- top: -2px;
61
- }
62
- }
5
+ @import "layout";
@@ -4,7 +4,6 @@
4
4
  <meta charset="utf-8">
5
5
  <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
6
6
  <title><%= current_page.data.title || "The Middleman" %></title>
7
- <%= stylesheet_link_tag "http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css" %>
8
7
  <%= stylesheet_link_tag "normalize", "all", "editor" %>
9
8
  <%= javascript_include_tag "deps", "editor" %>
10
9
  </head>
@@ -16,7 +15,9 @@
16
15
  <img src="assets/images/dante-editor-logo.png" alt="dante editor" height="21" >
17
16
  <span>Dante Editor</span>
18
17
  </div>
19
- <a class="github tooltip-left" data-tooltip="Fork me on github" target="_blank" href="https://github.com/michelson/dante"><i class="fa fa-github"></i></a>
18
+ <a class="github tooltip-left" data-tooltip="Fork me on github" target="_blank" href="https://github.com/michelson/dante">
19
+ <img src="assets/images/github-logo.png" alt="Fork me on github" height="28" >
20
+ </a>
20
21
  </div>
21
22
 
22
23
  <%= yield %>
@@ -5,7 +5,6 @@
5
5
  <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
6
6
  <title>Dante Wysiwyg Specs</title>
7
7
  <link rel="stylesheet" href="//code.jquery.com/qunit/qunit-1.15.0.css">
8
- <%= stylesheet_link_tag "http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css" %>
9
8
  <%= stylesheet_link_tag "normalize", "all", "editor" %>
10
9
  <%= javascript_include_tag "deps", "editor" %>
11
10
  </head>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dante-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Michelson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-12 00:00:00.000000000 Z
12
+ date: 2014-12-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: dante-editor yet another Medium editor clone.
15
15
  email:
@@ -28,6 +28,10 @@ files:
28
28
  - README.md
29
29
  - ROADMAP.md
30
30
  - TODO.md
31
+ - app/assets/fonts/dante.eot
32
+ - app/assets/fonts/dante.svg
33
+ - app/assets/fonts/dante.ttf
34
+ - app/assets/fonts/dante.woff
31
35
  - app/assets/fonts/fontello.eot
32
36
  - app/assets/fonts/fontello.svg
33
37
  - app/assets/fonts/fontello.ttf
@@ -61,12 +65,18 @@ files:
61
65
  - config.rb
62
66
  - config.ru
63
67
  - dante-editor.gemspec
68
+ - icons/dante.json
69
+ - icons/embed.svg
70
+ - icons/image.svg
71
+ - icons/plus.svg
72
+ - icons/video.svg
64
73
  - lib/dante-editor.rb
65
74
  - lib/dante-editor/rails.rb
66
75
  - lib/dante-editor/version.rb
67
76
  - license.md
68
77
  - rakefile
69
78
  - source/assets/images/dante-editor-logo.png
79
+ - source/assets/images/github-logo.png
70
80
  - source/assets/javascripts/all.js
71
81
  - source/assets/javascripts/deps.js
72
82
  - source/assets/javascripts/editor.js
@@ -74,6 +84,7 @@ files:
74
84
  - source/assets/javascripts/specs/cleaner.js.coffee
75
85
  - source/assets/javascripts/specs/dante_view.js.coffee
76
86
  - source/assets/javascripts/specs/editor.js.coffee
87
+ - source/assets/stylesheets/_layout.scss
77
88
  - source/assets/stylesheets/_scaffold.scss
78
89
  - source/assets/stylesheets/_tooltips.scss
79
90
  - source/assets/stylesheets/all.css.scss