tmgmt.admin.css

CSS for the tmgmt admin pages.

File

css/tmgmt.admin.css
View source
  1. /**
  2. * @file
  3. * CSS for the tmgmt admin pages.
  4. */
  5. .tmgmt-ui-info-item {
  6. float: left;
  7. margin-right: 80px;
  8. }
  9. @media
  10. screen and (min-width: 1180px) {
  11. .state-unprocessed #tmgmt-ui-translator-wrapper {
  12. width: 50%;
  13. float: left;
  14. }
  15. .state-unprocessed #tmgmt-ui-job-checkout-details {
  16. width: 50%;
  17. float: right;
  18. }
  19. .state-unprocessed #tmgmt-ui-translator-wrapper details {
  20. margin-right: 1em;
  21. }
  22. .state-unprocessed #tmgmt-ui-job-checkout-details details {
  23. margin-left: 1em;
  24. }
  25. #tmgmt-ui-translator-wrapper .tmgmt-logo-settings {
  26. float: inherit;
  27. margin-top: 0;
  28. }
  29. }
  30. @media
  31. screen and (min-width: 975px) {
  32. .tmgmt-logo-settings {
  33. float: right;
  34. margin-top: -4.5em;
  35. }
  36. }
  37. @media
  38. screen and (min-width: 1680px) {
  39. #tmgmt-ui-translator-wrapper .tmgmt-logo-settings {
  40. float: right;
  41. margin-top: -4.5em;
  42. }
  43. }
  44. .tmgmt-ui-job-items-suggestions details {
  45. padding-top: 13px;
  46. }
  47. table.tmgmt-ui-review td {
  48. vertical-align: top;
  49. }
  50. table.tmgmt-ui-review input.unreviewed {
  51. text-decoration: line-through;
  52. }
  53. table.tmgmt-ui-review input.reset-above {
  54. margin:5px 0;
  55. }
  56. table.tmgmt-ui-review input.reviewed-below {
  57. margin: 0;
  58. }
  59. table.tmgmt-ui-review tbody th {
  60. background: none;
  61. font-weight: bold;
  62. }
  63. .tmgmt-review-message-inline {
  64. display: inline;
  65. }
  66. .tmgmt-ui-data-item-label .form-item {
  67. /* Get the label out of way, so the status icon can be placed at the same
  68. relative position */
  69. position: absolute;
  70. }
  71. .tmgmt-ui-data-item-label .form-item label {
  72. display: inline-block;
  73. width: 100px;
  74. white-space: nowrap;
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. }
  78. .tmgmt-ui-state {
  79. /* Visually align the icon with the text area next to it. */
  80. margin-top: 2.4em;
  81. text-align: center;
  82. }
  83. .tmgmt-ui-state .tmgmt-ui-icon {
  84. margin: 0 auto;
  85. }
  86. /* Base settings for the icon. */
  87. .tmgmt-ui-icon {
  88. float: left;
  89. color: #fff;
  90. text-align: center;
  91. border-style: solid;
  92. box-shadow: 0 0 4px rgba(0,0,0,0.4);
  93. }
  94. .tmgmt-ui-icon img {
  95. vertical-align: text-bottom;
  96. }
  97. /* Icon sizes. */
  98. .tmgmt-ui-icon-32 {
  99. width: 32px;
  100. height: 32px;
  101. border-width: 1px;
  102. line-height: 32px;
  103. border-radius: 3px;
  104. }
  105. .tmgmt-legend div {
  106. float: left;
  107. }
  108. .tmgmt-legend-icon {
  109. float: left;
  110. margin: 2px 4px;
  111. margin-left: 20px;
  112. }
  113. .tmgmt-sources-wrapper div.form-item {
  114. float: left;
  115. margin-right: 16px;
  116. }
  117. .tmgmt-sources-wrapper input.form-submit {
  118. margin: 20px 0 0 0;
  119. }
  120. .tmgmt-source-operations-wrapper .form-item-add-all-to-continuous-jobs,
  121. .tmgmt-source-operations-wrapper .form-item--add-all-to-continuous-jobs {
  122. display: inline-block;
  123. }
  124. .tmgmt-source-operations-wrapper .seven-details__wrapper .form-item-add-all-to-continuous-jobs,
  125. .tmgmt-source-operations-wrapper .seven-details__wrapper .form-item--add-all-to-continuous-jobs {
  126. margin-bottom: 0.3rem;
  127. margin-top: 10px;
  128. }
  129. .tmgmt-source-operations-wrapper .claro-details__wrapper .form-item-add-all-to-continuous-jobs,
  130. .tmgmt-source-operations-wrapper .claro-details__wrapper .form-item--add-all-to-continuous-jobs {
  131. margin-bottom: 1.75rem;
  132. margin-top: 1rem;
  133. }
  134. .view-tmgmt-node-source-overview .view-filters, .tmgmt-sources-wrapper {
  135. margin-right: 310px;
  136. }
  137. .tmgmt-status {
  138. font-weight: 700;
  139. float: right;
  140. }
  141. .tmgmt-ui-data-item-actions div {
  142. /* Visually align the action buttons with the text area next to them. */
  143. position: relative;
  144. margin-top: 2.4em;
  145. }
  146. .tmgmt-ui-data-item-actions div input {
  147. text-align: center;
  148. }
  149. .tmgmt_validation_message {
  150. width: 50%;
  151. float: right;
  152. }
  153. .tmgmt-job-form .progress__bar {
  154. background-image: none;
  155. }
  156. .tmgmt-job-form .progress__percentage {
  157. display: none;
  158. }
  159. .tmgmt-progress {
  160. float: left;
  161. text-align: center;
  162. color: #fff;
  163. overflow: hidden;
  164. }
  165. .tmgmt-progress-pending {
  166. background-color: #0074BD;
  167. }
  168. .tmgmt-progress-translated {
  169. background-color: #E29700;
  170. }
  171. .tmgmt-progress-reviewed {
  172. background-color: #71b350;
  173. }
  174. .tmgmt-progress-accepted {
  175. background-color: #578a3e;
  176. }
  177. td.views-field-word-count, th.views-field-word-count,
  178. td.views-field-tags-count, th.views-field-tags-count,
  179. td.views-field-item-count, th.views-field-item-count,
  180. td.views-field-loop-count, th.views-field-loop-count {
  181. text-align: right;
  182. }
  183. .tmgmt-local-progress-untranslated, .tmgmt-local-progress-translated,
  184. .tmgmt-local-progress-completed {
  185. float: left;
  186. text-align: center;
  187. color: #fff;
  188. overflow: hidden;
  189. }
  190. .tmgmt-local-progress-untranslated {
  191. background-color: #E29700;
  192. }
  193. .tmgmt-local-progress-translated {
  194. background-color: #0074BD;
  195. }
  196. .tmgmt-local-progress-completed {
  197. background-color: #71b350;
  198. }
  199. td.views-field-status {
  200. text-align: center;
  201. padding: 0;
  202. }
  203. td.views-field-state {
  204. text-align: center;
  205. padding: 0 0 0 8px;
  206. }
  207. th.views-field-status, th.views-field-state {
  208. font-size: 0;
  209. padding: 0;
  210. }
  211. td.views-field-state img, td.views-field-status img {
  212. vertical-align: middle;
  213. }
  214. th.views-field-state a, td.views-field-status a {
  215. width: 0;
  216. }
  217. td.views-field-state {
  218. min-width: 16px;
  219. }
  220. td.views-field-tjid a {
  221. display: inline-block;
  222. width: 100px;
  223. white-space: nowrap;
  224. overflow: hidden;
  225. text-overflow: ellipsis;
  226. }
  227. /* @todo Added while in core is set to "fixed". */
  228. .tmgmt-ui-review table.diff {
  229. table-layout: auto;
  230. }
  231. /* Provider logo */
  232. .tmgmt-logo-overview {
  233. max-height: 32px;
  234. display: inline;
  235. vertical-align: middle;
  236. }
  237. .tmgmt-logo-settings {
  238. max-height: 120px;
  239. max-width: 250px;
  240. margin-right: 1em;
  241. }