dante-editor 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +2 -0
  5. data/ROADMAP.md +1 -1
  6. data/TODO.md +1 -0
  7. data/app/assets/javascripts/dante/dante.js.coffee.erb +1 -0
  8. data/app/assets/javascripts/dante/editor.js.coffee +50 -57
  9. data/app/assets/javascripts/dante/menu.js.coffee +11 -11
  10. data/app/assets/javascripts/dante/popover.js.coffee +76 -0
  11. data/app/assets/javascripts/dante.js +1 -0
  12. data/app/assets/stylesheets/dante/_caption.scss +52 -0
  13. data/app/assets/stylesheets/dante/_graf.scss +101 -29
  14. data/app/assets/stylesheets/dante/_media.scss +39 -0
  15. data/app/assets/stylesheets/dante/_needsorder.scss +92 -90
  16. data/app/assets/stylesheets/dante/_popover.scss +134 -0
  17. data/app/assets/stylesheets/dante/_post.scss +43 -2
  18. data/app/assets/stylesheets/dante/_scaffold.scss +1 -0
  19. data/app/assets/stylesheets/dante/_variables.scss +3 -1
  20. data/app/assets/stylesheets/dante.css.scss +3 -0
  21. data/lib/dante-editor/version.rb +1 -1
  22. data/source/assets/images/dante-editor-logo.png +0 -0
  23. data/source/assets/stylesheets/_scaffold.scss +1 -5
  24. data/source/assets/stylesheets/_tooltips.scss +2 -2
  25. data/source/assets/stylesheets/all.css.scss +39 -36
  26. data/source/index.html.erb +7 -8
  27. data/source/layouts/layout.erb +6 -5
  28. metadata +7 -8
  29. data/app/assets/stylesheets/temp/fonts.css.scss +0 -80
  30. data/app/assets/stylesheets/temp/medium.css +0 -12404
  31. data/app/assets/stylesheets/temp/review.scss +0 -21
  32. data/app/assets/stylesheets/temp/structure.haml +0 -22
  33. data/source/assets/images/dante-logo.png +0 -0
  34. data/source/assets/images/icon-logo.png +0 -0
@@ -13,6 +13,12 @@
13
13
  margin: 0;
14
14
  }
15
15
 
16
+ .graf--p,
17
+ .graf--blockquote,
18
+ .graf--pullquote {
19
+ margin-bottom: 30px;
20
+ }
21
+
16
22
  .graf--h2 {
17
23
  font-family: $sans;
18
24
  font-size: 60px;
@@ -49,6 +55,17 @@
49
55
  margin-bottom: 2px;
50
56
  }
51
57
 
58
+ .section--first .graf--h2.graf--first,
59
+ .section--first .graf--h3.graf--first,
60
+ .section--first .graf--h4.graf--first {
61
+ margin-top: 0;
62
+ padding-top: 0;
63
+ }
64
+
65
+ .graf--h2 + .graf--h2 {
66
+ margin-top: -8px;
67
+ }
68
+
52
69
  .graf--h2 + .graf--h3,
53
70
  .graf--h2 + .graf--h4 {
54
71
  margin-top: -6px;
@@ -64,29 +81,68 @@
64
81
  margin-top: -2px;
65
82
  }
66
83
 
84
+ .graf--h2 + .postList,
85
+ .graf--h3 + .postList,
86
+ .graf--h4 + .postList {
87
+ margin-top: 10px;
88
+ }
89
+
90
+ .graf--h2 + .graf--p.graf--empty,
91
+ .graf--h3 + .graf--p.graf--empty,
92
+ .graf--h4 + .graf--p.graf--empty {
93
+ margin-bottom: -7px;
94
+ margin-top: -7px;
95
+ }
96
+
97
+ .graf--h2 + .graf--p.graf--empty + .graf--h2,
98
+ .graf--h3 + .graf--p.graf--empty + .graf--h2,
99
+ .graf--h4 + .graf--p.graf--empty + .graf--h2 {
100
+ margin-top: -5px;
101
+ }
102
+
67
103
  .graf--h2 + .graf--p.graf--empty + .graf--h3,
68
104
  .graf--h3 + .graf--p.graf--empty + .graf--h3,
105
+ .graf--h4 + .graf--p.graf--empty + .graf--h3,
69
106
  .graf--h2 + .graf--p.graf--empty + .graf--h4,
