Commit Graph

583 Commits

Author SHA1 Message Date
John O'Nolan
a83c736c48 Deprecate utilities.scss 2014-07-30 09:09:11 +03:00
John O'Nolan
15e9796c51 Uploader 2014-07-30 09:08:49 +03:00
John O'Nolan
c2de94a9bd No underlines 2014-07-30 09:04:29 +03:00
John O'Nolan
42f9f3c0e1 Merged typography.scss into global.scss 2014-07-30 08:44:05 +03:00
John O'Nolan
c30fabb94a Tables 2014-07-30 08:19:50 +03:00
John O'Nolan
6d39ac0e2e Merged rolelabels.scss into users.scss 2014-07-30 08:17:51 +03:00
John O'Nolan
68f5c9f378 Users 2014-07-30 08:17:00 +03:00
John O'Nolan
951f572939 NProgress 2014-07-30 08:14:39 +03:00
John O'Nolan
b544ce098e Notifications 2014-07-30 08:12:17 +03:00
John O'Nolan
75e92add37 Deprecate navs.scss, merge into shame.scss 2014-07-30 08:09:57 +03:00
John O'Nolan
778b7cd7a3 Modals 2014-07-30 08:08:54 +03:00
John O'Nolan
f59f86eb28 Deprecate old files and introduce _shame.scss
- New _shame.scss to hold styles/components which need to be refactored or removed
- layout.scss and floatingheader.scss merged into global.scss/shame.scss
2014-07-30 08:07:23 +03:00
John O'Nolan
16d36b48c1 Floating header 2014-07-30 07:59:43 +03:00
John O'Nolan
1dbd4cd759 Forms 2014-07-30 07:57:36 +03:00
John O'Nolan
98d87cfa26 Buttons 2014-07-30 07:47:54 +03:00
John O'Nolan
0ce641e363 Merge base.scss into global.scss 2014-07-30 07:43:36 +03:00
John O'Nolan
b6d61cd0da Animations 2014-07-30 07:41:35 +03:00
John O'Nolan
2faa4a75f9 Minor cleanup 2014-07-29 19:50:13 +03:00
Paul Adam Davis
61b846fc8f Working burger menu toggling 2014-07-29 18:48:31 +01:00
John O'Nolan
175395eafc Moved dropdown styles to components dir 2014-07-29 19:24:17 +03:00
John O'Nolan
bdb63b2e87 Updated dropdown styling 2014-07-29 19:23:00 +03:00
John O'Nolan
914cef3b8d Added dropdown to global nav user menu 2014-07-29 19:22:37 +03:00
John O'Nolan
56beb90c49 Minor display tweaks 2014-07-29 17:35:03 +03:00
Paul Adam Davis
82365de583 Better dropdowns styles and docs 2014-07-29 16:19:00 +01:00
John O'Nolan
ce0b9c78ef New page-content panel and base font-size refinements 2014-07-29 16:19:46 +03:00
John O'Nolan
098f7c17e5 Mobile menu updates 2014-07-29 15:47:03 +03:00
Paul Adam Davis
49eed8b6cd Refactor dropdowns to use extends 2014-07-29 12:46:19 +01:00
Paul Adam Davis
2ac2934118 First pass of dropdowns 2014-07-29 11:00:29 +01:00
John O'Nolan
1ceab27e96 Always hide horizontal scrollbars on body 2014-07-29 12:28:02 +03:00
John O'Nolan
8d1635b7dc Introducing new mobile header and more mobile nav components 2014-07-29 12:10:20 +03:00
John O'Nolan
32e14025e4 First pass on global nav mobile styles 2014-07-29 02:34:47 +03:00
John O'Nolan
9775244ab5 Slightly smaller user profile image for nav dropdown 2014-07-29 01:38:28 +03:00
John O'Nolan
5a81c808df Finished first pass on new navbar 2014-07-29 01:34:34 +03:00
John O'Nolan
6fc3e09017 Clean up 2014-07-28 23:21:02 +02:00
John O'Nolan
19d9db085d Second pass on refactor - starting to introduce new global navigation component 2014-07-20 01:55:29 +02:00
John O'Nolan
02d3756cd8 First pass refactor - cleaning the slate 2014-07-19 20:33:48 +02:00
Paul Adam Davis
afade36796 Fix height bug on public bar unpublished button
Closes #73
2014-07-18 08:51:27 +01:00
Paul Adam Davis
3e59f022a2 Correct height on auth inputs
Closes #72

Also refactored auth inputs to make them DRYer.
2014-07-17 17:18:54 +01:00
Paul Adam Davis
fff19ec0d5 Spacing for invited users list class & fixes
- Fix disappearing right border on invite user modal
- Refactor rounded corners on login form
- Remove commented-out code from modals
2014-07-17 15:48:09 +01:00
Paul Adam Davis
819370b815 Better mobile styles and spacing for user list and fix mobile Back button
Closes #69
2014-07-17 12:27:37 +01:00
John O'Nolan
abd070b90e More graceful fade-in animation 2014-07-17 13:00:53 +02:00
John O'Nolan
5af1539cb1 Restructuring setup styles so they can be used on signup, too 2014-07-17 12:29:16 +02:00
John O'Nolan
9c60d070ec More useful code comments 2014-07-17 11:34:51 +02:00
John O'Nolan
588e8b80bd Minor setup screen design tweaks 2014-07-17 11:25:11 +02:00
Paul Adam Davis
eb23f65fe0 Correct positioning of editor floating header elements
Closes #70
2014-07-17 10:10:56 +01:00
Paul Adam Davis
77cc6c3b72 Firefox fixes for new select style 2014-07-17 09:54:54 +01:00
Paul Adam Davis
e219fb121e Refactor custom select styling
This is for both the global styling and the alternate version in the PSM for the author dropdown.

