blob: a6f05f87e2ff3443d97695947f736fabe2cdab01 (
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
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
|
// Chips
.chip {
align-content: space-around;
align-items: center;
border: .1rem solid transparent;
border-radius: .3rem;
color: #666;
display: flex;
list-style: none;
margin: 0;
padding: .3rem .8rem;
.chip-icon {
flex: 0 0 auto;
}
.chip-content {
flex: 1 1 auto;
padding: 0 1rem;
.text-ellipsis;
}
.chip-action {
flex: 0 0 auto;
.btn {
border-color: transparent;
color: @control-color;
padding: .7rem .5rem;
&:hover,
&:focus {
background-color: transparent;
border-color: transparent;
color: @core-color;
}
&:active,
&.active {
background-color: transparent;
border-color: transparent;
color: darken(@core-color, 5%);
}
}
}
}
// Small chips
.chip-sm {
align-items: center;
background-color: lighten(@core-color, 40%);
border-radius: .3rem;
color: #666;
display: inline-flex;
font-size: 1.2rem;
height: 2.4rem;
max-width: 100%;
padding: .3rem .6rem;
text-decoration: none;
vertical-align: middle;
&:hover,
&:focus {
background-color: lighten(@core-color, 38%);
}
.btn {
&::before,
&::after {
background-color: darken(@core-color, 10%);
}
}
&.selected {
background-color: @core-color;
color: #fff;
.btn {
&::before,
&::after {
background-color: lighten(@core-color, 40%);
}
}
}
.chip-name {
margin-left: .4rem;
.text-ellipsis;
}
.avatar {
font-size: .8rem;
height: 1.6rem;
width: 1.6rem;
}
}
|