summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/calendar.scss
blob: 11f39d583bd1755fd27268806a4012d70f0c6b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
.calender-block {
  @media (min-width: $screen-sm-min) and (max-width: $screen-lg-min) {
    overflow-x: scroll;
  }
}

.user-calendar-activities {
  .calendar_onclick_hr {
    padding: 0;
    margin: 10px 0;
  }

  .str-truncated {
    max-width: 70%;
  }

  .text-expander {
    background: #eee;
    color: #555;
    padding: 0 5px;
    cursor: pointer;
    margin-left: 4px;
    &:hover {
      background-color: #ddd;
    }
  }
}

/**
* This overwrites the default values of the cal-heatmap gem
*/
.calendar {
  .qi {
    fill: #fff;
  }

  .q1 {
    fill: #ededed !important;
  }

  .q2 {
    fill: #acd5f2 !important;
  }

  .q3 {
    fill: #7fa8d1 !important;
  }

  .q4 {
    fill: #49729b !important;
  }

  .q5 {
    fill: #254e77 !important;
  }

  .future {
    visibility: hidden;
  }

  .domain-background {
    fill: none;
    shape-rendering: crispedges;
  }

  .ch-tooltip {
    padding: 3px;
    font-weight: 550;
  }
}