mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
* initial market - routing - store - load market data * move drawer/drawerSlider / count/star badge to components/ui * filter market categories * shopItem with gem / gold * show count of purchable items * show count of purchable itemsshow drawer with currently owned items + DrawerHeaderTabs-Component * show featured gear * show Gear - filter by class - sort by (type, price, stats) - sort market items * Component: ItemRows - shows only the max items in one row (depending on the available width) * Sell Dialog + Balance Component * generic buy-dialog / attributes grid with highlight * buyItem - hide already owned gear * filter: hide locked/pinned - lock items if not enough gold * API: Sell multiple items * show avatar in buy-equipment-dialog with changed gear * market banner * misc fixes * filter by text * pin/unpin gear store actions * Sell API: amount as query-parameter * Update user.js * fixes * fix sell api amount test * add back stroke/fill currentColor * use scss variables
73 lines
1.2 KiB
SCSS
73 lines
1.2 KiB
SCSS
.dropdown > .btn {
|
|
padding: 9px 15.5px;
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: normal;
|
|
line-height: 1.43;
|
|
}
|
|
|
|
.dropdown.show > .dropdown-toggle {
|
|
color: $purple-200;
|
|
border-color: $purple-500 !important;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.dropdown-toggle::after {
|
|
margin-left: 16px;
|
|
border-top: 6px solid;
|
|
border-right: 5px solid transparent;
|
|
border-left: 5px solid transparent;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
padding: 0px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 2px 0 rgba($black, 0.15), 0 1px 4px 0 rgba($white, 0.1);
|
|
}
|
|
|
|
.dropdown-item {
|
|
padding-left: 24px;
|
|
padding-top: 8px;
|
|
padding-bottom: 8px;
|
|
font-size: 14px;
|
|
line-height: 1.71;
|
|
color: $gray-50;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid $gray-500;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
background-color: inherit;
|
|
}
|
|
|
|
&:active, &:hover, &.active {
|
|
background-color: rgba(#d5c8ff, 0.32);
|
|
color: $purple-200;
|
|
}
|
|
}
|
|
|
|
.dropdown + .dropdown {
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.dropdown-label {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
line-height: 1.43;
|
|
color: $gray-10;
|
|
margin-right: 20px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.dropdown-icon-item {
|
|
.svg-icon {
|
|
margin: 0px 16px 0px 0px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.text {
|
|
vertical-align: middle;
|
|
}
|
|
}
|