- `<select>` elements are note more accessible, with :focus support
- They no longer need a data-attr to show the currently selected item

NOTE: Does not work in Firefox. Yet.
2014-07-16 13:01:22 +01:00
Paul Adam Davis
5189bb37cf Unhide settings on mobile and adjust positioning for left setting header buttons
Refs #67
2014-07-15 17:13:30 +01:00
Paul Adam Davis
f2c11a0b47 Button refactor
Refs #3101 & #916
2014-07-15 14:20:15 +01:00
Sebastian Gierlinger
5c97e50980 Move image upload to API
closes #3252
- added `/ghost/api/v0.1/uploads/` endpoint
- removed upload method from `controller/admin.js`
- moved removal of temporary files from storage to endpoint (needed to
account for failed uploads)
- changed and moved tests
- Oversight: I think that we use `.otherwise()` and `.catch()` a bit
too extensive and mask the real error objects. We probably need an
error handling strategy at some point in the future.
2014-07-15 12:40:14 +02:00
Paul Adam Davis
9bf681ddf9 Adjust settings menu active state media query
Closes #68
2014-07-13 13:27:57 +01:00
Paul Adam Davis
5f3edc9082 Remove legacy .active styling from settings-content container
Prep for #67
2014-07-13 13:21:56 +01:00
Paul Adam Davis
7125b84140 Add mobile styles for new-user button
Closes #58
2014-07-12 12:48:55 +01:00
Paul Adam Davis
ec568a21b6 Fix tags on mobile
Closes #60
2014-07-12 12:43:12 +01:00
Paul Adam Davis
98576cc84a Refactor :focus styles
Closes #61
2014-07-12 12:18:44 +01:00
Paul Adam Davis
7eaf1d89e5 Change form-group spacing & make labels bold
Closes #62
2014-07-12 12:18:35 +01:00
Paul Adam Davis
07fac8b40f Add transparent border to add-user button
Closes #63
2014-07-12 12:18:24 +01:00
John O'Nolan
a94328fa64 OCD 2014-07-11 19:23:41 +02:00
John O'Nolan
c575a2be1b Update role-labels 2014-07-11 19:20:00 +02:00
Paul Adam Davis
ddd13eb5a7 Allow clicking on the down arrow of select boxes
Closes #57

- Adds `pointer-events: none;` to the down arrow of select boxes
2014-07-11 17:36:22 +01:00
Paul Adam Davis
22d449aee1 Only show hovers on user list links, not pending invites.
References #56

Related markup changes: https://github.com/TryGhost/Ghost/pull/3247
2014-07-11 17:30:55 +01:00
Paul Adam Davis
6f654d3218 Fix mobile styles on the edit user view 2014-07-11 17:08:11 +01:00
Paul Adam Davis
44ee940120 Prevent notifications from flickering when hovered.
Fixes https://github.com/TryGhost/Ghost/issues/3166

This commit has a related JS fix.
2014-07-11 15:45:15 +01:00
Paul Adam Davis
e20d837d79 Correct styling of setup form 2014-07-09 11:42:00 +01:00
Paul Adam Davis
776a593636 Swap entry title selector for one that isn't applied after a delay
This fixes a bug that made the title in the editor look like it was animating in, as `.editor` is added after a slight delay.
2014-07-08 23:44:13 +01:00
Paul Adam Davis
09aea8a1d3 Re-add text area styling, which fixes the broken test. 2014-07-08 12:44:52 +01:00
Paul Adam Davis
9cb8cf3761 Correct spacing on invite user modal to fit new form style 2014-07-07 17:14:31 +01:00
Paul Adam Davis
b7322729f4 Add down arrow to <select> elements 2014-07-07 17:13:45 +01:00
Paul Adam Davis
438d5cdb87 New form style
Conflicts:
	dist/css/ghost-ui.min.css
	docs/dist/css/ghost-ui.min.css
2014-07-07 16:40:33 +01:00
Paul Adam Davis
5bea01523a Remove .active button styling and remove underlines on user management list items 2014-07-06 19:50:05 +01:00
Paul Adam Davis
58efafb7c9 Invite User modal styles
References https://github.com/TryGhost/Ghost/issues/3079 and #21

Also changes the global modal styles
2014-07-06 18:37:58 +01:00
Paul Adam Davis
67e1b060c4 Minor style fixes for the user management screen
References https://github.com/TryGhost/Ghost/pull/3189 and #21
2014-07-05 12:17:53 +01:00
Paul Adam Davis
f286725dd4 Add padding to mobile/touch editor
Improves #53
Closes https://github.com/TryGhost/Ghost/issues/3103
2014-07-04 16:12:16 +01:00
Paul Adam Davis
1cf21c1ab5 Prevent mobile text area editor bottom being but off
Closes #53

- Adds webkit smooth bouncy overflow
- Make height of the textarea slightly short than 100%
2014-07-04 10:25:53 +01:00
Paul Adam Davis
81ef7af588 Hover colour for the markdown help button when an inactive tab on the tabbed editor.
Previously, hovering the markdown help button when the editor is on mobile tab mode, it disappeared as it was the same colour as the background. It's now the same colour as the inactive tab text.
2014-07-01 22:56:06 +01:00
Paul Adam Davis
e69233388b References #33
- Alter the existing UI
- Add 2 button options, 'has-icon' and 'only-has-icon' (for the < Users and Settings buttons)

