You are here

l10n_client.css in Localization client 6.2

Same filename and directory in other branches
  1. 5 l10n_client.css
  2. 6 l10n_client.css
  3. 7 l10n_client.css
/* width percentages add to 99% rather than 100% to prevent float
overflows from occurring in an unnamed browser that can't decide
how it wants to round. */

/* l10n_client container */
#l10n-client {
  text-align: left;
  z-index: 9999;
  line-height: 1em;
  color: #000;
  background: #fff;
  position: fixed;
  width: 100%;
  height: 2em;
  bottom: 0px;
  left: 0px;
  overflow: hidden;
}

* html #l10n-client {
  position: static;
}

#l10n-client-string-select .string-list,
#l10n-client-string-editor .source,
#l10n-client-string-editor .editor {
  height: 20em;
}

#l10n-client .labels {
  overflow: hidden;
  position: relative;
  height: 2em;
  color: #fff;
  background: #37a;
}

#l10n-client .labels .label {
  display: none;
}

/* Panel toggle button (span) */
#l10n-client .labels .toggle {
  cursor: pointer;
  display: block;
  position: absolute;
  right: 0em;
  padding: 0em .75em;
  height: 2em;
  line-height: 2em;
  text-transform: uppercase;
  text-align: center;
  background: #000;
}

/* Panel labels */
#l10n-client h2 {
  border-left: 1px solid #fff;
  height: 1em;
  line-height: 1em;
  padding: .5em;
  margin: 0px;
  font-size: 1em;
  text-transform: uppercase;
}

#l10n-client .strings h2 {
  border: 0px;
}

/* 25 + 37 + 37 = 99 */
#l10n-client .strings {
  width: 25%;
  float: left;
}

#l10n-client .source {
  width: 37%;
  float: left;
}

#l10n-client .translation {
  width: 37%;
  float: left;
}

/* Translatable string list */
#l10n-client-string-select {
  display: none;
  float: left;
  width: 25%;
}

#l10n-client .string-list {
  height: 17em;
  overflow: auto;
  list-style: none;
  list-style-image: none;
  margin: 0em;
  padding: 0em;
}

#l10n-client .string-list li {
  font-size: .9em;
  min-height: 2em;
  line-height: 1.5em;
  cursor: default;
  background: transparent;
  list-style: none;
  list-style-image: none;
  border-bottom: 1px solid #ddd;
  padding: .25em .5em;
  margin: 0em;
}

/* Green for translated */
#l10n-client .string-list li.translated {
  border-bottom-color: #9c3;
  background: #cf6;
  color: #360;
}

#l10n-client .string-list li.translated:hover {
  background: #df8;
}

#l10n-client .string-list li.translated:active {
  background: #9c3;
}

#l10n-client .string-list li.hidden {
  display: none;
}

/* Gray + Blue hover for untranslated */
#l10n-client .string-list li.untranslated {
}

#l10n-client .string-list li.untranslated:hover {
  background: #ace;
}

#l10n-client .string-list li.untranslated:active {
  background: #8ac;
}

/* Selected string is indicated by bold text */
#l10n-client .string-list li.active {
  font-weight: bold;
}

#l10n-client #l10n-client-search-form {
  background: #eee;
  text-align: center;
  height: 2em;
  line-height: 2em;
  margin: 0em;
  padding: .5em .5em;
}

#l10n-client #l10n-client-search-form .form-item,
#l10n-client #l10n-client-search-form input.form-text,
#l10n-client #l10n-client-search-form #l10n-client-search-filter-clear {
  display: inline;
  vertical-align: middle;
}

#l10n-client #l10n-client-search-form .form-item {
  margin: 0em;
  padding: 0em;
}

#l10n-client #l10n-client-search-form input.form-text {
  width: 80%;
}

#l10n-client #l10n-client-search-form #l10n-client-search-filter-clear {
  width: 10%;
  margin: 0em;
}

#l10n-client-string-editor {
  display: none;
  float: left;
  width: 74%;
}

#l10n-client-string-editor .source {
  overflow: hidden;
  width: 50%;
  float: left;
}

#l10n-client-string-editor .source .source-text {
  line-height: 1.5em;
  background: #eee;
  height: 16em;
  margin: 1em;
  padding: 1em;
  overflow: auto;
}

#l10n-client-string-editor .translation {
  overflow: hidden;
  width: 49%;
  float: right;
}

#l10n-client-form {
  padding: 0em;
}

#l10n-client-form .form-textarea {
  height: 13em;
  font-size: 1em;
  line-height: 1.25em;
  width: 95%;
}

#l10n-client-form .form-submit {
  margin-top: 0em;
}

#l10n-client-data {
  display: none;
}

.l10n-client-feedback {
  background-color: #DF8;
  padding: 5px;
  font-style: italic;
  margin-bottom: 10px;
}

.l10n-client-feedback.message-warning {
  background-color: #FD8;
}

.l10n-client-feedback.message-error {
  background-color: #F00;
  color: #fff;
}

File

