-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(css): Drop LESS dependency (#537)
- Loading branch information
Showing
9 changed files
with
278 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
/** | ||
* Editor | ||
*/ | ||
|
||
.__mobiledoc-editor { | ||
font-family: 'Lora', Georgia, serif; | ||
margin: 1em 0; | ||
color: #454545; | ||
font-size: 1.2em; | ||
line-height: 1.6em; | ||
position: relative; | ||
min-height: 1em; | ||
} | ||
|
||
.__mobiledoc-editor:focus { | ||
outline: none; | ||
} | ||
|
||
.__mobiledoc-editor > * { | ||
position: relative; | ||
} | ||
|
||
.__mobiledoc-editor.__has-no-content:after { | ||
content: attr(data-placeholder); | ||
color: #bbb; | ||
cursor: text; | ||
position: absolute; | ||
top: 0; | ||
} | ||
|
||
.__mobiledoc-editor a { | ||
color: #0b8bff; | ||
white-space: nowrap; | ||
} | ||
|
||
.__mobiledoc-editor h1, | ||
.__mobiledoc-editor h2, | ||
.__mobiledoc-editor h3, | ||
.__mobiledoc-editor h4, | ||
.__mobiledoc-editor h5, | ||
.__mobiledoc-editor h6 { | ||
font-family: 'Merriweather Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
font-weight: 800; | ||
letter-spacing: -0.02em; | ||
} | ||
|
||
.__mobiledoc-editor blockquote { | ||
border-left: 4px solid #0b8bff; | ||
margin: 1em 0 1em -1.2em; | ||
padding-left: 1.05em; | ||
color: #a0a0a0; | ||
} | ||
|
||
.__mobiledoc-editor img { | ||
display: block; | ||
max-width: 100%; | ||
margin: 0 auto; | ||
} | ||
|
||
.__mobiledoc-editor div, | ||
.__mobiledoc-editor iframe { | ||
max-width: 100%; | ||
} | ||
|
||
/** | ||
* Cards | ||
*/ | ||
|
||
.__mobiledoc-card { | ||
display: inline-block; | ||
} | ||
|
||
/** | ||
* Tooltips | ||
*/ | ||
|
||
@-webkit-keyframes fade-in { | ||
0% { opacity: 0; } | ||
100% { opacity: 1; } | ||
} | ||
@keyframes fade-in { | ||
0% { opacity: 0; } | ||
100% { opacity: 1; } | ||
} | ||
|
||
.__mobiledoc-tooltip { | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
font-size: 0.7em; | ||
white-space: nowrap; | ||
position: absolute; | ||
background-color: rgba(43,43,43,0.9); | ||
border-radius: 3px; | ||
line-height: 1em; | ||
padding: 0.7em 0.9em; | ||
color: #FFF; | ||
-webkit-animation: fade-in 0.2s; | ||
animation: fade-in 0.2s; | ||
} | ||
|
||
.__mobiledoc-tooltip:before { | ||
content: ''; | ||
position: absolute; | ||
left: 50%; | ||
width: 0; | ||
height: 0; | ||
border-left: 0.4em solid transparent; | ||
border-right: 0.4em solid transparent; | ||
border-bottom: 0.4em solid rgba(43,43,43,0.9); | ||
top: -0.4em; | ||
margin-left: -0.4em; | ||
} | ||
|
||
/* help keeps mouseover state when moving from link to tooltip */ | ||
.__mobiledoc-tooltip:after { | ||
content: ''; | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
top: -0.4em; | ||
height: 0.4em; | ||
} | ||
|
||
.__mobiledoc-tooltip a { | ||
color: #FFF; | ||
text-decoration: none; | ||
} | ||
|
||
.__mobiledoc-tooltip a:hover { | ||
text-decoration: underline; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.