Corresponding markup: https://github.com/TryGhost/Ghost/pull/3176/files
2014-07-01 17:26:41 +01:00
Sebastian Gierlinger
a1438e3b98 Remove CSRF from client
no issue
- removed occurrences of csrf from client
2014-07-01 11:39:01 +02:00
Paul Adam Davis
5c0d2ed253 Post settings menu styling for https://github.com/TryGhost/Ghost/issues/3084 2014-07-01 10:30:03 +01:00
Paul Adam Davis
78b252234f CSS for About page
Refs #23

Corresponding HTML is located at https://github.com/TryGhost/Ghost/pull/3155/files
2014-06-30 09:59:42 +01:00
Paul Adam Davis
f15ac7a815 Hide code mirror cursor when not focused
Closes #51 again

- Hide CodeMirror cursor when not focused
2014-06-27 10:04:12 +01:00
Paul Adam Davis
c834f0b631 Allow button/input type submit to be green 2014-06-26 11:43:35 +01:00
Paul Davis
258ce69283 Merge pull request #52 from morficus/missing-flashing-cursor
fixing issue where the cursor indicator would no longer flash
2014-06-25 19:54:13 +01:00
Maurice Williams
863efd22f0 fixing issue where the cursor indicator would no longer flash
fixes #51
- removing styles that conflicted with the original CodeMiror styles
2014-06-25 14:26:18 -04:00
Paul Adam Davis
d434f2e0c8 Add extra padding to post edit/settings buttons
Closes #39
2014-06-25 17:21:32 +01:00
Matt Enlow
51b20d91eb Add off as a noop function to touch editor.
Closes #3107
2014-06-25 10:04:00 -06:00
Paul Adam Davis
203132dfa1 Stop Markdown help icon from moving
No issue

The markdown help icon would move when `<body>` gets a class of
`editor`. The class wasn't needed, so it's gone from the selector now.
2014-06-25 16:49:10 +01:00
Paul Adam Davis
944daef01c Remove extra shadow & left border on post settings button
Closes #49

- Remove shadow from the post settings button
- Remove left border from split buttons globally
2014-06-25 16:20:56 +01:00
Paul Adam Davis
18e3914b02 Fix tags UI issue
Closes https://github.com/TryGhost/Ghost/issues/2491 & #27

- Adjust the widths of the tags wrapper element and move gradient to
the edge of said wrapper
2014-06-25 14:46:35 +01:00
Paul Adam Davis
91cad85237 Prevent cover image <img> having a max height. 2014-06-25 12:40:11 +01:00
Paul Adam Davis
97ddf069ca Add vertical table alignment class 2014-06-25 12:37:01 +01:00
David Arvelo
11a8391fec Implement Mobile Editor
closes #2957
- add FastClick library to Gruntfile.js
- add touch-editor to client/assets/lib/
- add mobile-specific utils to util/mobile-utils.js
- add codemirror util to set up TouchEditor only if we're really on mobile
- change gh-codemirror from having a default action to a named action. prevents Ember.TextArea firing action on change
- change gh-codemirror `cm.getDoc().getValue()` to `cm.getValue()` for portability
- change codemirror-shortcuts ES6 export/import style
- changed ghostimagepreview.js to check for Ember.touchEditor in addition to Ghost.touchEditor
2014-06-24 18:33:43 -04:00
Paul Adam Davis
3cf952e125 Delete dev font files 2014-06-24 21:17:44 +01:00
Paul Adam Davis
0d4cec3e4d Merge branch 'master' into 0.8
Conflicts:
	dist/css/ghost-ui.css
	dist/css/ghost-ui.min.css
	docs/dist/css/ghost-ui.min.css
	sass/layouts/settings.scss
	sass/layouts/setup.scss
	sass/modules/forms.scss
	sass/modules/global.scss
	sass/modules/icons.scss
	sass/modules/notifications.scss
	sass/screen.scss
2014-06-24 21:15:54 +01:00
Paul Adam Davis
4a75944f4e Remove 'not-allowed' cursor from disabled buttons
Closes #44

(Also remove some temporary CSS that wormed its way in from
mid-progress on another issue)
2014-06-24 17:16:11 +01:00
Paul Adam Davis
b33f48bf70 Mac height for profile, cover & logo images in settings
Closes #43 & #45
2014-06-24 17:13:45 +01:00
Paul Adam Davis
09713d841e Fix mobile display issue
Closes #42

- Realign name input and show name label on smaller screens
2014-06-24 16:43:14 +01:00
Paul Adam Davis
60eadfa70a Move styles from ember-hacks.css in Ghost to here 2014-06-24 14:50:06 +01:00
Paul Adam Davis
a3a4e3960d Remove ember-hacks.css file
No issue

- Removes `ember-hacks.css` file and move some of its styles into Ghost-UI
2014-06-24 14:49:37 +01:00
Paul Adam Davis
4e639594dc Correctly overflow notification content to prevent it being too tall.
References https://github.com/TryGhost/Ghost/issues/1558
2014-06-24 11:01:22 +01:00
Paul Adam Davis
a4af3ded74 Remove pointer-events: none; on modal container
Closes #38
2014-06-20 14:54:06 +01:00
Paul Adam Davis
8799b516c7 Correct styling of checkboxes in the post settings menu 2014-06-20 14:46:04 +01:00
Paul Adam Davis
41259f25f1 Manually merge (and update) 28954b5e10 2014-06-20 10:25:38 +01:00
David Blurton
2d1de49caf Don't fade out notifications when the mouse is over 2014-06-20 09:54:31 +01:00
Paul Adam Davis
7148e46b6a Restructure .scss files, global box sizing and minor fixed from the Ember Admin rewrite 2014-06-20 09:29:57 +01:00
David Blurton
d4a76211a8 Don't fade out notifications when the mouse is over 2014-06-18 11:13:52 +01:00
Robert Jackson
66616849ec Use loader.js from bower. 2014-06-08 19:39:45 -04:00
Lucas Holmquist
7fba359d31 Implement a Generic Uploader - #2886 2014-06-07 19:58:16 -04:00
Hannah Wolfe
3181dbe9bc Merge pull request #2840 from novaugust/popover-service
Added popover component
2014-06-01 11:10:00 +01:00
Matt Enlow
78643344e4 Added popover component
Closes #2418, #2714
Ref #2446, #2565

