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