summaryrefslogtreecommitdiff
path: root/src/sass/_commit.sass
blob: 514d82b6d23f89bc30ab52f59265d117c1d4de18 (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
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
101
102
103
104
105
106
107
108
@import "_bootstrap.sass";

.commit
  border-bottom: #ccc 1px solid
  padding: 20px 10px
  margin: 0
  &:hover
    background-color: darken(#fbfcfc, 3%)
  .head
    > div
      span
        color: #9f9ca5
        @include breakpoint(phablet)
          margin-right: 8px
      h6 a
        color: $secondary
        font-weight: 100
    span
      float: left
  .author_committer
    display: grid
    grid-template-columns: 50% 50%
    align-items: center
    justify-items: center
    @include breakpoint(phablet)
      grid-template-columns: 100%
    div
      width: 100%
      @include breakpoint(phablet)
        &:first-child
          padding-bottom: 10px
    .avatar
      width: 30px
      float: left
      margin-right: 5px
    p
      margin: 0
      line-height: 30px
      overflow: hidden
      height: 30px
      text-overflow: ellipsis
      white-space: nowrap
      padding-right: 5px
  h5, h6
    font-weight: bold
    font-family: $font-family-mono
    font-size: 2em
    a
      color: $primary
      text-decoration: underline
      @include breakpoint(phablet)
        overflow: hidden
        width: 111px
        display: block

  h6
    font-size: 1em
    a
      line-height: 24px
      margin-left: 5px
      @include breakpoint(phablet)
        width: 56px


  .text
    p
      margin: 5px 0 0
      span.middot
        margin: 0 10px
        color: #ccc
      span.date
        color: $secondary
        white-space: pre
        display: inline-block
      pre
        margin-top: 20px

  .repo a
    color: #fff
    text-decoration: none !important
    background: $primary
    padding: 3px
    float: right
    max-width: 200px
    overflow: hidden
    text-overflow: ellipsis
    white-space: nowrap
    border-radius: 2px
    @include breakpoint(phablet)
      max-width: 180px

.top-author
  display: grid
  grid-template-columns: 80% 20%
  .user
    display: flex
    img
      width: 30px
      height: 30px
      margin-right: 5px
    strong
      text-overflow: ellipsis
      white-space: nowrap
      overflow: hidden

  .number
    justify-self: end
    color: $secondary