calendar.scss 1.55 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
    font-size: 14px;
55
    font-weight: $gl-font-weight-normal;
Phil Hughes's avatar
Phil Hughes committed
56 57 58 59 60
  }

  th {
    padding: 2px 0;
    color: $note-disabled-comment-color;
61
    font-weight: $gl-font-weight-normal;
Phil Hughes's avatar
Phil Hughes committed
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
    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;
91
      font-weight: $gl-font-weight-normal;
Phil Hughes's avatar
Phil Hughes committed
92 93 94 95 96
    }
  }

  .is-selected .pika-day,
  .pika-day:hover,
97
  .is-today .pika-day {
winh's avatar
winh committed
98 99
    background: $gray-darker;
    color: $gl-text-color;
Phil Hughes's avatar
Phil Hughes committed
100 101 102
    box-shadow: none;
  }
}