Commit Graph

489 Commits

Author SHA1 Message Date
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