Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Minor editor style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnONolan committed Feb 27, 2017
1 parent c7f75e1 commit 032afe1
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion app/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//noinspection JSAnnotator
// noinspection JSAnnotator
import Ember from 'ember';
import Application from 'ember-application';
import Resolver from './resolver';
Expand Down
10 changes: 4 additions & 6 deletions app/styles/addons/ghost-editor/ghost-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@
.__mobiledoc-editor {
width: 100%;
min-height: 100%;
padding-bottom: 10vw;
outline: none;
font-family: var(--font-family);
font-size: 1.7rem;
resize: none;
font-weight: 200;
letter-spacing: 0.1px;
}

.dropper-bottom {
Expand All @@ -36,12 +39,7 @@
}

.__mobiledoc-card {
border: 1px solid #5ba4e5;
min-height: 100px;
display: inline-block;
width:calc(100% - 4px);
margin:2px;
padding:0;
display: block;
}
.__mobiledoc-card .ghost-card {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
@import "layouts/packages.css";
@import "layouts/subscribers.css";


/* Addons: Ghost-Editor
/* ---------------------------------------------------------- */
@import "addons/ghost-editor/ghost-editor.css";
3 changes: 1 addition & 2 deletions app/styles/components/dropdowns.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
margin: 2px 0 0;
padding: 10px;
min-width: 200px;
border: #dfe1e3 1px solid;
background-color: #fff;
background-clip: padding-box;
border-radius: 4px;
box-shadow: rgba(0, 0, 0, 0.10) 0 2px 6px;
box-shadow: 0 0 0 1px rgba(99,114,130,0.16), 0 8px 16px rgba(27,39,51,0.08);
list-style: none;
text-align: left;
text-transform: none;
Expand Down
9 changes: 6 additions & 3 deletions app/styles/layouts/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,11 @@
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
height: 65px;
padding: 0 30px;
height: 80px;
}
@media (max-width: 750px) {
.gh-editor-header { padding: 0 4vw; }
}

.gh-editor-status {
Expand All @@ -198,6 +201,6 @@

.gh-editor-inner {
margin: 0 auto;
max-width: 700px;
max-width: 740px;
height: 100%;
}
3 changes: 1 addition & 2 deletions app/styles/patterns/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ body {
width: 100%;
/* Prevent elastic scrolling on the whole page */
height: 100%;
color: color(var(--darkgrey) lightness(+10%));
color: var(--darkgrey);
font-size: 1.4rem;
}

Expand Down Expand Up @@ -182,7 +182,6 @@ ul,
ol,
dl {
margin: 0 0 1.7em 0;
font-size: 1.6rem;
}

ol,
Expand Down
6 changes: 3 additions & 3 deletions app/templates/editor/edit.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@

</div>
<section class="view-actions">
<button type="button" class="post-settings" title="Post Settings" {{action "openSettingsMenu"}}>
<i class="icon-settings"></i>
</button>
{{gh-editor-save-button
isPublished=model.isPublished
isScheduled=model.isScheduled
Expand All @@ -30,6 +27,9 @@
delete="toggleDeletePostModal"
submitting=submitting
}}
<button type="button" class="post-settings" title="Settings" {{action "openSettingsMenu"}}>
<i class="icon-settings"></i>
</button>
</section>
</header>
<div class="gh-editor-container">
Expand Down

0 comments on commit 032afe1

Please sign in to comment.