/**
 *    Copyright 2006 - 2011 Opera Software ASA
 *
 *    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.
 *
 **/


.screenshot canvas
{
  display: block;
  cursor: crosshair;
}

.screenshot-overlay
{
  position: absolute;
  top: 0;
  left: 0;
}

.screenshot-max-height
{
  position: relative;
  min-height: 220px;
  max-height: 320px;
  height: 100%;
}
.screenshot-sample-color-container
{
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
}

.screenshot-sample-color
{
  border: 1px solid hsl(0, 0%, 75%);
  clear: both;
  position: relative;
}

.screenshot-sample-color canvas
{
  width: 65px;
  height: 65px;
  background-color: hsl(0, 0%, 75%);
  display: block;
  position: absolute;
  left: 1px;
  top: 1px;
}

.screenshot-sample-color::before
{
  content: "";
  display: block;
  height: 65px;
  border: 1px solid white;
  border-left-width: 67px;
}

.screenshot-sample-values
{
  float: right;
  width: 27ex;
  margin: 0;
  padding-bottom: 7px;
}

.color-palette-sample
{
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 7px;
  border-radius: 3px;
}

.color-palette-item
{
  line-height: 24px;
  padding: 7px;
  border-bottom: 1px solid hsl(0, 0%, 70%);
}

.color-palette-item:nth-child(even)
{
  background-color: hsl(0, 0%, 95%);
}

.color-palette-item.edited-color
{
  position: relative;
  z-index: 10;
  box-shadow: 0 0 7px #000;
}

.color-palette-add-button
{
  margin-left: 7px;
}
