| OLD | NEW |
| (Empty) |
| 1 .language-options { | |
| 2 display: -webkit-box; | |
| 3 margin: 15px; | |
| 4 } | |
| 5 | |
| 6 .language-options button { | |
| 7 min-width: 70px; | |
| 8 } | |
| 9 | |
| 10 .language-options h3 { | |
| 11 -webkit-margin-start: 12px; | |
| 12 font-size: 75%; | |
| 13 font-weight: bold; | |
| 14 margin-top: 12px; | |
| 15 } | |
| 16 | |
| 17 .language-options label { | |
| 18 display: block; | |
| 19 } | |
| 20 | |
| 21 .language-options-contents { | |
| 22 -webkit-padding-start: 12px; | |
| 23 -webkit-padding-end: 12px; | |
| 24 padding-bottom: 10px; | |
| 25 } | |
| 26 | |
| 27 .language-options-header, .language-options-footer { | |
| 28 margin: 15px; | |
| 29 } | |
| 30 | |
| 31 .language-options-left, .language-options-right { | |
| 32 border: 1px solid #cccccc; | |
| 33 vertical-align: top; | |
| 34 padding: 0; | |
| 35 height: 400px; | |
| 36 } | |
| 37 | |
| 38 .language-options-left { | |
| 39 -webkit-box-orient: vertical; | |
| 40 display: -webkit-box; | |
| 41 background-color: #ebeff9; | |
| 42 min-width: 200px; | |
| 43 } | |
| 44 | |
| 45 .language-options-lower-left { | |
| 46 -webkit-box-flex: 0; | |
| 47 -webkit-padding-start: 12px; | |
| 48 padding-bottom: 10px; | |
| 49 } | |
| 50 | |
| 51 .language-options-right { | |
| 52 /* To share the center line with the left pane. */ | |
| 53 -webkit-margin-start: -1px; | |
| 54 width: 360px; | |
| 55 } | |
| 56 | |
| 57 .language-options-notification { | |
| 58 display: none; | |
| 59 background-color: #fff29e; | |
| 60 border-top: 1px solid #ccc; | |
| 61 border-bottom: 1px solid #ccc; | |
| 62 padding: 12px 30px 12px 12px; | |
| 63 } | |
| 64 | |
| 65 #language-options-input-method-list button { | |
| 66 display: block; | |
| 67 -webkit-margin-start: 20px; | |
| 68 } | |
| 69 | |
| 70 #language-options-input-method-list label { | |
| 71 margin: 4px 0; | |
| 72 } | |
| 73 | |
| 74 #language-options-list { | |
| 75 -webkit-box-flex: 1; | |
| 76 padding: 0; | |
| 77 width: 100%; | |
| 78 } | |
| 79 | |
| 80 #language-options-list li { | |
| 81 -webkit-padding-start: 12px; | |
| 82 padding-top: 2px; | |
| 83 padding-bottom: 2px; | |
| 84 } | |
| 85 | |
| 86 #language-options-ui-restart-button { | |
| 87 margin-top: 12px; | |
| 88 } | |
| 89 | |
| 90 #add-language-overlay-language-list { | |
| 91 -webkit-column-count: 2; | |
| 92 -webkit-column-gap: 20px; | |
| 93 } | |
| 94 | |
| 95 #add-language-overlay-cancel-button { | |
| 96 /* Place the button in the center. */ | |
| 97 display: block; | |
| 98 margin: auto; | |
| 99 margin-top: 15px; | |
| 100 } | |
| 101 | |
| 102 #add-language-overlay-page { | |
| 103 width: 800px; | |
| 104 } | |
| 105 | |
| 106 #add-language-overlay-page button { | |
| 107 padding: 0; | |
| 108 text-align: left; | |
| 109 } | |
| 110 | |
| 111 #add-language-overlay-page ul { | |
| 112 padding: 0; | |
| 113 margin: 0; | |
| 114 } | |
| 115 /* TODO(kochi): This is temporary copy from new_new_tab.css */ | |
| 116 /* Notification */ | |
| 117 | |
| 118 #notification { | |
| 119 position: relative; | |
| 120 background-color: hsl(52, 100%, 80%); | |
| 121 border: 1px solid rgb(211, 211, 211); | |
| 122 border-radius: 6px; | |
| 123 padding: 7px 15px; | |
| 124 white-space: nowrap; | |
| 125 display: table; | |
| 126 /* Set the height and margin so that the element does not use any vertical | |
| 127 space */ | |
| 128 height: 16px; | |
| 129 margin: -44px auto 12px auto; | |
| 130 font-weight: bold; | |
| 131 opacity: 0; | |
| 132 pointer-events: none; | |
| 133 -webkit-transition: opacity .15s; | |
| 134 z-index: 1; | |
| 135 color: black; | |
| 136 } | |
| 137 | |
| 138 #notification > * { | |
| 139 display: table-cell; | |
| 140 max-width: 500px; | |
| 141 overflow: hidden; | |
| 142 text-overflow: ellipsis; | |
| 143 } | |
| 144 | |
| 145 #notification.show { | |
| 146 opacity: 1; | |
| 147 pointer-events: all; | |
| 148 -webkit-transition: opacity 1s; | |
| 149 } | |
| 150 | |
| 151 #notification .link { | |
| 152 cursor: pointer; | |
| 153 text-decoration: underline; | |
| 154 -webkit-appearance: none; | |
| 155 border: 0; | |
| 156 background: none; | |
| 157 color: rgba(0, 102, 204, 0.3); | |
| 158 -webkit-padding-start: 20px; | |
| 159 } | |
| 160 | |
| 161 #notification .link-color { | |
| 162 color: rgb(0, 102, 204); | |
| 163 } | |
| 164 | |
| 165 #chewing-max-chi-symbol-len { | |
| 166 width: 100px; | |
| 167 height: 30%; | |
| 168 } | |
| OLD | NEW |