/*!
 * This program is free software; you can use it, redistribute it
 * and / or modify it under the terms of the GNU General Public License
 * (GPL) as published by the Free Software Foundation; either version 3
 * of the License or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 *  WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program, in a file called gpl.txt or license.txt.
 *  If not, write to the Free Software Foundation Inc.,
 *  59 Temple Place - Suite 330, Boston, MA  02111-1307 USA
 */

.list-group {
  --ui-list-group-color: var(--ui-body-color);
  --ui-list-group-bg: var(--ui-body-bg);
  --ui-list-group-border-color: var(--ui-border-color);
  --ui-list-group-border-width: var(--ui-border-width);
  --ui-list-group-border-radius: var(--ui-border-radius);
  --ui-list-group-item-padding-x: 1rem;
  --ui-list-group-item-padding-y: 0.5rem;
  --ui-list-group-action-color: var(--ui-secondary-color);
  --ui-list-group-action-hover-color: var(--ui-emphasis-color);
  --ui-list-group-action-hover-bg: var(--ui-tertiary-bg);
  --ui-list-group-action-active-color: var(--ui-body-color);
  --ui-list-group-action-active-bg: var(--ui-secondary-bg);
  --ui-list-group-disabled-color: var(--ui-secondary-color);
  --ui-list-group-disabled-bg: var(--ui-body-bg);
  --ui-list-group-active-color: #fff;
  --ui-list-group-active-bg: #0d6efd;
  --ui-list-group-active-border-color: #0d6efd;
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: var(--ui-list-group-border-radius);
}

.list-group-item {
  position: relative;
  display: block;
  padding: var(--ui-list-group-item-padding-y) var(--ui-list-group-item-padding-x);
  color: var(--ui-list-group-color);
  text-decoration: none;
  background-color: var(--ui-list-group-bg);
  border: var(--ui-list-group-border-width) solid var(--ui-list-group-border-color);

  & + .list-group-item {
    border-top-width: 0;
  }
}