| 1 |
/* |
| 2 |
* Copyright 2008 The Closure Library Authors. All Rights Reserved. |
| 3 |
* |
| 4 |
* Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
* See the COPYING file for details. |
| 6 |
*/ |
| 7 |
|
| 8 |
|
| 9 |
/* |
| 10 |
* Editor toolbar styles. |
| 11 |
* |
| 12 |
* @author [email protected] (Attila Bodis) |
| 13 |
*/ |
| 14 |
|
| 15 |
/* Common base style for all icons. */ |
| 16 |
.tr-icon { |
| 17 |
width: 16px; |
| 18 |
height: 16px; |
| 19 |
background: url(//ssl.gstatic.com/editor/editortoolbar.png) no-repeat; |
| 20 |
vertical-align: middle; |
| 21 |
} |
| 22 |
|
| 23 |
.goog-color-menu-button-indicator .tr-icon { |
| 24 |
height: 14px; |
| 25 |
} |
| 26 |
|
| 27 |
/* Undo (redo when the chrome is right-to-left). */ |
| 28 |
.tr-undo, |
| 29 |
.goog-toolbar-button-rtl .tr-redo { |
| 30 |
background-position: 0; |
| 31 |
} |
| 32 |
|
| 33 |
/* Redo (undo when the chrome is right-to-left). */ |
| 34 |
.tr-redo, |
| 35 |
.goog-toolbar-button-rtl .tr-undo { |
| 36 |
background-position: -16px; |
| 37 |
} |
| 38 |
|
| 39 |
/* Font name. */ |
| 40 |
.tr-fontName .goog-toolbar-menu-button-caption { |
| 41 |
color: #246; |
| 42 |
width: 16ex; |
| 43 |
height: 16px; |
| 44 |
overflow: hidden; |
| 45 |
} |
| 46 |
|
| 47 |
/* Font size. */ |
| 48 |
.tr-fontSize .goog-toolbar-menu-button-caption { |
| 49 |
color: #246; |
| 50 |
width: 8ex; |
| 51 |
height: 16px; |
| 52 |
overflow: hidden; |
| 53 |
} |
| 54 |
|
| 55 |
/* Bold. */ |
| 56 |
.tr-bold { |
| 57 |
background-position: -32px; |
| 58 |
} |
| 59 |
|
| 60 |
/* Italic. */ |
| 61 |
.tr-italic { |
| 62 |
background-position: -48px; |
| 63 |
} |
| 64 |
|
| 65 |
/* Underline. */ |
| 66 |
.tr-underline { |
| 67 |
background-position: -64px; |
| 68 |
} |
| 69 |
|
| 70 |
/* Foreground color. */ |
| 71 |
.tr-foreColor { |
| 72 |
height: 14px; |
| 73 |
background-position: -80px; |
| 74 |
} |
| 75 |
|
| 76 |
/* Background color. */ |
| 77 |
.tr-backColor { |
| 78 |
height: 14px; |
| 79 |
background-position: -96px; |
| 80 |
} |
| 81 |
|
| 82 |
/* Link. */ |
| 83 |
.tr-link { |
| 84 |
font-weight: bold; |
| 85 |
color: #009; |
| 86 |
text-decoration: underline; |
| 87 |
} |
| 88 |
|
| 89 |
/* Insert image. */ |
| 90 |
.tr-image { |
| 91 |
background-position: -112px; |
| 92 |
} |
| 93 |
|
| 94 |
/* Insert drawing. */ |
| 95 |
.tr-newDrawing { |
| 96 |
background-position: -592px; |
| 97 |
} |
| 98 |
|
| 99 |
/* Insert special character. */ |
| 100 |
.tr-spChar { |
| 101 |
font-weight: bold; |
| 102 |
color: #900; |
| 103 |
} |
| 104 |
|
| 105 |
/* Increase indent. */ |
| 106 |
.tr-indent { |
| 107 |
background-position: -128px; |
| 108 |
} |
| 109 |
|
| 110 |
/* Increase ident in right-to-left text mode, regardless of chrome direction. */ |
| 111 |
.tr-rtl-mode .tr-indent { |
| 112 |
background-position: -400px; |
| 113 |
} |
| 114 |
|
| 115 |
/* Decrease indent. */ |
| 116 |
.tr-outdent { |
| 117 |
background-position: -144px; |
| 118 |
} |
| 119 |
|
| 120 |
/* Decrease indent in right-to-left text mode, regardless of chrome direction. */ |
| 121 |
.tr-rtl-mode .tr-outdent { |
| 122 |
background-position: -416px; |
| 123 |
} |
| 124 |
|
| 125 |
/* Bullet (unordered) list. */ |
| 126 |
.tr-insertUnorderedList { |
| 127 |
background-position: -160px; |
| 128 |
} |
| 129 |
|
| 130 |
/* Bullet list in right-to-left text mode, regardless of chrome direction. */ |
| 131 |
.tr-rtl-mode .tr-insertUnorderedList { |
| 132 |
background-position: -432px; |
| 133 |
} |
| 134 |
|
| 135 |
/* Number (ordered) list. */ |
| 136 |
.tr-insertOrderedList { |
| 137 |
background-position: -176px; |
| 138 |
} |
| 139 |
|
| 140 |
/* Number list in right-to-left text mode, regardless of chrome direction. */ |
| 141 |
.tr-rtl-mode .tr-insertOrderedList { |
| 142 |
background-position: -448px; |
| 143 |
} |
| 144 |
|
| 145 |
/* Text alignment buttons. */ |
| 146 |
.tr-justifyLeft { |
| 147 |
background-position: -192px; |
| 148 |
} |
| 149 |
.tr-justifyCenter { |
| 150 |
background-position: -208px; |
| 151 |
} |
| 152 |
.tr-justifyRight { |
| 153 |
background-position: -224px; |
| 154 |
} |
| 155 |
.tr-justifyFull { |
| 156 |
background-position: -480px; |
| 157 |
} |
| 158 |
|
| 159 |
/* Blockquote. */ |
| 160 |
.tr-BLOCKQUOTE { |
| 161 |
background-position: -240px; |
| 162 |
} |
| 163 |
|
| 164 |
/* Blockquote in right-to-left text mode, regardless of chrome direction. */ |
| 165 |
.tr-rtl-mode .tr-BLOCKQUOTE { |
| 166 |
background-position: -464px; |
| 167 |
} |
| 168 |
|
| 169 |
/* Remove formatting. */ |
| 170 |
.tr-removeFormat { |
| 171 |
background-position: -256px; |
| 172 |
} |
| 173 |
|
| 174 |
/* Spellcheck. */ |
| 175 |
.tr-spell { |
| 176 |
background-position: -272px; |
| 177 |
} |
| 178 |
|
| 179 |
/* Left-to-right text direction. */ |
| 180 |
.tr-ltr { |
| 181 |
background-position: -288px; |
| 182 |
} |
| 183 |
|
| 184 |
/* Right-to-left text direction. */ |
| 185 |
.tr-rtl { |
| 186 |
background-position: -304px; |
| 187 |
} |
| 188 |
|
| 189 |
/* Insert iGoogle module. */ |
| 190 |
.tr-insertModule { |
| 191 |
background-position: -496px; |
| 192 |
} |
| 193 |
|
| 194 |
/* Strike through text */ |
| 195 |
.tr-strikeThrough { |
| 196 |
background-position: -544px; |
| 197 |
} |
| 198 |
|
| 199 |
/* Subscript */ |
| 200 |
.tr-subscript { |
| 201 |
background-position: -560px; |
| 202 |
} |
| 203 |
|
| 204 |
/* Superscript */ |
| 205 |
.tr-superscript { |
| 206 |
background-position: -576px; |
| 207 |
} |
| 208 |
|
| 209 |
/* Insert drawing. */ |
| 210 |
.tr-equation { |
| 211 |
background-position: -608px; |
| 212 |
} |
| 213 |
|
| 214 |
/* Edit HTML. */ |
| 215 |
.tr-editHtml { |
| 216 |
color: #009; |
| 217 |
} |
| 218 |
|
| 219 |
/* "Format block" menu. */ |
| 220 |
.tr-formatBlock .goog-toolbar-menu-button-caption { |
| 221 |
color: #246; |
| 222 |
width: 12ex; |
| 223 |
height: 16px; |
| 224 |
overflow: hidden; |
| 225 |
} |