summaryrefslogtreecommitdiffstats
path: root/ash/system/tray/tray_constants.cc
blob: eb239c1235c61ab1d738eeae3576359dba14c2e6 (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
// Copyright (c) 2012 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.

#include "ash/system/tray/tray_constants.h"

#include "third_party/skia/include/core/SkColor.h"

namespace ash {

const int kTrayPopupAutoCloseDelayInSeconds = 2;
const int kTrayPopupAutoCloseDelayForTextInSeconds = 5;
const int kTrayPopupPaddingHorizontal = 18;
const int kTrayPopupPaddingBetweenItems = 10;

const int kTrayPopupItemHeight = 48;
const int kTrayPopupDetailsIconWidth = 27;

const SkColor kBackgroundColor = SkColorSetRGB(0xfe, 0xfe, 0xfe);
const SkColor kHoverBackgroundColor = SkColorSetRGB(0xf5, 0xf5, 0xf5);

const SkColor kBorderDarkColor = SkColorSetARGB(51, 0, 0, 0);
const SkColor kBorderLightColor = SkColorSetRGB(0xeb, 0xeb, 0xeb);

const int kTrayPopupWidth = 300;

}  // namespace ash