Skip to content

Commit

Permalink
5.0.0-alpha.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nmielnik committed Jun 5, 2015
1 parent f15b31b commit 51f6b3e
Show file tree
Hide file tree
Showing 11 changed files with 815 additions and 1,610 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-editor",
"version": "4.12.0",
"version": "5.0.0-alpha.0",
"homepage": "http://yabwe.github.io/medium-editor/",
"authors": [
"Davi Ferreira <hi@daviferreira.com>",
Expand Down
263 changes: 130 additions & 133 deletions dist/css/medium-editor.css
Original file line number Diff line number Diff line change
@@ -1,140 +1,158 @@
.clearfix:after {
display: block;
visibility: hidden;
clear: both;
height: 0;
content: " ";
font-size: 0; }
@-webkit-keyframes medium-editor-image-loading {
0% {
-webkit-transform: scale(0);
transform: scale(0); }
100% {
-webkit-transform: scale(1);
transform: scale(1); } }

@keyframes medium-editor-image-loading {
0% {
-webkit-transform: scale(0);
transform: scale(0); }
100% {
-webkit-transform: scale(1);
transform: scale(1); } }

@-webkit-keyframes pop-upwards {
@-webkit-keyframes medium-editor-pop-upwards {
0% {
opacity: 0;
-webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
transform: matrix(0.97, 0, 0, 1, 0, 12);
opacity: 0; }
transform: matrix(0.97, 0, 0, 1, 0, 12); }
20% {
opacity: .7;
-webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
transform: matrix(0.99, 0, 0, 1, 0, 2);
opacity: .7; }
transform: matrix(0.99, 0, 0, 1, 0, 2); }
40% {
opacity: 1;
-webkit-transform: matrix(1, 0, 0, 1, 0, -1);
transform: matrix(1, 0, 0, 1, 0, -1);
opacity: 1; }
70% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; }
transform: matrix(1, 0, 0, 1, 0, -1); }
100% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; } }
transform: matrix(1, 0, 0, 1, 0, 0); } }

@keyframes pop-upwards {
@keyframes medium-editor-pop-upwards {
0% {
opacity: 0;
-webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
transform: matrix(0.97, 0, 0, 1, 0, 12);
opacity: 0; }
transform: matrix(0.97, 0, 0, 1, 0, 12); }
20% {
opacity: .7;
-webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
transform: matrix(0.99, 0, 0, 1, 0, 2);
opacity: .7; }
transform: matrix(0.99, 0, 0, 1, 0, 2); }
40% {
opacity: 1;
-webkit-transform: matrix(1, 0, 0, 1, 0, -1);
transform: matrix(1, 0, 0, 1, 0, -1);
opacity: 1; }
70% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; }
transform: matrix(1, 0, 0, 1, 0, -1); }
100% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; } }
transform: matrix(1, 0, 0, 1, 0, 0); } }

.data-medium-element sup {
vertical-align: super; }
.medium-editor-anchor-preview {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
left: 0;
line-height: 1.4;
max-width: 280px;
position: absolute;
text-align: center;
top: 0;
word-break: break-all;
word-wrap: break-word;
visibility: hidden;
z-index: 2000; }
.medium-editor-anchor-preview a {
color: #fff;
display: inline-block;
margin: 5px 5px 10px; }

.data-medium-element sub {
vertical-align: sub; }
.medium-editor-anchor-preview-active {
visibility: visible; }

.data-medium-element img {
max-width: 100%; }
.medium-editor-dragover {
background: #ddd; }

.medium-editor-hidden {
display: none; }
.medium-editor-image-loading {
-webkit-animation: medium-editor-image-loading 1s infinite ease-in-out;
animation: medium-editor-image-loading 1s infinite ease-in-out;
background-color: #333;
border-radius: 100%;
display: inline-block;
height: 40px;
width: 40px; }

.medium-editor-placeholder {
position: relative; }
.medium-editor-placeholder:after {
content: attr(data-placeholder) !important;
font-style: italic;
left: 0;
position: absolute;
top: 0;
white-space: pre; }

.medium-toolbar-arrow-under:after, .medium-toolbar-arrow-over:before {
position: absolute;
left: 50%;
border-style: solid;
content: '';
display: block;
margin-left: -8px;
width: 0;
height: 0;
border-style: solid;
content: ""; }
left: 50%;
margin-left: -8px;
position: absolute;
width: 0; }

.medium-toolbar-arrow-under:after {
border-width: 8px 8px 0 8px; }

.medium-toolbar-arrow-over:before {
top: -8px;
border-width: 0 8px 8px 8px; }
border-width: 0 8px 8px 8px;
top: -8px; }