- Added and injected `popover` service to globally control popovers
- Added `gh-popover-button` component
- Added `popover-mixin` for popover and popover-buttons to mixin
- Added body-event-listener mixin for popover service to watch for body
  clicks with
- Post settings and post save button both now use `gh-popover`
- Added hacks to `ember-hacks.css` to make popovers work until ghost-ui
  consolidates functionality
2014-05-31 17:23:41 -06:00
Hannah Wolfe
699111b01a Ember: correct editor layout and other niggles
no issue
- Fixes the editor view so that the layout is correct
- Remove default title
- Fixes a couple of scoping issues with notifications
2014-05-31 19:32:22 +01:00
Andrej Mlinarević
d73c689cb0 Fix checkboxes accessibility
Fix checkbox baseline
2014-05-27 15:51:12 +02:00
John O'Nolan
d64d8704e7 Rename old pacman variable 2014-05-25 15:34:14 +02:00
John O'Nolan
9317d0f2c0 Add database icon / remove pacman icon 2014-05-25 15:30:06 +02:00
John O'Nolan
e8fa51a6bf First pass on Code Injection base UI 2014-05-25 14:40:34 +02:00
John O'Nolan
eefef30750 New hgroup utility class 2014-05-25 14:40:08 +02:00
John O'Nolan
8d50cd8503 Standards cleanup 2014-05-25 14:21:59 +02:00
John O'Nolan
eb74d84ac3 Fix crazy overnesting 2014-05-25 14:16:42 +02:00
John O'Nolan
e3913c85f0 New first run screen 2014-05-25 11:15:00 +02:00
John O'Nolan
ae46cf5cd1 New utility class for vertical centering 2014-05-25 11:13:59 +02:00
Hannah Wolfe
f24e3b2d1b Merge pull request #2618 from novaugust/post-settings
[Ember.js] Create Post Settings Menu and its functionality on the Post controller.
2014-05-07 20:22:46 +01:00
Harry Wolff
76ad6cb9bc Create GhostPopover component
issue #2418

- create ghost-popover component and template
- use it for the navigation popover
- still needs to handle global click event on the document
to close the popover
2014-05-07 12:21:26 -04:00
Matt Enlow
e7f5dd3204 Create Post Settings Menu and its functionality on the Post controller.
closes #2419
- Added blur-text-field component, which fires actions on focusOut
- Added utils/date-formatting for moment & date functionality  consolidation
- Added functionality to PostsPostController
- Added fixtures: posts/3 & posts/4, posts/slug/test%20title/
- Added Post model saving
- Set posts.post as controller for EditorRoute
- Added PostSettingsMenuView and template
- Added "showErrors" convenience method to notifications
2014-04-20 13:28:43 -06:00
Peter Szel
ac113b582f Added fancy fade-in effect and autofocus to the login pages (signin, signup, forgotten, reset).
- Added CSS to implement the fade in effect.
- Added 'autofocus' to the attribute bindings of the TextField so they accept it.
2014-04-08 00:02:54 +02:00
John O'Nolan
6764d8b96c Fix mobile bug
Tag field fade-shadows overlapping the settings icon
2014-03-18 10:54:19 +01:00
John O'Nolan
7049e993a1 Remove double shadow from dropdown hover
I have no idea why this was originally here
2014-03-15 20:16:08 +01:00
John O'Nolan
a8951a0ee0 Fix broken mobile inputs 2014-03-15 16:32:48 +01:00
John O'Nolan
d45decc232 Fix width bug on form inputs 2014-03-15 15:50:43 +01:00
Manuel Mitasch
2239f0d50b 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)
2014-03-15 00:08:15 +01:00
John O'Nolan
21063af40a Fix normalize.css import 2014-03-12 21:27:33 +00:00
John O'Nolan
3f93a40544 REFACTOR THE THINGS 2014-03-11 23:23:42 +00:00
John O'Nolan
b8aa3466a6 Merge pull request #16 from halfdan/hello_ruby_you_beauty
Re-introduce Ruby
2014-03-12 00:12:11 +01:00
John O'Nolan
6971ff0b90 Merge branch 'master' of github.com:TryGhost/Ghost-UI
# By Fabian Becker (1) and John O'Nolan (1)
* 'master' of github.com:TryGhost/Ghost-UI:
  Remove old %extend placeholders
  Fetch bourbon/breakpoint/normalize via bower
