summaryrefslogtreecommitdiff
path: root/web-ui/app/scss/_compose.scss
blob: acff745dfb48f3fb6d6a89e18d3d1c763b0558db (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
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
// COMPOSE BUTTON 
#compose {
  margin-bottom: 5px;
  padding-right: 4px;
  #compose-trigger {
    width: 100%;
    display: inline-block;
    padding: 5px;
    #compose-mails-trigger {
      background: $action_buttons;
      color: #FFF;
      padding: 10px 30px;
      text-align: center;
      font-weight: 400;
      font-size: 1.2em;
      @include btn-transition;
      &:hover {
        background: lighten($action_buttons, 10%);
        cursor: pointer;
      }
    }
  }
}

// COMPOSE PANE
#compose-box, #draft-box, #reply-box {
  margin: 5px 0 50px 30px;
  padding: 0;
  .input-container {
    border-bottom: 1px solid #DDD;
    padding: 1px;
  }
  label {
    color: #AAA;
    padding: 0.5rem;
    cursor: text;
    display: inline-block;
    padding: 10px;
  }
  input, textarea {
    margin: 0;
    border: none;
  }
  input {
    &#subject {
      font-size: 1.6875rem;
      line-height: 1.4;
    }
  }
  textarea {
    border-bottom: 2px solid #DDD;
    min-height: 400px;
    font-family: inherit;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
  }

  &.reply-box, &.forward-box {
    margin: 0;
    h4 {
      font-size: 0.9em;
      font-style: italic;
      color: #777;
      margin: 2px 0;
      clear: both;
      cursor: pointer;
      &:hover {
        background: $contrast;
      }
    }
    textarea {
      min-height: 200px;
      margin: 10px 0;
    }
    p {
      padding: 5px;
      margin: 10px 0;
      font-style: italic;
      cursor: pointer;
      &:hover {
        background: $contrast;
      }
    }
  }

  button.close-mail-button {
    margin: 1px;
  }

  @include recipients;
}

#reply-box {
  @include recipients;
}