You are here

l10n_client.css in Localization client 6

Same filename and directory in other branches
  1. 5 l10n_client.css
  2. 6.2 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;
    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;}

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; background:#fff;
  10. position:fixed;
  11. width:100%; height: 2em;
  12. bottom:0px; left:0px;
  13. overflow:hidden;}
  14. * html #l10n-client {
  15. position:static;}
  16. #l10n-client-string-select .string-list,
  17. #l10n-client-string-editor .source,
  18. #l10n-client-string-editor .editor {
  19. height:20em;}
  20. #l10n-client .labels {
  21. overflow:hidden;
  22. position:relative;
  23. height:2em;
  24. color:#fff;
  25. background:#37a;}
  26. #l10n-client .labels .label {
  27. display:none;}
  28. /* Panel toggle button (span) */
  29. #l10n-client .labels .toggle {
  30. cursor:pointer;
  31. display:block;
  32. position:absolute; right:0em;
  33. padding: 0em .75em; height:2em; line-height:2em;
  34. text-transform:uppercase;
  35. text-align:center; background:#000;}
  36. /* Panel labels */
  37. #l10n-client h2 {
  38. border-left:1px solid #fff;
  39. height:1em; line-height:1em;
  40. padding: .5em; margin:0px;
  41. font-size:1em;
  42. text-transform:uppercase;}
  43. #l10n-client .strings h2 {
  44. border:0px;}
  45. /* 25 + 37 + 37 = 99 */
  46. #l10n-client .strings {
  47. width:25%; float:left;}
  48. #l10n-client .source {
  49. width:37%; float:left;}
  50. #l10n-client .translation {
  51. width:37%; float:left;}
  52. /* Translatable string list */
  53. #l10n-client-string-select {
  54. display:none;
  55. float:left;
  56. width:25%;}
  57. #l10n-client .string-list {
  58. height:17em;
  59. overflow:auto;
  60. list-style:none; list-style-image:none;
  61. margin:0em; padding:0em;}
  62. #l10n-client .string-list li {
  63. font-size:.9em;
  64. line-height:1.5em;
  65. cursor:default;
  66. background:transparent;
  67. list-style:none; list-style-image:none;
  68. border-bottom:1px solid #ddd;
  69. padding:.25em .5em;
  70. margin:0em;}
  71. /* Green for translated */
  72. #l10n-client .string-list li.translated {
  73. border-bottom-color:#9c3;
  74. background:#cf6; color:#360;}
  75. #l10n-client .string-list li.translated:hover {
  76. background: #df8;}
  77. #l10n-client .string-list li.translated:active {
  78. background: #9c3;}
  79. #l10n-client .string-list li.hidden {
  80. display:none;}
  81. /* Gray + Blue hover for untranslated */
  82. #l10n-client .string-list li.untranslated {}
  83. #l10n-client .string-list li.untranslated:hover {
  84. background: #ace;}
  85. #l10n-client .string-list li.untranslated:active {
  86. background: #8ac;}
  87. /* Selected string is indicated by bold text */
  88. #l10n-client .string-list li.active {
  89. font-weight:bold;}
  90. #l10n-client #l10n-client-search-form {
  91. background:#eee;
  92. text-align:center;
  93. height:2em; line-height:2em;
  94. margin:0em; padding:.5em .5em;
  95. }
  96. #l10n-client #l10n-client-search-form .form-item,
  97. #l10n-client #l10n-client-search-form input.form-text,
  98. #l10n-client #l10n-client-search-form #l10n-client-search-filter-clear {
  99. display:inline;
  100. vertical-align:middle;
  101. }
  102. #l10n-client #l10n-client-search-form .form-item {
  103. margin:0em;
  104. padding:0em;
  105. }
  106. #l10n-client #l10n-client-search-form input.form-text {
  107. width:80%;
  108. }
  109. #l10n-client #l10n-client-search-form #l10n-client-search-filter-clear {
  110. width:10%;
  111. margin:0em;
  112. }
  113. #l10n-client-string-editor {
  114. display:none;
  115. float:left;
  116. width:74%;}
  117. #l10n-client-string-editor .source {
  118. overflow:hidden;
  119. width:50%; float:left;}
  120. #l10n-client-string-editor .source .source-text {
  121. line-height:1.5em;
  122. background:#eee;
  123. height:16em; margin:1em; padding:1em;
  124. overflow:auto;}
  125. #l10n-client-string-editor .translation {
  126. overflow:hidden;
  127. width:49%; float:right;}
  128. #l10n-client-form {
  129. padding:0em;}
  130. #l10n-client-form .form-textarea {
  131. height:13em;
  132. font-size:1em; line-height:1.25em;
  133. width:95%;}
  134. #l10n-client-form .form-submit {
  135. margin-top: 0em;}
  136. #l10n-client-data {
  137. display:none;}