Commit graph

26 commits

Author SHA1 Message Date
Kelly Dwan f49a938c1e
Theme Search: Fix search box alignment 2019-10-28 20:04:03 -04:00
Kelly Dwan c367a00071
Pledge List: Style pagination 2019-10-28 19:58:22 -04:00
Kelly Dwan 14ed8d4d6b
Pledge List Filters: Update style and add filter on-change functionality
- Style search box & filter dropdown
- Enable sort filter on select change
- Fix some PHP notices
2019-10-28 19:39:16 -04:00
Kelly Dwan 5b5a1d50ff
Pledge List: Fix grid layout for small screens 2019-10-28 18:21:59 -04:00
Kelly Dwan ac1027b550
Homepage: Fix contributor highlight section 2019-10-28 18:21:54 -04:00
Kelly Dwan c6c4baf62b
Theme: Fix heading level styles 2019-10-28 17:02:45 -04:00
Kelly Dwan 840ae50ac5
Theme: Tweak paralleogram styles 2019-10-28 16:58:39 -04:00
Corey McKrill dbdcf26bd9 Theme: Single pledge view (#43)
* Theme: Create template part for single pledge

* Plugin: Add functions for handling xprofile data

* Plugin: Add helper function for getting contributor user objects

* Theme: Display aggregated contributor data on single pledge view

* Theme: Add functions, markup, and styles to show team badges

* Theme: Add badge for Test team

* Theme: Add tentative URL for report a pledge link

* Theme: Add support for post thumbnails

* Theme: Add org logo to single pledge view

* Theme: Update `$content_width` to 960

This matches the width of the content in the global header and
the About page.

* Move pledge template to a file used by the template heirarchy

* Clean up some PHPCS errors

* Move pledge structure out to just the list items

* Create file for single pledge styles

* style badge grid into a grid.

* Add a custom image size for the logo

* Update styles

* Un-hide pledges with no confirmed contributors

* Fix content width
2019-10-28 13:38:49 -04:00
Kelly Dwan 553247cbf7
Pledge List: Display pledges in list with sort and search ability (#33)
* Use the post-type when choosing template partial
* Add pledge archive templates
* Style pledge list page
* Style individual pledge
* Use pledge featured image for the logo
* Fix aspect ratio of image
* Add real contributors to the pledges
* Enable sorting and searching of pledges
* Add pledge sorting markup
* Style the page header
* Restrict any pledges with no contributors from being shown on the frontend
* Update contributor count key name
2019-10-25 16:34:46 -04:00
Kelly Dwan 157b73e13f
Homepage: clean up item positioning
- Remove accidental drop-shadow (mistake in Figma)
- Use the correct fonts for callout text
- Switch to a fixed width of rems over percentages to make alignment easier
- Use rems to outdent quote so it lines up with the edge of the photo
- Overlap the blue box + photo on larger screens, and offset the quote down
- Remove unused selectors
- Fix quote display in the editor
2019-10-24 13:10:40 -04:00
Ian Dunn 78822c4323
Theme: Iterate on pullquotes and other hero areas.
See #2.
2019-10-18 14:29:26 -07:00
Ian Dunn 9c700e59cb
Theme: Iterate on About fonts and block styles. 2019-10-18 09:19:27 -07:00
Kelly Dwan fd40341aaa
Update color variables to match core 2019-10-09 14:39:48 -04:00
Kelly Dwan 0f675ae6c3
Create Pledge: Make form functional (#31)
This broadly enables & styles the pledge forms across the frontend and wp-admin.

- Switches field `readonly` control to a variable called `$readonly`
- Create `PledgeMeta\get_pledge_meta()` which will fetch data from `$_POST`, a pledge post, or defaults.
- Add Number of Employees field
- Update form content to match mockup:
  - fields now have help text
  - success message uses content from mockup
  - logo field is moved to the "org info" section
- Style form in theme, add some similar styles to the admin

Fixes #7, fixes #28
2019-10-08 18:29:35 -04:00
Kelly Dwan b08effbe8b
Move layout-related code to separate component files 2019-10-07 17:11:35 -04:00
Kelly Dwan 3ebc219416
Remove build files (#19)
* Remove build CSS files

* Ignore built files

* Remove call to RTL styles
2019-10-07 15:59:38 -04:00
Ian Dunn 883ed29374
Theme: Align header text left on mobile. 2019-10-05 09:48:26 -07:00
Kelly Dwan 7a355b8314
Theme: Fix interior page layout (#18)
Fixes #4
2019-10-04 11:32:57 -04:00
Kelly Dwan e20a834cb0
Use columns block for the parallelogram style (#16)
This avoids the complex mutliply-nested blocks and makes the block style less reliant on a custom class. On mid-sized screens, we switch to plain horizontally-overlapping rectangles, and on small screens we stack the columns, and vertically-overlap.

Also, remove the parallelogram styles from the editor display. The skew and positioning don't work well in the editor context.
2019-10-03 15:09:06 -04:00
Kelly Dwan f8558fe9c2
More blocks styles moved to the appropriate object/utilities folders
Simplifies pullquote and fixes the issues with editor styles; move color classes utilities.
2019-10-02 17:08:14 -04:00
Kelly Dwan e6b3fbd989
Move blocks and block styles to the correct places in the CSS structure
There should be no visual changes
2019-10-02 15:54:45 -04:00
Kelly Dwan ef8c78f4f3
Update and document CSS structure
Looking at ITCSS, it appears the last level should be `utilities`. Since that's a name that has no negative connotations, let's use that instead. Also add a README documenting each folder's use.
2019-10-02 10:57:31 -04:00
Ian Dunn 1db9ec9203
Theme: Add editor styles. 2019-09-26 15:38:53 -07:00
Ian Dunn a197adc6e2
Theme: Add WIP styles for About page. 2019-09-26 15:38:53 -07:00
Ian Dunn 7b45a8c1c1
Theme: Move above pub/ folder to avoid clutter from sync commits. 2019-09-24 16:49:35 -07:00
Ian Dunn de191e098b
Theme: Initial commit.
This was forked from `pub/wporg-main` and `pub/wporg-plugins`, and then customized.
2019-09-24 16:23:39 -07:00