.medium-editor-toolbar, .medium-editor-anchor-preview {
.medium-editor-toolbar {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
left: 0;
position: absolute;
top: 0;
left: 0;
z-index: 2000;
visibility: hidden;
font-size: 16px;
font-family: HelveticaNeue, Helvetica, Arial, sans-serif; }
.medium-editor-toolbar ul, .medium-editor-anchor-preview ul {
z-index: 2000; }
.medium-editor-toolbar ul {
margin: 0;
padding: 0; }
.medium-editor-toolbar li, .medium-editor-anchor-preview li {
.medium-editor-toolbar li {
float: left;
list-style: none;
margin: 0;
padding: 0;
list-style: none; }
.medium-editor-toolbar li button, .medium-editor-anchor-preview li button {
display: block;
margin: 0;
padding: 15px;
padding: 0; }
.medium-editor-toolbar li button {
box-sizing: border-box;
cursor: pointer;
display: block;
font-size: 14px;
line-height: 1.33;
text-decoration: none;
box-sizing: border-box; }
.medium-editor-toolbar li button:focus, .medium-editor-anchor-preview li button:focus {
margin: 0;
padding: 15px;
text-decoration: none; }
.medium-editor-toolbar li button:focus {
outline: none; }
.medium-editor-toolbar li .medium-editor-action-underline, .medium-editor-anchor-preview li .medium-editor-action-underline {
.medium-editor-toolbar li .medium-editor-action-underline {
text-decoration: underline; }
.medium-editor-toolbar li .medium-editor-action-pre, .medium-editor-anchor-preview li .medium-editor-action-pre {
padding: 15px 0;
font-weight: 100;
.medium-editor-toolbar li .medium-editor-action-pre {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
font-family: 'Menlo', monospace; }

.medium-editor-anchor-preview {
max-width: 280px;
word-break: break-all;
word-wrap: break-word;
text-align: center;
line-height: 1.4; }
.medium-editor-anchor-preview a {
display: inline-block;
margin: 5px 5px 5px 10px;
color: #fff; }
font-weight: 100;
padding: 15px 0; }

.medium-editor-toolbar-active, .medium-editor-anchor-preview-active {
.medium-editor-toolbar-active {
visibility: visible; }

.sticky-toolbar {
.medium-editor-sticky-toolbar {
position: fixed;
top: 1px; }

.medium-editor-toolbar-active.stalker-toolbar {
-webkit-animation: pop-upwards 160ms forwards linear;
animation: pop-upwards 160ms forwards linear; }
.medium-editor-toolbar-active.medium-editor-stalker-toolbar {
-webkit-animation: medium-editor-pop-upwards 160ms forwards linear;
animation: medium-editor-pop-upwards 160ms forwards linear; }

.medium-editor-action-bold {
font-weight: bolder; }
Expand All @@ -146,64 +164,43 @@
display: none; }
.medium-editor-toolbar-form input,
.medium-editor-toolbar-form a {
font-family: HelveticaNeue, Helvetica, Arial, sans-serif; }
.medium-editor-toolbar-form .medium-editor-toolbar-input, .medium-editor-toolbar-form label {
margin: 0;
padding: 6px;
width: 316px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.medium-editor-toolbar-form .medium-editor-toolbar-input,
.medium-editor-toolbar-form label {
border: none;
box-sizing: border-box;
font-size: 14px;
box-sizing: border-box; }
.medium-editor-toolbar-form .medium-editor-toolbar-input:focus, .medium-editor-toolbar-form label:focus {
outline: 0;
margin: 0;
padding: 6px;
width: 316px; }
.medium-editor-toolbar-form .medium-editor-toolbar-input:focus,
.medium-editor-toolbar-form label:focus {
appearance: none;
border: none;
box-shadow: none;
appearance: none; }
outline: 0; }
.medium-editor-toolbar-form label {
display: block; }
.medium-editor-toolbar-form a {
display: inline-block;
margin: 0 10px;
text-decoration: none;
font-size: 24px;
font-weight: bolder;
font-size: 24px; }
margin: 0 10px;
text-decoration: none; }

.medium-editor-placeholder {
position: relative; }
.medium-editor-placeholder:after {
position: absolute;
top: 0;
left: 0;
content: attr(data-placeholder) !important;
font-style: italic;
white-space: pre; }
.medium-editor-toolbar-actions:after {
clear: both;
content: "";
display: table; }

.medium-editor-dragover {
background: #ddd; }
[data-medium-editor-element] img {
max-width: 100%; }

.medium-image-loading {
width: 40px;
height: 40px;
background-color: #333;
display: inline-block;
border-radius: 100%;
-webkit-animation: medium-image-loading-animation 1s infinite ease-in-out;
animation: medium-image-loading-animation 1s infinite ease-in-out; }
[data-medium-editor-element] sub {
vertical-align: sub; }

@-webkit-keyframes medium-image-loading-animation {
0% {
-webkit-transform: scale(0);
transform: scale(0); }
100% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0; } }
[data-medium-editor-element] sup {
vertical-align: super; }

@keyframes medium-image-loading-animation {
0% {
-webkit-transform: scale(0);
transform: scale(0); }
100% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0; } }
.medium-editor-hidden {
display: none; }
2 changes: 1 addition & 1 deletion dist/css/medium-editor.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 51f6b3e

Please sign in to comment.