summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/user_manager/control_bar.css
blob: 378ee9114185805800d9dfed278114ea9cb8b918 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* 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.
 */

/* Overrides of styles in chrome/browser/resources/chromeos/login/header_bar.js
* that are needed by the desktop user chooser screen
*/
#login-header-bar {
  background-color: white;
  border-top: 1px solid #e2e2e2;
  bottom: 0;
  left: 0;
  padding-bottom: 16px;
  padding-top: 16px;
  position: absolute;
  right: 0;
}

.header-bar-item:first-child {
  -webkit-padding-start: 16px;
}

.header-bar-item {
  display: inline-block;
  font-size: 12px;
}

html[dir=rtl] .header-bar-item {
  background-color: white;
  background-position: right center;
}

html[dir=rtl] #login-header-bar button {
  background-position: right center;
}

#login-header-bar #add-user-button {
  background-image: -webkit-image-set(
      url('chrome://theme/IDR_ICON_PROFILES_ADD_USER') 1x,
      url('chrome://theme/IDR_ICON_PROFILES_ADD_USER@2x') 2x);
}

#login-header-bar #guest-user-button {
  background-image: -webkit-image-set(
      url('chrome://theme/IDR_ICON_PROFILES_BROWSE_GUEST') 1x,
      url('chrome://theme/IDR_ICON_PROFILES_BROWSE_GUEST@2x') 2x);
  border-right: 1px solid #e2e2e2;
  margin-right: 10px;
}

html[dir=rtl] #login-header-bar #guest-user-button {
  border-left: 1px solid #e2e2e2;
  margin-left: 10px;
}

#login-header-bar button {
  -webkit-padding-start: 24px;
  background-color: white;
  background-position: left center;
  background-repeat: no-repeat;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  opacity: 0.8;
}

#login-header-bar button:active,
#login-header-bar button:focus,
#login-header-bar button:hover {
  opacity: 1;
}

#login-header-bar button:focus {
  text-decoration: underline;
}

#logo {
  content: -webkit-image-set(
      url('../../../app/theme/%DISTRIBUTION%/product_logo_name_48.png') 1x,
      url('../../../app/theme/%DISTRIBUTION%/product_logo_name_96.png') 2x);
  height: 18px;
  position: absolute;
  right: 16px;
  top: 20px;
}

html[dir=rtl] #logo {
  left: 16px;
  right: auto;
}