You are here

moderation_sidebar.css in Moderation Sidebar 8

.toolbar-bar .toolbar-icon-moderation-sidebar:before {
  background-image: url(../images/icon.svg);
}

.toolbar-icon-moderation-sidebar.sidebar-open {
  background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
}

.toolbar .toolbar-bar .toolbar-tab.moderation-sidebar-toolbar-tab {
  float: right;
}
[dir='rtl'] .toolbar .toolbar-bar .toolbar-tab.moderation-sidebar-toolbar-tab {
  float: left;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link,
.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link:visited,
.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button,
.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .moderation-sidebar-link.button:only-of-type {
  display: block;
  font-weight: normal;
  font-size: 14px;
  margin: 0 0 10px 0;
  padding: 10px 16px;
  color: white;
  border: 1px solid white;
  border-radius: 2px;
  text-align: left;
  transition: .2s;
}
[dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link,
[dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link:visited,
[dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button,
[dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .moderation-sidebar-link.button:only-of-type {
  text-align: right;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .translation-links-container {
  display: grid;
  display: -ms-grid;
  -ms-grid-columns: 1fr 10px 1fr;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .moderation-sidebar-link.button {
  margin: 0;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .moderation-sidebar-link.button:nth-of-type(odd):last-of-type {
  grid-column: 1/3;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-view-all-container {
  border-top: 1px solid #676767;
  margin-top: 20px;
  padding-top: 10px;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-button-wrapper i.material-icons {
  position: absolute;
  top: 5px;
  left: 5px;
  pointer-events: none;
  z-index: 11;
  background: transparent;
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
[dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-button-wrapper i.material-icons {
  right: 5px;
  direction: rtl;
}

.ui-dialog.ui-dialog-off-canvas {
  border: none !important;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link:hover,
.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link:focus {
  color: black;
  text-decoration: none;
  background: #ddd;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button.button--danger {
  color: white;
  background: #bd2727;
  border: 1px solid #bd2727;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button.button--danger:hover,
.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button.button--danger:focus {
  color: white;
  background: #a51f1f;
  border: 1px solid #a51f1f;
}

.quick-moderation-form select {
  width: 100%;
  height: 30px;
}

.moderation-sidebar-container {
  padding-bottom: 100px;
}

.moderation-sidebar-info {
  margin: 10px 0 20px 0;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-container p,
.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-container a {
  font-size: 14px;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-container .moderation-sidebar-back-button {
  display: block;
  font-size: 16px;
  margin-top: 1rem;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-info h2 {
  font-size: 16px;
}

.moderation-sidebar-translation-item {
  border-top: 1px solid #676767;
  margin-top: 10px;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-container .translation-language {
  font-size: 20px;
  margin: 5px 0 0;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .translation-info {
  margin: 0 0 5px 0;
}

.moderation-sidebar-revision-item:nth-child(2) {
  border-top: 1px solid #676767;
  margin-top: 1rem;
}

.moderation-sidebar-revision-item {
  border-bottom: 1px solid #676767;
  margin-bottom: 1rem;
}

.moderation-sidebar-revision-item:nth-last-child(2) {
  border-bottom: none;
}

.moderation-sidebar-revision-item .revision-info,
.moderation-sidebar-revision-item .revision-info a {
  font-size: 13px;
}

.toolbar a.toolbar-icon-moderation-sidebar {
  padding-right: 0 !important;
  overflow: hidden;
}

[dir='rtl'] .toolbar a.toolbar-icon-moderation-sidebar {
  padding-right: auto !important;
  padding-left: 0 !important;
}

.toolbar-icon-moderation-sidebar:after {
  content: attr(data-label);
  margin-left: .5em;
  padding: 1rem .5rem;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  background: #444643;
  color: white;
}
[dir='rtl'] .toolbar-icon-moderation-sidebar:after {
  margin-right: .5em;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button--primary {
  border: 1px solid #277abd;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button--primary:hover,
.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button--primary:focus {
  border: 1px solid #236aaf;
}

.toolbar-icon-moderation-sidebar.moderation-label-published:after {
  background: #269e2c;
}

.toolbar-icon-moderation-sidebar.moderation-label-draft:after {
  background: #bd2727;
}

.toolbar-icon-moderation-sidebar.moderation-label-draft-available:after {
  background: #ffae00;
}

.moderation-sidebar-toolbar-tab .ajax-progress {
  display: none;
}

.toolbar-icon-moderation-sidebar + .ajax-progress {
  opacity: .5;
}

@media only screen and (min-width: 16.5em) and (max-width: 36em) {
  .toolbar-icon-moderation-sidebar:before {
    filter: brightness(1.5);
  }
  .toolbar-icon-moderation-sidebar.moderation-label-published {
    background: #269e2c;
  }
  .toolbar-icon-moderation-sidebar.moderation-label-draft {
    background: #bd2727;
  }
  .toolbar-icon-moderation-sidebar.moderation-label-draft-available {
    background: #ffae00;
  }
}

@media only screen and (min-width: 36em) {
  [dir="rtl"] .toolbar .toolbar-bar .toolbar-tab > .toolbar-icon {
    padding-right: 2.75em !important;
    padding-left: 1.3333em !important;
  }
}

.moderation-sidebar-primary-tasks {
  padding-bottom: 10px;
}

.moderation-sidebar-secondary-tasks {
  padding-top: 20px;
  border-top: 1px solid #7b7b7b;
}

.moderation-sidebar-actions {
  margin-top: 20px;
}

File

css/moderation_sidebar.css
View source
  1. .toolbar-bar .toolbar-icon-moderation-sidebar:before {
  2. background-image: url(../images/icon.svg);
  3. }
  4. .toolbar-icon-moderation-sidebar.sidebar-open {
  5. background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
  6. }
  7. .toolbar .toolbar-bar .toolbar-tab.moderation-sidebar-toolbar-tab {
  8. float: right;
  9. }
  10. [dir='rtl'] .toolbar .toolbar-bar .toolbar-tab.moderation-sidebar-toolbar-tab {
  11. float: left;
  12. }
  13. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link,
  14. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link:visited,
  15. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button,
  16. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .moderation-sidebar-link.button:only-of-type {
  17. display: block;
  18. font-weight: normal;
  19. font-size: 14px;
  20. margin: 0 0 10px 0;
  21. padding: 10px 16px;
  22. color: white;
  23. border: 1px solid white;
  24. border-radius: 2px;
  25. text-align: left;
  26. transition: .2s;
  27. }
  28. [dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link,
  29. [dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link:visited,
  30. [dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button,
  31. [dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .moderation-sidebar-link.button:only-of-type {
  32. text-align: right;
  33. }
  34. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .translation-links-container {
  35. display: grid;
  36. display: -ms-grid;
  37. -ms-grid-columns: 1fr 10px 1fr;
  38. grid-template-columns: 1fr 1fr;
  39. grid-column-gap: 10px;
  40. grid-row-gap: 10px;
  41. }
  42. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .moderation-sidebar-link.button {
  43. margin: 0;
  44. }
  45. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .moderation-sidebar-link.button:nth-of-type(odd):last-of-type {
  46. grid-column: 1/3;
  47. -ms-grid-column: 1;
  48. -ms-grid-column-span: 2;
  49. }
  50. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-view-all-container {
  51. border-top: 1px solid #676767;
  52. margin-top: 20px;
  53. padding-top: 10px;
  54. }
  55. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-button-wrapper i.material-icons {
  56. position: absolute;
  57. top: 5px;
  58. left: 5px;
  59. pointer-events: none;
  60. z-index: 11;
  61. background: transparent;
  62. font-family: 'Material Icons';
  63. font-weight: normal;
  64. font-style: normal;
  65. font-size: 24px;
  66. line-height: 1;
  67. letter-spacing: normal;
  68. text-transform: none;
  69. display: inline-block;
  70. white-space: nowrap;
  71. word-wrap: normal;
  72. direction: ltr;
  73. -webkit-font-feature-settings: 'liga';
  74. -webkit-font-smoothing: antialiased;
  75. }
  76. [dir='rtl'] .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-button-wrapper i.material-icons {
  77. right: 5px;
  78. direction: rtl;
  79. }
  80. .ui-dialog.ui-dialog-off-canvas {
  81. border: none !important;
  82. }
  83. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link:hover,
  84. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link:focus {
  85. color: black;
  86. text-decoration: none;
  87. background: #ddd;
  88. }
  89. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button.button--danger {
  90. color: white;
  91. background: #bd2727;
  92. border: 1px solid #bd2727;
  93. }
  94. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button.button--danger:hover,
  95. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button.button--danger:focus {
  96. color: white;
  97. background: #a51f1f;
  98. border: 1px solid #a51f1f;
  99. }
  100. .quick-moderation-form select {
  101. width: 100%;
  102. height: 30px;
  103. }
  104. .moderation-sidebar-container {
  105. padding-bottom: 100px;
  106. }
  107. .moderation-sidebar-info {
  108. margin: 10px 0 20px 0;
  109. }
  110. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-container p,
  111. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-container a {
  112. font-size: 14px;
  113. }
  114. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-container .moderation-sidebar-back-button {
  115. display: block;
  116. font-size: 16px;
  117. margin-top: 1rem;
  118. }
  119. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-info h2 {
  120. font-size: 16px;
  121. }
  122. .moderation-sidebar-translation-item {
  123. border-top: 1px solid #676767;
  124. margin-top: 10px;
  125. }
  126. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-container .translation-language {
  127. font-size: 20px;
  128. margin: 5px 0 0;
  129. }
  130. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-translation-item .translation-info {
  131. margin: 0 0 5px 0;
  132. }
  133. .moderation-sidebar-revision-item:nth-child(2) {
  134. border-top: 1px solid #676767;
  135. margin-top: 1rem;
  136. }
  137. .moderation-sidebar-revision-item {
  138. border-bottom: 1px solid #676767;
  139. margin-bottom: 1rem;
  140. }
  141. .moderation-sidebar-revision-item:nth-last-child(2) {
  142. border-bottom: none;
  143. }
  144. .moderation-sidebar-revision-item .revision-info,
  145. .moderation-sidebar-revision-item .revision-info a {
  146. font-size: 13px;
  147. }
  148. .toolbar a.toolbar-icon-moderation-sidebar {
  149. padding-right: 0 !important;
  150. overflow: hidden;
  151. }
  152. [dir='rtl'] .toolbar a.toolbar-icon-moderation-sidebar {
  153. padding-right: auto !important;
  154. padding-left: 0 !important;
  155. }
  156. .toolbar-icon-moderation-sidebar:after {
  157. content: attr(data-label);
  158. margin-left: .5em;
  159. padding: 1rem .5rem;
  160. text-transform: uppercase;
  161. font-size: 12px;
  162. font-weight: bold;
  163. background: #444643;
  164. color: white;
  165. }
  166. [dir='rtl'] .toolbar-icon-moderation-sidebar:after {
  167. margin-right: .5em;
  168. }
  169. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button--primary {
  170. border: 1px solid #277abd;
  171. }
  172. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button--primary:hover,
  173. .ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button--primary:focus {
  174. border: 1px solid #236aaf;
  175. }
  176. .toolbar-icon-moderation-sidebar.moderation-label-published:after {
  177. background: #269e2c;
  178. }
  179. .toolbar-icon-moderation-sidebar.moderation-label-draft:after {
  180. background: #bd2727;
  181. }
  182. .toolbar-icon-moderation-sidebar.moderation-label-draft-available:after {
  183. background: #ffae00;
  184. }
  185. .moderation-sidebar-toolbar-tab .ajax-progress {
  186. display: none;
  187. }
  188. .toolbar-icon-moderation-sidebar + .ajax-progress {
  189. opacity: .5;
  190. }
  191. @media only screen and (min-width: 16.5em) and (max-width: 36em) {
  192. .toolbar-icon-moderation-sidebar:before {
  193. filter: brightness(1.5);
  194. }
  195. .toolbar-icon-moderation-sidebar.moderation-label-published {
  196. background: #269e2c;
  197. }
  198. .toolbar-icon-moderation-sidebar.moderation-label-draft {
  199. background: #bd2727;
  200. }
  201. .toolbar-icon-moderation-sidebar.moderation-label-draft-available {
  202. background: #ffae00;
  203. }
  204. }
  205. @media only screen and (min-width: 36em) {
  206. [dir="rtl"] .toolbar .toolbar-bar .toolbar-tab > .toolbar-icon {
  207. padding-right: 2.75em !important;
  208. padding-left: 1.3333em !important;
  209. }
  210. }
  211. .moderation-sidebar-primary-tasks {
  212. padding-bottom: 10px;
  213. }
  214. .moderation-sidebar-secondary-tasks {
  215. padding-top: 20px;
  216. border-top: 1px solid #7b7b7b;
  217. }
  218. .moderation-sidebar-actions {
  219. margin-top: 20px;
  220. }