summaryrefslogtreecommitdiff
path: root/web-ui/app/scss/_read.scss
blob: bd30552c3b8f0f1eaff33623db4c4e051bbb03cd (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
/* 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 {
        border-bottom: 1px solid #DDD;
        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;
      }
    }
    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: 35px 30px 0 30px;
}

.attachmentsAreaWrap {
  padding: 0 30px;

  .attachmentsArea {
    border-top: 1px solid #DDD;
    padding: 10px 0 0;
  }
}

#mail-actions {
  text-align: right;
  padding: 10px 0;
  button {
    display: inline-block;
    display: inline;
    line-height: 2em;
    border: 1px solid #DDD;
    &#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: #FFF;
    border: 1px solid #DDD;
    right: 0;
    top: 40px;
    z-index: 10;
    li {
      span, a {
        padding: 5px 10px;
        display: block;
        &:hover {
          cursor: pointer;
          background: $contrast;
        }
      }
    }
  }
}