/*  ==========================================================================
    Place here all css rules which should apply in the content backend preview

    For Example:
     - backend page tree
     - mask elements
    ========================================================================== */

/*
 * Backend Page Tree
 */

#typo3-pagetree-tree.svg-tree-wrapper .node-selected {
  fill: #a0f398!important;
}
#typo3-pagetree-tree.svg-tree-wrapper .node-over:not(.node-selected) {
  fill: #dffcdd!important;
}

/*
 * Backend Preview of Mask Element
 */

.mask-title {
  border-bottom: 1px solid #CACACA;
  font-weight: bold;
  padding-bottom: 5px;
}
.mask-content {
  font-size: 8px;
}
.mask-content:after {
  clear: both;
  content: '';
  display: block;
}
.mask-content p {
  margin: 0;
}
.mask-subtitle {
  color: #CACACA;
  font-weight: bold;
  margin-top: 5px;
}
.mask-subtitle:first-child {
  margin-top: 0;
}
.mask-image {
  background-color: #DDDDDD;
  display: inline-block;
  padding: 2px;
  margin: 2px 2px 0 0;
}
.mask-item {
  border: 1px dashed #C5C6C6;
  margin-top: 5px;
  padding: 5px;
}
.mask-error {
  color: #E8002D;
  font-style: italic;
}
.mask-code {
  background: #FAFAFA;
  color: #000000;
  display: block;
  font-family: monospace;
  padding: 5px;
}
.mask-break {
  width: 100%;
  height: 10px;
}
