/*****************************************************************************
 * Open MCT Web, Copyright (c) 2014-2015, United States Government
 * as represented by the Administrator of the National Aeronautics and Space
 * Administration. All rights reserved.
 *
 * Open MCT Web is licensed under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations
 * under the License.
 *
 * Open MCT Web includes source code licensed under additional open source
 * licenses. See the Open Source Licenses file (LICENSES.md) included with
 * this source code distribution or the Licensing information page available
 * at runtime from the About dialog for additional information.
 *****************************************************************************/
.l-color-palette {
	$d: 16px;
	$colorsPerRow: 10;
	$m: 1;
	$colorSelectedColor: #fff;

	@include box-sizing(border-box);
	padding: $interiorMargin !important;

	.l-palette-row {
		@include clearfix;
		line-height: $d;
		width: ($d * $colorsPerRow) + ($m * $colorsPerRow);

		.l-palette-item {
			@include box-sizing(border-box);
			@include txtShdwSubtle(0.8);
			@include trans-prop-nice-fade(0.25s);
			border: 1px solid transparent;
			color: $colorSelectedColor;
			display: block;
			font-family: 'symbolsfont';
			float: left;
			height: $d; width: $d;
			line-height: $d;
			margin: 0 ($m * 1px) ($m * 1px) 0;
			text-align: center;
			vertical-align: middle;
		}

		.s-palette-item {
			&:hover {
				@include trans-prop-nice-fade(0);
				border-color: $colorSelectedColor !important;
			}
		}

		.l-palette-item-label {
			margin-left: $interiorMargin;
		}

		&.l-option-row {
			margin-bottom: $interiorMargin;
			.s-palette-item {
				border-color: $colorBodyFg;
			}
		}
	}






}