xref: /webtrees/resources/css/_sortable.css (revision ad3143cc1f5191f21ec566a4ccc46aa1a5e4f909)
192044e0dSGreg Roach/**
292044e0dSGreg Roach * webtrees: online genealogy
392044e0dSGreg Roach * Copyright (C) 2019 webtrees development team
492044e0dSGreg Roach * This program is free software: you can redistribute it and/or modify
592044e0dSGreg Roach * it under the terms of the GNU General Public License as published by
692044e0dSGreg Roach * the Free Software Foundation, either version 3 of the License, or
792044e0dSGreg Roach * (at your option) any later version.
892044e0dSGreg Roach * This program is distributed in the hope that it will be useful,
992044e0dSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1092044e0dSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1192044e0dSGreg Roach * GNU General Public License for more details.
1292044e0dSGreg Roach * You should have received a copy of the GNU General Public License
13*ad3143ccSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
1492044e0dSGreg Roach */
1592044e0dSGreg Roach
1692044e0dSGreg Roach/* Sortable lists */
1792044e0dSGreg Roach
1892044e0dSGreg Roach.wt-sortable-item .card-header {
1992044e0dSGreg Roach    cursor: move;
2092044e0dSGreg Roach}
2192044e0dSGreg Roach
2292044e0dSGreg Roach/* Buttons to re-order items in a list */
2392044e0dSGreg Roach.wt-sortable-item:first-child .wt-btn-reorder-first,
2492044e0dSGreg Roach.wt-sortable-item:first-child .wt-btn-reorder-previous {
2592044e0dSGreg Roach    cursor: not-allowed;
2692044e0dSGreg Roach    opacity: 0.5;
2792044e0dSGreg Roach}
2892044e0dSGreg Roach
2992044e0dSGreg Roach.wt-sortable-item:last-child .wt-btn-reorder-next,
3092044e0dSGreg Roach.wt-sortable-item:last-child .wt-btn-reorder-last {
3192044e0dSGreg Roach    cursor: not-allowed;
3292044e0dSGreg Roach    opacity: 0.5;
3392044e0dSGreg Roach}
34