Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#23869 closed enhancement (fixed)

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

Reported by: lancewillett's profile lancewillett Owned by: lancewillett's profile 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 11 years ago.
default-view.png (116.9 KB) - added by lancewillett 11 years ago.
striped-rows.png (107.4 KB) - added by lancewillett 11 years ago.
23869.1.diff (631 bytes) - added by lancewillett 11 years ago.
chat-format-joen.png (48.6 KB) - added by lancewillett 11 years ago.

Download all attachments as: .zip

Change History (11)

@lancewillett
11 years ago

#1 @lancewillett
11 years 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 11 years ago by lancewillett (previous) (diff)

#2 @lancewillett
11 years ago

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

#3 @markjaquith
11 years ago

In 23806:

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

props lancewillett. see #23869

#4 @lancewillett
11 years ago

  • Keywords ui-feedback removed

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

#5 @lancewillett
11 years 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.

#6 @lancewillett
11 years 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.