header.scss 1.79 KB
Newer Older
mntmn's avatar
mntmn committed
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
@import "vars";
@import "mixins";

.header-center,
.header-left,
.header-right {
  position: absolute;
  //@include transition( all 0.25s ease-in-out);
  @include backface-visibility(hidden);
  z-index: 3000;
  top: 10px;
  
  > * {
    display: inline-block;
    vertical-align: middle;
  }

  &.out {
    opacity: 0;
    pointer-events: none;
    * {
      pointer-events: none !important;
    }
  }
}

.home {
  margin-top: -20px;
  margin-left: -20px;
  // .icon {color: $dark; }
}

.header-left { 
  @include transform-origin(center left);
  left: 0; 
  padding-left: 10px; 
}
.header-right { 
  @include transform-origin(center right);
  right: 0; 
  padding-right: 10px; 
}
.header-center {
  @include transform-origin(center center);
  width: 100%;
  left: 0;
  right: 0;
  position: absolute;
  text-align: center;
  color: $medium;
  > * {
    font-size: 20px;
    line-height: 44px;
    color: $medium;
    padding: 0 10px;
  }
}
.header-left > * { margin-right: 10px; }
.header-right > * { margin-left: 5px; }
.header-right { font-size: 0;}

.title {
  width: 100%;
  left: 0;
  position: absolute;
  text-align: center;
  pointer-events: none;

  h1 {
    margin: 0;
    height: 60px;
    line-height: 60px;
    font-size: $font-size*0.75;
    // text-transform: uppercase;
    font-weight: bold;
    color: $medium;
    display: inline-block;
    margin-top: -14px;
    pointer-events: all;
    font-weight: normal;
  }
}

.author {
  float: left;
  .btn {
    margin-right: 10px;
  }
  .author-date {
    opacity: 0.5;
  }
}

.present-mode #space-header {
  background-color: transparent !important;
}

#space-siblings {
  background-color: rgba(245, 245, 245, 0.95);
  padding: 35px;
  max-height: 450px;
  overflow-y: scroll;
  margin-top: 54px;
  border-bottom: 1px solid #eee;

  .btn {
    margin-bottom: 50px;
  }
}