summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/zen.scss
blob: c3f27333fadab1570a73a4379e9fe801b0b02f26 (plain)
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
.zennable {
  a.js-zen-enter {
    color: $gl-gray;
    position: absolute;
    top: 0px;
    right: 4px;
    line-height: 56px;
  }

  a.js-zen-leave {
    display: none;
    color: $gl-text-color;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    font-size: 36px;

    &:hover {
      color: #111;
    }
  }

  .zen-backdrop {
    &.fullscreen {
      background-color: white;
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 1031;

      textarea {
        border: none;
        box-shadow: none;
        border-radius: 0;
        color: #000;
        font-size: 20px;
        line-height: 26px;
        padding: 30px;
        display: block;
        outline: none;
        resize: none;
        height: 100vh;
        max-width: 900px;
        margin: 0 auto;
      }

      a.js-zen-enter {
        display: none;
      }

      a.js-zen-leave {
        display: block;
        position: absolute;
        top: 0;
      }
    }
  }
}