2014-03-11 22:55:45 +00:00
John O'Nolan
bb302db448 Remove IE specific CSS file
We've never used this anyway. It just hangs around doing nothing.
2014-03-11 19:03:10 +01:00
Fabian Becker
694b03337b Re-introduce Ruby
fixes #8, #9, #10, #11
- Add Gemfile
- Swap normalize.css with normalize-scss
- Add grunt-contrib-sass task to compile sass
- Ignore .sass-cache
2014-03-11 19:02:59 +01:00
John O'Nolan
04618a989a Remove old %extend placeholders 2014-03-11 14:59:43 +01:00
Fabian Becker
c407d4775d Fetch bourbon/breakpoint/normalize via bower
closes #14
- Fetch libraries via bower on `grunt`
- Use breakpoint 2.0.6 due to libsass failures
- Add grunt-shell to execute bower install
- Adjust screen.scss
2014-03-10 19:54:39 +01:00
John O'Nolan
3aec61d863 Comment/indentation cleanup 2014-03-10 17:37:08 +01:00
John O'Nolan
945f863411 Fix indentation 2014-03-10 16:16:37 +01:00
John O'Nolan
188ecf1940 Removing disturbing mental image 2014-03-07 20:47:11 +01:00
John O'Nolan
5b09d54804 Removing .modal-info
This is not used anywhere in ghost core
2014-03-07 20:44:34 +01:00
John O'Nolan
df464f5ab7 Remove all %placeholder extends
* Allows us to use node-sass and drop the dependency on Ruby
* See TryGhost/Ghost/issues/1346
* See TryGhost/Ghost/issues/2078
2014-03-07 19:54:49 +01:00
Hannah Wolfe
5f54fa8d1c Adding missing loader.js 2014-03-07 10:14:40 +00:00
Fabian Becker
cf0a3cde8c Compile SASS using node-sass
closes #5
- Added node-sass to package.json
- Added new grunt tasks to compile sass and copy fonts/css to dist
- Added new folders to .gitignore
- Added clean task
- Fixed README
2014-03-06 17:05:08 +01:00
John O'Nolan
41c9a78eed Remove old references to plugins
See TryGhost/Ghost/2295
2014-03-01 11:37:38 +01:00
Hannah Wolfe
3c25d4aaed Rename client -> clientold
issue #2271

- should allow development of new admin UI whilst still having access to the old ui
2014-02-27 00:52:04 +00:00
John O'Nolan
1420b03802 Initial commit 2014-02-23 15:07:01 +01:00
Paul Adam Davis
c952b50586 Fix Firefox <select> height issue
closes #1109
- Use moz-specific selector to make <select> elements use auto height
2014-02-20 12:16:43 +00:00
Paul Adam Davis
9af1ecfc47 Fix input:focus border issues from #2088 2014-02-18 16:59:01 +00:00
John O'Nolan
fa06893d81 Override border on login input:focus
Fixes #2088
2014-01-31 18:30:14 +07:00
John O'Nolan
c99d2decc9 Spit & Polish 2014-01-30 23:53:07 +07:00
Hannah Wolfe
5db46c7754 Merge branch '0.4-maintenance' 2014-01-28 09:25:38 +00:00
John O'Nolan
ea11a7d9af Hide extra space taken up by update notification
See #1995
2014-01-28 09:07:36 +00:00
Hannah Wolfe
810f97eaf8 Merge pull request #1972 from jgillich/character-limit
Show character limit below blog description textarea
2014-01-27 14:32:52 -08:00
Paul Adam Davis
223b23ec4a Move styling from some elements from IDs to classes
Closes #1605

* Move styling for `#signup`, `#forgotten`, `#reset`, `#login`, `#usermenu` and `#notifications` to classes

No IDs have been added or removed, so any events shouldn't be affected and it passes all tests.
2014-01-27 21:50:19 +00:00
John O'Nolan
c3e3d688ab Larger min-height for textareas, and size based on font size 2014-01-21 14:35:47 +07:00
John O'Nolan
35d2fc99d7 Prevent form field descriptions from becoming unwieldily long
Yes that’s a word. As of now.
2014-01-21 14:33:05 +07:00
Jakob Gillich
03c16bae24 Show character limit below blog description textarea
closes #1970
2014-01-17 21:39:43 +01:00
Hannah Wolfe
f166440334 No select or text cursor on rendered preview
fixes #1595

- prevents the backspace key from doing terrible things
2014-01-11 16:05:33 +00:00
John O'Nolan
3c1a7e03b5 Fixed tag display issues
The tags UI is pretty messed up all round. This fix makes it work properly at least on desktop. Mobile needs a lot more love. This is a followup to #1774 and most problems stemming originally from #710
2014-01-07 23:29:59 +01:00
John O'Nolan
febd6599ad Fix John being stupid
See #1878
2014-01-07 22:20:32 +01:00
John O'Nolan
460bcfdd1a Speed up heinous slow animations 2014-01-07 22:19:52 +01:00
John O'Nolan
4b4d9d822f Update post settings checkbox
* Fixed display bug in firefox, cause firefox is utter shit. Closes #1878
* Fixed minor animation bug where checkmark was missing transitions on click
2014-01-07 21:54:16 +01:00
Harry Wolff
3213a0aa3d Extending halfdan’s work for UX settings improvements
#1351

- prevent a new post (not saved on server) from
updating its slug/date to the server

- fix jshint

- add back creation of a posts slug upon a post creation

- update for rebasing

- hide ability to ‘delete this post’ from post settings
menu when a post hasn’t yet been saved to the server
2014-01-06 21:33:24 -05:00
John O'Nolan
169a04bfc3 Disabled styles for disabled buttons
Duh
2014-01-03 22:13:02 +01:00
John O'Nolan
9754e837c0 Merge pull request #1828 from ddoolin/fix-tag-suggestion-and-padding
Fixes showing tag suggestions and tag container padding
2014-01-03 13:04:16 -08:00
Devin Doolin
8d082215ca Fixes showing tag suggestions and tag container padding
fixes #1774
- Delayed showing the tag suggestions popup unless matching tags were found
- Changed the padding-left on the added tag container to 8px from 20px to fall in line with the left shadow overlay
2014-01-03 04:42:59 -05:00
cobbspur
03c7e1e917 disable save button during image uploads
closes #1661

