summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/options/settings_banner.css
blob: c4290ef1273a9c159aeedf726ec854141e3fb810 (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
/* 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. */

/* These styles are used by both reset_profile_settings_banner.html and
 * automatic_settings_reset_banner.html. */

.settings-banner {
  background-color: #f5f5f5;
  border-color: #c8c8c8;
  border-radius: 3px;
  border-style: solid;
  border-width: 1px;
  margin-bottom: 24px;
  margin-top: 20px;
  max-width: 716px;
  position: relative;
}

.settings-banner > .close-button {
  background-image: url(chrome://theme/IDR_CLOSE_DIALOG);
  background-position: center;
  background-repeat: no-repeat;
  height: 14px;
  opacity: 0.5;
  position: absolute;
  right: 4px;
  top: 4px;
  width: 14px;
}

html[dir='rtl'] .settings-banner > .close-button {
  left: 4px;
  right: auto;
}

.settings-banner > .close-button:hover {
  background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H);
}

.settings-banner > .close-button:active {
  background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P);
}

.settings-banner .content-area {
  -webkit-box-align: center;
  display: -webkit-box;
  padding: 17px;
}

.settings-banner .content-area .badge {
  background-image: url(yellow_gear.png);
  background-position: center;
  background-repeat: no-repeat;
  height: 55px;
  width: 58px;
}

.settings-banner .content-area .text {
  -webkit-box-flex: 1.0;
  -webkit-margin-start: 18px;
}

.settings-banner .content-area .text p {
  margin-bottom: 0;
  margin-top: 0;
}

.settings-banner .content-area .button-area  {
  -webkit-margin-start: 54px;
}

.settings-banner .nowrap  {
  white-space: nowrap;
}

.settings-banner button {
  margin-bottom: 1px;
  margin-right: 0;
}

#secondary-user-banner .content-area .badge {
  background-color: rgb(210, 210, 212);
  background-image: url(chrome://theme/IDR_SECONDARY_USER_SETTINGS);
}