CSS样式  |  55行  |  1.37 KB

/* Copyright 2014 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.gaia-input {
  border: 1px solid #d9d9d9;
  border-radius: 1px;
  border-top: 1px solid #c0c0c0;
  font-size: 15px;
  height: 32px;
  margin: 0;
  padding: 0 8px;
  width: 100%;
}

.gaia-input:focus {
  border: 1px solid rgb(77, 144, 254);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
  outline: none;
}

.blue-button {
  background-color: rgb(77, 144, 254);
  background-image: -webkit-linear-gradient(top,
                                            rgb(77, 144, 254),
                                            rgb(71, 135, 237));
  border: 1px solid rgb(48, 121, 237);
  border-radius: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  height: 32px;
  margin: 0 1.5em 1.2em 0;
  text-shadow: 0 1px rgba(0, 0, 0, 0.1);
}

.blue-button:hover {
  background-color: rgb(53, 122, 232);
  background-image: -webkit-linear-gradient(top,
                                            rgb(77, 144, 254),
                                            rgb(53, 122, 232));
  border: 1px solid rgb(47, 91, 183);
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
}

.blue-button:focus {
  -webkit-box-shadow: inset 0 0 0 1px #fff;
}

.blue-button:focus:hover {
  -webkit-box-shadow: inset 0 0 0 1px #fff, 0 1px 1px rgba(0, 0, 0, 0.1);
}