1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. */ 4 5 #language-dictionary-overlay-no-matches { 6 -webkit-margin-after: 0; 7 -webkit-margin-before: 0; 8 line-height: 2.5em; 9 padding: 0 3px; 10 } 11 12 #language-dictionary-overlay-page h1 { 13 margin-right: 16em; 14 padding-top: 25px; 15 } 16 17 html[dir=rtl] #language-dictionary-overlay-page h1 { 18 margin-left: 16em; 19 margin-right: auto; 20 } 21 22 #language-dictionary-overlay-search-field { 23 position: absolute; 24 right: 32px; 25 top: 21px; 26 } 27 28 html[dir=rtl] #language-dictionary-overlay-search-field { 29 left: 32px; 30 right: auto; 31 } 32 33 #language-dictionary-overlay-word-list { 34 height: 20em; 35 } 36 37 #language-dictionary-overlay-word-list.no-search-matches { 38 height: 17.5em; 39 } 40 41 #language-dictionary-overlay-word-list > * { 42 height: 2.5em; 43 } 44 45 .language-dictionary-overlay-word-list-item { 46 width: 30em; 47 } 48