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

102 lines
1.5 KiB
SCSS
Raw Normal View History

2016-06-02 11:05:42 +05:30
.calender-block {
padding-left: 0;
padding-right: 0;
2017-08-17 22:00:37 +05:30
border-top: 0;
direction: rtl;
2017-08-17 22:00:37 +05:30
@media (min-width: $screen-sm-min) and (max-width: $screen-md-max) {
overflow-x: auto;
2016-06-02 11:05:42 +05:30
}
}
2015-04-26 12:48:37 +05:30
.user-calendar-activities {
2017-08-17 22:00:37 +05:30
direction: ltr;
2015-04-26 12:48:37 +05:30
.str-truncated {
max-width: 70%;
}
.user-calendar-activities-loading {
font-size: 24px;
2015-04-26 12:48:37 +05:30
}
}
.user-calendar {
text-align: center;
2015-04-26 12:48:37 +05:30
.calendar {
display: inline-block;
2016-06-02 11:05:42 +05:30
}
}
2016-06-02 11:05:42 +05:30
.user-contrib-cell {
&:hover {
cursor: pointer;
2017-08-17 22:00:37 +05:30
stroke: $black;
2015-04-26 12:48:37 +05:30
}
}
2015-04-26 12:48:37 +05:30
.user-contrib-text {
font-size: 12px;
2017-08-17 22:00:37 +05:30
fill: $calendar-user-contrib-text;
}
2015-04-26 12:48:37 +05:30
.calendar-hint {
margin-top: -23px;
float: right;
font-size: 12px;
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;
font-weight: normal;
}
th {
padding: 2px 0;
color: $note-disabled-comment-color;
font-weight: normal;
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-light;
text-align: center;
}
.is-today {
.pika-day {
color: inherit;
font-weight: normal;
}
}
.is-selected .pika-day,
.pika-day:hover,
.is-today .pika-day:hover {
background: $gl-primary;
color: $white-light;
box-shadow: none;
}
}