- disables save button at beginning of image upload
- enable save button at image upload fail, at image upload and download success and also at dropzone init
2014-01-02 21:32:23 +00:00
Hannah Wolfe
faa50b09b9 Shared folder asset handling
fixes #1659, fixes #1668

- removed relative asset url from css
- added asset helper to client
- updated references to shared assets
- added functional tests
2013-12-28 18:29:33 +00:00
Hannah Wolfe
4b491fbd6e Path, url and subdir cleanup & test
issue #1754

- remove path (it was only used once, and not needed)
- change webroot to subdir
- add unit tests for config.paths
- various other cleanup
- renamed client-side ghostRoot to subdir
- added url helper for client
2013-12-28 16:09:56 +00:00
John O'Nolan
e47441e7d4 Set min-height on user profile cover image
Fixes #1752
2013-12-27 13:32:51 +01:00
Hannah Wolfe
007aec2e07 Merge pull request #1704 from ErisDS/featured-star
Markup & style fixes for post list statuses
2013-12-21 12:37:39 -08:00
Hannah Wolfe
3205f6d673 Merge pull request #1653 from AgtLucas/master
Fix typo?
2013-12-20 07:24:37 -08:00
Hannah Wolfe
11f57448c4 Markup & style fixes for post list statuses
fixes #1703, fixes #1712

- featured star appears immediately for both draft and published items
- featured star is never red & alignment /style is updated
- improved markup and styling of statuses in general
- added to feature tests
2013-12-20 12:29:47 +00:00
Hannah Wolfe
3ef7f36ece CSS and layout fixes for image uploader
closes #1673
- dropzone icon doesn't appear when filestorage is false
- proper cursor and no selection on icon
- cleaned up some sass
2013-12-14 15:55:44 +00:00
Lucas
9c0e7be43a Fix typo? 2013-12-10 09:54:19 -02:00
Hannah Wolfe
0c5b315d54 Scoping tag styling to the tag control
fixes #1309
2013-11-28 19:09:25 +00:00
Fabian Becker
62f656cc53 Subdir support for admin interface
refs #527
2013-11-27 09:57:38 +00:00
Hannah Wolfe
a85e5cd265 Merge pull request #1548 from bastilian/improve_image_uploader_ui
Improve image uploader UI
2013-11-24 10:07:38 -08:00
Daniel Hanson
f0c7af3be7 Modified ghostdown markdown extension to allow for 4+ inline underscores
See #1113
- added additional regex rule to replace 4+ underscores with their coded equivalent: &#95;
2013-11-24 17:39:01 +01:00
Sebastian Gräßl
da38d1ae9f fix tag input field
closes #1532
- giving higher priority to css selector for .tag-input in order to override global input-style
- remove padding set by global input-style to align nicely with already set tags
2013-11-23 19:45:42 +01:00
Sebastian Gräßl
003ae8f4f9 Improve image uploader UI
closes #1356
- add button to toggle back to uploader from image-url interface
- put save button next to url-input
- make box-height consistent
- position ui-elements to have equal padding all around to border
2013-11-23 17:33:38 +01:00
Jacob Gable
2020c3dddb Improved Password Reset Tool
Closes #1471

- add api and User model methods for generating and validating tokens
- add routes and handlers for reset password pages
- add client styles and views for reset password form
- some basic integration tests for User model methods
2013-11-22 10:46:19 -06:00
Michael Bradshaw
3125bd5575 Add support for SVG images 2013-11-12 11:37:54 -07:00
Hannah Wolfe
682853537f Merge pull request #1446 from JohnONolan/notifications
Growl style desktop notifications
2013-11-12 04:15:35 -08:00
Hannah Wolfe
a6fcf8cac7 Merge pull request #1440 from JohnONolan/post-settings
Post settings refactor
2013-11-12 03:50:56 -08:00
John O'Nolan
d85826b821 Growl style desktop notifications
First pass. See #1349
2013-11-12 09:58:45 +01:00
John O'Nolan
6e3abb1ad4 Complete post-settings menu refactor 2013-11-12 09:19:02 +01:00
Jakob Gillich
a20d2f3f82 Show "Write a new Post" message when there are no posts
closes #1308
2013-11-11 22:14:01 +01:00
Fabian Becker
2da011a834 Fix page errors during builds.
fixes #1434
2013-11-10 23:46:09 +00:00
John O'Nolan
cf7b03bfff Kill iCheck cause Hannah says it has genital warts. 2013-11-08 14:38:23 +01:00
John O'Nolan
650eee85ab Make webkit autocomplete login styles less heinous
Fixes #771
2013-11-03 09:29:59 +01:00
Ben Gladwell
b809bdbe1c Remove unparam:true from jslint config in Gruntfile.js
issue #1365
- added /*jslint unparam:true*/ to functions where absolutely necessary
- added /*jslint unparam:true*/ to functions in which keeping parameter
  list added clarity to the underlying api, even when those parameters
  are not currently used
- removed unused parameters in a few places
2013-10-31 14:02:34 -04:00
John O'Nolan
d08f0ab7b7 Improved image cancel button
* Removed duplicate references
* Adjusted hover styles
* Imroved visibility of icon on dark images
2013-10-30 14:35:24 +01:00
John O'Nolan
329359a6b7 Fix bug where image-delete icon was on top of floating headers 2013-10-30 14:20:44 +01:00
Fabian Becker
83595b9ca8 Allow user to mark a post as static page
- Increased post-settings width to properly display "Static Page"
- Changed templates to display "Static Page" if set
- Added unit test for body_class helper

