/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you 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.
 *
 * CSS for VerticalToolbarButtonWidget.
 * Author: kalman@google.com (Benjamin Kalman)
 */

.self {
  padding: 0 1px;
  /* Prevent button text from being highlighted. */
  \-webkit-user-select: none;
  \-moz-user-select: none;
}

.content {
  color: #003EA8;
  font-size: 1em;
  padding: 0 11px;
  /* At least 22px high, but adjust for large elements with overflow. */
  min-height: 22px;
  overflow: auto;
  zoom: 1; /* IE */
  /* Disabled appearance by default. */
  opacity: 0.5;
}

.enabled > .content {
  opacity: 1;
  cursor: pointer;
  cursor: hand;
}

.enabled > .content:hover, .enabled > .content:active, .enabled.down > .content {
  background-color: #5690d2;
  color: white;
}

.visualElement {
  float: left;
  /* Left-align icons where possible. */
  min-width: 24px;
}

.textElement {
  float: left;
  margin-top: 4px;
}

.textElementWithVisualElement {
  margin-left: 4px;
}

@sprite .dropdownArrow {
  gwt-image: 'dropdownArrow';
  float: left;
  margin-top: 9px;
  margin-left: 7px;
}

.divider {
  background-color: white;
  border-bottom: 1px solid #E3E8F2;
  margin: 3px 1px;
}

.hidden {
  display: none;
}
