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

76 lines
1.4 KiB
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;
}
}
}
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
.pika-single.gitlab-theme {
.pika-label {
color: $gl-text-color-secondary;
font-size: 14px;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-08-17 22:00:37 +05:30
}
th {
padding: 2px 0;
color: $note-disabled-comment-color;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-08-17 22:00:37 +05:30
text-transform: lowercase;
border-top: 1px solid $calendar-border-color;
}
abbr {
cursor: default;
}
td {
border: 1px solid $calendar-border-color;
&:first-child {
border-left: 0;
}
&:last-child {
border-right: 0;
}
}
.pika-day {
border-radius: 0;
2020-04-22 19:07:51 +05:30
background-color: $white;
2017-08-17 22:00:37 +05:30
text-align: center;
}
.is-today {
.pika-day {
color: inherit;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2017-08-17 22:00:37 +05:30
}
}
.is-selected .pika-day,
.pika-day:hover,
2017-09-10 17:25:29 +05:30
.is-today .pika-day {
2018-03-17 18:26:18 +05:30
background: $gray-darker;
color: $gl-text-color;
2017-08-17 22:00:37 +05:30
box-shadow: none;
}
}