Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

locale.admin.css

Same filename in this branch
  1. 11.1.x core/themes/stable9/css/locale/locale.admin.css
.locale-translate-filter-form .form-item-langcode,
.locale-translate-filter-form .form-item-translation,
.locale-translate-filter-form .form-item-customized {
  float: left; /* LTR */
  /**
   * In Opera 9, DOM elements with the property of "overflow: auto"
   * will partially hide its contents with unnecessary scrollbars when
   * its immediate child is floated without an explicit width set.
   */
  width: 15em;
  margin-right: 1em; /* LTR */
  margin-bottom: 0;
}
[dir="rtl"] .locale-translate-filter-form .form-item-langcode,
[dir="rtl"] .locale-translate-filter-form .form-item-translation,
[dir="rtl"] .locale-translate-filter-form .form-item-customized {
  float: right;
  margin-right: 0;
  margin-left: 1em;
}
.locale-translate-filter-form .form-type-select select {
  width: 100%;
}
.locale-translate-filter-form .form-actions {
  float: left; /* LTR */
  padding: 3.8ex 0 0 0; /* LTR */
}
[dir="rtl"] .locale-translate-filter-form .form-actions {
  float: right;
  padding: 3.5ex 0 0 0;
}
.locale-translate-edit-form th {
  width: 50%;
  table-layout: fixed;
}
.locale-translate-edit-form td {
  vertical-align: top;
}

.locale-translate-edit-form tr.changed {
  background: #ffb;
}

.locale-translate-edit-form tr .form-type-item .ajax-changed {
  position: absolute;
}

.locale-translate-filter-form .form-wrapper {
  margin-bottom: 0;
}

.locale-translate-edit-form table.changed {
  margin-top: 0;
}

/**
 * Available translation updates page.
 */
#locale-translation-status-form table {
  table-layout: fixed;
}
#locale-translation-status-form th.select-all {
  width: 4%;
}
#locale-translation-status-form th.title {
  width: 25%;
}
#locale-translation-status-form td {
  vertical-align: top;
}
.locale-translation-update__wrapper {
  margin-inline-start: -12px;
  padding-inline-start: 12px;
  background: transparent url(../../../misc/menu-collapsed.png) left 0.6em no-repeat; /* LTR */
}
[dir="rtl"] .locale-translation-update__wrapper {
  background: transparent url(../../../misc/menu-collapsed-rtl.png) right 0.6em no-repeat; /* LTR */
}
.expanded .locale-translation-update__wrapper {
  background: transparent url(../../../misc/menu-expanded.png) left 0.6em no-repeat;
}
[dir="rtl"] .expanded .locale-translation-update__wrapper {
  background-position: right 0.6em;
}
#locale-translation-status-form .description {
  cursor: pointer;
}
.locale-translation-update__wrapper {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #5c5c5b;
  line-height: 20px;
}
.expanded .locale-translation-update__wrapper {
  overflow: visible;
  height: auto;
  white-space: normal;
}
.expanded .locale-translation-update__message {
  -webkit-hyphens: auto;
  hyphens: auto;
}
.js .locale-translation-update__wrapper {
  height: 20px;
}
.expanded .locale-translation-update__wrapper {
  overflow: visible;
  height: auto;
  white-space: normal;
}
.locale-translation-update__details {
  max-width: 490px;
  padding: 5px 0;
  white-space: normal;
  color: #666;
  font-size: 0.9em;
}
.locale-translation-update__details ul {
  margin: 0;
  padding: 0;
}
.locale-translation-update__details li {
  margin: 0 0 0.25em 1.5em;
  padding: 0;
}

@media screen and (max-width: 40em) {
  #locale-translation-status-form th.title {
    width: 20%;
  }
  #locale-translation-status-form th.status {
    width: 40%;
  }
}

File

core/modules/locale/css/locale.admin.css

