Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_chips.scss « src - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f89a362e3c40da40c23aa4517099f65cb0867368 (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
// Chips
.chip {
  align-items: center;
  background: $bg-color-dark;
  border-radius: 5rem;
  display: inline-flex;
  font-size: 90%;
  height: $unit-6;
  line-height: $unit-4;
  margin: $unit-h;
  max-width: $control-width-sm;
  overflow: hidden;
  padding: $unit-1 $unit-2;
  text-decoration: none;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;

  &.active {
    background: $primary-color;
    color: $light-color;
  }

  .avatar {
    margin-left: -$unit-2;
    margin-right: $unit-1;
  }

  .btn-clear {
    transform: scale(.75);
  }
}