OLD | NEW |
(Empty) | |
| 1 .language-options { |
| 2 display: -webkit-box; |
| 3 margin: 10px 0; |
| 4 } |
| 5 |
| 6 .language-options-lower-left button, |
| 7 .language-options-right button { |
| 8 min-width: 70px; |
| 9 } |
| 10 |
| 11 .language-options h3 { |
| 12 -webkit-margin-start: 12px; |
| 13 font-size: 100%; |
| 14 font-weight: bold; |
| 15 margin-top: 12px; |
| 16 } |
| 17 |
| 18 .language-options-contents { |
| 19 -webkit-padding-start: 12px; |
| 20 -webkit-padding-end: 12px; |
| 21 padding-bottom: 10px; |
| 22 } |
| 23 |
| 24 .language-options-header, .language-options-footer { |
| 25 margin: 10px 0; |
| 26 } |
| 27 |
| 28 .language-options-left, .language-options-right { |
| 29 border: 1px solid #cccccc; |
| 30 vertical-align: top; |
| 31 padding: 0; |
| 32 height: 400px; |
| 33 } |
| 34 |
| 35 .language-options-left { |
| 36 -webkit-box-orient: vertical; |
| 37 display: -webkit-box; |
| 38 background-color: #ebeff9; |
| 39 width: 300px; |
| 40 } |
| 41 |
| 42 /* On OS X we use the native OS spellchecker, so don't display the dictionary */ |
| 43 /* pane. */ |
| 44 html[os=mac] .language-options-left { |
| 45 background-color: white; |
| 46 } |
| 47 |
| 48 html[os=mac] .language-options-right { |
| 49 visibility: hidden; |
| 50 } |
| 51 |
| 52 .language-options-lower-left { |
| 53 -webkit-box-flex: 0; |
| 54 -webkit-padding-start: 12px; |
| 55 padding-bottom: 10px; |
| 56 } |
| 57 |
| 58 .language-options-right { |
| 59 /* To share the center line with the left pane. */ |
| 60 -webkit-margin-start: -1px; |
| 61 width: 360px; |
| 62 } |
| 63 |
| 64 .language-options-notification { |
| 65 display: none; |
| 66 background-color: #fff29e; |
| 67 border-top: 1px solid #ccc; |
| 68 border-bottom: 1px solid #ccc; |
| 69 padding: 12px 30px 12px 12px; |
| 70 } |
| 71 |
| 72 #language-options-input-method-list button { |
| 73 display: block; |
| 74 -webkit-margin-start: 20px; |
| 75 } |
| 76 |
| 77 #language-options-ui-language-button { |
| 78 width: 95%; |
| 79 -webkit-margin-start: 10px; |
| 80 } |
| 81 |
| 82 #language-options-spell-check-language-button { |
| 83 width: 95%; |
| 84 -webkit-margin-start: 10px; |
| 85 } |
| 86 |
| 87 #language-options-input-method-list label { |
| 88 margin: 4px 0; |
| 89 } |
| 90 |
| 91 #language-options-list { |
| 92 -webkit-box-flex: 1; |
| 93 outline: none; |
| 94 padding: 1px 0 0; |
| 95 width: 100%; |
| 96 } |
| 97 |
| 98 #language-options-list .language-name { |
| 99 -webkit-box-flex: 1; |
| 100 overflow: hidden; |
| 101 text-overflow: ellipsis; |
| 102 white-space: nowrap; |
| 103 } |
| 104 |
| 105 #language-options-list li { |
| 106 -webkit-padding-start: 12px; |
| 107 padding-top: 2px; |
| 108 padding-bottom: 2px; |
| 109 } |
| 110 |
| 111 #language-options-list-dropmarker { |
| 112 background-color: hsl(214, 91%, 65%); |
| 113 background-clip: padding-box; |
| 114 border: 3px solid hsl(214, 91%, 65%); |
| 115 border-bottom-color: transparent; |
| 116 border-top-color: transparent; |
| 117 border-radius: 0; |
| 118 box-sizing: border-box; |
| 119 display: none; |
| 120 height: 8px; |
| 121 overflow: hidden; |
| 122 pointer-events: none; |
| 123 position: fixed; |
| 124 z-index: 10; |
| 125 } |
| 126 |
| 127 #language-options-ui-restart-button { |
| 128 margin-top: 12px; |
| 129 } |
| 130 |
| 131 /* |
| 132 * In ChromeOS we present the language choices as a big page of links. |
| 133 */ |
| 134 |
| 135 html[os=chromeos] #add-language-overlay-language-list { |
| 136 -webkit-column-count: 2; |
| 137 -webkit-column-gap: 20px; |
| 138 } |
| 139 |
| 140 html[os=chromeos] #add-language-overlay-cancel-button { |
| 141 /* Place the button in the center. */ |
| 142 display: block; |
| 143 margin: auto; |
| 144 margin-top: 15px; |
| 145 } |
| 146 |
| 147 html[os=chromeos] #add-language-overlay-page { |
| 148 width: 800px; |
| 149 padding: 20px; |
| 150 } |
| 151 |
| 152 html[os=chromeos] #add-language-overlay-page button.link-button { |
| 153 padding: 0; |
| 154 text-align: left; |
| 155 } |
| 156 |
| 157 html[os=chromeos] #add-language-overlay-page ul { |
| 158 padding: 0; |
| 159 margin: 0; |
| 160 } |
| 161 |
| 162 /* TODO(kochi): This is temporary copy from new_tab.css */ |
| 163 /* Notification */ |
| 164 |
| 165 #notification { |
| 166 position: relative; |
| 167 background-color: hsl(52, 100%, 80%); |
| 168 border: 1px solid rgb(211, 211, 211); |
| 169 border-radius: 6px; |
| 170 padding: 7px 15px; |
| 171 white-space: nowrap; |
| 172 display: table; |
| 173 /* Set the height and margin so that the element does not use any vertical |
| 174 space */ |
| 175 height: 16px; |
| 176 margin: -44px auto 12px auto; |
| 177 font-weight: bold; |
| 178 opacity: 0; |
| 179 pointer-events: none; |
| 180 -webkit-transition: opacity 150ms; |
| 181 z-index: 1; |
| 182 color: black; |
| 183 } |
| 184 |
| 185 #notification > * { |
| 186 display: table-cell; |
| 187 max-width: 500px; |
| 188 overflow: hidden; |
| 189 text-overflow: ellipsis; |
| 190 } |
| 191 |
| 192 #notification.show { |
| 193 opacity: 1; |
| 194 pointer-events: all; |
| 195 -webkit-transition: opacity 1s; |
| 196 } |
| 197 |
| 198 #notification .link { |
| 199 cursor: pointer; |
| 200 text-decoration: underline; |
| 201 -webkit-appearance: none; |
| 202 border: 0; |
| 203 background: none; |
| 204 color: rgba(0, 102, 204, 0.3); |
| 205 -webkit-padding-start: 20px; |
| 206 } |
| 207 |
| 208 #notification .link-color { |
| 209 color: rgb(0, 102, 204); |
| 210 } |
| 211 |
| 212 #chewing-max-chi-symbol-len { |
| 213 width: 100px; |
| 214 height: 30%; |
| 215 } |
| 216 |
| 217 #add-language-overlay-page .content-area { |
| 218 padding-bottom: 10px; |
| 219 } |
| 220 |
| 221 .text-button, |
| 222 .text-button:active, |
| 223 .text-button:focus, |
| 224 .text-button:hover { |
| 225 -webkit-box-shadow: none; |
| 226 background: transparent none; |
| 227 border-color: transparent; |
| 228 color: #000; |
| 229 } |
| 230 |
| 231 button[disabled].text-button, |
| 232 button[disabled].text-button:active, |
| 233 button[disabled].text-button:focus, |
| 234 button[disabled].text-button:hover { |
| 235 -webkit-box-shadow: none; |
| 236 background: transparent none; |
| 237 border-color: transparent; |
| 238 color: #AAA; |
| 239 } |
OLD | NEW |