summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
authorRoald de Vries <rdevries@thoughtworks.com>2016-11-29 15:05:34 +0100
committerRoald de Vries <rdevries@thoughtworks.com>2016-11-29 15:05:34 +0100
commit1ba7abb6098ffba76ab7ed85e491dc060c5c4520 (patch)
tree4ca227c563bd2580bb0d4d77e0f516ea6fa28e0a /web-ui
parentcec3cbf731f0e56cb96de27a070bdaf72e985eb0 (diff)
parent0d293fad65d90b43016c21a851df100aebbf46cb (diff)
Merge branch 'master' into signup
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/app/scss/_others.scss2
-rw-r--r--web-ui/app/scss/base/_colors.scss1
-rw-r--r--web-ui/app/scss/views/_action-bar.scss5
-rw-r--r--web-ui/app/scss/views/_compose-view.scss19
-rw-r--r--web-ui/app/scss/views/_mail-list.scss32
-rw-r--r--web-ui/app/templates/compose/compose_box.hbs2
-rw-r--r--web-ui/app/templates/compose/inline_box.hbs2
7 files changed, 49 insertions, 14 deletions
diff --git a/web-ui/app/scss/_others.scss b/web-ui/app/scss/_others.scss
index a5796ebe..039d94bd 100644
--- a/web-ui/app/scss/_others.scss
+++ b/web-ui/app/scss/_others.scss
@@ -59,7 +59,7 @@ section {
}
&#middle-pane {
- background: $contrast;
+ background: $white;
}
&#right-pane {
diff --git a/web-ui/app/scss/base/_colors.scss b/web-ui/app/scss/base/_colors.scss
index b95a02f6..17333ff9 100644
--- a/web-ui/app/scss/base/_colors.scss
+++ b/web-ui/app/scss/base/_colors.scss
@@ -4,6 +4,7 @@ $light_gray: #C2C2C2;
$lighter_blue: #91C2D1;
$light_blue: #3DABC4;
$dark_blue: #178CA6;
+$bullet-blue: #5cacde;
$light_orange: #FF9C00;
$dark_orange: #FF7902;
diff --git a/web-ui/app/scss/views/_action-bar.scss b/web-ui/app/scss/views/_action-bar.scss
index 8de07876..40e677b0 100644
--- a/web-ui/app/scss/views/_action-bar.scss
+++ b/web-ui/app/scss/views/_action-bar.scss
@@ -10,9 +10,10 @@
margin: 0;
border-top: 1px solid $white;
border-bottom: 2px solid lighten($top_pane, 30%);
- background: $top_pane;
+ background: $white;
clear: both;
overflow: hidden;
+ padding-left: 10px;
li {
display: inline-block;
@@ -33,7 +34,7 @@
input[type=button] {
margin: 2px;
padding: 4px 10px;
- background: lighten($contrast, 70%);
+ background: $background_light_grey;
color: $dark_grey;
text-transform: uppercase;
font-weight: 400;
diff --git a/web-ui/app/scss/views/_compose-view.scss b/web-ui/app/scss/views/_compose-view.scss
index 0308608c..9e120357 100644
--- a/web-ui/app/scss/views/_compose-view.scss
+++ b/web-ui/app/scss/views/_compose-view.scss
@@ -4,12 +4,20 @@
&__buttons {
&-attachment {
cursor: pointer;
- outline: 0;
margin-left: 18px;
padding-top: 0px;
- -ms-transform: rotate(224deg);
- -webkit-transform: rotate(224deg);
- transform: rotate(224deg);
+ display: inline;
+ border: 1px $contrast solid;
+ background: $background_light_grey;
+ padding: 7px 4px;
+ font-size: 0.8em;
+
+ span {
+ -ms-transform: rotate(224deg);
+ -webkit-transform: rotate(224deg);
+ transform: rotate(224deg);
+ outline: 0;
+ }
i.fa-paperclip {
font-size: 1.7em;
@@ -36,7 +44,7 @@
padding: 5px;
border: 1px solid $border_light_grey;
border-radius: 2px;
- background-color: $background_light_grey;
+ background-color: $contrast;
&-label {
color: $attachment_text;
@@ -120,7 +128,6 @@
label, span {
color: $recipients_font_color;
padding: 0.5rem;
- cursor: text;
display: inline-block;
}
diff --git a/web-ui/app/scss/views/_mail-list.scss b/web-ui/app/scss/views/_mail-list.scss
index 66bcabbe..f5c4c60f 100644
--- a/web-ui/app/scss/views/_mail-list.scss
+++ b/web-ui/app/scss/views/_mail-list.scss
@@ -15,11 +15,24 @@
&.status-read {
font-weight: normal;
color: $attachment_text;
+
+ .mail-list-entry__checkbox::after {
+ display: none;
+ }
}
+
&.selected {
- background: $white;
+ background: $light_blue;
z-index: 10; // overlay the box-shadow of the right page (z-index: 2)
+
+ &:hover {
+ background: $light_blue;
+ }
+
+ a {
+ color: $white;
+ }
}
&:hover {
@@ -35,6 +48,20 @@
left: 20px;
}
+ &::after {
+ content: '';
+ display: inline-block;
+ width: 8px;
+ height: 8px;
+ -moz-border-radius: 15px;
+ -webkit-border-radius: 15px;
+ border-radius: 15px;
+ background-color: $bullet-blue;
+ position: absolute;
+ left: 48px;
+ top: 13px;
+ }
+
& > input[type=checkbox] {
@include check-box;
}
@@ -43,7 +70,7 @@
&__item {
display: block;
color: $dark_grey;
- padding: 8px 10px 10px 34px;
+ padding: 8px 10px 10px 67px;
height: 100%;
&-from {
@@ -95,4 +122,3 @@
}
}
}
-
diff --git a/web-ui/app/templates/compose/compose_box.hbs b/web-ui/app/templates/compose/compose_box.hbs
index 83d5ca27..fcfbeaaf 100644
--- a/web-ui/app/templates/compose/compose_box.hbs
+++ b/web-ui/app/templates/compose/compose_box.hbs
@@ -24,7 +24,7 @@
<div class="buttons-group columns compose-view__buttons">
<button id="send-button" tabindex="6"><i class="fa fa-send"></i></button>
- <span id="attachment-button" class="compose-view__buttons-attachment" tabindex="6"></span>
+ <div class="compose-view__buttons-attachment"><span id="attachment-button" tabindex="6"></span></div>
<button id="trash-button" tabindex="7">{{t 'trash-button'}}<i class="fa fa-trash-o"></i></button>
<div id="draft-save-status"></div>
</div>
diff --git a/web-ui/app/templates/compose/inline_box.hbs b/web-ui/app/templates/compose/inline_box.hbs
index fbb62b0f..c9c114ec 100644
--- a/web-ui/app/templates/compose/inline_box.hbs
+++ b/web-ui/app/templates/compose/inline_box.hbs
@@ -14,7 +14,7 @@
<div class="buttons-group columns compose-view__buttons">
<button id="send-button" tabindex=6><i class="fa fa-send"></i></button>
- <span id="attachment-button" class="compose-view__buttons-attachment" tabindex="6"></span>
+ <div class="compose-view__buttons-attachment"><span id="attachment-button" tabindex="6"></span></div>
<button id="trash-button" tabindex=7>{{t 'trash-button'}}<i class="fa fa-trash-o"></i></button>
<div id="draft-save-status"></div>
</div>