Skip to content

Instantly share code, notes, and snippets.

@tysone
Created November 18, 2011 20:07
Show Gist options
  • Save tysone/1377601 to your computer and use it in GitHub Desktop.
Save tysone/1377601 to your computer and use it in GitHub Desktop.
/*$Id: commentsModule.css 82379 2011-11-17 21:49:30Z fisherc $
/css/0.1/screen/community/comments/2.0/commentsModule.css
(c)2006 - 2011 The New York Times Company */
/* font stacks */
.commentsContainer .commentsModule,
.commentsContainer .commentReadMore {
font-family: arial, helvetica, sans-serif;
font-size: 12px;
}
.commentsContainer .commentBody p {
font-family: georgia,"times new roman", times, serif;
}
.commentsContainer .commentsLoader img {
margin: 18px auto;
display: block;
}
.commentsContainer .commentsHeader {
margin-bottom: 12px;
}
.commentsContainer .commentsHeader .element1 {
width: 66%;
}
.commentsContainer .commentsIntro {
margin-bottom: 0;
}
.commentsContainer .commentsZero .inset {
margin-bottom: 20px;
}
.commentsContainer .commentsZero p {
margin-bottom: 0;
color: #808080;
text-align: center;
}
.commentsContainer .commentsModule {
padding-top: 5px;
}
.commentsContainer .commentsModuleHeader {
margin-bottom: 1px;
background-color: #f4f4f4;
}
.commentsContainer .commentsModuleHeader .tabsContainer {
margin-top: -7px;
margin-left: 10px;
height: 30px;
_width: 325px ; /* ie6 */
_bottom: -2px;
}
.commentsContainer .commentsModule .element1,
.commentsContainer .commentsModule .element2 {
_display: inline; /* ie6 */
}
.commentsContainer .commentsModuleHeader .tabs {
overflow: visible;
}
.commentsContainer .commentsModuleHeader .tabs li {
border: none;
background: none;
padding: 15px 0 10px 0;
line-height: 1.2em; /* 12px */
}
.commentsContainer .commentsModuleHeader .tabs li a {
padding: 3px 10px;
border-right: 1px solid #ccc;
}
.commentsContainer .commentsModuleHeader .tabs .selected {
font-weight: bold;
padding: 13px 10px;
background-color: #fff;
border-top: 1px solid #ccc;
-moz-box-shadow: -3px 0 1px -2px rgba(0, 0, 0, 0.2), 3px 0 1px -2px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: -3px 0 1px -2px rgba(0, 0, 0, 0.2), 3px 0 1px -2px rgba(0, 0, 0, 0.3);
box-shadow: -3px 0 1px -2px rgba(0, 0, 0, 0.2), 3px 0 1px -2px rgba(0, 0, 0, 0.3);
position: relative;
}
.commentsContainer .commentsModuleHeader .tabsContainer .precedesSelected a,
.commentsContainer .commentsModuleHeader .tabsContainer .selected a,
.commentsContainer .commentsModuleHeader .tabsContainer .lastItem a {
border-right: 0;
}
.commentsContainer .tabsContainer .commentsRefer {
margin-top: 15px;
font-size: 1em; /* 10px */
line-height: 1.2em; /* 12px */
}
.commentsContainer .commentsRefer a,
.commentsContainer .commentsRefer a:link,
.commentsContainer .commentsRefer a:visited,
.commentsContainer .commentsRefer a:hover,
.commentsContainer .commentsRefer a:active {
color: #333;
}
/* remove outline on js enabled links */
.commentsContainer .commentsModuleHeader .tabs li a,
.commentsContainer .commentSort a,
.commentsContainer .commentWrite a,
.commentsContainer .commentReply a,
.commentsContainer .commenterIdentity a,
.commentsContainer .commentFlag a,
.commentsContainer .commentActionsList a
.commentsContainer .commentsModule .boxClose {
outline: 0;
}
/* commentActions area needs non relative units (px) */
.commentsContainer .commentsModuleHeader .commentActions {
*width: 165px; /* ie6-7*/
}
.commentsContainer .commentSort {
height: 21px;
*height: 24px; /* ie6-7*/
padding: 10px 10px 0 0;
*padding-top: 7px;
border-right: 1px solid #ccc;
}
.commentsContainer .commentSort .controlLabel {
font-weight: bold;
margin-right: 4px;
}
.commentsContainer .commentSort .controlLabel,
.commentsContainer .commentSort a {
font-size: 1.1em;
line-height: 1;
color: #333;
}
.commentsContainer .commentSort .toggleControl {
padding-right: 10px;
background: url(/images/toggles/toggle_down_icon_7x6_black.png) no-repeat right 3px;
}
.commentsContainer .commentSort .toggleControl:hover {
background: url(/images/toggles/toggle_up_icon_7x6_black.png) no-repeat right 3px;
}
.commentsContainer .commentSort .toggleControl,
.commentsContainer .commentSort .toggleControl:hover {
background-position: right 4px\9; /* ie6-9 */
}
.commentsContainer .commentWrite {
width: 99px;
width: 101px\9; /* ie6-9 */
height: 21px;
padding: 10px 0 0 6px;
padding-left: 4px\9; /* ie6-9 */
border-left: 1px solid #fff;
}
.commentsContainer .commentWrite a {
display: block;
font-weight: bold;
}
.commentsContainer .commentWrite p,
.commentsContainer .commentWrite a {
font-size: 1.1em;
line-height: 1;
}
.commentsContainer .commentWrite p {
color: #909090;
}
.commentsContainer .commentsModule .tabContent {
border-width: 1px 0 0;
padding: 11px 0 15px;
}
.commentsContainer .commentsList {
margin-left: 0;
}
.commentsContainer .commentsList .comment { /* selector for specificity */
border-top: 1px solid #e2e2e2;
margin-bottom: 10px;
padding-top: 10px;
list-style-type: none;
font-size: 1em; /* reset to 10px base */
padding-bottom: 0; /* override .tabContent ol */
position: relative; /* containing block for positioned children */
}
.commentsContainer .commentsList > .comment:first-child,
.commentsContainer .commentConfirmation .commentsListNested > .comment:first-child { /* maybe a firstComment class since we are doing lastComment */
border-top: none;
}
.commentsContainer .commentsList .lastComment {
margin-bottom: 0;
}
.commentsContainer .commentThumb {
width: 9%;
margin-left: 6px;
}
.commentsContainer .commentThumb img {
height: 50px;
width: 50px;
}
.commentsContainer .commentContainer,
.commentsContainer .commentFieldContainer,
.commentsContainer .commentSubmitControl {
width: 88.5%;
}
.commentsContainer .commentHeader {
margin-bottom: 3px;
}
.commentsContainer .commentsModule ul li {
padding: 0 0 0 9px;
background-image: url(/images/bullets/bullet_2x2.png);
background-position: left .6em; /* bullet */
}
.commentsContainer .commenterMetaList {
margin: 0;
max-width: 82%; /* helps keep content away from form character count and banners */
}
ul.commenterMetaList li { /* ul for specificity over ol. */
font-size: 1.2em;
line-height: 1.25em; /* 15px */
color: #808080;
float: left;
display: inline;
margin-right: 8px;
}
.commentsContainer .commenterMetaList .commenter {
font-weight: bold;
background-image: none;
padding-left: 0;
}
.commentsContainer .commenterMetaList .commenter,
.commentsContainer .commenterMetaList .commenterNYT,
.commentsContainer .commenterMetaList .commenter a:link,
.commentsContainer .commenterMetaList .commenter a:visited {
color: #000;
}
.commentsContainer .commenterMetaList .commenterNYT {
background: url(/images/icons/t_icon_12x12.png) no-repeat 1px 1px;
padding-left: 16px;
}
.commentsContainer .commenterTrusted {
font-weight: bold;
color: #39b487;
}
.commentsContainer .commenterTrustedIcon {
background: url(/images/icons/trusted_icon_12x12.png) no-repeat 0 0;
display: inline-block;
*display: block;
height: 12px;
width: 12px;
text-indent: -9999px;
margin-top: 1px;
cursor: pointer;
}
.commentsContainer .commenterTrusted .commenterTrustedIcon {
cursor: default;
*float: left;
margin: 0 5px 0 0;
*margin-top: 1px;
}
.commentsContainer .commentBannerContainer {
position: relative;
width: 50px;
}
.commentsContainer .commentBanner {
width: 50px;
padding-top: 9px;
position: absolute;
top: -9px;
right: 6px;
}
.commentsContainer .bannerNYTPick,
.commentsContainer .bannerNYTReply {
margin: -9px 0 5px;
display: block;
text-indent: -9999px;
height: 42px;
width: 34px;
background-repeat: no-repeat;
}
.commentsContainer .bannerNYTPick {
background-image: url(/images/community/comments/banner_nyt_pick.png);
}
.commentsContainer .bannerNYTReply {
background-image: url(/images/community/comments/banner_nyt_reply.png);
}
.commentsContainer .commentFlagContainer {
clear: both;
}
.commentsContainer .commentFlag {
margin: 0;
color: #909090;
text-transform: uppercase;
font-size: 1em;
line-height: 1.5em; /* 15px */
background: url(/images/community/comments/flag_icon.png) no-repeat left 3px;
padding-left: 11px;
cursor: pointer;
}
.commentsContainer .commentBody {
margin-bottom: 5px;
}
.commentsContainer .commentBody p {
width: 85%;
font-size: 1.3em;
line-height: 1.308em; /* 17px */
color: #000;
word-wrap: break-word;
}
.commentsContainer .commentReadMore {
font-size: 0.769em; /* 10px */
line-height: 1.7em;
text-transform: uppercase;
margin-left: 2px;
padding-right: 10px;
background: url(/images/toggles/toggle_down_icon_7x6.png) no-repeat right 3px;
*background-position: right 5px;
zoom: 1;
white-space: nowrap;
}
.commentsContainer .commentFooter {
margin-bottom: 9px; /* might need a top margin on the replies box instead */
}
.commentsContainer .commentActionsList {
margin-bottom: 0;
height: 16px; /* keeps page from shifting down on commentActive when share icons show */
}
ul.commentActionsList li { /* ul selector to override .comment ul li padding */
float: left;
margin-right: 5px;
padding-left: 8px;
font-size: 1em;
line-height: 1.5em;
text-transform: uppercase;
color: #909090;
background-position: left 0.7em;
}
ul.commentActionsList li:first-child {
background-image: none;
padding-left: 0;
}
ul.commentActionsList .commentInReplyTo,
ul.commentActionsList .commentTime,
ul.commentActionsList .commentRecommendedByUser .commentRecommendLinkText {
text-transform: none;
}
ul.commentActionsList .commentInReplyTo,
ul.commentActionsList .commentTime {
font-size: 1.1em;
line-height: 1.363em; /* 15px */
}
.commentsContainer .commentActionsList li a {
color: #909090;
}
.commentsContainer .commentReply,
.commentsContainer .commentRecommend {
*margin-top: 1px;
}
.commentsContainer .commentRecommendedIcon,
.commentsContainer .commentShareFacebook a,
.commentsContainer .commentShareTwitter a {
height: 16px;
width: 16px;
}
.commentsContainer .commentRecommend a:hover {
text-decoration: none;
}
.commentsContainer .commentRecommend span {
display: inline-block;
*margin-top: -1px; /* ie6-7 */
}
.commentsContainer .commentRecommend a span {
cursor: pointer; /* ie needs this */
}
.commentsContainer .commentRecommendedByUser .commentRecommendLinkText,
.commentsContainer .commentRecommendedCount,
.commentsContainer .commentRecommendedIcon {
font-size: 1.1em;
line-height: 1.363em; /* 15px */
}
.commentsContainer .commentRecommendedIcon {
display: inline-block;
margin: -5px 2px 0;
*margin-top: -5px !important; /* reset from rule above */
}
.commentsContainer .commentRecommendedIcon {
background: url(/images/icons/thumb_up_icon.png) no-repeat 0 2px;
}
.commentsContainer .commentRecommendedByUser .commentRecommendedIcon {
background: url(/images/icons/thumb_up_icon_full.png) no-repeat 0 2px;
}
.commentsContainer .commentRecommendedIcon {
*background-position: 0 0;
}
.commentsContainer .commentShareTools ul {
margin-top: -1px;
}
.commentsContainer .commentShareTools ul li {
float: left;
padding-left: 0;
background-image: none;
}
.commentsContainer .commentShareFacebook a,
.commentsContainer .commentShareTwitter a {
display: block;
text-indent: -9999px;
}
.commentsContainer .commentShareFacebook a {
background: url(/images/icons/facebook_icon_16x16.gif) no-repeat 0 0;
}
.commentsContainer .commentShareTwitter a {
background: url(/images/icons/twitter_icon_16x16.gif) no-repeat 0 0;
}
.commentsContainer .commentActions .insetPadded {
padding: 7px;
}
.commentsContainer .commentActions.box {
margin-bottom: 0;
padding: 1px 0;
border-width: 1px 0 0;
}
.commentsContainer .commentActions.box .insetPadded {
padding: 0 0 0 7px;
}
.commentsContainer .commentActions.box .toggleControlBlock {
padding: 7px 7px 7px 0;
}
.commentsContainer .commentReadAllReplies {
margin-bottom: 0;
font-size: 1em;
line-height: 1;
text-transform: uppercase;
}
.commentsContainer .commentsModule .toggleControlBlock {
display: block;
line-height: 1; /* removes space so underline looks like a link */
}
.commentsContainer .commentsModule .toggleControlBlock:hover {
text-decoration: none;
}
.commentsContainer .commentsModule .toggleControlBlock span {
border-bottom: 1px solid transparent;
display: inline-block;
cursor: pointer;
}
.commentsContainer .commentsModule .toggleControlBlock:hover span {
border-bottom: 1px solid #004276;
}
.commentsContainer .commentsModule .toggleDownIcon {
display: inline-block;
background: url(/images/toggles/toggle_down_icon_7x6.png) no-repeat 0 0;
width: 7px;
height: 7px; /* 1px higher than image helps alignment */
}
.commentsContainer .commentsModule .toggleControlBlock .toggleDownIcon {
margin-left: 2px;
border-bottom: none !important;
}
.commentsContainer .commentsModule .inlineReferBd {
font-weight: bold;
}
.commentsContainer .commentsList,
.commentsContainer .commentsListNested {
margin: 0 !important; /* not sure i want important here.. */
}
.commentsContainer .commentsListPeek {
height: 400px;
overflow: hidden;
position: relative; /* ie7 */
}
.commentsContainer .commentsListNested .comment {
margin-bottom: 0;
}
.commentsContainer .commentsListNested .commentThumb {
width: 6%;
}
.commentsContainer .commentsListNested .commentThumb img {
height: 32px;
width: 32px;
}
.commentsContainer .commentsListNested .commentContainer,
.commentsContainer .commentsListNested .commentFieldContainer {
width: 91%;
}
.commentsContainer .commentsModule .moduleBackgroundColor {
background-color: #eaf2f9;
}
.commentsContainer .commentsModule .moduleBackgroundColorAlt {
background-color: #e6eff8;
}
.commentsContainer .commentsModule .statusBackgroundColor { /* might not need these color classes, lets see */
background-color: #fffdef;
}
.commentsContainer .commentsFooter {
position: relative; /* prevents box shadow from disappearing on commments with bg colors */
padding-top: 12px;
}
.commentsContainer .commentsFooterPeek {
-moz-box-shadow:
0 -1px 0 rgba(204, 204, 204, 0.4),
0 -2px 0 rgba(204, 204, 204, 0.3),
0 -3px 0 rgba(204, 204, 204, 0.2),
0 -4px 0 rgba(204, 204, 204, 0.1);
-webkit-box-shadow:
0 -1px 0 rgba(204, 204, 204, 0.4),
0 -2px 0 rgba(204, 204, 204, 0.3),
0 -3px 0 rgba(204, 204, 204, 0.2),
0 -4px 0 rgba(204, 204, 204, 0.1);
box-shadow:
0 -1px 0 rgba(204, 204, 204, 0.4),
0 -2px 0 rgba(204, 204, 204, 0.3),
0 -3px 0 rgba(204, 204, 204, 0.2),
0 -4px 0 rgba(204, 204, 204, 0.1);
background-color: #fff;
-moz-transition: margin-top 0.3s ease, padding-bottom 0.3s ease;
-webkit-transition: margin-top 0.3s ease, padding-bottom 0.3s ease;
transition: margin-top 0.3s ease, padding-bottom 0.3s ease;
}
.commentsContainer .commentsModule:hover .commentsFooterPeek { /* wink */
margin-top: -25px;
padding-bottom: 25px;
margin-top: 0\9; /* ie6-9 */
padding-bottom: 0\9;
}
.commentsContainer .commentsReadMore {
width: 50%;
margin: 0 auto;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
}
.commentsContainer .commentsReadMore p {
margin-bottom: 0;
font-size: 1.1em;
line-height: 1.363em; /* 15px */
text-align: center;
text-transform: uppercase;
font-weight: bold;
}
.commentsContainer .commentsReadMore a {
padding: 9px 0 7px;
}
.commentsContainer .commentsReadMore .toggleControlBlock .toggleDownIcon {
height: 8px;
margin-left: 3px;
vertical-align: middle;
}
/* hide elements */
.commentsContainer .commentFlag,
.commentsContainer .commentShareTools {
display: none;
}
/* comment active state */
.commentsContainer .commentActive {
background-color: #fafafa;
}
.commentsContainer .commentActive .commentActionsList a,
.commentsContainer .commentActive .commenter a {
color: #004276;
}
.commentsContainer .commentActive a:hover .commentRecommendLinkText {
text-decoration: underline;
}
.commentsContainer .commentActive .commentRecommendedByUser .commentRecommendLinkText,
.commentsContainer .commentActive .commentRecommendedByUser .commentRecommendedCount {
color: #333;
}
.commentsContainer .commentActive a .commentRecommendedIcon { /* only when you are in a link */
background: url(/images/icons/thumb_up_icon_active.gif) no-repeat 0 2px;
}
.commentsContainer .commentActive .commentRecommendedByUser .commentRecommendedIcon {
background: url(/images/icons/thumb_up_icon_full_active.gif) no-repeat 0 2px;
}
.commentsContainer .commentActive .commentRecommendedByUser a:hover .commentRecommendedIcon {
background: url(/images/icons/x_icon_dark_16x16.png) no-repeat 0 0;
}
.commentsContainer .commentActive .commentRecommendedIcon {
*background-position: 0 0;
}
.commentsContainer .commentActive .commentShareTools,
.commentsContainer .commentActive .commentFlag {
display: block;
}
/* comment active state: adjustments for replies to active comment */
.commentsContainer .commentActive .commentsListNested .commentActionsList a,
.commentsContainer .commentActive .commentsListNested .commentTime {
color: #909090;
}
.commentsContainer .commentActive .commentsListNested .commenter a,
.commentsContainer .commentActive .commentsListNested .commentRecommendedLink {
color: #333;
}
.commentsContainer .commentActive .commentsListNested .commentRecommend span {
color: #909090;
}
.commentsContainer .commentActive .commentsListNested .commentRecommendedIcon {
background: url(/images/icons/thumb_up_icon.png) no-repeat 0 2px;
}
.commentsContainer .commentActive .commentsListNested .commentRecommendedByUser .commentRecommendedIcon {
background: url(/images/icons/thumb_up_icon_full.png) no-repeat 0 2px;
}
.commentsContainer .commentActive .commentsListNested .commentFlag,
.commentsContainer .commentActive .commentsListNested .commentShareTools {
display: none;
}
/* comment reply active state */
.commentsContainer .commentReplyActive {
background: #fafafa;
}
/* box */
.commentsContainer .commentsModule .box {
border-color: #e2e2e2;
position: relative;
}
.commentsContainer .commentsModule .boxCloseContainer { /* this close control might be better more globally accessible */
position: absolute;
top: 10px;
right: 7px;
}
.commentsContainer .commentsModule .boxClose {
cursor: pointer;
display: inline-block;
background: url(/images/modules/dialogbox/close_dialog_box_icon.gif) no-repeat right top;
height: 13px;
}
.commentsContainer .commentsModule .boxClose.hideText {
width: 13px;
}
/* confirmation */
.commentsContainer .commentConfirmation.box p {
font-size: 1.1em;
}
.commentsContainer .commentConfirmation .header {
margin-bottom: 1px;
padding: 1px 0;
border: 1px solid #e2e2e2;
border-width: 1px 0;
}
.commentsContainer .commentConfirmation .subheader {
margin-bottom: 1px;
padding-bottom: 1px;
border-bottom: 1px solid #e2e2e2;
zoom: 1;
}
.commentsContainer .commentConfirmation .header .insetPadded,
.commentsContainer .commentConfirmation .subheader .insetPadded,
.commentsContainer .commentConfirmation .comment .opposingFloatControl {
background-color: #fffdef;
}
.commentsContainer .commentConfirmation .insetPadded {
padding: 10px;
}
.commentsContainer .commentConfirmation .comment {
margin-bottom: 1px;
padding-top: 1px;
}
.commentsContainer .commentConfirmation .commentsList > .comment:first-child {
padding-top: 0;
}
.commentsContainer .commentConfirmation .comment .opposingFloatControl {
padding: 10px 0;
}
.commentsContainer .commentConfirmation p {
margin-bottom: 0;
}
/* comment form */
.commentsContainer .commentForm {
margin-bottom: 0;
padding-top: 10px; /* increase singleRule */
}
.commentsContainer .commentsListNested .commentForm { /* if we keep singleRule class on the form element */
border-top: none;
padding-top: 0;
}
.commentsContainer .commentForm .commentHeader {
margin-bottom: 7px;
}
.commentsContainer .commentFormHeader .element2 {
margin-top: 5px;
}
.commentsContainer .commentCorrection {
font-size: 1.1em;
line-height: 1;
font-weight: bold;
}
.commentsContainer .commentForm .control > .control { /* don't hit dialogBox controls */
margin-bottom: 0;
}
.commentsContainer .commentForm label {
font-size: 1.2em;
line-height: 1.25em; /* 15px */
}
.commentsContainer .commentForm .text {
margin: 0; /* webkit adding margins */
font-size: 1.2em;
}
.commentsContainer .commentHeaderControl .text {
width: 153px;
}
.commentsContainer .commentHeaderControl > .control > .labelContainer {
float: none;
display: block;
margin-bottom: 7px;
}
.commentsContainer .commenterLocationInput.text { /* shouldnt need to double class */
margin-right: 10px;
}
.commentsContainer .commentForm .formHint {
font-size: 1.1em;
}
.commentsContainer .commenterIdentity .formHint {
font-size: 0.916em; /* 11px */
}
.commentsContainer .commenterLocationControl .formHint {
line-height: 20px;
}
.commentsContainer .commentCharCount {
position: absolute;
right: -58px;
top: -22px;
margin-bottom: 7px;
width: 90px;
font-weight: bold;
color: #909090;
}
.commentsContainer .commentCharCount,
.commentsContainer .commentForm .textarea {
font-size: 1.2em;
line-height: 1.25em; /* 15px */
}
.commentsContainer .commentCharCount.error {
color: #a81817;
}
.commentsContainer .commentCharCount.error span {
font-weight: normal;
margin-left: 2px;
}
.commentsContainer .commentTextareaControl .fieldContainer {
width: 90%;
}
.commentsContainer .commentForm .textarea {
width: 96.5%;
padding: 3px;
min-height: 130px;
resize: none;
}
.commentsContainer .commentForm .placeholder { /* gets removed on click */
color: #909090;
}
.commentsContainer .commentTextareaControl .errorContainer .inset {
margin: 10px 0 0;
}
.commentsContainer .commentTextareaControl .error {
margin-bottom: 0;
}
.commentsContainer .commentSubmitControl .checkboxControl {
width: 72%;
}
.commentsContainer .commentSubmitControl .checkbox {
margin-top: 0;
}
.commentsContainer .commentForm .checkboxLabelSm {
color: #333;
line-height: 1;
margin-top: 2px;
margin-bottom: 8px;
}
.commentsContainer .commentForm .checkboxLabelSm,
.commentsContainer .commentForm .formDescription,
.commentsContainer .commentTextareaControl .error {
font-size: 1.1em;
line-height: 1.182em; /* 13px adjusted from 15 by john */
}
.commentsContainer .commentForm .formDescription {
color: #909090;
}
.commentsContainer .commentForm .commentSubmitControl .buttonControl { /* specificity needed for override */
float: right;
margin-right: 0;
}
.commentsContainer .commentsModule .applicationButtonInactive {
background-color: #bfbfbf;
}
.commentsContainer .commentsModule .submitLoader {
display: inline; /*js toggling display */
margin-right: 8px;
}
.commentsContainer .commentsModule .submitLoader img {
vertical-align: middle;
}
/* log in module */
.commentsContainer .commentLoginModule > .inset {
margin-bottom: 42px;
}
.commentsContainer .commentLoginModule p {
text-align: center;
}
/* closed comments module */
.commentsContainer .commentsClosedModule .inset {
margin-top: 23px;
}
.commentsContainer .commentsClosedModule p {
font-size: 1.1em;
line-height: 1.273em; /* 14px */
text-align: center;
color: #909090;
}
/* dialog boxes (px sizes as can be nested)*/
.commentsContainer .commentsModule .dialogBox {
width: 265px;
z-index: 10;
}
.commentsContainer .commentsModule .dialogBox .header {
margin-bottom: 7px;
}
.commentsContainer .commentsModule .dialogBox .header .element2 {
margin-top: -3px;
margin-right: -3px;
width: 13px; /* no text in our close links */
}
.commentsContainer .commentsModule .dialogBox .dialogBoxClose {
padding-right: 0; /* no text in our close links */
}
.commentsContainer .commentsModule .dialogBox .moduleHeaderBd {
font-size: 11px;
line-height: 15px;
text-transform: none;
}
.commentsContainer .commentsModule .dialogBox p,
.commentsContainer .commentsModule .dialogBox label {
font-size: 11px;
line-height: 13px;
}
.commentsContainer .commentsModule .dialogBox .text {
height: 16px;
}
.commentsContainer .commentsModule .dialogBox .checkboxLabel {
font-size: 10px;
}
.commentsContainer .commentsModule .dialogBox p {
color: #333;
}
.commentsContainer .commentsModule .dialogBox .error {
color: #a81817;
}
.commentsContainer .commentsModule .dialogBox .checkboxList li {
font-size: 11px;
line-height: 13px;
background-image: none; /* double check .flush is working */
margin-bottom: 5px;
padding: 0;
}
.commentsContainer .commentsModule .dialogBox .checkboxLabel {
display: inline-block;
margin-top: 3px;
}
.commentsContainer .commentsModule .dialogBox .subColumn-2 .column {
width: 122px !important; /* ! needed to override wideAd rule for subcol-2 col widths */
}
.commentsContainer .commentsModule .dialogBox .subColumn-2 .insetH {
margin-left: 0;
}
.commentsContainer .commentsModule .dialogBox .subColumn-2 .lastColumn .insetH {
margin-right: 0;
}
.commentsContainer .commentsModule .dialogBoxLogin {
top: -174px;
top: -165px\9; /* ie6-9 */
left: -157px;
width: 360px !important;
}
.commentsContainer .commenterLoggedOut .dialogBoxLogin {
left: -161px;
}
.commentsContainer .commentsModule .dialogBoxLogin .errorContainer {
margin-bottom: 10px;
text-align: center;
}
.commentsContainer .commentsModule .dialogBoxLogin .fieldContainer,
.commentsContainer .commentsModule .dialogBoxLogin .insetContainer {
padding-left: 130px;
}
.commentsContainer .commentsModule .dialogBoxLogin .labelContainer {
text-align: right;
width: 120px;
}
.commentsContainer .commentsModule .dialogBoxLogin .loginSubmitControl .labelContainer {
text-align: left;
width: auto;
}
.commentsContainer .commentsModule .dialogBoxLogin .passwordControl .labelDescription {
position: absolute;
top: 18px;
right: 0;
line-height: 12px;
}
.commentsContainer .commentsModule .dialogBoxLogin .loginSubmitControl .control {
margin-bottom: 0;
}
.commentsContainer .commentsModule .dialogBoxLogin .loginSubmitControl .checkboxControl {
margin-top: 5px;
*width: 100px;
}
.commentsContainer .dialogBoxTrusted {
top: -136px;
left: -128px;
}
.commentsContainer .commentsListPeek .dialogBoxTrusted {
top: 21px;
}
.commentsContainer .dialogBoxFlag {
right: -114px;
top: -170px;
}
/* wideAd layout adjustments */
.commentsContainer .wideAd .commentsModuleHeader .tabs li a {
padding: 3px 8px;
}
.commentsContainer .wideAd .commentsModuleHeader .tabs .lastItem a {
padding-right: 0;
}
.commentsContainer .wideAd .commentsModuleHeader .commentActions { /* this width is only needed for ie6&7 hack it like the rule at the top of the page? */
width: 159px;
}
.commentsContainer .wideAd .commentSort {
width: 46px;
padding-right: 6px;
}
.commentsContainer .wideAd .commentContainer,
.commentsContainer .wideAd .commentFieldContainer,
.commentsContainer .wideAd .commentSubmitControl {
width: 85.5%;
}
.commentsContainer .wideAd .commentsListNested .commentContainer,
.commentsContainer .wideAd .commentsListNested .commentFieldContainer,
.commentsContainer .wideAd .commentsListNested .commentSubmitControl {
width: 88%;
}
.commentsContainer .wideAd .commentBody p {
width: 80%;
}
.commentsContainer .wideAd .commentHeaderControl .text {
width: 115px;
}
/* webkit adjustments */
@media screen and (-webkit-min-device-pixel-ratio:0) {
.commentsContainer .commentsModuleHeader .tabs .selected {
padding-bottom: 12px;
}
.commentsContainer.commenterTrustedIcon {
margin-top: 0;
}
.commentsContainer .commentSort,
.commentsContainer .commentWrite {
padding-top: 8px;
}
.commentsContainer .commentForm .checkboxLabelSm {
margin-top: 0;
}
.commentsContainer .commentsModule .dialogBoxLogin {
top: -170px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment