summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/follower/follower.scss
blob: 509a119fb61142942016ce6554ef525233eceaf0 (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
// ------------------------------------------------------------------
// Layout
// ------------------------------------------------------------------

.o_Follower {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    padding: map-get($spacers, 0);
}

.o_Follower_avatar {
    width: 24px;
    height: 24px;
    margin-inline-end: map-get($spacers, 2);
}

.o_Follower_details {
    align-items: center;
    display: flex;
    flex: 1;
    padding-left: map-get($spacers, 3);
    padding-right: map-get($spacers, 3);
}

// ------------------------------------------------------------------
// Style
// ------------------------------------------------------------------

.o_Follower_avatar {
    border-radius: 50%;
}

.o_Follower_button {
    border-radius: 0;

    &:hover {
        background: gray('400');
        color: $black;
    }
}

.o_Follower_details {
    color: gray('700');

    &:hover {
        background: gray('400');
        color: $black;
    }

    &.o-inactive {
        opacity: 0.25;
        font-style: italic;
    }
}