/* User Properties view: compact table, centered, Save on the right */

.user-properties-content {
	display: flex;
	justify-content: center;
}

.user-properties-table-wrap {
	padding: 12px;
	max-width: 100%;
	width: 100%;
	background: #fff;
	border-radius: 8px;
}

#user-properties-view #table-properties {
	width: 100%;
}

/* Center table when not full width */
@media (min-width: 900px) {
	.user-properties-table-wrap {
		width: 90%;
		max-width: 1200px;
	}
}

/* Narrow Data type column */
#table-properties .user-properties-col-type,
#table-properties td.user-properties-col-type {
	width: 120px;
	min-width: 120px;
	max-width: 120px;
}

#table-properties .user-properties-col-actions {
	width: 52px;
	min-width: 52px;
}

/* Compact rows: less padding */
#table-properties.property-table-compact td,
#table-properties.property-table-compact th {
	padding-top: 4px;
	padding-bottom: 4px;
	vertical-align: middle;
}

#table-properties.property-table-compact .property-row td {
	padding-top: 2px;
	padding-bottom: 2px;
}

#table-properties.property-table-compact .mdl-textfield {
	padding: 0;
}

#table-properties.property-table-compact .mdl-textfield__input {
	padding: 4px 0;
	font-size: 14px;
	border-bottom: none;
	box-shadow: none;
}

/* Quitar raya verde del focus/dirty en los textfields de Properties */
#user-properties-view .mdl-textfield__label:after {
	background-color: transparent;
}
#user-properties-view .mdl-textfield.is-focused .mdl-textfield__label:after,
#user-properties-view .mdl-textfield.is-dirty .mdl-textfield__label:after {
	background-color: transparent;
}
#user-properties-view .mdl-textfield__input:focus {
	border-bottom: none;
	box-shadow: none;
}

#table-properties.property-table-compact .mdl-textfield__label {
	top: 4px;
}

#table-properties.property-table-compact .mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
#table-properties.property-table-compact .mdl-textfield--floating-label.is-focused .mdl-textfield__label {
	top: -8px;
	font-size: 11px;
}

#table-properties.property-table-compact select.property-type {
	padding: 4px 8px;
	min-height: 28px;
}

.user-properties-add-row-cell {
	padding-top: 8px !important;
	padding-bottom: 6px !important;
	border-top: 1px solid rgba(0,0,0,.12);
}

.user-properties-save-wrap {
	margin-top: 12px;
	display: flex;
	justify-content: flex-end;
}
