_indicator.scss 1.05 KB
Newer Older
1
2
.expand-indicator,
.move-indicator {
Naomi Guyer's avatar
Naomi Guyer committed
3
    @extend .text-muted;
4
5
6
7
8
    font-size: 9px;
    vertical-align: middle;
    margin-left: -7px;
    opacity: 0.7;

Naomi Guyer's avatar
Naomi Guyer committed
9
    a:hover &,
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
    .panel-heading:hover & {
        opacity: 1;
    }
    .panel-secondary & {
        margin-top: -5px;
        margin-left: -6px;
        margin-right: -2px;
    }
}

.collapse-indicator {
    color: $brand-success;
    font-size: 13px;
    display: block;
    &.text-small {
        font-size: 11px;
    }
    .collapsed & {
        color: #aaa;
    }
Naomi Guyer's avatar
Naomi Guyer committed
30
    a:hover &,
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
    a:focus & {
        color: $brand-success;
    }
}

.expand-indicator {
    font-size: 12px;
    padding-right: 5px;
    + .fa {
        color: $text-color;
        &:hover, &:focus {
            color: lighten($text-color, 10%);
        }
    }
}



// syntax change if link is an outer-link
[data-toggle="collapse"].outer-link {
    &.collapsed {
        ~ .collapse-indicator {
            color: #aaa;
        }
    }
    &:hover,
    &:focus {
        ~ .collapse-indicator {
            color: $brand-success;
        }
    }
Naomi Guyer's avatar
Naomi Guyer committed
62
}