calendar.scss 1.44 KB
Newer Older
1
.calender-block {
Phil Hughes's avatar
Phil Hughes committed
2 3
  padding-left: 0;
  padding-right: 0;
4
  direction: rtl;
Phil Hughes's avatar
Phil Hughes committed
5

6
  @media (min-width: $screen-sm-min) and (max-width: $screen-md-max) {
7 8 9 10
    overflow-x: scroll;
  }
}

11 12 13 14
.user-calendar-activities {
  .str-truncated {
    max-width: 70%;
  }
15

16 17
  .user-calendar-activities-loading {
    font-size: 24px;
18
  }
19
}
20

21 22
.user-calendar {
  text-align: center;
23

24 25
  .calendar {
    display: inline-block;
26 27
  }
}
28 29 30

.user-contrib-cell {
  &:hover {
31
    cursor: pointer;
Sam Rose's avatar
Sam Rose committed
32
    stroke: $black;
33 34 35 36 37
  }
}

.user-contrib-text {
  font-size: 12px;
Sam Rose's avatar
Sam Rose committed
38
  fill: $calendar-user-contrib-text;
39
}
40 41 42 43 44 45

.calendar-hint {
  margin-top: -23px;
  float: right;
  font-size: 12px;
}
Phil Hughes's avatar
Phil Hughes committed
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98

.pika-single.gitlab-theme {
  .pika-label {
    color: $gl-gray;
    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;
  }
}