summaryrefslogtreecommitdiff
path: root/web-ui/app/scss/_compose.scss
blob: 3368cda1cfad18ce3bb63ee46f559a2934cc4a18 (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// 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, #feedback-box {
  div.floatlabel {
    position: relative;
  }
  margin: 5px 0 50px 30px;
  padding: 0;
  .input-container {
    border-bottom: 1px solid #DDD;
    padding: 1px;
  }
  label, span {
    color: $recipients_font_color;
    padding: 0.5rem;
    cursor: text;
    display: inline-block;
  }

  label {
    padding: 13px 10px;
  }

  span {
    padding: 3px;  
  }
  label.floatlabel {
    padding: 0.4rem !important;
    position: absolute;
    font-size: 0.6rem;
    transition: all 0.1s linear;
    opacity: 0;
    font-weight: bold;
  }
  label.showfloatlabel {
    color: #64BCD0 !important;
    top: -0.3rem;
    opacity: 1;
  }
  input, textarea {
    margin: 0;
    border: none;
    transition: all 0.1s linear;
  }
  input.showfloatlabel, textarea.showfloatlabel {
    padding-top: 1rem !important;
  }
  input#subject, #feedback-subject {
    font-size: 1.6875rem;
    line-height: 1.4;
  }
  #feedback-subject {
    color: #333;
  }
  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;
}