l10n_client.css
View source
  1. /* width percentages add to 99% rather than 100% to prevent float
  2. overflows from occurring in an unnamed browser that can't decide
  3. how it wants to round. */
  4. /* l10n_client container */
  5. #l10n-client {
  6. text-align: left;
  7. z-index: 9999;
  8. line-height: 1em;
  9. color: #000;
  10. background: #fff;
  11. position: fixed;
  12. width: 100%;
  13. height: 2em;
  14. bottom: 0px;
  15. left: 0px;
  16. overflow: hidden;
  17. }
  18. * html #l10n-client {
  19. position: static;
  20. }
  21. #l10n-client-string-select .string-list,
  22. #l10n-client-string-editor .source,
  23. #l10n-client-string-editor .editor {
  24. height: 20em;
  25. }
  26. #l10n-client .labels {
  27. overflow: hidden;
  28. position: relative;
  29. height: 2em;
  30. color: #fff;
  31. background: #37a;
  32. }
  33. #l10n-client .labels .label {
  34. display: none;
  35. }
  36. /* Panel toggle button (span) */
  37. #l10n-client .labels .toggle {
  38. cursor: pointer;
  39. display: block;
  40. position: absolute;
  41. right: 0em;
  42. padding: 0em .75em;
  43. height: 2em;
  44. line-height: 2em;
  45. text-transform: uppercase;
  46. text-align: center;
  47. background: #000;
  48. }
  49. /* Panel labels */
  50. #l10n-client h2 {
  51. border-left: 1px solid #fff;
  52. height: 1em;
  53. line-height: 1em;
  54. padding: .5em;
  55. margin: 0px;
  56. font-size: 1em;
  57. text-transform: uppercase;
  58. }
  59. #l10n-client .strings h2 {
  60. border: 0px;
  61. }
  62. /* 25 + 37 + 37 = 99 */
  63. #l10n-client .strings {
  64. width: 25%;
  65. float: left;
  66. }
  67. #l10n-client .source {
  68. width: 37%;
  69. float: left;
  70. }
  71. #l10n-client .translation {
  72. width: 37%;
  73. float: left;
  74. }
  75. /* Translatable string list */
  76. #l10n-client-string-select {
  77. display: none;
  78. float: left;
  79. width: 25%;
  80. }
  81. #l10n-client .string-list {
  82. height: 17em;
  83. overflow: auto;
  84. list-style: none;
  85. list-style-image: none;
  86. margin: 0em;
  87. padding: 0em;
  88. }
  89. #l10n-client .string-list li {
  90. font-size: .9em;
  91. min-height: 2em;
  92. line-height: 1.5em;
  93. cursor: default;
  94. background: transparent;
  95. list-style: none;
  96. list-style-image: none;
  97. border-bottom: 1px solid #ddd;
  98. padding: .25em .5em;
  99. margin: 0em;
  100. }
  101. /* Green for translated */
  102. #l10n-client .string-list li.translated {
  103. border-bottom-color: #9c3;
  104. background: #cf6;
  105. color: #360;
  106. }
  107. #l10n-client .string-list li.translated:hover {
  108. background: #df8;
  109. }
  110. #l10n-client .string-list li.translated:active {
  111. background: #9c3;
  112. }
  113. #l10n-client .string-list li.hidden {
  114. display: none;
  115. }
  116. /* Gray + Blue hover for untranslated */
  117. #l10n-client .string-list li.untranslated {
  118. }
  119. #l10n-client .string-list li.untranslated:hover {
  120. background: #ace;
  121. }
  122. #l10n-client .string-list li.untranslated:active {
  123. background: #8ac;
  124. }
  125. /* Selected string is indicated by bold text */
  126. #l10n-client .string-list li.active {
  127. font-weight: bold;
  128. }
  129. #l10n-client #l10n-client-search-form {
  130. background: #eee;
  131. text-align: center;
  132. height: 2em;
  133. line-height: 2em;
  134. margin: 0em;
  135. padding: .5em .5em;
  136. }
  137. #l10n-client #l10n-client-search-form .form-item,
  138. #l10n-client #l10n-client-search-form input.form-text,
  139. #l10n-client #l10n-client-search-form #l10n-client-search-filter-clear {
  140. display: inline;
  141. vertical-align: middle;
  142. }
  143. #l10n-client #l10n-client-search-form .form-item {
  144. margin: 0em;
  145. padding: 0em;
  146. }
  147. #l10n-client #l10n-client-search-form input.form-text {
  148. width: 80%;
  149. }
  150. #l10n-client #l10n-client-search-form #l10n-client-search-filter-clear {
  151. width: 10%;
  152. margin: 0em;
  153. }
  154. #l10n-client-string-editor {
  155. display: none;
  156. float: left;
  157. width: 74%;
  158. }
  159. #l10n-client-string-editor .source {
  160. overflow: hidden;
  161. width: 50%;
  162. float: left;
  163. }
  164. #l10n-client-string-editor .source .source-text {
  165. line-height: 1.5em;
  166. background: #eee;
  167. height: 16em;
  168. margin: 1em;
  169. padding: 1em;
  170. overflow: auto;
  171. }
  172. #l10n-client-string-editor .translation {
  173. overflow: hidden;
  174. width: 49%;
  175. float: right;
  176. }
  177. #l10n-client-form {
  178. padding: 0em;
  179. }
  180. #l10n-client-form .form-textarea {
  181. height: 13em;
  182. font-size: 1em;
  183. line-height: 1.25em;
  184. width: 95%;
  185. }
  186. #l10n-client-form .form-submit {
  187. margin-top: 0em;
  188. }
  189. #l10n-client-data {
  190. display: none;
  191. }
  192. .l10n-client-feedback {
  193. background-color: #DF8;
  194. padding: 5px;
  195. font-style: italic;
  196. margin-bottom: 10px;
  197. }
  198. .l10n-client-feedback.message-warning {
  199. background-color: #FD8;
  200. }
  201. .l10n-client-feedback.message-error {
  202. background-color: #F00;
  203. color: #fff;
  204. }