_header.scss 1.3 KB
Newer Older
1
2
3
4
.header {
    background-image: url(../images/header-bkgd.png);
    background-repeat: repeat-x;
    background-position: left top;
5
    background-color: #FFFFFF;
6
    top: 0;
Evonne Cheung's avatar
Evonne Cheung committed
7

8
9
    .logo-area {
        .logo {
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
            @media (max-width: $screen-xs-min) {
                width: 23px;
                overflow-x: hidden;
            }
        }
        img {
            @media (max-width: $screen-xs-min) {
                width: 150px;
                max-width: 150px;
            }
        }
    }

    .admin-title {
        font-family: $font-family-serif;
        font-size: $font-size-large;
Evonne Cheung's avatar
Evonne Cheung committed
26
        margin-top: 8px;
Evonne Cheung's avatar
Evonne Cheung committed
27

28
29
        @media (max-width: $screen-sm-min) {
            display: none;
30
        }
31

32
        a {
33
            color: $theme-primary-color;
34
35
            &:hover {
                text-decoration: none;
36
                color: darken($theme-primary-color, 5%);
37
38
            }
        }
39
40
41
42
43
    }

    + .container {
        // resets margin if there are no site-messages
        margin-top: 0;
Evonne Cheung's avatar
Evonne Cheung committed
44

45
46
47
        @media (max-width: $screen-sm-min) {
            // resets margin as site-messages are hidden
            margin-top: 0 !important;
48
        }
49
50
    }
}
51
52
53
54
55
56
57
58
59
.header-search-form {
    .text {
        border-radius: 3px 0 0 3px;
    }
    .input-group-btn {
        border-radius: 0 3px 3px 0;
        float: right;
    }
}