calendar.scss 1.47 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
.user-calendar-activities {
12 13
  direction: ltr;

14 15 16
  .str-truncated {
    max-width: 70%;
  }
17

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

23 24
.user-calendar {
  text-align: center;
25

26 27
  .calendar {
    display: inline-block;
28 29
  }
}
30 31 32

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

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

.calendar-hint {
  margin-top: -23px;
  float: right;
  font-size: 12px;
}
Phil Hughes's avatar
Phil Hughes committed
48 49 50

.pika-single.gitlab-theme {
  .pika-label {
Phil Hughes's avatar
Phil Hughes committed
51
    color: $gl-text-color-secondary;
Phil Hughes's avatar
Phil Hughes committed
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 99 100
    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;
  }
}