Commit Graph

615 Commits

Author SHA1 Message Date
John O'Nolan
304de7ad32 Put global nav back under modals 2014-08-06 19:47:52 +03:00
John O'Nolan
e2354e2fe2 unfuck settings nav 2014-08-06 19:46:43 +03:00
John O'Nolan
41ea0dac23 Convert old button override styles to new classes
(and some cleanup)
2014-08-06 14:36:35 +03:00
John O'Nolan
73454b86d6 Styles for splitbuttons on editor screen 2014-08-06 02:06:36 +03:00
John O'Nolan
201e827768 Button updates to match existing styles 2014-08-06 00:39:19 +03:00
Paul Adam Davis
cd561b3d97 Re-do of dropdowns 2014-08-05 20:06:22 +01:00
Paul Adam Davis
96f01e0c23 Form Inputs 2014-08-05 15:12:27 +01:00
John O'Nolan
d4861e41d7 Highlight old styles for removal 2014-08-04 19:45:32 +03:00
John O'Nolan
c56ea041d3 Strip base button style. This should be covered already. 2014-08-04 19:38:41 +03:00
John O'Nolan
4b6e3dae48 Remove old button styles which are not used anywhere in core 2014-08-04 19:37:04 +03:00
John O'Nolan
0f320c115e Break splitbuttons out into component 2014-08-04 19:28:07 +03:00
John O'Nolan
0a403dfd8b Adjust BS default styles 2014-08-04 19:24:41 +03:00
John O'Nolan
df3b3e753e Port/convert BS mixins/vars - strip unneeded variations 2014-08-04 18:57:33 +03:00
John O'Nolan
726294bd41 Add base bootstrap buttons 2014-08-04 18:11:22 +03:00
Paul Adam Davis
954c091845 Vertically center floating header text 2014-08-01 09:02:11 +01:00
John O'Nolan
9570f28719 Bring back the code icon 2014-07-31 22:29:10 +03:00
John O'Nolan
52fa7b6a10 Styles for embed placeholders 2014-07-31 21:01:55 +03:00
Paul Adam Davis
61a6d948b6 Better dropdown organisation 2014-07-31 16:06:25 +01:00
Paul Adam Davis
a0387c46a7 Re-jigged nav JS and add parallax
- Clicking the content closes the nav
- Content overlays the nav to create a parallax effect
- Clicking the burger works now
2014-07-30 18:26:28 +01:00
John O'Nolan
4f8e28c439 Import old dropdowns temporarily 2014-07-30 14:56:37 +03:00
John O'Nolan
b1f27ac526 Settings 2014-07-30 13:39:38 +03:00
John O'Nolan
51c725b6b9 Deprecated post-settings-menu.scss 2014-07-30 13:24:16 +03:00
John O'Nolan
231d1065a8 I have no idea why this was its own file in layouts/modals.scss 2014-07-30 13:22:02 +03:00
John O'Nolan
1554248284 Error layout 2014-07-30 13:20:20 +03:00
John O'Nolan
e14cb231c0 Editor styles + split codemirror styles out into lib 2014-07-30 12:59:07 +03:00
John O'Nolan
6f1e9500fa Content management
With massively reduced overnesting
2014-07-30 11:54:41 +03:00
John O'Nolan
e4258a396a Auth 2014-07-30 10:56:43 +03:00
John O'Nolan
fa9f2b510f About Ghost screen 2014-07-30 10:51:37 +03:00
John O'Nolan
e7fb5cb8ed Setup 2014-07-30 10:46:18 +03:00
John O'Nolan
71d20068a1 Adjusted animation timing for links 2014-07-30 10:39:17 +03:00
John O'Nolan
411848313c Stripping default nav styling completely
This is already conflicting with new styles horribly.
2014-07-30 10:20:27 +03:00
John O'Nolan
f6f2a15c4b Cleanup screen.scss / import uploader 2014-07-30 09:19:02 +03:00
John O'Nolan
f8033f92fe Deprecate utilities.scss 2014-07-30 09:09:11 +03:00
John O'Nolan
f636ea7015 Uploader 2014-07-30 09:08:49 +03:00
John O'Nolan
60c5e894a6 No underlines 2014-07-30 09:04:29 +03:00
John O'Nolan
5f2ab4e8f4 Merged typography.scss into global.scss 2014-07-30 08:44:05 +03:00
John O'Nolan
61563e74a1 Tables 2014-07-30 08:19:50 +03:00
John O'Nolan
04265ed7ca Merged rolelabels.scss into users.scss 2014-07-30 08:17:51 +03:00
John O'Nolan
a6d7dd9e86 Users 2014-07-30 08:17:00 +03:00
John O'Nolan
d7554ae988 NProgress 2014-07-30 08:14:39 +03:00
John O'Nolan
a513392db5 Notifications 2014-07-30 08:12:17 +03:00
John O'Nolan
2f4b0bee1c Deprecate navs.scss, merge into shame.scss 2014-07-30 08:09:57 +03:00
John O'Nolan
be54a65174 Modals 2014-07-30 08:08:54 +03:00
John O'Nolan
bd3bb31b6c 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
62fa89cd23 Floating header 2014-07-30 07:59:43 +03:00
John O'Nolan
db305054a5 Forms 2014-07-30 07:57:36 +03:00
John O'Nolan
8a3125c37b Buttons 2014-07-30 07:47:54 +03:00
John O'Nolan
65d08b6f25 Merge base.scss into global.scss 2014-07-30 07:43:36 +03:00
John O'Nolan
039a053e07 Animations 2014-07-30 07:41:35 +03:00
John O'Nolan
72732f9163 Minor cleanup 2014-07-29 19:50:13 +03:00
Paul Adam Davis
089e709f30 Working burger menu toggling 2014-07-29 18:48:31 +01:00
John O'Nolan
75dbfaa98a Moved dropdown styles to components dir 2014-07-29 19:24:17 +03:00
John O'Nolan
2ba2810ad0 Updated dropdown styling 2014-07-29 19:23:00 +03:00
John O'Nolan
54d2d47f6e Added dropdown to global nav user menu 2014-07-29 19:22:37 +03:00
John O'Nolan
39550091e8 Minor display tweaks 2014-07-29 17:35:03 +03:00
Paul Adam Davis
aab0bf4fa7 Better dropdowns styles and docs 2014-07-29 16:19:00 +01:00
John O'Nolan
593b6f0200 New page-content panel and base font-size refinements 2014-07-29 16:19:46 +03:00
John O'Nolan
770ff0d628 Mobile menu updates 2014-07-29 15:47:03 +03:00
Paul Adam Davis
97042a74c2 Refactor dropdowns to use extends 2014-07-29 12:46:19 +01:00
Paul Adam Davis
9ce280e81c First pass of dropdowns 2014-07-29 11:00:29 +01:00
John O'Nolan
3ede5f4feb Always hide horizontal scrollbars on body 2014-07-29 12:28:02 +03:00
John O'Nolan
12f78f22ce Introducing new mobile header and more mobile nav components 2014-07-29 12:10:20 +03:00
John O'Nolan
5a1e3299f8 First pass on global nav mobile styles 2014-07-29 02:34:47 +03:00
John O'Nolan
c108feb687 Slightly smaller user profile image for nav dropdown 2014-07-29 01:38:28 +03:00
John O'Nolan
38f3101518 Finished first pass on new navbar 2014-07-29 01:34:34 +03:00
John O'Nolan
76c8c86ada Clean up 2014-07-28 23:21:02 +02:00
John O'Nolan
24f51e0e37 Second pass on refactor - starting to introduce new global navigation component 2014-07-20 01:55:29 +02:00
John O'Nolan
2e2e939419 First pass refactor - cleaning the slate 2014-07-19 20:33:48 +02:00
Paul Adam Davis
e1a58c4402 Fix height bug on public bar unpublished button
Closes #73
2014-07-18 08:51:27 +01:00
Paul Adam Davis
fb3120dc4d 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
fd37406425 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
f15b261141 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
cd71e826ad More graceful fade-in animation 2014-07-17 13:00:53 +02:00
John O'Nolan
0672f5caef Restructuring setup styles so they can be used on signup, too 2014-07-17 12:29:16 +02:00
John O'Nolan
1d2e9b0585 More useful code comments 2014-07-17 11:34:51 +02:00
John O'Nolan
58df5289d9 Minor setup screen design tweaks 2014-07-17 11:25:11 +02:00
Paul Adam Davis
8808646647 Correct positioning of editor floating header elements
Closes #70
2014-07-17 10:10:56 +01:00
Paul Adam Davis
25e3d1c9f6 Firefox fixes for new select style 2014-07-17 09:54:54 +01:00
Paul Adam Davis
910af32fae 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
3e9a0834e5 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
b070d618c3 Button refactor
Refs #3101 & #916
2014-07-15 14:20:15 +01:00
Sebastian Gierlinger
2957b0175e 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
1fead26579 Adjust settings menu active state media query
Closes #68
2014-07-13 13:27:57 +01:00
Paul Adam Davis
d965407cec Remove legacy .active styling from settings-content container
Prep for #67
2014-07-13 13:21:56 +01:00
Paul Adam Davis
d48a22cc83 Add mobile styles for new-user button
Closes #58
2014-07-12 12:48:55 +01:00
Paul Adam Davis
4fed8e22c9 Fix tags on mobile
Closes #60
2014-07-12 12:43:12 +01:00
Paul Adam Davis
c936a855c4 Refactor :focus styles
Closes #61
2014-07-12 12:18:44 +01:00
Paul Adam Davis
892b93b155 Change form-group spacing & make labels bold
Closes #62
2014-07-12 12:18:35 +01:00
Paul Adam Davis
6beb557179 Add transparent border to add-user button
Closes #63
2014-07-12 12:18:24 +01:00
John O'Nolan
2913b26811 OCD 2014-07-11 19:23:41 +02:00
John O'Nolan
a7e48ecae5 Update role-labels 2014-07-11 19:20:00 +02:00
Paul Adam Davis
867648b76e 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
e5f207ea01 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
ca40e1abd8 Fix mobile styles on the edit user view 2014-07-11 17:08:11 +01:00
Paul Adam Davis
c3b5d852a6 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
b4f048f7cc Correct styling of setup form 2014-07-09 11:42:00 +01:00
Paul Adam Davis
13d453a980 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
f5bd8469e6 Re-add text area styling, which fixes the broken test. 2014-07-08 12:44:52 +01:00
Paul Adam Davis
bc3d06af2e Correct spacing on invite user modal to fit new form style 2014-07-07 17:14:31 +01:00
Paul Adam Davis
c256bd29ca Add down arrow to <select> elements 2014-07-07 17:13:45 +01:00
Paul Adam Davis
bf13578b05 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
faea9e664c Remove .active button styling and remove underlines on user management list items 2014-07-06 19:50:05 +01:00
Paul Adam Davis
db20afb809 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
74ba400075 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
282a20254c 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
3970eb5add 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
4f66a52050 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
87bf9a26bf 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
be45e6fcd0 Remove CSRF from client
no issue
- removed occurrences of csrf from client
2014-07-01 11:39:01 +02:00
Paul Adam Davis
f8d979e105 Post settings menu styling for https://github.com/TryGhost/Ghost/issues/3084 2014-07-01 10:30:03 +01:00
Paul Adam Davis
1b71bafa80 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
a39d064f0c 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
08604b0b0e Allow button/input type submit to be green 2014-06-26 11:43:35 +01:00
Paul Davis
e00e366e01 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
acbb086064 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
eaa6bdeb32 Add extra padding to post edit/settings buttons
Closes #39
2014-06-25 17:21:32 +01:00
Matt Enlow
0bb4c1bd06 Add off as a noop function to touch editor.
Closes #3107
2014-06-25 10:04:00 -06:00
Paul Adam Davis
422220a721 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
7e44edfaab 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
6c89e529be 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
4af9c41363 Prevent cover image <img> having a max height. 2014-06-25 12:40:11 +01:00
Paul Adam Davis
ad91618cb2 Add vertical table alignment class 2014-06-25 12:37:01 +01:00
David Arvelo
6658675646 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
ce63ddd635 Delete dev font files 2014-06-24 21:17:44 +01:00
Paul Adam Davis
4ad3c19e4b 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
2b318fdc36 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
05a7b5fad6 Mac height for profile, cover & logo images in settings
Closes #43 & #45
2014-06-24 17:13:45 +01:00
Paul Adam Davis
b3a11e9cb9 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
5ee59b6957 Move styles from ember-hacks.css in Ghost to here 2014-06-24 14:50:06 +01:00
Paul Adam Davis
92fe4966c9 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
65de6202ec 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
65f7da8365 Remove pointer-events: none; on modal container
Closes #38
2014-06-20 14:54:06 +01:00
Paul Adam Davis
fe6e6c8751 Correct styling of checkboxes in the post settings menu 2014-06-20 14:46:04 +01:00
Paul Adam Davis
86791afd8b Manually merge (and update) 28954b5e10 2014-06-20 10:25:38 +01:00
David Blurton
6d5318208e Don't fade out notifications when the mouse is over 2014-06-20 09:54:31 +01:00
Paul Adam Davis
4510a8bf44 Restructure .scss files, global box sizing and minor fixed from the Ember Admin rewrite 2014-06-20 09:29:57 +01:00
David Blurton
f2ea9ad765 Don't fade out notifications when the mouse is over 2014-06-18 11:13:52 +01:00
Robert Jackson
279908df66
Use loader.js from bower. 2014-06-08 19:39:45 -04:00
Lucas Holmquist
6d775fdd33 Implement a Generic Uploader - #2886 2014-06-07 19:58:16 -04:00
Hannah Wolfe
fc8a5d54e9 Merge pull request #2840 from novaugust/popover-service
Added popover component
2014-06-01 11:10:00 +01:00
Matt Enlow
37fd17c084 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
664048be4e 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ć
84a3220042 Fix checkboxes accessibility
Fix checkbox baseline
2014-05-27 15:51:12 +02:00
John O'Nolan
22754bb964 Rename old pacman variable 2014-05-25 15:34:14 +02:00
John O'Nolan
93bb90db53 Add database icon / remove pacman icon 2014-05-25 15:30:06 +02:00
John O'Nolan
c32befdd03 First pass on Code Injection base UI 2014-05-25 14:40:34 +02:00
John O'Nolan
c73030f366 New hgroup utility class 2014-05-25 14:40:08 +02:00
John O'Nolan
85420d39ff Standards cleanup 2014-05-25 14:21:59 +02:00
John O'Nolan
25a536d4dc Fix crazy overnesting 2014-05-25 14:16:42 +02:00
John O'Nolan
3abd027b03 New first run screen 2014-05-25 11:15:00 +02:00
John O'Nolan
c04185fa3d New utility class for vertical centering 2014-05-25 11:13:59 +02:00
Hannah Wolfe
843a8fd51f 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
4378895a30 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
ff5af6c29b 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
39ae3869a1 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
d4655a87ec Fix mobile bug
Tag field fade-shadows overlapping the settings icon
2014-03-18 10:54:19 +01:00
John O'Nolan
4a9d3e9d9e 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
7cd9655995 Fix broken mobile inputs 2014-03-15 16:32:48 +01:00
John O'Nolan
d3d6d9aefd Fix width bug on form inputs 2014-03-15 15:50:43 +01:00
Manuel Mitasch
ca9a23f2d6 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
98b3ae3caa Fix normalize.css import 2014-03-12 21:27:33 +00:00
John O'Nolan
2f9239f72b REFACTOR THE THINGS 2014-03-11 23:23:42 +00:00
John O'Nolan
2dbb2c0c17 Merge pull request #16 from halfdan/hello_ruby_you_beauty
Re-introduce Ruby
2014-03-12 00:12:11 +01:00
John O'Nolan
2fa9d84836 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
9b7b047cbc 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
fffbf8ae36 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
4d290e56a3 Remove old %extend placeholders 2014-03-11 14:59:43 +01:00
Fabian Becker
5658f2587a 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
799ec2fdf3 Comment/indentation cleanup 2014-03-10 17:37:08 +01:00
John O'Nolan
10e2d5b7df Fix indentation 2014-03-10 16:16:37 +01:00
John O'Nolan
2408ab5d3d Removing disturbing mental image 2014-03-07 20:47:11 +01:00
John O'Nolan
56715d86a1 Removing .modal-info
This is not used anywhere in ghost core
2014-03-07 20:44:34 +01:00
John O'Nolan
e8ea4fb201 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
4be10448a0 Adding missing loader.js 2014-03-07 10:14:40 +00:00
Fabian Becker
df870e3abb 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
9de03c1151 Remove old references to plugins
See TryGhost/Ghost/2295
2014-03-01 11:37:38 +01:00
Hannah Wolfe
bee58922b2 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
4a6747359e Initial commit 2014-02-23 15:07:01 +01:00
Paul Adam Davis
2581fb1822 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
572dc0c2d6 Fix input:focus border issues from #2088 2014-02-18 16:59:01 +00:00
John O'Nolan
79e1356b66 Override border on login input:focus
Fixes #2088
2014-01-31 18:30:14 +07:00
John O'Nolan
51fd62c118 Spit & Polish 2014-01-30 23:53:07 +07:00
Hannah Wolfe
be9afc439c Merge branch '0.4-maintenance' 2014-01-28 09:25:38 +00:00
John O'Nolan
cf805181e6 Hide extra space taken up by update notification
See #1995
2014-01-28 09:07:36 +00:00
Hannah Wolfe
1f32428296 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
fa98a1ed18 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
185f3c65cd Larger min-height for textareas, and size based on font size 2014-01-21 14:35:47 +07:00
John O'Nolan
b05f00087a 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
02473ce852 Show character limit below blog description textarea
closes #1970
2014-01-17 21:39:43 +01:00
Hannah Wolfe
198e936423 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
8f02b3341b 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
5a638ed421 Fix John being stupid
See #1878
2014-01-07 22:20:32 +01:00
John O'Nolan
3dd8f76a27 Speed up heinous slow animations 2014-01-07 22:19:52 +01:00
John O'Nolan
066637aca1 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
a1f64d2f1f 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
38c62141cf Disabled styles for disabled buttons
Duh
2014-01-03 22:13:02 +01:00
John O'Nolan
c17271a4c4 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
5f5bbbfda1 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
b1d88a9c9a 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
a8e987ec6c 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
755ad934bf 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
470483e626 Set min-height on user profile cover image
Fixes #1752
2013-12-27 13:32:51 +01:00
Hannah Wolfe
545f426c37 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
52ab9fc93d Merge pull request #1653 from AgtLucas/master
Fix typo?
2013-12-20 07:24:37 -08:00
Hannah Wolfe
05c603ee2c 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
d7b5144775 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
f350bf3e0f Fix typo? 2013-12-10 09:54:19 -02:00
Hannah Wolfe
505b6d0d6f Scoping tag styling to the tag control
fixes #1309
2013-11-28 19:09:25 +00:00
Fabian Becker
dcd3b192c1 Subdir support for admin interface
refs #527
2013-11-27 09:57:38 +00:00
Hannah Wolfe
d6aa1df49d Merge pull request #1548 from bastilian/improve_image_uploader_ui
Improve image uploader UI
2013-11-24 10:07:38 -08:00
Daniel Hanson
03be4abaaa 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
9692f1d577 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
bf9b5570a1 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
34e453039b 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
0d4283176e Add support for SVG images 2013-11-12 11:37:54 -07:00
Hannah Wolfe
f022e8486d Merge pull request #1446 from JohnONolan/notifications
Growl style desktop notifications
2013-11-12 04:15:35 -08:00
Hannah Wolfe
b8a98660fb Merge pull request #1440 from JohnONolan/post-settings
Post settings refactor
2013-11-12 03:50:56 -08:00
John O'Nolan
c40357c8cb Growl style desktop notifications
First pass. See #1349
2013-11-12 09:58:45 +01:00
John O'Nolan
4ee1b9849b Complete post-settings menu refactor 2013-11-12 09:19:02 +01:00
Jakob Gillich
50510e63fd Show "Write a new Post" message when there are no posts
closes #1308
2013-11-11 22:14:01 +01:00
Fabian Becker
0faabe9132 Fix page errors during builds.
fixes #1434
2013-11-10 23:46:09 +00:00
John O'Nolan
bbc1d0207e Kill iCheck cause Hannah says it has genital warts. 2013-11-08 14:38:23 +01:00
John O'Nolan
62416d203a Make webkit autocomplete login styles less heinous
Fixes #771
2013-11-03 09:29:59 +01:00
Ben Gladwell
69d3a1460d 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
9b188e592b 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
376a3ec2b2 Fix bug where image-delete icon was on top of floating headers 2013-10-30 14:20:44 +01:00
Fabian Becker
798e5b1a4e 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
b07facbb70 Updated Breakpoint Sass 1.3.0 => 2.0.6 2013-10-27 16:25:26 +01:00
Will Glynn
1bcb751e29 <code>/<tt> elements should wrap since they're used inline 2013-10-25 08:48:57 -05:00
Fabian Becker
fc019fe675 Fixed style of modal in preview.
fixes #1179
2013-10-23 21:13:29 +01:00
Matthew Harrison-Jones
5c7dc88eda Removed special character from SCSS
Replaced it with the escaped unicode version (\21AA).
2013-10-23 11:38:57 +01:00
Hannah Wolfe
2d1e28335c 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
8743766071 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
27e66f75f3 Show proper error message when image upload fails
fixes #994
2013-10-22 21:08:26 +00:00
Hannah Wolfe
0d1fd56c0e 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
3e2ce74c90 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
65dcb17117 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
d9c9ca0e33 Merge pull request #4 from sebgie/sec/3
Sec/3
2013-10-17 10:49:40 -07:00
Sebastian Gierlinger
90176e1f40 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
1bd8002858 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
c6d805cd28 Merge pull request #1090 from bnchdrff/user-image-ff-fix
fixes firefox user image disappearance
2013-10-17 14:04:34 +01:00
Talon
675d02d466 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
0e5dc9275c Fixed further firefox display bugs
See #1090
2013-10-16 17:26:28 +02:00
John O'Nolan
b1edd889b9 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
672bb01d15 fixes firefox user image disappearance
take advice from @JohnONolan and subtract border-width
2013-10-16 10:47:06 -04:00
abe33
c6b9b80e18 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
0bcc111025 tweaked .floatingheader background for non-webkit browsers 2013-10-15 13:29:56 -06:00
Jacob Gable
c153a3ca01 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
119b0ea430 Merge branch '0.3.2-wip'
Conflicts:
	core/client/assets/lib/uploader.js
2013-10-11 20:56:15 +01:00
cobbspur
c52a10cd1a 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