Commit Graph

467 Commits

Author SHA1 Message Date
John O'Nolan
bd163ada46 Merge pull request #4014 from PaulAdamDavis/fix-mobile-nav-click
Change class for editor PSM closing transparent div
2014-09-12 14:51:05 +02:00
Paul Adam Davis
9a233cde7b Change class for editor PSM closing transparent div
No issue

- Changes the class used by the transparent div used to close the PSM

Without this change, when in the editor and the nav is open, the transparent div here is above the div the nav is looking for. So, the div for the PSM is clicked, rather than the nav div.
2014-09-11 16:38:57 +01:00
Matt Enlow
5b74929d1c Merge pull request #4013 from PaulAdamDavis/settings-nav-icons
Add icons to settings nav menu
2014-09-11 09:11:34 -06:00
Matt Enlow
9577f61f3b Merge pull request #4011 from PaulAdamDavis/fix-notifications
Fix notification position when PSM is open
2014-09-11 08:48:31 -06:00
Paul Adam Davis
8f9401a78c Add icons to settings nav menu
References #3810

- Re-adds the icons for each item of the settings nav and related styles

I've opted to go with adding `.icon-users` classes instead of setting them in the Sass.
2014-09-11 15:27:28 +01:00
Paul Adam Davis
9e1f223892 Snap page transition for mobile settings
References #3810

- Disables the `.fade-in` animation for settings page transitions on mobile
2014-09-11 14:19:16 +01:00
Paul Adam Davis
0bd2294828 Fix notification position when PSM is open
Closes #4006

- Adds a transition to the notification containers
- Adjusts the position of bottom notifications when PSM is open
2014-09-11 12:57:41 +01:00
Paul Adam Davis
d419bec66b Fix modal positioning
Closes #4008

- Adds a `.modal` class which extends `%modal` - it disappeared with the migration to Libsass
2014-09-10 19:34:39 +01:00
Paul Adam Davis
00abfa64fe [WIP] Wire up new mobile nav
References #3810

With GUI2, there's now a number of places to open the mobile navigation menu. This handles those clicks.
2014-09-10 18:33:27 +01:00
John O'Nolan
47a0a71350 Merge pull request #3960 from PaulAdamDavis/fix-user-settings-page
Fix user profile settings
2014-09-10 19:04:06 +02:00
Paul Adam Davis
7119493a1e Prevent horizontal scroll on content list
Closes #4000

- Adds `overflow-x: hidden;` to the content list & preview wrapper
2014-09-10 16:48:33 +01:00
Matt Enlow
5ccbf799e1 Merge pull request #3965 from halfdan/3936-psm-1
PSM Step 1
2014-09-10 09:35:21 -06:00
Fabian Becker
961ab5f064 Post Settings Menu - Step 1
closes #3936
- Implement new PSM
- Hook up close action
- Automatically close when view is destroyed
- Close on click and when pressing ESC
2014-09-10 17:31:19 +02:00
Jamie Knight
040ee823ba Improve keyboard support
issue #3964
- added :focus selector to improve keyboard support in modern browsers
- added :active selector to improve keyboard support in old IE
2014-09-10 01:51:25 +01:00
Paul Adam Davis
ecf5d045f3 Fix user profile settings
References #3810, #3944

