summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/ntp_android/opentabs_tablet.css
blob: 7df6d62a83d55357cce8589a6413fd29aea30482 (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
/* 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. */

body[device='tablet'] #open_tabs_container {
  padding-bottom: 40px;
}

body[device='tablet'] #open_tabs_container .page-list>div {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
  margin: 40px auto 0 auto;
  max-width: 550px;
  min-width: 500px;
}

@media only screen and (min-device-width: 700px) {
  body[device='tablet'] #open_tabs_container .page-list>div {
    max-width: 650px;
  }
}

body[device='tablet'] .session-children-container>div:last-child {
  border-bottom: none;
}

body[device='tablet'] #open_tabs_container .session-header .list-item {
  background: #F2F2F2;
  border-bottom: 1px solid #E7E7E7;
  color: #777;
  font-size: 0.8em;
  padding: 20px 0 20px 0;
}

body[device='tablet'] #open_tabs_container .list-item {
  background: #FAFAFA;
  border: 1px solid #E0E0E0;
  border-bottom: none;
}

body[device='tablet'] #open_tabs_container .list-item-active,
body[device='tablet'] #open_tabs_container .session-header
    .list-item.list-item-active {
  -webkit-tap-highlight-color: transparent;
  background: rgba(51, 181, 229, 0.4);
}

body[device='tablet'] .session-name {
  color: #333;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.8em;
}

body[device='tablet'] .session-last-synced {
  font-weight: normal;
}

body[device='tablet'] #open_tabs_container .session-children-container
    .list-item:first-child {
  border-top: none;
}