Summary Files Commits Branches @commit @diff @stats
path: root / src / chips.less
blob: 10f214d9161c1ae4009b8e9b9c5cae4b19330482 (plain) (blame)
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
// Chips
.chip {
  align-items: center;
  background: @core-border-color;
  border-radius: @border-radius;
  color: #666;
  display: inline-flex;
  height: 3rem;
  margin: .1rem .2rem .1rem 0;
  max-width: 100%;
  padding: .5rem .8rem;
  text-decoration: none;
  vertical-align: middle;

  &.active {
    background: @core-color;
    color: @core-light-color;
  }

  .avatar {
    font-size: 1rem;
    height: 2rem;
    margin-right: .4rem;
    width: 2rem;
  }

  .chip-meta {
    background: rgba(0,0,0,.1);
    font-size: 80%;
    height: 3rem;
    line-height: 2rem;
    margin-left: .8rem;
    margin-right: -.8rem;
    opacity: .75;
    padding: .5rem .8rem;
  }

  .btn-clear {
    &::before {
      font-size: 1.6rem;
    }
  }
}