2021-01-23 08:20:58 +03:00
|
|
|
/*
|
|
|
|
Style for Tab Categories
|
|
|
|
*/
|
2019-11-15 19:01:33 +03:00
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
%category-icon-color {
|
|
|
|
color: gray;
|
2019-11-15 19:01:33 +03:00
|
|
|
}
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
.categories {
|
|
|
|
margin-bottom: 2rem;
|
2023-04-10 05:54:27 +03:00
|
|
|
border-color: var(--categories-border);
|
2021-09-23 17:28:38 +03:00
|
|
|
|
2023-03-21 05:59:20 +03:00
|
|
|
&.card,
|
|
|
|
.list-group {
|
|
|
|
@extend %rounded;
|
|
|
|
}
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
.card-header {
|
2023-04-10 05:54:27 +03:00
|
|
|
$radius: calc($base-radius - 1px);
|
|
|
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
border-radius: $radius;
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
|
|
&.hide-border-bottom {
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
2021-01-27 15:06:31 +03:00
|
|
|
|
|
|
|
i {
|
2021-09-23 17:28:38 +03:00
|
|
|
@extend %category-icon-color;
|
|
|
|
|
2022-10-21 16:34:41 +03:00
|
|
|
font-size: 86%; /* fontawesome icons */
|
2021-01-27 15:06:31 +03:00
|
|
|
}
|
|
|
|
|
2020-02-25 12:56:03 +03:00
|
|
|
.list-group-item {
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
padding-left: 2rem;
|
2021-09-23 17:28:38 +03:00
|
|
|
|
2020-03-04 02:29:31 +03:00
|
|
|
&:first-child {
|
2020-02-25 12:56:03 +03:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|
2023-04-10 05:54:27 +03:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2020-03-04 02:29:31 +03:00
|
|
|
}
|
2022-10-19 21:05:29 +03:00
|
|
|
} /* .categories */
|
2019-11-15 19:01:33 +03:00
|
|
|
|
|
|
|
.category-trigger {
|
|
|
|
width: 1.7rem;
|
|
|
|
height: 1.7rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
2021-01-27 15:06:31 +03:00
|
|
|
color: #6c757d !important;
|
2021-09-23 17:28:38 +03:00
|
|
|
|
|
|
|
i {
|
2020-02-25 12:56:03 +03:00
|
|
|
position: relative;
|
2020-10-27 17:08:04 +03:00
|
|
|
height: 0.7rem;
|
2020-02-25 12:56:03 +03:00
|
|
|
width: 1rem;
|
2021-09-23 17:28:38 +03:00
|
|
|
transition: transform 300ms ease;
|
2020-02-25 12:56:03 +03:00
|
|
|
}
|
2022-10-19 21:05:29 +03:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
i {
|
|
|
|
color: var(--categories-icon-hover-color);
|
|
|
|
}
|
|
|
|
}
|
2019-11-15 19:01:33 +03:00
|
|
|
}
|
|
|
|
|
2023-03-15 22:36:52 +03:00
|
|
|
/* only works on desktop */
|
|
|
|
@media (hover: hover) {
|
2019-11-15 19:01:33 +03:00
|
|
|
.category-trigger:hover {
|
2020-02-27 16:05:50 +03:00
|
|
|
background-color: var(--categories-hover-bg);
|
2019-11-15 19:01:33 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-22 19:42:14 +03:00
|
|
|
.rotate {
|
|
|
|
transform: rotate(-90deg);
|
2020-10-27 17:08:04 +03:00
|
|
|
}
|