mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
* start updating colors for tasks controls * finish updating controls colors * change hoevr behavior * change transition duration * update color with transition * refactor menu wip * wip * upgrade vue deps * fix warnings * fix menu * misc fixes * more fixes * fix badge * fix margins in menu * wip tooltips * tooltips * fix checklist colors * add badges * fix quick add input * add transition to task controls too * add batch add * fix task filtering * finish tasks badges * fix menu * upgrade deps * fix shop items using all the same image * fix animation * disable client tests until we remove phantomjs * revert changes to tasks colors * fix opacity in task modal inputs * remove client unit tests from travis * wip task dropdown * fix z-index for task footer/header * fixes and add files * fixes * bigger clickable area * more space to open task dropdown * droddown position * fix menu position * make sure other dropdowns get closed correctly * fixes * start to fix z-index * draggable = false for task dropdown * fix for dropdown position * implement move to top / bottom * fix push to bottom * typo * fix drag and drop * use standard code * wider click area for dropdown * unify badge look * fix padding * misc fixes * more fixes * make dropdown scrollable * misc fixes * fix padding for notes * use existing code instead of new props
30 lines
440 B
SCSS
30 lines
440 B
SCSS
.badge {
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
line-height: 1.33;
|
|
color: $gray-200;
|
|
padding: 4px 8px;
|
|
box-shadow: 0 1px 1px 0 rgba($black, 0.12);
|
|
}
|
|
|
|
.badge-pill {
|
|
border-radius: 100px;
|
|
}
|
|
|
|
.badge-default {
|
|
background: $gray-500;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.badge-item {
|
|
position: absolute;
|
|
top: -9px;
|
|
}
|
|
|
|
.badge-purple {
|
|
position: absolute;
|
|
color: $white;
|
|
background: $purple-400;
|
|
line-height: 1.2;
|
|
font-size: 10px;
|
|
}
|