- Fixes several small visual bugs with the user settings page
- Changes `.settings-subview-header` to use a clearfix instead of `overflow: hidden;` (fixing style issues in #3944)
2014-09-09 11:21:39 +01:00
Paul Adam Davis
a8a72dc55c Remove form focus halo
No issue

- Removed the blue halo from around focused form elements
- Slightly refactored the forms to target less text inputs and have cleaner syntax
2014-09-05 17:16:55 +01:00
Paul Adam Davis
80a048c2d4 Fix floaring header gradient in FF and settings images
No issue

- Corrects the syntax used for the floating header gradient so it now gets prefixed correctly for Firefox
- Removes padding from `<button>` elements (fixes padding around images in buttons)
- Adds display: block; to settings images to prevent a Webkit bug which adds space under the image
2014-09-03 15:52:01 +01:00
John O'Nolan
719f56f918 Merge pull request #3935 from PaulAdamDavis/new-psm
[WIP] New post settings menu
2014-09-03 01:29:14 +03:00
Paul Adam Davis
d1910c6ea5 Static integration of the new PSM
Reference #3932

Take this, and make it work.
2014-09-02 22:07:13 +01:00
Paul Adam Davis
9341d05d16 Update About page styles
Closes #3919

With the move to new global styles, the about page styles got a bit borked. This fixes those.
2014-09-02 16:48:56 +01:00
Paul Adam Davis
3f72028a73 Fix notification styles
No issue

I'm not sure why, but @extend's here using placeholder selectors, not classes, work.

This fixes the notification and modal styles, which meant changing how the default button selector works. It is now a placeholder, and a real class extends that. The modal styles extended the default button style, which can now happen.
2014-08-31 20:56:05 +01:00
Hannah Wolfe
2a843c309e Adding Grunt tasks for Sass 2014-08-31 14:16:58 +01:00
Hannah Wolfe
91b5d27492 Merge TryGhost/Ghost-UI into TryGhost/Ghost 2014-08-30 18:57:31 +01:00
Paul Adam Davis
7782c48383 Swap out Ruby Sass for Node Sass
- Uses Node Bourbon https://www.npmjs.org/package/node-bourbon
- Produces source maps
- Removed all ruby dependencie

History:
- Remove bourbon from package and cleanup grunt tasks
- Un-bourbon keyframe animations
- Un-bourbon transitions
- Un-bourbon box-sizing
- Un-bourbon font-feature-settings
- Import bourbon clearfix mixin
- Un-bourbon linear gradients
- Un-bourbon input types
- Un-bourbon positions
- Un-bourbon transforms
- Un-bourbon notification animations
- Un-bourbon uploader box-sizing
- Un-bourbon border-radius
- Un-bourbon splitbutton transitions
- Add triangle mixin
- Un-bourbon default container positioning
- Un-bourbon flexbox properties
- Fix triangle mixin - It now has the same output as the Bourbon mixin
- Add autoprefixer
- Correct global default font size
- Remove unwanted prefixes - Because, y'know, autoprefixer
- Output from node sass migration - Includes all the files we usually have, plus source maps
2014-08-30 14:13:36 +01:00
John O'Nolan
1c37ad9a3a Merge branch 'fix-profile' into GUI-2.0
* fix-profile:
  Fix up user profile screen
2014-08-26 13:11:53 +03:00
John O'Nolan
73439ace0e Fix up user profile screen 2014-08-26 13:11:38 +03:00
Nicola Mustone
1d0cb1603f fix username length 2014-08-21 10:07:11 +02:00
Paul Adam Davis
7e55f9a393 Reimplement notification close button hit area size
Essentially, this: 087868c1c9
2014-08-19 15:31:18 +01:00
Paul Adam Davis
9208677e6c Prevent nav items from wrapping 2014-08-19 15:27:01 +01:00
Paul Adam Davis
8f225fe640 Refactor auth CSS
This means signing screen icons now depend on new markup
2014-08-19 15:25:24 +01:00
Paul Adam Davis
c63c88c37f Move nav-item file, use variable colours instead of some hexes 2014-08-18 18:08:52 +01:00
Paul Adam Davis
bacb7dd93c New PSM markup, nav-item, and refactored input icons
References #97, #98, #99
2014-08-18 17:57:04 +01:00
John O'Nolan
85b7819791 Implement new button markup 2014-08-17 14:57:07 +03:00
John O'Nolan
71350ff0a0 Settings nav overhaul 2014-08-16 19:39:52 +03:00
John O'Nolan
e74e7e1f37 Remove old button styles 2014-08-16 19:39:37 +03:00
Paul Adam Davis
e9a976c7a5 Fix images in buttons 2014-08-14 17:56:23 +01:00
Paul Adam Davis
48b83a9dc7 Re-implement old form styles 2014-08-14 16:29:34 +01:00
Paul Adam Davis
2c9f47d24b Badge component 2014-08-14 14:38:32 +01:00
Paul Adam Davis
6472d80474 Pagination component 2014-08-14 12:48:44 +01:00
Paul Adam Davis
60f1b47129 Allow buttons elements in dropdowns 2014-08-13 15:15:23 +01:00
Paul Adam Davis
147f1a836f Updated dropdown positions in layouts 2014-08-13 14:25:28 +01:00
Paul Adam Davis
ad26ed39b7 Implement labels 2014-08-12 15:27:22 +01:00
Paul Adam Davis
58e4d47e08 User list styles from master 2014-08-12 15:26:20 +01:00
Robert Jackson
569fb34a1f
Use the ghost-paths consistently.
Always using the utility function ensures that we have the ability to
update/change/etc these paths without scouring the codebase.

For example, if we ever decide to bump the API version it would be nice
if there was only one location it needed to be updated at.
2014-08-10 13:10:29 -04:00
John O'Nolan
a1ef78e7f9 OCD 2014-08-10 09:36:36 +03:00
Paul Adam Davis
67b9d393db Reimplement visual ascetic styles 2014-08-08 21:54:22 +01:00
John O'Nolan
333b39eef2 Reset buttons without classes 2014-08-07 16:37:47 +03:00
John O'Nolan
d3b3a2ed80 Fix floatingheader alignments 2014-08-07 16:35:58 +03:00
John O'Nolan
c8ebc66fc7 Improved mobile editor styles 2014-08-07 15:33:56 +03:00
John O'Nolan
c0d51817a9 Update application frame styles for content + editor 2014-08-07 15:11:01 +03:00