aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.scss
blob: f5da651b2ae9113dbbc428ab037c50190bcaa37b (plain) (blame)
1
2
3
4
5
6
7
8
9
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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.main-row {
  min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin});
}

.title-menu-left {
  position: fixed;
  height: calc(100vh - #{$header-height});
  padding: 0;

  .title-menu-left-block.menu {
    height: 100%;
  }
}

.header {
  height: $header-height;

  .fake-title-block {
    display: inline-block;
  }

  .top-left-block {
    z-index: 100;
    background-color: #fff;
    border-right: 1px solid $header-border-color;
    height: $header-height;
    line-height: $header-height;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    position: fixed;

    &.border-bottom {
      border-bottom: 1px solid $header-border-color;
    }

    .hamburger-block {
      margin-right: 20px;
      margin-left: 15px;

      .glyphicon {
        cursor: pointer;
        position: relative;
        top: 4px;
      }
    }

    #peertube-title {

      a {
        color: inherit !important;
        display: block;
        background: url(/client/assets/logo.png) no-repeat;
        background-size: contain;
        background-position: center;
        width: 180px;
        height: 100%;
        margin: auto;

        &:hover {
          color: inherit !important;
          text-decoration: none !important;
        }
      }
    }
  }

  my-search {
    position: fixed;
    z-index: 1000;
    // Fix col-md-* padding
    padding: 0;
  }

  .search-col {
    height: 100%;
    margin-left: -15px;
    padding: 0;
  }
}

footer {
  border-top: 1px solid $footer-border-color;
  padding: 10px 0;
  text-align: center;
  font-size: 11px;
  margin-top: $footer-margin;
  height: $footer-height;
}