From 04cf441c5ae18400c6b4865b0b37a71718dc9d46 Mon Sep 17 00:00:00 2001 From: Ola Bini Date: Thu, 31 Jul 2014 19:29:33 -0300 Subject: Add web-ui based on previous code --- web-ui/app/scss/_read.scss | 105 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 web-ui/app/scss/_read.scss (limited to 'web-ui/app/scss/_read.scss') diff --git a/web-ui/app/scss/_read.scss b/web-ui/app/scss/_read.scss new file mode 100644 index 00000000..1d4715e0 --- /dev/null +++ b/web-ui/app/scss/_read.scss @@ -0,0 +1,105 @@ +/* MAIL PANE */ + +@mixin read-msg { + #mail-view { + .msg-header { + display: flex; + flex-wrap: nowrap; + + position: fixed; + width: 57%; + 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); + } + } + } + } + } +} + +#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; + } + } + } + } +} + + -- cgit v1.2.3