plugin-visibility.scss 1.89 KB
/*
 Plugin visibility module
 ------------------------
 */

.plugins thead .ame-check-column,
.plugins tfoot .ame-check-column {
	padding: 4px 0 0 6px;
	vertical-align: middle;
	width: 2.2em;
}

.plugins .ame-check-column {
	vertical-align: top;
}

/*
 Plugin status indicator on the check column
 */
.plugins .active th.ame-check-column,
.plugin-update-tr.active td {
	border-left: 4px solid #2ea2cc;
}

.plugins thead th.ame-check-column,
.plugins tfoot th.ame-check-column,
.plugins .inactive th.ame-check-column {
	padding-left: 6px;
}

.plugins tbody th.ame-check-column,
.plugins tbody {
	padding: 8px 0 0 2px;
}

.plugins tbody th.ame-check-column input[type=checkbox] {
	margin-top: 4px;
}

/*
 The "Save Changes" form
 */

.ame-pv-save-form {
	float: right;
	margin-top: 5px;
	margin-bottom: 6px;
}

//Make room for th save button.
#ws_actor_selector_container {
	margin-right: 130px;
}

/*
 Inline editor
 */

#ame-plugin-visibility-editor .inline-edit-row {
	.ame-pv-inline-edit-left {
		width: 35%;
	}

	.ame-pv-inline-edit-right {
		width: 65%;
	}

	span.title {
		width: auto;
	}

	input[type="text"] {
		width: 100%;
	}

	.ame-pv-custom-description {
		height: 9em;
	}

	td {
		box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
	}

	p.submit {
		margin-bottom: 0.2em;
	}

	.submit .button {
		margin-right: 0.62em;
	}

	.submit .cancel {
		margin-right: 1em;
	}

	.ame-pv-inline-reset {
		line-height: 28px;
	}

	.inline-edit-legend {
		margin: 0;
		padding: 0.2em 0.5em 0 0;
		line-height: 2.5;
		font-weight: 600;
	}
}

/*
 The "New Plugins" option is displayed in the table footer.
 It needs to override some default footer styles.
 */
.plugins tfoot .ame-pv-new-plugin-visibility-row {
	th.ame-check-column {
		padding-top: 8px;
		vertical-align: top;

		input[type=checkbox] {
			margin-top: 4px;
		}
	}

	ul {
		list-style: inside disc;
		margin-left: 1em;
		margin-top: 0.8em;
	}

	th, td {
		border-top: none;
	}
}