_layout.scss 1.52 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
2
3
4
5
6
7
/*
 * Base structure
 */
body {
    max-width:100%;
    overflow-x:hidden;
    @media (min-width: 768px) {
Pat Kira's avatar
Pat Kira committed
8
        padding-top: 65px; // Move down content because we have a fixed navbar on desktop/tablet that is 50px tall
Naomi Guyer's avatar
Naomi Guyer committed
9
10
11
12
13
    }
    &.admin {
        background-color: $brand-default;

        .main {
14
15
          padding-top: 0;
          margin-top: 0;
Naomi Guyer's avatar
Naomi Guyer committed
16
        }
Naomi Guyer's avatar
Naomi Guyer committed
17
18
19
20
21
        @media (max-width: $screen-sm-min) {
            .container {
                margin-top: 20px;
            }
         }
Naomi Guyer's avatar
Naomi Guyer committed
22
23
    }
    .main {
Naomi Guyer's avatar
Naomi Guyer committed
24
        margin: 0px 0 20px;
Pat Kira's avatar
Pat Kira committed
25
        padding-top: 20px;
26
27
28
29
        padding-bottom: 0;
        @media (min-width: $screen-sm-min) {
            padding-bottom:50px;
        }
Naomi Guyer's avatar
Naomi Guyer committed
30
31
32
33
34
35
36
37
38
39
40
41
42
    }
}

.main {
    max-width: 100%;
}

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

Pat Kira's avatar
Pat Kira committed
43
.sidebar {
44
45
46
47
    padding-top: 0;
    @media (min-width: $screen-sm-min) {
        padding-top: 30px;
    }
Pat Kira's avatar
Pat Kira committed
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
73
74
75
76
77
// Expose a section of the page
.expose {
    background-color: $brand-default;
    margin-bottom: 40px;
    margin-top: -109px;
    padding: 40px 0px 20px;
}

.subpage {
    clear:both;
}

.wallpost:first-child {
    margin-top: 20px;
}

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

Pat Kira's avatar
Pat Kira committed
78
79
80
81
.viewfooter {
    clear: both;
}

82
83
84
85
86
87
88
89
90
91
92
93
94

// 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
95
}