1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 #video-player > .header
{
6 -webkit-app-region: drag
;
7 background: rgba
(30, 30, 30, 0.8);
8 border-bottom: 1px solid rgba
(50, 50, 50, 0.8);
20 #video-player > .header
> #title
{
27 text-overflow: ellipsis
;
31 #video-player > .header
> button
,
32 #video-player > .header
> button
[disabled
] {
33 align-content: center
;
34 background-color: rgba
(0, 0, 0, 0);
35 background-position: center
;
36 background-repeat: no-repeat
;
41 padding: 1px; /* Instead of a border. */
46 #video-player > .header
> button
{
49 min-width: 40px; /* Reset. */
53 #video-player > .header
> button:hover
{
54 background-color: rgba
(240, 240, 240, 1);
57 #video-player > .header
> button:active
,
58 #video-player > .header
> button
[pressed
],
59 #video-player > .header
> button
[pressed
]:hover
{
63 #video-player > .header
> button
{
64 -webkit-app-region: no-drag
;
65 -webkit-margin-end: 10px;
72 #video-player > .header
> button
.minimize-button
{
73 background-image: -webkit-image-set
(
74 url
(chrome://resources
/images
/apps
/topbar_button_minimize
.png
) 1x,
75 url
(chrome://resources
/images
/2x/apps
/topbar_button_minimize
.png
) 2x);
78 #video-player > .header
> button
.maximize-button
{
79 background-image: -webkit-image-set
(
80 url
(chrome://resources
/images
/apps
/topbar_button_maximize
.png
) 1x,
81 url
(chrome://resources
/images
/2x/apps
/topbar_button_maximize
.png
) 2x);
84 #video-player > .header
> button
.close-button
{
85 background-image: -webkit-image-set
(
86 url
(chrome://resources
/images
/apps
/topbar_button_close
.png
) 1x,
87 url
(chrome://resources
/images
/2x/apps
/topbar_button_close
.png
) 2x);