fixes #969
2013-10-28 22:01:03 +00:00
John O'Nolan
ca224ecda4 Updated Breakpoint Sass 1.3.0 => 2.0.6 2013-10-27 16:25:26 +01:00
Will Glynn
361195dd88 <code>/<tt> elements should wrap since they're used inline 2013-10-25 08:48:57 -05:00
Fabian Becker
1f3221fc20 Fixed style of modal in preview.
fixes #1179
2013-10-23 21:13:29 +01:00
Matthew Harrison-Jones
877bddf897 Removed special character from SCSS
Replaced it with the escaped unicode version (\21AA).
2013-10-23 11:38:57 +01:00
Hannah Wolfe
9dda7e6c7b Merge pull request #1197 from halfdan/994-image-uploads
Show proper error message when image upload fails
2013-10-22 14:40:47 -07:00
andy matthews
1af54a15b8 Add tooltip text to icons in admin section
Closes #1178

* Add tooltip text to assorted icons within CMS
* Add tooltip for blog URL to Ghost logo
* Change 'Options' to 'Post Settings'

Change 'Options' to 'Post Settings'
2013-10-22 22:31:02 +01:00
Fabian Becker
8edaef35c6 Show proper error message when image upload fails
fixes #994
2013-10-22 21:08:26 +00:00
Hannah Wolfe
9bf0f5a2aa Fixing client-side jslint exclude
- Gruntfile had an exclude for all of client/assets rather than client/assets/vendor
- Fixes missed jsLint errors
2013-10-22 22:06:22 +01:00
Hannah Wolfe
584a6bfd73 Merge pull request #1121 from abe33/fix_user_image_border_in_settings
Fix style issue on user-image on Firefox and Opera
2013-10-22 12:40:07 -07:00
Hannah Wolfe
30a20553ea Merge branch '0.3.3-wip'
Conflicts:
	core/client/views/blog.js
	core/server/api.js
	core/server/views/default.hbs
	package.json
2013-10-20 10:09:39 +01:00
Hannah Wolfe
775d55bbd6 Merge pull request #4 from sebgie/sec/3
Sec/3
2013-10-17 10:49:40 -07:00
Sebastian Gierlinger
f1ef797d6b Security improvements
no issue
- added CSRF protection
- changed session handling to express.session
- changed session handling to change session id
- added config property useCookieSession
- added file extension check for /ghost/upload
- removed /ghost/debug/db/reset
2013-10-17 15:28:28 +02:00
John O'Nolan
f8bcbdb44f Fixed further firefox display bugs
See #1090

Conflicts:
	core/client/tpl/settings/user-profile.hbs
2013-10-17 14:10:49 +01:00
John O'Nolan
7009dce97c Merge pull request #1090 from bnchdrff/user-image-ff-fix
fixes firefox user image disappearance
2013-10-17 14:04:34 +01:00
Talon
db1f147dbf fixed typo in comments of manage.scss
The mage posts screen is probably supposed to be the manage posts screen.
2013-10-16 20:43:59 -06:00
John O'Nolan
e863f42491 Fixed further firefox display bugs
See #1090
2013-10-16 17:26:28 +02:00
John O'Nolan
d96686e912 Merge pull request #1090 from bnchdrff/user-image-ff-fix
fixes firefox user image disappearance
2013-10-16 07:57:56 -07:00
Benjamin Chodoroff
d7b99ba090 fixes firefox user image disappearance
take advice from @JohnONolan and subtract border-width
2013-10-16 10:47:06 -04:00
abe33
aceaf0beb7 Fix style issue on user-image on Firefox and Opera
On both Firefox and Opera (OSX) the user image badge in
the settings page wasn't displayed.
Also, on firefox the badge overlay didn't have the proper size.

I don't know if there's a specific use case requiring a `display:
table` instead of a plain `display: block` but that was failing on
Firefox and Opera.

Using a block instead seems works perfectly (at least on Opera, Chrome,
Safari, Safari Mobile IOS7 and Firefox) regarding the badge size issue.

On Opera, though, the border radius wasn't applied properly to the
image. Adding a `border-radius: 100%;`fix that.
2013-10-16 00:25:03 +02:00
Daniel Hanson
7ea112afc9 tweaked .floatingheader background for non-webkit browsers 2013-10-15 13:29:56 -06:00
Jacob Gable
adbb027306 Fix extra semi-colon in sass
Related to #1033 but needs TryGhost/Casper#32 to close

- Remove extra semi-colon
2013-10-14 12:45:46 -05:00
Hannah Wolfe
d1d0d86d68 Merge branch '0.3.2-wip'
Conflicts:
	core/client/assets/lib/uploader.js
2013-10-11 20:56:15 +01:00
cobbspur
9ac01e02b4 fixed image upload url synchronicity and url removed on cancel
closes #988, closes #956, closes #975

- fixed multiple ids and refactored triggers
- persistence requirement overridden
- trash can now removes url in editor
- if empty url is saved http:// is inserted and dropzone initialized

Conflicts:
	core/client/assets/lib/uploader.js
