Шаблон:ЗКА:Быстрые/styles.css

Материал из wikixw
Перейти к навигации Перейти к поиску
/* Стили к шаблону ЗКА:Быстрые (ВП:ЗКАБ) */
.tmpl-raaf {
	border-collapse: collapse;
	width: 100%;
}

.tmpl-raaf > caption {
	/* Скрытие из https://en.wikipedia.org/wiki/Template:Screen_reader-only/styles.css */
	border: 0;
	clip: rect(0, 0, 0, 0);
	clip-path: polygon(0px 0px, 0px 0px, 0px 0px);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.tmpl-raaf tr {
	vertical-align: top;
}

.tmpl-raaf .botedit {
	font-weight: bold;
}

/* Ячейка таблицы */
.tmpl-raaf-cell {
	padding: 0.5em 0 0 1em;
}

.tmpl-raaf-cell.is-user {
	font-size: 90%;
}

.tmpl-raaf-cell > .error {
	font-size: inherit;
}

/* Ссылки на редактирование */
.tmpl-raaf-editsection {
	line-height: inherit;
	unicode-bidi: isolate;
	user-select: none;
	white-space: nowrap;
}

.tmpl-raaf-editsection.is-inline {
	font-size: inherit;
	margin-left: 0;
}

/* Заголовок */
.tmpl-raaf-heading {
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0 0.25em 1em;
	text-align: left;
}

.tmpl-raaf-heading.is-user {
	white-space: nowrap;
	/* Хром будет игнорировать min-width */
	width: 20%;
}

.tmpl-raaf-heading.is-line {
	background: none;
}

.tmpl-raaf-iconHeading {
	width: 20px;
}

/* Ячейки иконок */
.tmpl-raaf-iconCell {
	border-right: 4px solid #c8ccd1;
	padding-top: 0.25em;
	padding-right: 0.75em;
	position: relative;
}

.tmpl-raaf-row.is-done .tmpl-raaf-iconCell {
	border-right-color: #36c;
}

.tmpl-raaf-row.is-declined .tmpl-raaf-iconCell {
	border-right-color: #c33;
}

.tmpl-raaf-iconCell .mw-customtoggle::before {
	bottom: 0;
	content: '';
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

/* Скрытый заголовок */
.tmpl-raaf-hidden {
	display: none;
}

/* Полоса */
.tmpl-raaf-line {
	background: #eaecf0;
	display: none;
	padding: 0;
	width: 4px;
}

.tmpl-raaf-row.is-done .tmpl-raaf-line {
	background: #36c;
}

.tmpl-raaf-row.is-declined .tmpl-raaf-line {
	background: #c33;
}

/* Запрос */
.tmpl-raaf-request {
	font-size: 110%;
	line-height: 1.25em;
}

.tmpl-raaf-row.is-done .tmpl-raaf-request {
	text-decoration: line-through;
}

/* Иконка итога */
.tmpl-raaf-toggle {
	font-weight: bold;
	white-space: nowrap;
}

.tmpl-raaf-toggle::before {
	background: #c8ccd1;
	border-radius: 2px;
	content: '…';
	display: inline-block;
	font-weight: bold;
	height: 0.75em;
	line-height: 0.25em;
	margin-left: 0.5em;
	overflow: hidden;
	padding: 0 0.25em;
	vertical-align: middle;
}

.tmpl-raaf-toggle.is-descriptionless::before {
	margin-left: 0;
}

.tmpl-raaf-toggle > span {
	font-size: 85%;
	margin-left: 0.5em;
}

/* Результат */
.tmpl-raaf-result .tmpl-raaf-cell {
	padding-top: 0.2em;
}

/* [[Категория:Шаблоны:Подстраницы CSS]] */