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

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

12
.user-calendar-activities {
13 14
  direction: ltr;

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

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

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

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

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

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

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

.pika-single.gitlab-theme {
  .pika-label {
Phil Hughes's avatar
Phil Hughes committed
53
    color: $gl-text-color-secondary;
Phil Hughes's avatar
Phil Hughes committed
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
    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,
97
  .is-today .pika-day {
Phil Hughes's avatar
Phil Hughes committed
98 99 100 101 102
    background: $gl-primary;
    color: $white-light;
    box-shadow: none;
  }
}