_panel-secondary.scss 979 Bytes
Newer Older
1
2
3
4
// panel-secondary is the style used for the user-editable panels used across Mahara

.panel-secondary {
    @include box-shadow(none);
5
6
    background-color: transparent;

7
8
    &.panel-warning {
         > .panel-heading, .panel-heading-nested {
9
            border-left: 0;
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
    
    .blockinstance-controls .btn-group-top {
        @media (max-width: $screen-md-min) {
            margin: 0;
        }
        .btn {
            @include gradient-vertical($start-color: #FFFFFF, $end-color: #ececec, $start-percent: 10%, $end-percent: 100%);
            border-top: 1px solid #dddddd;
        }
    }
    
    // removing left/right padding in panel headings
    .panel-heading-nested,
    > .panel-heading {
        padding-left: 0;
        padding-right: 0;
    }
    
    
    // removing left/right padding in panel body
    > .panel-body {
         padding: 15px 0;
    }
    .block {
         > .panel-body {
             padding: 15px 0;
         }
    }
40
}