Skip to content

Commit ca9a23f

Browse files
author
Manuel Mitasch
committed
Ember.js: Add assets img + css (ember-hacks.css) to ember admin
Closes #2276 - Adds the images to `core/client/assets/img` - Adds css with ember hacks to `core/client/assets/css` - Configures middleware to provide assets as static files at url `/ghost/ember` - Adds ember option to assets helper - Modifies default-ember.hbs to use ember option on asset helper - Remove inline style definition in editor.hbs - Modifies .gitignore to include ember-hacks.css (in ignored `core/client/assets/css` folder)
1 parent 7295ef0 commit ca9a23f

File tree

15 files changed

+37
-50
lines changed

15 files changed

+37
-50
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ projectFilesBackup
3838
/core/clientold/assets/fonts
3939
/core/clientold/assets/vendor
4040
/core/client/assets/css
41+
!/core/client/assets/css/ember-hacks.css
4142
/core/client/assets/fonts
4243
/core/server/data/export/exported*
4344
/docs
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
Cosmetic changes to ghost styles, that help during development.
3+
The contents should be solved properly or moved into ghost-ui package.
4+
*/
5+
6+
.post-settings-menu {
7+
display: none !important;
8+
}
9+
10+
#entry-markdown,
11+
.entry-preview,
12+
.CodeMirror.cm-s-default {
13+
height: 500px !important;
14+
}
15+
16+
.editor input {
17+
-webkit-transition: none;
18+
-moz-transition: none;
19+
transition: none;
20+
}

core/client/assets/img/404-ghost.png

3.59 KB
Loading
7.77 KB
Loading

core/client/assets/img/large.png

1.87 KB
Loading

core/client/assets/img/loadingcat.gif

19.7 KB
Loading

core/client/assets/img/medium.png

400 Bytes
Loading

core/client/assets/img/small.png

426 Bytes
Loading
494 Bytes
Loading
640 Bytes
Loading

0 commit comments

Comments
 (0)