_layout.scss 2.08 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1 2 3 4
/*
 * Base structure
 */
body {
5
    max-width: 100%;
6

Naomi Guyer's avatar
Naomi Guyer committed
7
    .main {
8
        margin: 0 0 20px;
9
        padding-top: 30px;
10 11 12 13
        padding-bottom: 0;
        @media (min-width: $screen-sm-min) {
            padding-bottom:50px;
        }
Naomi Guyer's avatar
Naomi Guyer committed
14 15 16 17 18 19 20 21 22 23 24 25 26
    }
}

.main {
    max-width: 100%;
}

.content-main {
    @media (min-width: 768px) {
        margin-left: 250px;
    }
}

Pat Kira's avatar
Pat Kira committed
27
.sidebar {
28 29 30 31
    padding-top: 0;
    @media (min-width: $screen-sm-min) {
        padding-top: 30px;
    }
Pat Kira's avatar
Pat Kira committed
32 33
}

34 35 36 37 38 39 40 41 42 43 44 45
// Expose a section of the page
.expose {
    background-color: $brand-default;
    margin-bottom: 40px;
    margin-top: -109px;
    padding: 40px 0px 20px;
}

.subpage {
    clear:both;
}

46 47 48 49 50 51 52
.wallpost {
    &:first-child {
        margin-top: 20px;
    }
    p {
        margin-bottom: 0;
    }
53 54 55 56 57 58 59 60 61 62 63 64 65 66
}

.columns3,
.columns4,
.columns5 {
    .wallpost .panel-heading {
        font-size: 12px;
        padding-right:40px;
        h4 {
            font-size: 12px;
        }
    }
}

Pat Kira's avatar
Pat Kira committed
67 68 69 70
.viewfooter {
    clear: both;
}

71 72 73 74 75 76 77 78 79 80 81 82
// Needed to clear the float when dropzone is visible
.blocktype {
  &.ui-draggable:before {
    display: none;
  }
}

.blockinstance {
  clear: both;
  .list-group{
    margin-bottom: 0;
  }
Pat Kira's avatar
Pat Kira committed
83
}
84 85 86 87 88 89 90

// Limit the width of external media
// to fit the width of the column
.mediaplayer-container iframe {
    width: 100%;
}

91 92 93
.progress-container {
    padding-top: 20px;
}
94 95 96 97

.section-import {
    padding-top: 30px;
}
98 99

.btn-group-top + .lead,
100 101
.btn-action-list + .view-description,
.btn-group-top + .view-description,
102 103
.toolbar + .lead {
    clear: both;
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
    margin-top: 15px;
    @media (min-width: $screen-xs-min) {
        margin-top: 60px;
    }
}

.btn-action-list + .view-container,
.btn-group-top + .view-container {
    margin-top: 60px;
}

.view-container {
    margin-top: 30px;
    clear: both;
}

.view-description {
    margin-top: 15px;
    @media (min-width: $screen-xs-min) {
        margin-top: 30px;
    }
125 126 127
    &.with-toolbar {
        margin-right: 20px;
    }
128 129 130 131 132 133 134 135 136
}

.postlist {
    margin-top: 20px;
}

.forumfooter {
    margin: 15px 0;
}
137 138 139 140 141 142

.dropdown-menu li span.nolink {
    padding: 3px 20px;
    display: block;
    white-space: nowrap;
}