gitlab-org--gitlab-foss/app/assets/stylesheets/framework/calendar.scss

105 lines
1.6 KiB
SCSS
Raw Normal View History

.calendar-block {
padding-left: 0;
padding-right: 0;
border-top: 0;
2016-04-28 06:07:17 -04:00
2018-04-09 11:26:28 -04:00
@media (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, sm)) {
overflow-x: auto;
}
}
.user-calendar-activities {
2017-02-09 11:02:54 -05:00
direction: ltr;
.str-truncated {
max-width: 70%;
}
.user-calendar-activities-loading {
font-size: 24px;
}
}
.user-calendar {
text-align: center;
.calendar {
display: inline-block;
}
}
.user-contrib-cell {
&:hover {
cursor: pointer;
2016-11-30 08:25:25 -05:00
stroke: $black;
}
}
.user-contrib-text {
font-size: 12px;
2016-11-30 08:25:25 -05:00
fill: $calendar-user-contrib-text;
}
.calendar-hint {
font-size: 12px;
&.bottom-right {
direction: ltr;
margin-top: -23px;
float: right;
}
}
2017-01-04 11:53:41 -05:00
.pika-single.gitlab-theme {
.pika-label {
2017-01-06 09:43:21 -05:00
color: $gl-text-color-secondary;
2017-01-04 11:53:41 -05:00
font-size: 14px;
font-weight: $gl-font-weight-normal;
2017-01-04 11:53:41 -05:00
}
th {
padding: 2px 0;
color: $note-disabled-comment-color;
font-weight: $gl-font-weight-normal;
2017-01-04 11:53:41 -05:00
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;
background-color: $white;
2017-01-04 11:53:41 -05:00
text-align: center;
}
.is-today {
.pika-day {
color: inherit;
font-weight: $gl-font-weight-normal;
2017-01-04 11:53:41 -05:00
}
}
.is-selected .pika-day,
.pika-day:hover,
.is-today .pika-day {
background: $gray-darker;
color: $gl-text-color;
2017-01-04 11:53:41 -05:00
box-shadow: none;
}
}