_panel-heading.scss 1.41 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

.collapsible legend h4,
.collapsible legend h3,
.panel-heading {
    position: relative;
    display: block;
    font-family: $font-family-sans-serif;
    p {
        margin:0;
    }

    &.has-link {
        padding: 0;
        h4 {
            padding: 0;
            margin: 0;
        }
    }
19
20
21
    .icon {
        color: $link-color;
    }
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
    // by default links in headings get display: block and padding.
    // Use .secondary-link if you don't want this behaviour
    a:not(.secondary-link) {
        display: block;
        color: inherit;
        padding: 10px 15px;

        .panel-secondary > & {
            padding: 10px 8px;
        }

        &.collapsed {
            color: $mahara-green;
            padding: 10px 15px;
            .panel-secondary > & {
                padding: 10px 8px;
            }
        }
        &:hover, &:focus {
            background-color: none;
            text-decoration: none;
        }
        .pieform > .collapsible-group:first-child &,
        .panel.first & {
            @include border-top-radius(3px);
        }
    }
    .help a { //fix css on contextual help icons
        padding: 0;
        &:hover {
            background:none;
        }
    }
}


.panel-small .panel-heading {
    font-size: 12px;
    padding-right:40px;
    h4 {
        font-size: 12px;
    }
}

.panel-heading .btn-link {
    &:hover{
        .icon {
            color: $link-color;
        }
    }
}