WordPress.org

Make WordPress Core

Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#23869 closed enhancement (fixed)

Twenty Thirteen: add support and styling for Chat structured post format

Reported by: lancewillett Owned by: lancewillett
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

See #23625 for the output Chat post formats will provide, with new the_chat() function, which will replace the_content() in content-chat.php template file.

Attachments (5)

23869.diff (1.2 KB) - added by lancewillett 13 months ago.
default-view.png (116.9 KB) - added by lancewillett 13 months ago.
striped-rows.png (107.4 KB) - added by lancewillett 13 months ago.
23869.1.diff (631 bytes) - added by lancewillett 13 months ago.
chat-format-joen.png (48.6 KB) - added by lancewillett 13 months ago.

Download all attachments as: .zip

Change History (11)

lancewillett13 months ago

comment:1 lancewillett13 months ago

As a proof-of-concept for "striping" rows, colors are wrong but just as an example:

.format-chat .chat-transcript {
	background-color: #e8e5ce;
	margin: 0;
}

.format-chat .chat-transcript dt {
	clear: both;
	color: #686758;
	float: left;
	font-weight: normal;
	padding: 5px;
	width: 40%;
}

.format-chat .chat-transcript dd {
	padding: 5px;
}

.format-chat .chat-transcript cite {
	font-style: normal;
}

.format-chat .chat-transcript dt:nth-of-type(even),
.format-chat .chat-transcript dd:nth-of-type(even) {
	background-color: #f7f5e7;
}
Last edited 13 months ago by lancewillett (previous) (diff)

comment:2 lancewillett13 months ago

  • Keywords has-patch ui-feedback added; needs-patch removed

lancewillett13 months ago

lancewillett13 months ago

comment:3 markjaquith13 months ago

In 23806:

Drop the_chat() into twentythirteen. Style updates to follow — just wanted the_chat() to be utilized somewhere.

props lancewillett. see #23869

lancewillett13 months ago

comment:4 lancewillett13 months ago

  • Keywords ui-feedback removed

.1 patch (and -joen screenshot) for styles suggested by Joen.

comment:5 lancewillett13 months ago

  • Owner set to lancewillett
  • Resolution set to fixed
  • Status changed from new to closed

In 23817:

Twenty Thirteen: better styles for Chat structured post format output. Props Joen for starter CSS, closes #23869.

comment:6 lancewillett13 months ago

In 23877:

Twenty Thirteen: update Chat post format styles to match markup changes in r23876. See #23869.

Note: See TracTickets for help on using tickets.