summaryrefslogtreecommitdiff
path: root/web-ui/app/scss/_read.scss
blob: 236a7c7c3f0f84fb9dbf9745062772e6e2c00d73 (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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/* MAIL PANE */

@mixin read-msg {
  #mail-view {
    .msg-header {
      display: flex;
      flex-wrap: nowrap;

      top: 0;
      z-index: 10;
      background-color: white;
      font-size: 0.9em;
      padding: 0px 0;
      margin: 1px 0 0 0;
      .recipients {
        padding-bottom: 5px;
        line-height: 1.5em;
        i {
          padding: 0 5px;
        }
        .from {
          font-weight: 700;
        }
      }
      .close-mail-button {
        position: relative;
        float: none;
        flex-shrink: 0;
        display: inline-block;
        vertical-align: top;
        height: 27px;
        margin-right: 3px;
      }

      .full-view-header {
        display:inline-block;
        padding-top: 5px;
        width:95%;
        flex-shrink:1;
      }
      .headline-area {
        clear: both;
        border-top: 1px solid $lighter_gray;
      }
    }
    h3 {
      margin-bottom: 0;
    }
    .tagsArea {
      clear: both;
      margin: 0 0 10px;
      @include tags;
      ul li {
        &.tag:hover {
          &:before {
            content: "click to remove";
            text-transform: lowercase;
            font-size: 0.5rem;
            @include tooltip(18px, 8px);
          }
        }
      }
    }
  }
}

.bodyArea {
  padding: 10px 30px 0 30px;
  box-sizing: border-box;

  iframe {
    box-sizing: inherit;
    border: none;
    width: 100%;
  }
}

.attachmentsAreaWrap {
  padding: 0 30px;

  .attachmentsArea {
    border-top: 1px solid $lighter_gray;
    padding: 10px 0 0;

    li {
        position: relative;
        display: block;
        border: 1px solid $border_light_grey;
        border-radius: 2px;
        background-color: $background_light_grey;
        margin-bottom: 8px;

      a {
        color: $attachment_text;
        display: block;
        text-decoration: none;
        line-height: inherit;
        padding: 4px 5px;

        &:hover, &:focus {
          i.download-icon {
            color: lighten($attachment_icon, 15);
          }

          color: $attachment_icon;
          outline: none;
        }

        i.download-icon {
          position: absolute;
          color: $attachment_icon;
          right: 0;
          padding: 7px 10px;
        }

        i.remove-icon {
          float: right;
          padding-right: 5px;
          padding-top: 7px;
          color: $medium_light_grey;
        }
      }
    }
  }
}

#mail-actions {
  text-align: right;
  padding: 10px 0;
  button {
    display: inline-block;
    display: inline;
    line-height: 2em;
    border: 1px solid $lighter_gray;
    &#reply-button-top {
      @include border-right-radius(0);
      padding: 0 20px;
    }
    &#view-more-actions {
      @include border-left-radius(0);
      padding: 0 5px;
      margin-left: -4px;
    }
    &:hover {
      @include btn-transition;
      background: darken($contrast, 5%)
    }
  }
  ul#more-actions {
    padding: 5px 0;
    width: 170px;
    text-align: left;
    display: block;
    position: absolute;
    background: $white;
    border: 1px solid $lighter_gray;
    right: 0;
    top: 40px;
    z-index: 10;
    li {
      span, a {
        padding: 5px 10px;
        display: block;
        &:hover {
          cursor: pointer;
          background: $contrast;
        }
      }
    }
  }
}