summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/language_dictionary_overlay.css
blob: b8400479207c92980f77984c8cf8dad8723590ba (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
/* 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. */

#language-dictionary-overlay-no-matches {
  -webkit-margin-after: 0;
  -webkit-margin-before: 0;
  line-height: 2.5em;
  padding: 0 3px;
}

#language-dictionary-overlay-page h1 {
  margin-right: 16em;
  padding-top: 25px;
}

html[dir=rtl] #language-dictionary-overlay-page h1 {
  margin-left: 16em;
  margin-right: auto;
}

#language-dictionary-overlay-search-field {
  position: absolute;
  right: 32px;
  top: 21px;
}

html[dir=rtl] #language-dictionary-overlay-search-field {
  left: 32px;
  right: auto;
}

#language-dictionary-overlay-word-list {
  height: 20em;
}

#language-dictionary-overlay-word-list.no-search-matches {
  height: 17.5em;
}

#language-dictionary-overlay-word-list > * {
  height: 2.5em;
}

.language-dictionary-overlay-word-list-item {
  width: 30em;
}