Chris@0: /** Chris@0: * @file Chris@0: * Table drag behavior for off-canvas dialog. Chris@0: * Chris@0: * @see tabledrag.js Chris@0: */ Chris@0: Chris@0: #drupal-off-canvas .drag { Chris@0: cursor: move; Chris@0: } Chris@0: #drupal-off-canvas tr.region-title { Chris@0: font-weight: normal; Chris@0: } Chris@0: #drupal-off-canvas table .region-message { Chris@0: color: #fff; Chris@0: } Chris@0: #drupal-off-canvas table .region-populated { Chris@0: display: none; Chris@0: } Chris@0: #drupal-off-canvas .add-new .tabledrag-changed { Chris@0: display: none; Chris@0: } Chris@0: #drupal-off-canvas .draggable a.tabledrag-handle { Chris@0: background-image: none; Chris@0: margin: 0 5px 0 0; Chris@0: height: auto; Chris@0: min-width: 20px; Chris@0: padding: 0; Chris@0: overflow: hidden; Chris@0: float: left; /* LTR */ Chris@0: text-decoration: none; Chris@0: cursor: move; Chris@0: } Chris@0: [dir="rtl"] #drupal-off-canvas .draggable a.tabledrag-handle { Chris@0: float: right; Chris@0: margin-right: 0; Chris@0: margin-left: 5px; Chris@0: } Chris@0: #drupal-off-canvas a.tabledrag-handle .handle { Chris@0: /* Use lighter drag icon against dark background. */ Chris@0: background-color: transparent; Chris@0: background-image: url(../icons/bebebe/move.svg); Chris@0: background-repeat: no-repeat; Chris@0: background-position: center; Chris@0: height: auto; Chris@0: margin: 0; Chris@0: padding: 0; Chris@0: width: auto; Chris@0: } Chris@0: #drupal-off-canvas .draggable a.tabledrag-handle:hover .handle, Chris@0: #drupal-off-canvas .draggable a.tabledrag-handle:focus .handle { Chris@0: background-image: url(../icons/787878/move.svg); Chris@0: text-decoration: none; Chris@0: } Chris@0: #drupal-off-canvas tr td { Chris@0: transition: background 0.3s ease; Chris@0: } Chris@0: Chris@0: #drupal-off-canvas tr td abbr { Chris@0: margin-left: 5px; /* LTR */ Chris@0: } Chris@0: Chris@0: [dir="rtl"] #drupal-off-canvas tr td abbr { Chris@0: margin-left: 0; Chris@0: margin-right: 5px; Chris@0: } Chris@0: #drupal-off-canvas tr:hover td { Chris@0: background: #222; Chris@0: } Chris@0: #drupal-off-canvas tr.drag td { Chris@0: background: #111; Chris@0: } Chris@0: #drupal-off-canvas tr.drag-previous td { Chris@0: background: #000; Chris@0: } Chris@0: #drupal-off-canvas tr.drag-previous:hover td { Chris@0: background: #222; Chris@0: } Chris@0: body div.tabledrag-changed-warning { Chris@0: margin-bottom: 0.5em; Chris@0: font-size: 14px; Chris@0: } Chris@0: #drupal-off-canvas .touchevents .draggable td { Chris@0: padding: 0 10px; Chris@0: } Chris@0: #drupal-off-canvas .touchevents .draggable .menu-item__link { Chris@0: display: inline-block; Chris@0: padding: 10px 0; Chris@0: } Chris@0: #drupal-off-canvas .touchevents a.tabledrag-handle { Chris@0: height: 44px; Chris@0: width: 40px; Chris@0: } Chris@0: #drupal-off-canvas .touchevents a.tabledrag-handle .handle { Chris@0: background-position: 40% 19px; /* LTR */ Chris@0: height: 21px; Chris@0: } Chris@0: [dir="rtl"] #drupal-off-canvas .touch a.tabledrag-handle .handle { Chris@0: background-position: right 40% top 19px; Chris@0: } Chris@0: #drupal-off-canvas .touchevents .draggable.drag a.tabledrag-handle .handle { Chris@0: background-position: 50% -32px; Chris@0: } Chris@0: #drupal-off-canvas .tabledrag-toggle-weight-wrapper { Chris@0: padding-top: 10px; Chris@0: text-align: right; /* LTR */ Chris@0: } Chris@0: [dir="rtl"] #drupal-off-canvas .tabledrag-toggle-weight-wrapper { Chris@0: text-align: left; Chris@0: } Chris@0: #drupal-off-canvas .indentation { Chris@0: float: left; /* LTR */ Chris@0: height: auto; Chris@0: margin: 0 3px 0 -10px; /* LTR */ Chris@0: padding: 0 0 0 10px; /* LTR */ Chris@0: width: auto; Chris@0: } Chris@0: [dir="rtl"] #drupal-off-canvas .indentation { Chris@0: float: right; Chris@0: margin: 0 -10px 0 3px; Chris@0: padding: 0 10px 0 0; Chris@0: }