2013-10-11 18:15:17 +01:00
Matthew Harrison-Jones
14818fac61 Added in functionality for a working loading bar 2013-10-08 16:39:07 +01:00
Matthew Harrison-Jones
15d270840c Revert "loading bar implementation"
This reverts commit 46d37fb637cca71b169b6c61f56fd12f31450152 and 3187448867921f4de2aa9f22eca2626665226e99
2013-10-08 14:12:46 +01:00
Sebastian Gierlinger
998f28209e Fix for dropzone
no issue
- dropzone is disabled when fileStorage = false
2013-10-02 13:34:16 +02:00
Sebastian Gierlinger
bcc7ad9a41 Disable filestorage
closes #937
- fixed bug where ![] is replaced with ![](http://) for image url
- added fileStorage setting to uploader
- added fileStorage helper (could become standard way of providing config data for frontend???)
- added data element to editor and settings
- if no config value is set fileStorage: true is default
2013-10-02 11:39:34 +02:00
Matthew Harrison-Jones
73d37fc445 Refactored loading bar SCSS 2013-09-30 15:02:51 +01:00
John O'Nolan
1a2d4134e0 Initial loading bar implementation
See #726

Becomes visible when <body> has a class of `js-loading`
2013-09-30 11:17:06 +02:00
John O'Nolan
2489c60fb9 Smushed mobile app icons 2013-09-30 10:33:18 +02:00
John O'Nolan
61c4eab250 Adding support for Apple, Android, and Microsoft app icons 2013-09-28 15:54:12 +02:00
Hannah Wolfe
7a3e72e983 Merge branch '0.3.1-wip'
Conflicts:
	core/server/controllers/admin.js
2013-09-27 17:22:55 +01:00
Hannah Wolfe
a1a8df8053 Adding extra class for url uploads 2013-09-27 13:34:39 +01:00
John O'Nolan
74ed7ede58 Fix tiny alignment issue on Ghost logo 2013-09-27 11:23:24 +02:00
John O'Nolan
aae81c1232 Fixed fucked up modal padding 2013-09-27 11:21:23 +02:00
Hannah Wolfe
57bfcda78b Merge pull request #912 from cobbspur/saveposition
fixes position of save button in image uploader
2013-09-26 13:26:01 -07:00
cobbspur
40452a41ed fixes position of save button in image uploader
closes #911

- adds display block to save button centre class
2013-09-26 20:15:48 +01:00
cobbspur
a6ed49804e Increased visibility of trash can in image uploader for broken url
closes #838

- adds a min height value to pre-image-uploader scss
2013-09-26 18:33:09 +01:00
John O'Nolan
3389c8d9b8 Stripped obsolete CSS3 prefixes 2013-09-26 15:26:00 +01:00
Hannah Wolfe
8eefbf9cc7 Image upload start event fired earlier
issue #882
2013-09-26 12:35:03 +01:00
cobbspur
a4ef6c0e4d Image Upload URl saves in the right place
closes #864

- adds trigger - uploadstart to url handler
2013-09-26 12:34:59 +01:00
John O'Nolan
54316841d9 Stripped obsolete CSS3 prefixes 2013-09-24 18:44:32 +02:00
Christopher Giffard
cd58b1c896 500 Series Error Handling & Stack Traces
Fixes #825

- Changes the way the error middleware is delivered in server.js, moving
  all the logic back into errorHandling.js
- Alters error logging to use console.error (probably more appropriate) instead
  of console.log
- Changes error tests to accomodate for these alterations
- Alters user-error and error hbs templates to incorporate stack traces
- Adds additional styling for error pages to accomodate stack traces
- Added logic to parse and deliver formatted stack traces

Notes:
======

- Jslint gets in the way of the regex I've got to use to parse the stack.
  (It cites 'security reasons' which are not relevant in this case.)
  I needed to add a condition to relax it at the top of errorHandling.js
- The stack trace should probably be added as a partial, but I figured it
  was out of scope for this PR.
2013-09-19 13:01:20 +10:00
John O'Nolan
1dbe2a6a31 New default user image 2013-09-18 22:34:01 +01:00
Hannah Wolfe
2ef6464700 Default user image and cover
closes #812

- replace defaults with consistently named .png files
- change the settings saving code so that it doesn't double-save images and save the defaults to the db
2013-09-18 15:54:52 +01:00
Hannah Wolfe
9e44c6851b Merge pull request #808 from gotdibbs/Issue788
Corrected settings menu bugs
2013-09-17 19:14:59 -07:00
Hannah Wolfe
997ca58273 404 Page vertical centering
closes #791
2013-09-18 03:07:22 +01:00
William Dibbern
4501f4d5f4 Corrected settings menu bugs
Fixes #788

- Toggles now close all any other open toggles.
- Added .active class for post settings menu to ensure highlight stays
on settings icon/button until it is closed, not just on hover.
2013-09-17 20:59:35 -05:00
Hannah Wolfe
ab6012ed51 Merge pull request #803 from nicoburns/fastclick
Fastclick
2013-09-17 16:34:53 -07:00
Hannah Wolfe
116bc434d2 Clearing out images we don't use 2013-09-17 22:28:28 +01:00
nicoburns
5300af3186 Changed back button text
- Changed back button text from "Cancel" to "Back"
- Removed box-shadow from back buttons
2013-09-17 22:25:26 +01:00
nicoburns
590f2bcfb2 Replaced Hammer.js with FastClick
Issue #149 Closes #519
- Uses FastClick to speed up click events instead of using Hammer.js tap
events
2013-09-17 22:11:13 +01:00
John O'Nolan
77ba0a39d0 Merge pull request #800 from M165437/issue-149
Add back button to settings and content preview
2013-09-17 12:55:52 -07:00
Matthew Harrison-Jones
5e8a5bb460 Complete Modal Refactor
* Smoother animations
* Removed blurring in Chrome temporarily
* Centering is now done in CSS (the height is calculated in JS to work in FF and Opera)
* Modals now need close: true to be set to enable the close icon and shortcuts for closing (ESC key, background clicking)
2013-09-17 20:40:19 +01:00
Michael Schmidt-Voigt
67fb39bc69 Add back button to settings and content preview
Issue #149
- added back button to content preview and settings
- added hammer.js interactions
- needs some tweaking for mobile view
- problems with touch events (additional click event after 300ms)
2013-09-17 15:58:41 -03:00