View source
  1. .locale-translate-filter-form .form-item-langcode,
  2. .locale-translate-filter-form .form-item-translation,
  3. .locale-translate-filter-form .form-item-customized {
  4. float: left; /* LTR */
  5. /**
  6. * In Opera 9, DOM elements with the property of "overflow: auto"
  7. * will partially hide its contents with unnecessary scrollbars when
  8. * its immediate child is floated without an explicit width set.
  9. */
  10. width: 15em;
  11. margin-right: 1em; /* LTR */
  12. margin-bottom: 0;
  13. }
  14. [dir="rtl"] .locale-translate-filter-form .form-item-langcode,
  15. [dir="rtl"] .locale-translate-filter-form .form-item-translation,
  16. [dir="rtl"] .locale-translate-filter-form .form-item-customized {
  17. float: right;
  18. margin-right: 0;
  19. margin-left: 1em;
  20. }
  21. .locale-translate-filter-form .form-type-select select {
  22. width: 100%;
  23. }
  24. .locale-translate-filter-form .form-actions {
  25. float: left; /* LTR */
  26. padding: 3.8ex 0 0 0; /* LTR */
  27. }
  28. [dir="rtl"] .locale-translate-filter-form .form-actions {
  29. float: right;
  30. padding: 3.5ex 0 0 0;
  31. }
  32. .locale-translate-edit-form th {
  33. width: 50%;
  34. table-layout: fixed;
  35. }
  36. .locale-translate-edit-form td {
  37. vertical-align: top;
  38. }
  39. .locale-translate-edit-form tr.changed {
  40. background: #ffb;
  41. }
  42. .locale-translate-edit-form tr .form-type-item .ajax-changed {
  43. position: absolute;
  44. }
  45. .locale-translate-filter-form .form-wrapper {
  46. margin-bottom: 0;
  47. }
  48. .locale-translate-edit-form table.changed {
  49. margin-top: 0;
  50. }
  51. /**
  52. * Available translation updates page.
  53. */
  54. #locale-translation-status-form table {
  55. table-layout: fixed;
  56. }
  57. #locale-translation-status-form th.select-all {
  58. width: 4%;
  59. }
  60. #locale-translation-status-form th.title {
  61. width: 25%;
  62. }
  63. #locale-translation-status-form td {
  64. vertical-align: top;
  65. }
  66. .locale-translation-update__wrapper {
  67. margin-inline-start: -12px;
  68. padding-inline-start: 12px;
  69. background: transparent url(../../../misc/menu-collapsed.png) left 0.6em no-repeat; /* LTR */
  70. }
  71. [dir="rtl"] .locale-translation-update__wrapper {
  72. background: transparent url(../../../misc/menu-collapsed-rtl.png) right 0.6em no-repeat; /* LTR */
  73. }
  74. .expanded .locale-translation-update__wrapper {
  75. background: transparent url(../../../misc/menu-expanded.png) left 0.6em no-repeat;
  76. }
  77. [dir="rtl"] .expanded .locale-translation-update__wrapper {
  78. background-position: right 0.6em;
  79. }
  80. #locale-translation-status-form .description {
  81. cursor: pointer;
  82. }
  83. .locale-translation-update__wrapper {
  84. overflow: hidden;
  85. white-space: nowrap;
  86. text-overflow: ellipsis;
  87. color: #5c5c5b;
  88. line-height: 20px;
  89. }
  90. .expanded .locale-translation-update__wrapper {
  91. overflow: visible;
  92. height: auto;
  93. white-space: normal;
  94. }
  95. .expanded .locale-translation-update__message {
  96. -webkit-hyphens: auto;
  97. hyphens: auto;
  98. }
  99. .js .locale-translation-update__wrapper {
  100. height: 20px;
  101. }
  102. .expanded .locale-translation-update__wrapper {
  103. overflow: visible;
  104. height: auto;
  105. white-space: normal;
  106. }
  107. .locale-translation-update__details {
  108. max-width: 490px;
  109. padding: 5px 0;
  110. white-space: normal;
  111. color: #666;
  112. font-size: 0.9em;
  113. }
  114. .locale-translation-update__details ul {
  115. margin: 0;
  116. padding: 0;
  117. }
  118. .locale-translation-update__details li {
  119. margin: 0 0 0.25em 1.5em;
  120. padding: 0;
  121. }
  122. @media screen and (max-width: 40em) {
  123. #locale-translation-status-form th.title {
  124. width: 20%;
  125. }
  126. #locale-translation-status-form th.status {
  127. width: 40%;
  128. }
  129. }

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal