summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/settings/settings_page/settings_section.css
blob: 6b0c5c54870ff5bfc718ce59813b642fcf090cf8 (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
/* Copyright 2015 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. */

/**
 * @fileoverview
 * Common styles for Settings pages.
 */
:host {
  display: block;
}

:host(.expanded) {
  height: 100%;
}

:host(.expanded) #header {
  display: none;
}

#header .title {
  @apply(--paper-font-body2);
}

paper-material {
  background-color: white;
  box-sizing: border-box;
  overflow: hidden;
  padding: 16px;
}

paper-material,
#placeholder {
  margin-bottom: 16px;
  width: 605px;
}

:host(.neon-animating) paper-material {
  position: fixed;
  z-index: 1;
}

:host(.expanded) paper-material {
  margin-bottom: 0;
  min-height: 100%;
}

#placeholder {
  visibility: hidden;
}

:host(:not(.neon-animating)) #placeholder {
  position: absolute;
}