Current File : /home/jvzmxxx/wiki/extensions/Flow/modules/styles/board/topic/titlebar.less
@import 'mediawiki.mixins';
@import 'flow.colors';
@import 'flow.helpers';
@import 'flow.variables';

// Show that the topic titlebar is clickable
.flow-topic-titlebar {
	position: relative;
	padding: 0.5em 0;
	background: @colorGrayLightest;
	border-radius: 3px;
	outline: none;

	// use child selector to block ie6
	.flow-menu {
		top: 1.5em;
	}
}

// needs extra specificity to override `div#content h2` from vector
div#content .flow-topic-title { /* stylelint-disable-line selector-no-id */
	padding: 0;
	border-bottom: 0;
	font-family: sans-serif;
	font-weight: bold;
	word-break: break-word;
	word-wrap: break-word;
	overflow: visible;
}

// Correct positioning for ltr/rtl content direction
div#content .mw-content-ltr .flow-topic-title { /* stylelint-disable-line selector-no-id */
	/* @noflip */
	margin: 0 2.5em 0.15em 0;

	.mw-ui-icon.mw-ui-icon-before:before {
		/* @noflip */
		float: left;

		// HACK: move check icon a bit to the left so it appears to align better with the text below it
		/* @noflip */
		margin-left: -0.25em;
	}
}

// Correct positioning for ltr/rtl content direction
div#content .mw-content-rtl .flow-topic-title { /* stylelint-disable-line selector-no-id */
	/* @noflip */
	margin: 0 0 0.15em 2.5em;

	.mw-ui-icon.mw-ui-icon-before:before {
		/* @noflip */
		float: right;

		// HACK: move check icon a bit to the right so it appears to align better with the text below it
		/* @noflip */
		margin-right: -0.25em;
	}
}

.flow-moderated-topic-title {
	margin-bottom: 0.33em;
	color: @colorTextLight;
	font-weight: bold;
}

// Override default Vector heading styles
div#content h2.flow-topic-title { /* stylelint-disable-line selector-no-id */
	font-size: 1.5em;
}

// Notification about subscribing to a topic
.flow-notification-tooltip-topicsub {
	width: 15em;
}
.flow-notification-tooltip-icon {
	font-size: 2.5em;
	text-align: center;

	.mw-ui-icon {
		display: inline-block;
	}
}
.flow-notification-tooltip-title {
	font-size: 1em;
	font-weight: bold;
}

.flow-undo {
	float: right;
}

.flow-topic-title-activate-edit {
	.flow-topic-title {
		display: none;
	}
}

// MEDIA QUERIES
@media all and ( min-width: @small ) {
	.flow-topic-titlebar {
		padding-top: 0.5em;
		padding-bottom: 0.5em;

		.flow-topic-titlebar-container,
		.flow-edit-title-form,
		.flow-topic-summary,
		.flow-ui-editTopicSummaryWidget {

			.mw-content-ltr & {
				/* @noflip */
				padding-right: @topicIndent + 1;
				/* @noflip */
				padding-left: @topicIndent;
			}

			.mw-content-rtl & {
				/* @noflip */
				padding-right: @topicIndent;
				/* @noflip */
				padding-left: @topicIndent + 1;
			}
		}
	}
}