70
107
  .graf--h3 + .graf--p.graf--empty + .graf--h4,
71
108
  .graf--h4 + .graf--p.graf--empty + .graf--h4 {
72
109
  margin-top: -8px;
73
110
  }
74
111
 
75
- .graf--h4 + .graf--figure,
76
- .graf--h3 + .graf--figure,
77
- .graf--h2 + .graf--figure {
78
- margin-top: 15px;
112
+
113
+ .graf--blockquote {
114
+ font-family: $font-family-serif;
115
+ border-left: 3px solid rgba(0, 0, 0, 0.8);
116
+ font-style: italic;
117
+ font-weight: 400;
118
+ letter-spacing: 0.01rem;
119
+ margin-left: -23px;
120
+ padding-bottom: 3px;
121
+ padding-left: 20px;
122
+ }
123
+ .graf--blockquote + .graf--blockquote {
124
+ margin-top: -30px;
125
+ padding-top: 30px;
79
126
  }
80
127
 
81
- .graf--p,
82
- .graf--blockquote,
83
128
  .graf--pullquote {
84
- margin-bottom: 30px;
129
+ line-height: 1.4;
130
+ text-align: center;
131
+ font-size: 32px;
132
+ margin: 48px -160px;
133
+ border: none;
134
+ padding: 0;
135
+ font-family: $font-family-serif;
136
+ letter-spacing: 0.01rem;
137
+ font-weight: 400;
138
+ font-style: italic;
139
+ -webkit-transition: margin 100ms;
140
+ transition: margin 100ms;
85
141
  }
86
142
 
87
143
  .graf--pre {
88
144
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.05);
89
- font-family: Monaco,"Courier New","Courier",monospace;
145
+ font-family: $font-family-mono;
90
146
  font-size: 16px;
91
147
  margin-bottom: 20px;
92
148
  padding: 20px;
@@ -96,36 +152,52 @@
96
152
  margin-top: -20px;
97
153
  }
98
154
 
99
- .graf--blockquote {
100
- border-left: 3px solid rgba(0, 0, 0, 0.8);
101
- font-family: $serif;
102
- font-style: italic;
103
- font-weight: 400;
104
- letter-spacing: 0.01rem;
105
- margin-left: -23px;
106
- padding-bottom: 3px;
107
- padding-left: 20px;
155
+ .graf--figure {
156
+ & {
157
+ box-sizing: border-box;
158
+ clear: both;
159
+ margin-bottom: 30px;
160
+ outline: medium none;
161
+ position: relative;
162
+ }
163
+ &.is-mediaFocused .graf-image,
164
+ &.is-mediaFocused iframe {
165
+ box-shadow: 0 0 0 3px #57ad68;
166
+ }
108
167
  }
109
- .graf--blockquote + .graf--blockquote {
110
- margin-top: -30px;
111
- padding-top: 30px;
168
+
169
+ .graf--mixtapeEmbed {
170
+ a {
171
+ text-decoration: none;
172
+ }
112
173
  }
113
174
 
114
- .graf--figure {
115
- box-sizing: border-box;
116
- clear: both;
117
- margin-bottom: 30px;
118
- outline: medium none;
119
- position: relative;
175
+ .graf--h4 + .graf--figure,
176
+ .graf--h3 + .graf--figure,
177
+ .graf--h2 + .graf--figure {
178
+ margin-top: 15px;
120
179
  }
121
180
 
122
181
  .graf--first {
123
182
  margin-top: 0;
124
183
  padding-top: 0;
125
184
  }
126
- .graf--empty {
127
- margin-bottom: -7px;
128
- margin-top: -7px;
185
+
186
+ p[data-align="center"],
187
+ .graf--h2[data-align="center"],
188
+ .graf--h3[data-align="center"],
189
+ .graf--h4[data-align="center"],
190
+ .graf--blockquote[data-align="center"] {
191
+ text-align: center;
192
+ }
193
+
194
+ .markup--anchor,
195
+ .graf--sectionCaption {
196
+ cursor: text;
197
+ }
198
+ .markup--anchor {
199
+ text-decoration: underline;
200
+ color: inherit;
129
201
  }
130
202
 
131
203
  @media (max-width: 500px) {
@@ -0,0 +1,39 @@
1
+ .aspectRatioPlaceholder {
2
+ margin: 0 auto;
3
+ position: relative;
4
+ width: 100%;
5
+ }
6
+
7
+ .graf-image:before,
8
+ .iframeContainer:before {
9
+ .is-postEditMode & {
10
+ bottom: 0;
11
+ content: "";
12
+ left: 0;
13
+ position: absolute;
14
+ right: 0;
15
+ top: 0;
16
+ z-index: 500;
17
+ }
18
+ }
19
+
20
+ .graf-image,
21
+ .graf-imageAnchor {
22
+ .aspectRatioPlaceholder.is-locked & {
23
+ height: 100%;
24
+ left: 0;
25
+ position: absolute;
26
+ top: 0;
27
+ width: 100%;
28
+ }
29
+ }
30
+
31
+ .graf-image,
32
+ .graf-imageAnchor,
33
+ .iframeContainer > iframe,
34
+ .iframeContainer {
35
+ box-sizing: border-box;
36
+ display: block;
37
+ margin: auto;
38
+ max-width: 100%;
39
+ }
@@ -1,9 +1,10 @@
1
1
 
2
- .markup--anchor,
3
- .graf--sectionCaption {
2
+ .editable .markup--anchor,
3
+ .editable .graf--sectionCaption {
4
4
  cursor: text;
5
5
  }
6
6
 
7
+ /*
7
8
  .markup--anchor {
8
9
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 50%);
9
10
  //background-position: 0 24px;
@@ -18,49 +19,49 @@
18
19
  h4 .markup--anchor {
19
20
  background-position: 0 34px;
20
21
  }
21
-
22
-
23
-
24
- .aspectRatioPlaceholder {
25
- margin: 0 auto;
26
- position: relative;
27
- width: 100%;
28
- }
29
-
30
- .is-postEditMode .graf-image:before,
31
- .is-postEditMode .iframeContainer:before {
32
- bottom: 0;
33
- content: "";
34
- left: 0;
35
- position: absolute;
36
- right: 0;
37
- top: 0;
38
- z-index: 500;
39
- }
40
-
41
- .graf--figure.is-mediaFocused .graf-image,
42
- .graf--figure.is-mediaFocused iframe {
43
- box-shadow: 0 0 0 3px #57ad68;
44
- }
45
-
46
- .aspectRatioPlaceholder.is-locked .graf-image,
47
- .aspectRatioPlaceholder.is-locked .graf-imageAnchor {
48
- height: 100%;
49
- left: 0;
50
- position: absolute;
51
- top: 0;
52
- width: 100%;
53
- }
54
-
55
- .graf-image,
56
- .graf-imageAnchor,
57
- .iframeContainer > iframe,
58
- .iframeContainer {
59
- box-sizing: border-box;
60
- display: block;
61
- margin: auto;
62
- max-width: 100%;
63
- }
22
+ */
23
+
24
+
25
+ // .aspectRatioPlaceholder {
26
+ // margin: 0 auto;
27
+ // position: relative;
28
+ // width: 100%;
29
+ // }
30
+
31
+ // .is-postEditMode .graf-image:before,
32
+ // .is-postEditMode .iframeContainer:before {
33
+ // bottom: 0;
34
+ // content: "";
35
+ // left: 0;
36
+ // position: absolute;
37
+ // right: 0;
38
+ // top: 0;
39
+ // z-index: 500;
40
+ // }
41
+
42
+ // .graf--figure.is-mediaFocused .graf-image,
43
+ // .graf--figure.is-mediaFocused iframe {
44
+ // box-shadow: 0 0 0 3px #57ad68;
45
+ // }
46
+
47
+ // .aspectRatioPlaceholder.is-locked .graf-image,
48
+ // .aspectRatioPlaceholder.is-locked .graf-imageAnchor {
49
+ // height: 100%;
50
+ // left: 0;
51
+ // position: absolute;
52
+ // top: 0;
53
+ // width: 100%;
54
+ // }
55
+
56
+ // .graf-image,
57
+ // .graf-imageAnchor,
58
+ // .iframeContainer > iframe,
59
+ // .iframeContainer {
60
+ // box-sizing: border-box;
61
+ // display: block;
62
+ // margin: auto;
63
+ // max-width: 100%;
64
+ // }
64
65
 
65
66
  .is-postEditMode iframe {
66
67
  border: 3px solid rgba(255, 255, 255, 0);
@@ -134,44 +135,45 @@ h4 .markup--anchor {
134
135
 
135
136
  /*CAPTION*/
136
137
 
137
- .imageCaption:before {
138
- border-top: 1px solid rgba(0, 0, 0, 0.15);
139
- content: "";
140
- display: block;
141
- margin-bottom: 10px;
142
- margin-left: 75%;
143
- width: 25%;
144
- }
145
-
146
- .imageCaption {
147
- color: rgba(0, 0, 0, 0.6);
148
- font-family: $serif;
149
- font-size: 14px;
150
- font-style: italic;
151
- font-weight: 400;
152
- left: -172px;
153
- letter-spacing: 0.01rem;
154
- line-height: 1.4;
155
- margin-top: 0;
156
- outline: 0 none;
157
- position: absolute;
158
- text-align: right;
159
- top: 0;
160
- width: 150px;
161
- z-index: 300;
162
- }
163
138
 
164
- .graf--figure.is-mediaFocused .imageCaption,
165
- .graf--figure.is-defaultValue.is-selected .imageCaption,
166
- section.is-mediaFocused .graf--sectionCaption,
167
- .graf--sectionCaption.is-defaultValue.is-selected {
168
- display: block;
169
- }
170
-
171
- figure.is-defaultValue .imageCaption,
172
- .graf--sectionCaption.is-defaultValue {
173
- display: none;
174
- }
139
+ // .imageCaption:before {
140
+ // border-top: 1px solid rgba(0, 0, 0, 0.15);
141
+ // content: "";
142
+ // display: block;
143
+ // margin-bottom: 10px;
144
+ // margin-left: 75%;
145
+ // width: 25%;
146
+ // }
147
+
148
+ // .imageCaption {
149
+ // color: rgba(0, 0, 0, 0.6);
150
+ // font-family: $serif;
151
+ // font-size: 14px;
152
+ // font-style: italic;
153
+ // font-weight: 400;
154
+ // left: -172px;
155
+ // letter-spacing: 0.01rem;
156
+ // line-height: 1.4;
157
+ // margin-top: 0;
158
+ // outline: 0 none;
159
+ // position: absolute;
160
+ // text-align: right;
161
+ // top: 0;
162
+ // width: 150px;
163
+ // z-index: 300;
164
+ // }
165
+
166
+ // .graf--figure.is-mediaFocused .imageCaption,
167
+ // .graf--figure.is-defaultValue.is-selected .imageCaption,
168
+ // section.is-mediaFocused .graf--sectionCaption,
169
+ // .graf--sectionCaption.is-defaultValue.is-selected {
170
+ // display: block;
171
+ // }
172
+
173
+ // figure.is-defaultValue .imageCaption,
174
+ // .graf--sectionCaption.is-defaultValue {
175
+ // display: none;
176
+ // }
175
177
 
176
178
  .editor a {
177
179
  a {
@@ -188,15 +190,15 @@ section:first-child > .section-divider,
188
190
  section.is-backgrounded + section > .section-divider {
189
191
  display: none;
190
192
  }
191
- .postArticle .layoutSingleColumn,
192
- .postFooter--loggedOut .layoutSingleColumn {
193
- width: 700px;
194
- }
193
+ // .postArticle .layoutSingleColumn,
194
+ // .postFooter--loggedOut .layoutSingleColumn {
195
+ // width: 700px;
196
+ // }
195
197
 
196
- .layoutSingleColumn {
197
- margin: 0 auto;
198
- width: 640px;
199
- }
198
+ // .layoutSingleColumn {
199
+ // margin: 0 auto;
200
+ // width: 640px;
201
+ // }
200
202
 
201
203
  .defaultValue--prompt {
202
204
  font-family: $sans;
@@ -0,0 +1,134 @@
1
+ .popover {
2
+ overflow: hidden;
3
+ position: absolute;
4
+ z-index: 900;
5
+ visibility: visible;
6
+ font-size: 12px;
7
+ text-align: center;
8
+ opacity: 0;
9
+ pointer-events: auto;
10
+ padding: 15px;
11
+
12
+ font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
13
+ letter-spacing: -0.02em;
14
+ font-weight: 400;
15
+ font-style: normal;
16
+ line-height: 1.4;
17
+ &.is-active {
18
+ opacity: 1;
19
+ }
20
+ }
21
+
22
+ .popover-inner {
23
+ position: relative;
24
+ max-width: 280px;
25
+ border-radius: 4px;
26
+ padding: 8px;
27
+ a {
28
+ color: inherit;
29
+ text-decoration: none;
30
+ }
31
+ }
32
+
33
+ .popover--tooltip {
34
+ pointer-events: none;
35
+ }
36
+
37
+ .popover--linkTooltip {
38
+ pointer-events: auto;
39
+ z-index: 300;
40
+ word-break: break-word;
41
+ word-wrap: break-word;
42
+ }
43
+
44
+
45
+ /*
46
+ .popover.is-withTransition {
47
+ -webkit-transition:opacity 100ms ease;
48
+ transition:opacity 100ms ease;
49
+ }
50
+
51
+ .is-resizing .popover {
52
+ opacity:0;
53
+ -webkit-transition:opacity 0 ease;
54
+ transition:opacity 0 ease;
55
+ }
56
+ */
57
+
58
+ .popover-inner {
59
+ background-color: rgba(0,0,0,0.8);
60
+ color: #fff;
61
+ }
62
+ .popover-arrow {
63
+ position: absolute;
64
+ }
65
+ .popover-arrow:after {
66
+ background-color: rgba(0,0,0,0.8);
67
+ }
68
+
69
+ .popover--top .popover-arrow,
70
+ .popover--bottom .popover-arrow {
71
+ left: 50%;
72
+ margin-left: -7px;
73
+ }
74
+
75
+ .popover--left .popover-arrow,
76
+ .popover--right .popover-arrow {
77
+ top: 50%;
78
+ margin-top: -7px;
79
+ }
80
+
81
+ .popover--top .popover-arrow {
82
+ bottom: 1px;
83
+ clip: rect(0 18px 18px 4px);
84
+ }
85
+
86
+ .popover--right .popover-arrow {
87
+ left: 1px;
88
+ clip: rect(-4px 14px 18px 0);
89
+ }
90
+
91
+ .popover--bottom .popover-arrow {
92
+ top: 1px;
93
+ clip: rect(0 18px 14px -1px);
94
+ }
95
+
96
+ .popover--left .popover-arrow {
97
+ right: 1px;
98
+ clip: rect(-4px 14px 18px 0);
99
+ }
100
+
101
+ .popover-arrow:after {
102
+ content: '';
103
+ display: block;
104
+ width: 14px;
105
+ height: 14px;
106
+ }
107
+
108
+ .popover--top .popover-arrow:after {
109
+ -webkit-transform: rotate(45deg) translate(-5px,-5px);
110
+ -ms-transform: rotate(45deg) translate(-5px,-5px);
111
+ transform: rotate(45deg) translate(-5px,-5px);
112
+ box-shadow: 1px 1px 1px -1px rgba(0,0,0,0.8);
113
+ }
114
+
115
+ .popover--right .popover-arrow:after {
116
+ -webkit-transform: rotate(45deg) translate(6px,-6px);
117
+ -ms-transform: rotate(45deg) translate(6px,-6px);
118
+ transform: rotate(45deg) translate(6px,-6px);
119
+ box-shadow: -1px 1px 1px -1px rgba(0,0,0,0.8);
120
+ }
121
+
122
+ .popover--bottom .popover-arrow:after {
123
+ -webkit-transform: rotate(45deg) translate(6px,6px);
124
+ -ms-transform: rotate(45deg) translate(6px,6px);
125
+ transform: rotate(45deg) translate(6px,6px);
126
+ box-shadow: -1px -1px 1px -1px rgba(0,0,0,0.44);
127
+ }
128
+
129
+ .popover--left .popover-arrow:after {
130
+ -webkit-transform: rotate(45deg) translate(-6px,6px);
131
+ -ms-transform: rotate(45deg) translate(-6px,6px);
132
+ transform: rotate(45deg) translate(-6px,6px);
133
+ box-shadow: 1px -1px 1px -1px rgba(0,0,0,0.8);
134
+ }
@@ -1,12 +1,45 @@
1
+ .postArticle {
2
+ position: relative;
3
+ -webkit-transform: translateZ(0);
4
+ transform: translateZ(0);
5
+ .layoutSingleColumn {
6
+ & {
7
+ width: 700px;
8
+ margin-left: auto;
9
+ margin-right: auto;
10
+ }
11
+ @media (max-width: 800px) {
12
+ width: 640px;
13
+ }
14
+ @media (max-width: 680px) {
15
+ width: auto;
16
+ margin-left: 20px;
17
+ margin-right: 20px;
18
+ }
19
+ }
20
+ }
21
+
22
+ .postWrapper,
23
+ .postWrapper-inner {
24
+ position: relative;
25
+ @include clearfix;
26
+ }
27
+
28
+ .postWrapper {
29
+ overflow: hidden;
30
+
31
+ .is-postEditMode & { display: none; }
32
+ .is-postEditModeInitialized & { display: block; }
33
+ }
34
+
1
35
  .postContent {
2
36
  font-family: $font-family-serif;
3
37
  letter-spacing: 0.01rem;
4
38
  font-weight: 400;
5
39
  font-style: normal;
6
40
  //font-size: 22px;
41
+ //line-height: 1.5;
7
42
  font-size: 19px;
8
- //line-height: 1.4;
9
- letter-spacing: 0.01rem;
10
43
  line-height: 1.69;
11
44
  }
12
45
 
@@ -23,6 +56,14 @@
23
56
  margin-bottom: 30px;
24
57
  }
25
58
 
59
+ .section--last {
60
+ padding-bottom: 5px;
61
+ }
62
+
26
63
  .section-content {
27
64
  @include clearfix;
28
65
  }
66
+
67
+ .section-inner {
68
+ position: relative;
69
+ }
@@ -8,6 +8,7 @@
8
8
  text-rendering: optimizeLegibility;
9
9
  -webkit-font-smoothing: antialiased;
10
10
  -moz-osx-font-smoothing: grayscale;
11
+ -moz-font-feature-settings: liga on;
11
12
  }
12
13
 
13
14
  *,
@@ -1,12 +1,14 @@
1
1
  $font-family-sans: 'jaf-bernino-sans', 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
2
2
  $font-family-serif: 'freight-text-pro', 'Merriweather', Georgia,Cambria, "Times New Roman", Times,serif;
3
- $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
3
+ $font-family-mono: Menlo, Monaco, Consolas, "Courier New", "Courier", monospace;
4
4
 
5
5
  $font-family-base: $font-family-sans;
6
6
  $font-size-base: 14px;
7
7
  $line-height-base: 1.428571429; // 20/14
8
8
  //$line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
9
9
 
10
+ $active-color: #57AD68;
11
+
10
12
  $debugger: false;
11
13
 
12
14
  $menu-height: 45px;
@@ -9,7 +9,10 @@
9
9
  @import "dante/icons";
10
10
  @import "dante/menu";
11
11
  @import "dante/tooltip";
12
+ @import "dante/popover";
12
13
  @import "dante/graf";
14
+ @import "dante/media";
15
+ @import "dante/caption";
13
16
  @import "dante/needsorder";
14
17
 
15
18
  @import "dante/debug";
@@ -1,5 +1,5 @@
1
1
  require "dante-editor/version"
2
2
 
3
3
  module DanteEditor
4
- VERSION = "0.0.4"
4
+ VERSION = "0.0.5"
5
5
  end
@@ -5,8 +5,4 @@
5
5
  box-sizing: border-box;
6
6
  }
7
7
 
8
- html,
9
- body {
10
- font-size: 100%;
11
- height: 100%; // Must be 100% for off canvas to work
12
- }
8
+
@@ -69,12 +69,12 @@ $tooltip-arrow-height: $tooltip-arrow-size * 2;
69
69
  [data-tooltip]:after {
70
70
  white-space: nowrap;
71
71
  z-index: 1000;
72
- padding: 8px;
72
+ padding: 7px 8px;
73
73
  background-color: #000;
74
74
  background-color: hsla(0, 0%, 20%, 0.9);
75
75
  color: #fff;
76
76
  content: attr(data-tooltip);
77
- font-size: 14px;
77
+ font-size: 12px;
78
78
  line-height: 1.2;
79
79
  border-radius: 3px;
80
80
  }