debian-mirror-gitlab/app/assets/stylesheets/framework/calendar.scss

23 lines
578 B
SCSS
Raw Normal View History

.user-contrib-cell {
&:hover {
cursor: pointer;
2017-08-17 22:00:37 +05:30
stroke: $black;
2015-04-26 12:48:37 +05:30
}
2021-09-04 01:27:46 +05:30
2022-11-25 23:54:43 +05:30
&:focus {
@include gl-outline-none;
stroke: $white;
filter: drop-shadow(1px 0 0.5px $blue-400) drop-shadow(0 1px 0.5px $blue-400) drop-shadow(-1px 0 0.5px $blue-400) drop-shadow(0 -1px 0.5px $blue-400);
}
2021-09-04 01:27:46 +05:30
// `app/assets/javascripts/pages/users/activity_calendar.js` sets this attribute
@for $i from 1 through length($calendar-activity-colors) {
$color: nth($calendar-activity-colors, $i);
$level: $i - 1;
&[data-level='#{$level}'] {
fill: $color;
}
}
}