summaryrefslogtreecommitdiff
path: root/chromium/ui/webui/resources/css/apps/topbutton_bar.css
blob: 35641e9d4b858f1da5d9673289e0b20a80f89cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* Copyright 2013 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. */

.topbutton-bar {
  -webkit-box-align: center;
  display: -webkit-box;
}

.topbutton-bar button {
  -webkit-app-region: no-drag;
  -webkit-box-shadow: none;
  -webkit-margin-end: 10px;
  background-color: transparent;
  background-image: none;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  display: block;
  height: 32px;
  min-width: 0;
  outline: none;
  padding: 0;
  width: 32px;
}

.topbutton-bar button:active {
  -webkit-box-shadow:
    0 1px 0 0 #c2c2c2 inset,
    0 0 0 1px #dedede inset;
}

.topbutton-bar button:hover,
.topbutton-bar button:focus,
.topbutton-bar button:active {
  background-color: #ededed;
}

.topbutton-bar .maximize-button {
  background-image: -webkit-image-set(
      url('chrome://resources/images/apps/topbar_button_maximize.png') 1x,
      url('chrome://resources/images/2x/apps/topbar_button_maximize.png') 2x);
}

.topbutton-bar .minimize-button {
  background-image: -webkit-image-set(
      url('chrome://resources/images/apps/topbar_button_minimize.png') 1x,
      url('chrome://resources/images/2x/apps/topbar_button_minimize.png') 2x);
}

.topbutton-bar .close-button {
  background-image: -webkit-image-set(
      url('chrome://resources/images/apps/topbar_button_close.png') 1x,
      url('chrome://resources/images/2x/apps/topbar_button_close.png') 2x);
}

.topbutton-bar .gear-button {
  background-image: -webkit-image-set(
      url('chrome://resources/images/apps/topbar_button_settings.png') 1x,
      url('chrome://resources/images/2x/apps/topbar_button_settings.png') 2x);
}